From: Nick Clifton Date: Mon, 24 May 1999 10:06:39 +0000 (+0000) Subject: 1999-05-24 Philip Blundell X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db65e864b3e882f60bc0e7d78e2a4018e0b3f283;p=binutils-gdb.git 1999-05-24 Philip Blundell * elf32-arm.h (elf32_arm_relocate_section): Undo change of 1999-03-25 --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0b687c0fe57..3a76843cbb6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-05-24 Philip Blundell + + * elf32-arm.h (elf32_arm_relocate_section): Undo change of + 1999-03-25. + Mon May 17 13:35:35 1999 Stan Cox * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC_INT to F_PIC. diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 4e06a7e6901..c73f1ae0d1c 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -1519,7 +1519,7 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section, { bfd_vma val; val = bfd_get_32 (input_bfd, contents + rel->r_offset); - val += (sec->output_offset + sym->st_value) >> howto->rightshift; + val += (sec->output_offset + sym->st_value); bfd_put_32 (input_bfd, val, contents + rel->r_offset); } #else