summaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-10-12 11:16:21 +0000
committerNick Clifton <nickc@redhat.com>2001-10-12 11:16:21 +0000
commitc427e325b8aaa4c0cd7ef88b3876ff2d090427f0 (patch)
tree316ba292e464402ca967c7ce7723a8d19798d6a9 /bfd/elf32-arm.h
parent16a3a970cd76271734f43736f034699fd47e5362 (diff)
downloadgdb-c427e325b8aaa4c0cd7ef88b3876ff2d090427f0.tar.gz
Treat R_ARM_THM_PC22 like R_ARM_PC24.
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 5304cf6255a..838c24ff556 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -1883,6 +1883,7 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section,
{
case R_ARM_PC24:
case R_ARM_ABS32:
+ case R_ARM_THM_PC22:
if (info->shared
&& (
(!info->symbolic && h->dynindx != -1)
@@ -1923,8 +1924,10 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section,
if (sec->output_section == NULL)
{
(*_bfd_error_handler)
- (_("%s: warning: unresolvable relocation against symbol `%s' from %s section"),
- bfd_archive_filename (input_bfd), h->root.root.string,
+ (_("%s: warning: unresolvable relocation %d against symbol `%s' from %s section"),
+ bfd_archive_filename (input_bfd),
+ r_type,
+ h->root.root.string,
bfd_get_section_name (input_bfd, input_section));
relocation_needed = 0;
}