binutils testsuite test for ELF32 vs ELF64

Alan Modra amodra@gmail.com
Tue Jul 23 08:28:00 GMT 2019


	* testsuite/binutils-all/objcopy.exp (elf64): Correct object
	file used to set this variable.

diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index ba5ddc8651..3e3c35556d 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -1102,8 +1102,8 @@ if [is_elf_format] {
     run_dump_test "group-7c"
     run_dump_test "copy-1"
     run_dump_test "note-1"
-    # Use bintest.o from the note-1 test to determine ELF32 or ELF64
-    if [is_elf64 tmpdir/bintest.o] {
+    # Use copytest.o from the note-1 test to determine ELF32 or ELF64
+    if [is_elf64 tmpdir/copytest.o] {
 	set elf64 "--defsym ELF64=1"
 	run_dump_test "note-2-64"
 	run_dump_test "note-3-64"

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list