From 0c72ffe04b54a507cda04be44e92aa39fdef9ac1 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Mon, 13 Oct 2003 05:11:30 +0000 Subject: * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the renumbering of some relocation numbers. --- bfd/ChangeLog | 5 +++++ bfd/elf64-sh64.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a66ceaf..aadca63 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-10-12 Kaz Kojima + + * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the + renumbering of some relocation numbers. + 2003-10-11 Alan Modra * coff-sh.c: Move definition of MAP and guard more code with diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c index 4cc20a7..e05145e 100644 --- a/bfd/elf64-sh64.c +++ b/bfd/elf64-sh64.c @@ -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)) -- cgit v1.1