2005-05-01 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Sun, 1 May 2005 23:57:21 +0000 (23:57 +0000)
committerPaul Brook <paul@codesourcery.com>
Sun, 1 May 2005 23:57:21 +0000 (23:57 +0000)
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat
R_ARM_PLT32 the same as R_ARM_PC24.
(arm_add_to_rel): Ditto.

bfd/ChangeLog
bfd/elf32-arm.c

index 6d8aec7..9027d77 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-01  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat
+       R_ARM_PLT32 the same as R_ARM_PC24.
+       (arm_add_to_rel): Ditto.
+
 2005-04-29  Ralf Corsepius <ralf.corsepius@rtems.org>
 
        * config.bfd: Add h8300*-*-rtemscoff.
index ef31740..ae52ab2 100644 (file)
@@ -2073,6 +2073,7 @@ bfd_elf32_arm_process_before_allocation (bfd *abfd,
          switch (r_type)
            {
            case R_ARM_PC24:
+           case R_ARM_PLT32:
 #ifndef OLD_ARM_ABI
            case R_ARM_CALL:
            case R_ARM_JUMP24:
@@ -2093,7 +2094,7 @@ bfd_elf32_arm_process_before_allocation (bfd *abfd,
              break;
 
            default:
-             break;
+             abort ();
            }
        }
 
@@ -3557,6 +3558,7 @@ arm_add_to_rel (bfd *              abfd,
          break;
 
        case R_ARM_PC24:
+       case R_ARM_PLT32:
 #ifndef OLD_ARM_ABI
        case R_ARM_CALL:
        case R_ARM_JUMP24: