]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-x86-64/line.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / line.exp
index 7eb6cf732aba53fe24bf62311d65e2f31fc2de19..8356a42724498baa8ed289634ebb20e2a5ee1550 100644 (file)
@@ -1,6 +1,6 @@
 # Test that the linker reports undefined symbol line number correctly.
 #
-#   Copyright (C) 2007-2020 Free Software Foundation, Inc.
+#   Copyright (C) 2007-2021 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
-if { !([istarget "x86_64-*-elf*"]
-       || [istarget "x86_64-*-nacl*"]
-       || [istarget "x86_64-*-linux*"]) } {
+if { !([istarget "x86_64-*-elf*"] || [istarget "x86_64-*-linux*"]) } {
     return
 }
 
-if [istarget "*-*-nacl*"] {
-    set emul "elf_x86_64_nacl"
-} else {
-    set emul "elf_x86_64"
-}
-
+set emul "elf_x86_64"
 set testline "undefined line"
 
 if ![ld_assemble $as "--64 $srcdir/$subdir/undefined.s" tmpdir/undefined.o] {