]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
binutils testsuite test for ELF32 vs ELF64
authorAlan Modra <amodra@gmail.com>
Tue, 23 Jul 2019 08:14:19 +0000 (17:44 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Jul 2019 08:52:01 +0000 (18:22 +0930)
* testsuite/binutils-all/objcopy.exp (elf64): Correct object
file used to set this variable.

binutils/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp

index 5238b4702646a3cb7f5f32fc399e32334b1c89b6..7bbb9d373d3c384ca3eda4c361505777a4dfcb16 100644 (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
index ba5ddc8651a18c0e99699fa2b71993326e6895ef..3e3c35556dbe436f8aa5cc8644cd00c06a82b606 100644 (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"