Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / testsuite / ld-xtensa / lcall.exp
index 28f0ee5f798050b79636de7cabd914835a6d366a..3adb80f0f9598844a6a1d245705563cf0b4220cc 100644 (file)
@@ -1,7 +1,6 @@
 # Test Xtensa longcall optimization.
 # By David Heine, Tensilica, Inc.
-#   Copyright 2002, 2003, 2007
-#   Free Software Foundation, Inc.
+#   Copyright (C) 2002-2018 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -20,7 +19,7 @@
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
-if ![istarget "xtensa-*-*"] {
+if ![istarget "xtensa*-*-*"] {
     return
 }
 
@@ -70,7 +69,7 @@ if ![ld_assemble $as $srcdir/$subdir/lcall2.s tmpdir/lcall2.o] {
 set object "tmpdir/lcall"
 set outputfile "$object.txt"
 
-if ![ld_simple_link $ld $object "-T $srcdir/$subdir/lcall.t tmpdir/lcall1.o tmpdir/lcall2.o"] {
+if ![ld_link $ld $object "-T $srcdir/$subdir/lcall.t tmpdir/lcall1.o tmpdir/lcall2.o"] {
     verbose -log "failure in ld"
     fail $testname
     return
This page took 0.02475 seconds and 4 git commands to generate.