\f
#ifdef OBJ_ELF
-/* Parse @got, etc. and return the desired relocation.
+/* Parse @got, etc. and return the desired relocation.
If we have additional arithmetic expression, then we fill in new_exp_p. */
static bfd_reloc_code_real_type
sh_elf_suffix (str_p, exp_p, new_exp_p)
fix_new_exp (frag_now, p - frag_now->fr_literal + offset, size,
&exp, 0, reloc);
- if (new_exp.X_op != O_absent)
+ if (new_exp.X_op != O_absent)
fix_new_exp (frag_now, p - frag_now->fr_literal + offset, size,
&new_exp, 0, BFD_RELOC_32);
}
}
while (*input_line_pointer++ == ',');
- input_line_pointer--; /* Put terminator back into stream. */
+ input_line_pointer--; /* Put terminator back into stream. */
if (*input_line_pointer == '#' || *input_line_pointer == '!')
{
while (! is_end_of_line[*input_line_pointer++]);
}
}
}
-
if (debug_type == DEBUG_DWARF2)
{
bfd_vma addr;
-
+
/* First update the notion of the current source line. */
dwarf2_where (&debug_line);
/* We want the offset of the start of this instruction within the
the current frag. may be used later */
addr = frag_now->fr_address + frag_now_fix () - size;
-
/* And record the information. */
dwarf2_gen_line_info (addr, &debug_line);
{
if (symbol_find (name))
as_bad ("GOT already in the symbol table");
-
+
GOT_symbol = symbol_new (name, undefined_section,
(valueT)0, & zero_address_frag);
}
-
+
return GOT_symbol;
}
#endif /* OBJ_ELF */
-
+
return 0;
}
case BFD_RELOC_16:
bfd_set_error (bfd_error_bad_value);
return false;
-
+
case BFD_RELOC_8:
bfd_set_error (bfd_error_bad_value);
return false;
#ifdef OBJ_ELF
case BFD_RELOC_32_PLT_PCREL:
/* Make the jump instruction point to the address of the operand. At
- runtime we merely add the offset to the actual PLT entry. */
+ runtime we merely add the offset to the actual PLT entry. */
*valp = 0xfffffffc;
break;
and it is strongly preferable from a performance point of
view to avoid using a runtime relocation for this. There are
cases where you have something like:
-
+
.long _GLOBAL_OFFSET_TABLE_+[.-.L66]
-
+
and here no correction would be required. Internally in the
assembler we treat operands of this form as not being pcrel
since the '.' is explicitly mentioned, and I wonder whether