diff options
author | Paul Brook <paul@codesourcery.com> | 2005-05-01 23:57:21 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2005-05-01 23:57:21 +0000 |
commit | c6596c5ecb5e75844a951757f3e9d8775371eb40 (patch) | |
tree | cc78a72d24960fc0a0697252a06b60a3bfbb1569 /bfd/elf32-arm.c | |
parent | 5dbe23a34eba6933db1c79262b3955f60956f3e2 (diff) | |
download | gdb-c6596c5ecb5e75844a951757f3e9d8775371eb40.zip gdb-c6596c5ecb5e75844a951757f3e9d8775371eb40.tar.gz gdb-c6596c5ecb5e75844a951757f3e9d8775371eb40.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index ef31740..ae52ab2 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -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: |