diff options
author | Nick Clifton <nickc@redhat.com> | 1999-05-24 10:06:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-05-24 10:06:39 +0000 |
commit | db65e864b3e882f60bc0e7d78e2a4018e0b3f283 (patch) | |
tree | e79498e6fd9b441f12c86ce4577297bc8343eeaf /bfd | |
parent | 5ce7ce3191d60c768acb3935f6fa9aa1aa900f69 (diff) | |
download | gdb-db65e864b3e882f60bc0e7d78e2a4018e0b3f283.zip gdb-db65e864b3e882f60bc0e7d78e2a4018e0b3f283.tar.gz gdb-db65e864b3e882f60bc0e7d78e2a4018e0b3f283.tar.bz2 |
1999-05-24 Philip Blundell <pb@nexus.co.uk>
* elf32-arm.h (elf32_arm_relocate_section): Undo change of
1999-03-25
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0b687c0..3a76843 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-05-24 Philip Blundell <pb@nexus.co.uk> + + * elf32-arm.h (elf32_arm_relocate_section): Undo change of + 1999-03-25. + Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com> * 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 4e06a7e..c73f1ae 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 |