aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog24
-rw-r--r--ld/testsuite/config/default.exp3
-rw-r--r--ld/testsuite/ld-bootstrap/bootstrap.exp3
-rw-r--r--ld/testsuite/ld-cdtest/cdtest.exp2
-rw-r--r--ld/testsuite/ld-checks/checks.exp2
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp2
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp2
-rw-r--r--ld/testsuite/ld-empic/empic.exp2
-rw-r--r--ld/testsuite/ld-scripts/crossref.exp16
-rw-r--r--ld/testsuite/ld-scripts/defined.exp16
-rw-r--r--ld/testsuite/ld-scripts/phdrs.exp16
-rw-r--r--ld/testsuite/ld-scripts/script.exp16
-rw-r--r--ld/testsuite/ld-scripts/sizeof.exp16
-rw-r--r--ld/testsuite/ld-scripts/weak.exp16
-rw-r--r--ld/testsuite/ld-selective/selective.exp2
-rw-r--r--ld/testsuite/ld-sh/sh.exp2
-rw-r--r--ld/testsuite/ld-shared/shared.exp3
-rw-r--r--ld/testsuite/ld-srec/srec.exp17
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp3
-rw-r--r--ld/testsuite/ld-undefined/weak-undef.exp16
-rw-r--r--ld/testsuite/ld-versados/versados.exp2
-rw-r--r--ld/testsuite/lib/ld-lib.exp18
22 files changed, 174 insertions, 25 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 814093e..195eabc 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -178,7 +178,7 @@
Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com>
- * testsuite/ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
+ * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
2000-04-12 Alan Modra <alan@linuxcare.com.au>
@@ -878,7 +878,7 @@ Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
- * ld/testsuite/versados/(t1,t2).ld: End in newlines.
+ * versados/(t1,t2).ld: End in newlines.
Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
@@ -1018,25 +1018,25 @@ Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
different numbers of lines. Don't muck with $differences to avoid
indicating a pass, just return.
- * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
+ * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
Fix test case to be valid ANSI C++. Don't require use of header
files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
- * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
+ * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
commentary on things that are still broken with this test case.
Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
- * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
+ * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
- * testsuite/lib/ld.exp: add compiler and linker support
- * testsuite/config/unix-ld.exp: add compiler and linker support
- * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
- * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
+ * lib/ld.exp: add compiler and linker support
+ * config/unix-ld.exp: add compiler and linker support
+ * ld.bootstrap/bootstrap.exp: fixed to do partial links
+ * ld.cdtest/cdtest.exp: constructor/destructor testscase
Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
- * testsuite/lib/ld.exp: new file
- * testsuite/config/unix-ld.exp: new file
- * testsuite/ld.bootstrap/bootstrap.exp: new file
+ * lib/ld.exp: new file
+ * config/unix-ld.exp: new file
+ * ld.bootstrap/bootstrap.exp: new file
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp
index 0a0fdea..2cc82a3 100644
--- a/ld/testsuite/config/default.exp
+++ b/ld/testsuite/config/default.exp
@@ -1,5 +1,6 @@
# Basic expect script for LD Regression Tests
-# Copyright (C) 1993, 94, 95, 97, 98, 1999 Free Software Foundation
+# Copyright 1993, 1994, 1995, 1997, 1998, 1999
+# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp
index 2507943..af858da4 100644
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -1,5 +1,6 @@
# Expect script for LD Bootstrap Tests
-# Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation
+# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001
+# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-cdtest/cdtest.exp b/ld/testsuite/ld-cdtest/cdtest.exp
index ccbe35e..76f8291 100644
--- a/ld/testsuite/ld-cdtest/cdtest.exp
+++ b/ld/testsuite/ld-cdtest/cdtest.exp
@@ -1,5 +1,5 @@
# Expect script for LD cdtest Tests
-# Copyright (C) 1993,1994,1995, 1997 Free Software Foundation
+# Copyright 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-checks/checks.exp b/ld/testsuite/ld-checks/checks.exp
index 6e9f038..9e60a73 100644
--- a/ld/testsuite/ld-checks/checks.exp
+++ b/ld/testsuite/ld-checks/checks.exp
@@ -1,5 +1,5 @@
# Expect script for LD section checks tests
-# Copyright (C) 1999 Free Software Foundation
+# Copyright 1999, 2001 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index 060533b..a986dda 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -1,5 +1,5 @@
# Expect script for ld-version tests
-# Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation
+# Copyright 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index 7133cbc..aa3fddf 100644
--- a/ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -1,5 +1,5 @@
# Expect script for ld-visibility tests
-# Copyright (C) 2000, 2001 Free Software Foundation
+# Copyright 2000, 2001 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-empic/empic.exp b/ld/testsuite/ld-empic/empic.exp
index 2d528be..2046970 100644
--- a/ld/testsuite/ld-empic/empic.exp
+++ b/ld/testsuite/ld-empic/empic.exp
@@ -1,5 +1,5 @@
# Expect script for ld-empic tests
-# Copyright (C) 1994,1995, 1996, 1997 Free Software Foundation
+# Copyright 1994, 1995, 1996 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-scripts/crossref.exp b/ld/testsuite/ld-scripts/crossref.exp
index b39f741..a2ba5ce 100644
--- a/ld/testsuite/ld-scripts/crossref.exp
+++ b/ld/testsuite/ld-scripts/crossref.exp
@@ -1,5 +1,21 @@
# Test NOCROSSREFS in a linker script.
# By Ian Lance Taylor, Cygnus Support.
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
set test1 "NOCROSSREFS 1"
set test2 "NOCROSSREFS 2"
diff --git a/ld/testsuite/ld-scripts/defined.exp b/ld/testsuite/ld-scripts/defined.exp
index 6da26bc..eb416df 100644
--- a/ld/testsuite/ld-scripts/defined.exp
+++ b/ld/testsuite/ld-scripts/defined.exp
@@ -1,5 +1,21 @@
# Test DEFINED in a linker script.
# By Ian Lance Taylor, Cygnus Support.
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
set testname "DEFINED"
set prms_id 5699
diff --git a/ld/testsuite/ld-scripts/phdrs.exp b/ld/testsuite/ld-scripts/phdrs.exp
index f52bc93..9899083 100644
--- a/ld/testsuite/ld-scripts/phdrs.exp
+++ b/ld/testsuite/ld-scripts/phdrs.exp
@@ -1,5 +1,21 @@
# Test PHDRS in a linker script.
# By Ian Lance Taylor, Cygnus Support.
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
# PHDRS is only meaningful for ELF.
if { ![istarget *-*-sysv4*] \
diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp
index 94c5d9b..d810851 100644
--- a/ld/testsuite/ld-scripts/script.exp
+++ b/ld/testsuite/ld-scripts/script.exp
@@ -1,5 +1,21 @@
# Test basic linker script functionality
# By Ian Lance Taylor, Cygnus Support
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
set testname "script"
diff --git a/ld/testsuite/ld-scripts/sizeof.exp b/ld/testsuite/ld-scripts/sizeof.exp
index 3bdefd4..4b7b024 100644
--- a/ld/testsuite/ld-scripts/sizeof.exp
+++ b/ld/testsuite/ld-scripts/sizeof.exp
@@ -1,6 +1,22 @@
# Test SIZEOF in a linker script.
# By Ian Lance Taylor, Cygnus Support
# Based on a bug report from anders.blomdell@control.lth.se.
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
set testname "SIZEOF"
diff --git a/ld/testsuite/ld-scripts/weak.exp b/ld/testsuite/ld-scripts/weak.exp
index f3a22e1..f5d6e20 100644
--- a/ld/testsuite/ld-scripts/weak.exp
+++ b/ld/testsuite/ld-scripts/weak.exp
@@ -1,5 +1,21 @@
# Test weak symbols.
# By Ian Lance Taylor, Cygnus Solutions.
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
set testname "weak symbols"
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp
index d2dc680..98bc9c6 100644
--- a/ld/testsuite/ld-selective/selective.exp
+++ b/ld/testsuite/ld-selective/selective.exp
@@ -1,5 +1,5 @@
# Expect script for LD selective linking tests
-# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation
+# Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp
index ae4e9eb..41ca809 100644
--- a/ld/testsuite/ld-sh/sh.exp
+++ b/ld/testsuite/ld-sh/sh.exp
@@ -1,5 +1,5 @@
# Expect script for ld-sh tests
-# Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation
+# Copyright 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp
index b7c1b55..6060322 100644
--- a/ld/testsuite/ld-shared/shared.exp
+++ b/ld/testsuite/ld-shared/shared.exp
@@ -1,5 +1,6 @@
# Expect script for ld-shared tests
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 2001 Free Software Foundation
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index 5f17043..c5784ba 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -1,6 +1,21 @@
# Test linking directly to S-records.
# By Ian Lance Taylor, Cygnus Support.
-# Public domain.
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
# Get the offset from an S-record line to the start of the data.
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index 05df511..0ab4bde 100644
--- a/ld/testsuite/ld-undefined/undefined.exp
+++ b/ld/testsuite/ld-undefined/undefined.exp
@@ -1,7 +1,8 @@
# Test that the linker reports undefined symbol errors correctly.
# By Ian Lance Taylor, Cygnus Support
#
-# Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation
+# Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/ld-undefined/weak-undef.exp b/ld/testsuite/ld-undefined/weak-undef.exp
index e96b824..8de2949 100644
--- a/ld/testsuite/ld-undefined/weak-undef.exp
+++ b/ld/testsuite/ld-undefined/weak-undef.exp
@@ -1,4 +1,20 @@
# Test handling of weak undefined symbols
+# Copyright 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
set testname "weak undefined symbols"
diff --git a/ld/testsuite/ld-versados/versados.exp b/ld/testsuite/ld-versados/versados.exp
index 2d2c066..b08d7ed 100644
--- a/ld/testsuite/ld-versados/versados.exp
+++ b/ld/testsuite/ld-versados/versados.exp
@@ -1,5 +1,5 @@
# Expect script for ld-versados tests
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation
+# Copyright 1995, 1997 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 6c0c7f1..4935215 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1,3 +1,21 @@
+# Support routines for LD testsuite.
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+#
+# This file 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
+#
#
# default_ld_version
# extract and print the version number of ld