projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1d4bb
)
Include offset of reloc from start of section when computing value for
author
Nick Clifton
<nickc@redhat.com>
Fri, 3 Aug 2001 11:14:42 +0000
(11:14 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Fri, 3 Aug 2001 11:14:42 +0000
(11:14 +0000)
R_ARM_REL32 reloc.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-arm.h
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index e7c5c4cb2b2366573e84b3a9bfa789f45d2c97e5..4408a8c289403ea68656e0b23b3c9657cfa73bc0 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,9
@@
+2001-08-03 Ben Harris <bjh21@netbsd.org>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Include offset of
+ reloc from start of section when computing value for R_ARM_REL32
+ reloc.
+
2001-08-03 Alan Modra <amodra@bigpond.net.au>
From H.J. Lu <hjl@gnu.org>
diff --git
a/bfd/elf32-arm.h
b/bfd/elf32-arm.h
index 6fb163389ac1fee808e2a5904ecc44479ad69f1b..f8f94d66b8351d3d27f68e69b3664e12534556f3 100644
(file)
--- 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;
}