aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-06-18 00:46:28 +0000
committerAlan Modra <amodra@gmail.com>2012-06-18 00:46:28 +0000
commit466911340d972c2ecad9f56874735a4ced97d6ff (patch)
tree7f8002b8fde663a0b36e65f01304aec3b574ec63 /bfd
parent0962ddd7cca5860b5186f80f01a2034d4cbcb20e (diff)
downloadfsf-binutils-gdb-466911340d972c2ecad9f56874735a4ced97d6ff.zip
fsf-binutils-gdb-466911340d972c2ecad9f56874735a4ced97d6ff.tar.gz
fsf-binutils-gdb-466911340d972c2ecad9f56874735a4ced97d6ff.tar.bz2
* elf32-arm.c (elf32_arm_final_link_relocate): Correct return value.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-arm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 39f5829..ad5228e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-18 John Szakmeister <john@szakmeister.net>
+
+ * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value.
+
2012-06-17 Hans-Peter Nilsson <hp@axis.com>
* elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index e9157b2..826dd7e 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -9664,7 +9664,7 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto,
(_("%B(%A+0x%lx): R_ARM_TLS_LE32 relocation not permitted in shared object"),
input_bfd, input_section,
(long) rel->r_offset, howto->name);
- return (bfd_reloc_status_type) FALSE;
+ return bfd_reloc_notsupported;
}
else
value = tpoff (info, value);