diff options
author | Nick Clifton <nickc@redhat.com> | 2001-10-12 11:16:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-10-12 11:16:21 +0000 |
commit | 6a360bf4f9adeaaf0bd379801f4c1cfafe437be1 (patch) | |
tree | c943c6394fac1cffb62d04138e0e0b8156fc74d7 /bfd | |
parent | b4330e85f7069fa4e1124f6ddd75d876d18ef247 (diff) | |
download | fsf-binutils-gdb-6a360bf4f9adeaaf0bd379801f4c1cfafe437be1.zip fsf-binutils-gdb-6a360bf4f9adeaaf0bd379801f4c1cfafe437be1.tar.gz fsf-binutils-gdb-6a360bf4f9adeaaf0bd379801f4c1cfafe437be1.tar.bz2 |
Treat R_ARM_THM_PC22 like R_ARM_PC24.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1d81e71..5abf7ab 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-10-12 Nick Clifton <nickc@cambridge.redhat.com> + + * elf32-arm.h (elf32_arm_relocate_section): Treat R_ARM_THM_PC22 + like R_ARM_PC24. Include reloc number in error message about + unresolvable relocs. + 2001-10-10 Jakub Jelinek <jakub@redhat.com> * elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 5304cf6..838c24f 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; } |