* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the

renumbering of some relocation numbers.
This commit is contained in:
Kaz Kojima 2003-10-13 05:11:30 +00:00
parent f19ae42f43
commit 0c72ffe04b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
renumbering of some relocation numbers.
2003-10-11 Alan Modra <amodra@bigpond.net.au>
* coff-sh.c: Move definition of MAP and guard more code with

View File

@ -1532,8 +1532,10 @@ sh_elf64_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
|| (r_type >= (int) R_SH_FIRST_INVALID_RELOC
&& r_type <= (int) R_SH_LAST_INVALID_RELOC)
|| (r_type >= (int) R_SH_DIR8WPN
&& r_type <= (int) R_SH_LAST_INVALID_RELOC_2)
|| (r_type >= (int) R_SH_FIRST_INVALID_RELOC_3
&& r_type <= (int) R_SH_LAST_INVALID_RELOC)
|| (r_type >= (int) R_SH_GNU_VTINHERIT
&& r_type <= (int) R_SH_PSHL)
|| (r_type >= (int) R_SH_FIRST_INVALID_RELOC_2
&& r_type <= R_SH_GOTPLT32)
|| (r_type >= (int) R_SH_FIRST_INVALID_RELOC_4
&& r_type <= (int) R_SH_LAST_INVALID_RELOC_4))