]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2005-05-01 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Mon, 2 May 2005 00:01:14 +0000 (00:01 +0000)
committerPaul Brook <paul@codesourcery.com>
Mon, 2 May 2005 00:01:14 +0000 (00:01 +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 7ac149f3dc4c05e46f005a6d650b6a75c1f3ef63..c5102a018b79d3e778110392bbad359af9780d76 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  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * doc/Makefile.am: Remove stamp rules.  Depend on chew.c
index 2c88fe4c879701b619e8e6872620d271bd18cba5..a708d538d5de596ddd8817a7a82ac2cf1eb6cc3c 100644 (file)
@@ -1878,6 +1878,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:
@@ -1898,7 +1899,7 @@ bfd_elf32_arm_process_before_allocation (bfd *abfd,
              break;
 
            default:
-             break;
+             abort ();
            }
        }
 
@@ -3078,6 +3079,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: