binutils testsuite test for ELF32 vs ELF64

* testsuite/binutils-all/objcopy.exp (elf64): Correct object
	file used to set this variable.
This commit is contained in:
Alan Modra 2019-07-23 17:44:19 +09:30
parent 89ebb345e7
commit acea835faa
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2019-07-23 Alan Modra <amodra@gmail.com>
* testsuite/binutils-all/objcopy.exp (elf64): Correct object
file used to set this variable.
2019-07-23 Omar Majid <omajid@redhat.com>
* Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects

View File

@ -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"