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 6d8aec7502a20fb4b1a55dbd3451b36d20225b83..9027d7713116b815aeb0a7878c0ed71a232d042d 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 ef317405c9747507d1d77890431181e72b5fa1f5..ae52ab2a774af48b181c1fa8d9912c4bca089b70 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: