* elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
authorDaniel Jacobowitz <drow@false.org>
Thu, 6 May 2004 23:44:12 +0000 (23:44 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 6 May 2004 23:44:12 +0000 (23:44 +0000)
special case.

bfd/ChangeLog
bfd/elf32-arm.h

index 5d5dd90..2d14463 100644 (file)
@@ -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.
index 71afcd8..8c1acc0 100644 (file)
@@ -2130,6 +2130,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)
@@ -2163,11 +2165,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