diff options
author | Nick Clifton <nickc@redhat.com> | 2001-08-03 11:14:42 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-08-03 11:14:42 +0000 |
commit | 62efb34674db16981c9f9e04ddc08964cf8fe30f (patch) | |
tree | 9cf6cee4424b7ca2e808a936c0e28da99cbc3747 /bfd/elf32-arm.h | |
parent | 8e1d4bbbc0d40e33df07d13080aa984902bf4ef2 (diff) | |
download | gdb-62efb34674db16981c9f9e04ddc08964cf8fe30f.zip gdb-62efb34674db16981c9f9e04ddc08964cf8fe30f.tar.gz gdb-62efb34674db16981c9f9e04ddc08964cf8fe30f.tar.bz2 |
Include offset of reloc from start of section when computing value for
R_ARM_REL32 reloc.
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r-- | bfd/elf32-arm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 6fb1633..f8f94d6 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -1295,7 +1295,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd, case R_ARM_REL32: value -= (input_section->output_section->vma - + input_section->output_offset); + + input_section->output_offset + rel->r_offset); value += addend; break; } |