aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-23 17:44:19 +0930
committerAlan Modra <amodra@gmail.com>2019-07-23 18:22:01 +0930
commitacea835faa6e14c0b008f001ab145e301ff215f6 (patch)
tree196be68ea021228a25c97ddbfbcca86fc67d43d0 /binutils/testsuite
parent89ebb345e7f5e3ab97638eff7b5914ed2b2e0df1 (diff)
downloadgdb-acea835faa6e14c0b008f001ab145e301ff215f6.zip
gdb-acea835faa6e14c0b008f001ab145e301ff215f6.tar.gz
gdb-acea835faa6e14c0b008f001ab145e301ff215f6.tar.bz2
binutils testsuite test for ELF32 vs ELF64
* testsuite/binutils-all/objcopy.exp (elf64): Correct object file used to set this variable.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index ba5ddc8..3e3c355 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"