asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned long insn;
bfd_size_type addr = reloc_entry->address;
reloc_entry->address += input_section->output_offset;
-
+
insn = bfd_get_32 (abfd, (bfd_byte *) data + addr);
insn += symbol->section->output_section->vma;
insn += symbol->section->output_offset;
insn += symbol->value;
- bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned short insn;
insn += symbol->section->output_section->vma;
insn += symbol->section->output_offset;
insn += symbol->value;
- bfd_put_16 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_16 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned char insn;
insn += symbol->section->output_section->vma;
insn += symbol->section->output_offset;
insn += symbol->value;
- bfd_put_8 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_8 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}
bfd_reloc_status_type ret;
bfd_vma relocation;
struct or32_consth *n;
-
+
ret = bfd_reloc_ok;
if (bfd_is_und_section (symbol->section)
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned long insn, tmp;
tmp = insn | 0xfc000000;
tmp -= (input_section->output_offset >> 2);
insn = (insn & 0xfc000000) | (tmp & 0x03ffffff);
- bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}