From acea835faa6e14c0b008f001ab145e301ff215f6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 23 Jul 2019 17:44:19 +0930 Subject: [PATCH] binutils testsuite test for ELF32 vs ELF64 * testsuite/binutils-all/objcopy.exp (elf64): Correct object file used to set this variable. --- binutils/ChangeLog | 5 +++++ binutils/testsuite/binutils-all/objcopy.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5238b470264..7bbb9d373d3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2019-07-23 Alan Modra + + * testsuite/binutils-all/objcopy.exp (elf64): Correct object + file used to set this variable. + 2019-07-23 Omar Majid * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index ba5ddc8651a..3e3c35556db 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" -- 2.30.2