OSDN Git Service

* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
authorKaz Kojima <kkojima@rr.iij4u.or.jp>
Mon, 13 Oct 2003 05:11:30 +0000 (05:11 +0000)
committerKaz Kojima <kkojima@rr.iij4u.or.jp>
Mon, 13 Oct 2003 05:11:30 +0000 (05:11 +0000)
renumbering of some relocation numbers.

bfd/ChangeLog
bfd/elf64-sh64.c

index a66ceaf..aadca63 100644 (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
index 4cc20a7..e05145e 100644 (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))