OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gas/] [config/] [tc-alpha.c] - Diff between revs 160 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 160 Rev 163
Line 1392... Line 1392...
                    memcpy (ensymname + (ptr2 - ptr1), "..en", 5);
                    memcpy (ensymname + (ptr2 - ptr1), "..en", 5);
 
 
                    gas_assert (insn.nfixups + 1 <= MAX_INSN_FIXUPS);
                    gas_assert (insn.nfixups + 1 <= MAX_INSN_FIXUPS);
                    insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_NOP;
                    insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_NOP;
                    ensym = symbol_find_or_make (ensymname);
                    ensym = symbol_find_or_make (ensymname);
                    ensym->sy_used = 1;
                    symbol_mark_used (ensym);
                    /* The fixup must be the same as the BFD_RELOC_ALPHA_BOH
                    /* The fixup must be the same as the BFD_RELOC_ALPHA_BOH
                       case in emit_jsrjmp.  See B.4.5.2 of the OpenVMS Linker
                       case in emit_jsrjmp.  See B.4.5.2 of the OpenVMS Linker
                       Utility Manual.  */
                       Utility Manual.  */
                    insn.fixups[insn.nfixups].exp.X_op = O_symbol;
                    insn.fixups[insn.nfixups].exp.X_op = O_symbol;
                    insn.fixups[insn.nfixups].exp.X_add_symbol = ensym;
                    insn.fixups[insn.nfixups].exp.X_add_symbol = ensym;
Line 1424... Line 1424...
                    psymname [ptr2 - ptr1] = 0;
                    psymname [ptr2 - ptr1] = 0;
 
 
                    gas_assert (insn.nfixups + 1 <= MAX_INSN_FIXUPS);
                    gas_assert (insn.nfixups + 1 <= MAX_INSN_FIXUPS);
                    insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_LDA;
                    insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_LDA;
                    psym = symbol_find_or_make (psymname);
                    psym = symbol_find_or_make (psymname);
                    psym->sy_used = 1;
                    symbol_mark_used (psym);
                    insn.fixups[insn.nfixups].exp.X_op = O_subtract;
                    insn.fixups[insn.nfixups].exp.X_op = O_subtract;
                    insn.fixups[insn.nfixups].exp.X_add_symbol = psym;
                    insn.fixups[insn.nfixups].exp.X_add_symbol = psym;
                    insn.fixups[insn.nfixups].exp.X_op_symbol = alpha_evax_proc->symbol;
                    insn.fixups[insn.nfixups].exp.X_op_symbol = alpha_evax_proc->symbol;
                    insn.fixups[insn.nfixups].exp.X_add_number = 0;
                    insn.fixups[insn.nfixups].exp.X_add_number = 0;
                    insn.fixups[insn.nfixups].xtrasym = alpha_linkage_symbol;
                    insn.fixups[insn.nfixups].xtrasym = alpha_linkage_symbol;
Line 1993... Line 1993...
          max = (1 << operand->bits) - 1;
          max = (1 << operand->bits) - 1;
          min = 0;
          min = 0;
        }
        }
 
 
      if (val < min || val > max)
      if (val < min || val > max)
        as_warn_value_out_of_range (_("operand"), val, min, max, file, line);
        as_bad_value_out_of_range (_("operand"), val, min, max, file, line);
    }
    }
 
 
  if (operand->insert)
  if (operand->insert)
    {
    {
      const char *errmsg = NULL;
      const char *errmsg = NULL;
Line 3600... Line 3600...
 
 
      subseg_set (bss_section, 1);
      subseg_set (bss_section, 1);
      frag_align (log_align, 0, 0);
      frag_align (log_align, 0, 0);
      record_alignment (bss_section, log_align);
      record_alignment (bss_section, log_align);
 
 
      symbolP->sy_frag = frag_now;
      symbol_set_frag (symbolP, frag_now);
      pfrag = frag_var (rs_org, 1, 1, (relax_substateT)0, symbolP,
      pfrag = frag_var (rs_org, 1, 1, (relax_substateT)0, symbolP,
                        size, NULL);
                        size, NULL);
      *pfrag = 0;
      *pfrag = 0;
 
 
      S_SET_SEGMENT (symbolP, bss_section);
      S_SET_SEGMENT (symbolP, bss_section);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.