]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-cris/cris.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-cris / cris.exp
index 2278dabfbc187db50dae49f5afc8a9aa83494f5a..56f376118f709d508308634ec7b33280ba7ca931 100644 (file)
@@ -1,9 +1,11 @@
 # Expect script for ld-cris tests
-#   Copyright 2002 Free Software Foundation, Inc.
+#   Copyright (C) 2002-2021 Free Software Foundation, Inc.
 #
-# This file is free software; you can redistribute it and/or modify
+# This file is part of the GNU Binutils.
+#
+# This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
@@ -13,7 +15,8 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+# MA 02110-1301, USA.
 #
 # Written by Hans-Peter Nilsson (hp@axis.com)
 #
@@ -28,13 +31,11 @@ set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
 # DSO.  Copy the file from the run_dump_test "tmpdir/dump" to a unique
 # expected name.
 # FIXME: Add option "output: filename" to run_dump_test.
-# FIXME: Add option "ldtail: option" to run_dump_test, so we can link
-# libraries in the right order.
 foreach atest $rd_test_list {
     # We need to check against runtest_file_p too, or we'd mindlessly copy
     # the last tmpdir/dump in selective test-runs.
     if { [string match $srcdir/$subdir/*dso-*.d $atest] \
-           && [runtest_file_p $runtests [file tail $atest]] } {
+           && [runtest_file_p $runtests [file rootname $atest]] } {
        verbose [file rootname $atest]
        run_dump_test [file rootname $atest]
        set cmd "cp tmpdir/dump tmpdir/[file rootname [file tail $atest]].so"