From c6596c5ecb5e75844a951757f3e9d8775371eb40 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Sun, 1 May 2005 23:57:21 +0000 Subject: [PATCH] 2005-05-01 Paul Brook * 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 | 6 ++++++ bfd/elf32-arm.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6d8aec7502a..9027d771311 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2005-05-01 Paul Brook + + * 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 * config.bfd: Add h8300*-*-rtemscoff. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index ef317405c97..ae52ab2a774 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: