This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix x86_64 vtable testsuite failures


I was getting

FAIL: vtable inherit0
FAIL: vtable entry1

Committed to mainline.

	* elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
	reloc code using x86_64_reloc_map.

-- 
Alan Modra

Index: bfd/elf64-x86-64.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-x86-64.c,v
retrieving revision 1.27
diff -u -p -r1.27 elf64-x86-64.c
--- elf64-x86-64.c	2001/09/24 01:38:31	1.27
+++ elf64-x86-64.c	2001/09/28 12:35:19
@@ -167,8 +167,7 @@ elf64_x86_64_reloc_type_lookup (abfd, co
        i++)
     {
       if (x86_64_reloc_map[i].bfd_reloc_val == code)
-	return &x86_64_elf_howto_table[(int)
-				       x86_64_reloc_map[i].elf_reloc_val];
+	return &x86_64_elf_howto_table[i];
     }
   return 0;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]