aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-05-06 23:43:40 +0000
committerDaniel Jacobowitz <drow@false.org>2004-05-06 23:43:40 +0000
commitecb2d096d3411f0f3c2c107f14b65d4931dfa3c6 (patch)
treebfd2932bb4a8fdf0ab17995bd744b5f0d2018e21
parent5e819f9c88ce065461ffaaf454933102dfc88944 (diff)
downloadgdb-ecb2d096d3411f0f3c2c107f14b65d4931dfa3c6.zip
gdb-ecb2d096d3411f0f3c2c107f14b65d4931dfa3c6.tar.gz
gdb-ecb2d096d3411f0f3c2c107f14b65d4931dfa3c6.tar.bz2
* elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
special case.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.h7
2 files changed, 7 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bd835c5..4282915 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-06 Daniel Jacobowitz <drow@mvista.com>
+
+ * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
+ special case.
+
2004-05-05 Alexandre Oliva <aoliva@redhat.com>
* configure.in (bfd_elf32_frvfdpic_vec): New.
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 64da333..1cb2b37 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -2192,6 +2192,8 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section,
case R_ARM_PC24:
case R_ARM_ABS32:
case R_ARM_THM_PC22:
+ case R_ARM_PLT32:
+
if (info->shared
&& (
(!info->symbolic && h->dynindx != -1)
@@ -2225,11 +2227,6 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section,
relocation = 0;
break;
- case R_ARM_PLT32:
- if (h->plt.offset != (bfd_vma)-1)
- relocation = 0;
- break;
-
default:
if (unresolved_reloc)
_bfd_error_handler