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 | |
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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6d8aec7..9027d77 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. 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: |