* ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
[binutils-gdb.git] / ld / testsuite / ChangeLog
index a3beb9a02fdfcc96117d0350265d4d377df3f4f4..a84e63640ba629445e432ae745977fb6c1bf47ae 100644 (file)
@@ -1,3 +1,326 @@
+2001-08-27  Alan Modra  <amodra@bigpond.net.au>
+           Linus Nordberg  <linus@swox.se>
+
+       * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
+       * ld-scripts/cross1.t: Add .toc section.
+       * ld-scripts/cross2.t: Likewise.
+       * ld-scripts/phdrs.exp: powerpc64 is 64 bit.
+       * ld-srec/srec.exp: xfail powerpc64
+
+2001-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
+       Continue with other tests when there is a compilation error.
+
+2001-08-01  Loren J. Rittle  <ljrittle@acm.org>
+
+       * ld-cdtest/cdtest-nrv.dat: New file.
+       * ld-cdtest/cdtest.exp: Do not require any exception support
+       library.  Check results against NRV.
+
+2001-08-01  Loren J. Rittle  <ljrittle@acm.org>
+
+       * ld-srec/srec.exp: Do not require any exception support
+       library.
+
+2001-07-27  H.J. Lu  <hjl@gnu.org>
+
+       * ld-selective/selective.exp: Fix the error in the last change.
+
+2001-07-24  Loren J. Rittle  <ljrittle@acm.org>
+
+       * ld-selective/selective.exp: Support g++ V3 ABI (along side
+       the old ABI).  Make comparisons against normalized (to
+       V3-style) demangled nm output.
+
+2001-07-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/default.exp (ld_nm): Add "nmflags" arg.
+       * lib/ld-lib.exp (default_ld_nm): Likewise.
+       * ld-empic/empic.exp: Adjust call to ld_nm.
+       * ld-scripts/defined.exp: Likewise.
+       * ld-scripts/script.exp: Likewise.
+       * ld-scripts/sizeof.exp: Likewise.
+       * ld-selective/selective.exp: Likewise.
+       * ld-sh/sh.exp: Likewise.
+
+2001-07-12  H.J. Lu  <hjl@gnu.org>
+
+       * ld-selective/selective.exp: Mark selective1, selective2,
+       selective4 and selective5 xfail on alpha*-*.
+
+2001-06-13  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
+       OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
+       default.
+
+       * lib/ld-lib.exp (run_dump_test): Import from gas testsuite.  Add
+       new options "ld", "source", "xfail", "target", "notarget" and
+       "error".  Support the runtest_file_p "*.exp=testname" feature.
+       (slurp_options, regexp_diff, file_contents, verbose_eval): Import
+       from gas testsuite.
+
+2001-06-12  Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+       * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule.
+
+2001-06-06  H.J. Lu  <hjl@gnu.org>
+
+       * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
+       on Linux/mips.
+
+       * ld-elfvers/vers.exp: Also run on Linux/mips.
+       * ld-elfvsb/elfvsb.exp: Likewise.
+       * ld-shared/shared.exp: Likewise.
+
+       * ld-selective/selective.exp: Mark selective2, selective3,
+       selective4 and selective5 xfail on Linux/mips.
+
+       * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
+
+       * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
+
+       * ld-srec/srec.exp: Add Linux/mips to xfail.
+
+2001-06-06  Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+       * ld-undefined/undefined.exp: Add a setup_xfail line for a test
+       that will always fail on s/390.
+
+2001-05-28  kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for
+       the text section.
+
+2001-05-25  Alan Modra  <amodra@one.net.au>
+
+       * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and
+       linuxaout with linux*aout.
+
+2001-05-24  H.J. Lu  <hjl@gnu.org>
+
+       * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
+
+2001-05-18  H.J. Lu  <hjl@gnu.org>
+
+       * ld-elfvers/vers.exp: Revert the last change.
+
+       * ld-elfvers/vers2.ver: Put back "tmpdir/" the version
+       references.
+       * ld-elfvers/vers3.ver: Likewise.
+       * ld-elfvers/vers6.ver: Likewise.
+       * ld-elfvers/vers18.ver: Likewise.
+
+2001-05-17  H.J. Lu  <hjl@gnu.org>
+
+       * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
+
+       * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
+       definition.
+       * ld-elfvers/vers2.ver: Likewise.
+       * ld-elfvers/vers3.ver: Likewise.
+       * ld-elfvers/vers4a.ver: Likewise.
+       * ld-elfvers/vers6.ver: Likewise.
+       * ld-elfvers/vers7a.ver: Likewise.
+       * ld-elfvers/vers8.ver: Likewise.
+       * ld-elfvers/vers9.ver: Likewise.
+       * ld-elfvers/vers15.ver: Likewise.
+       * ld-elfvers/vers16a.ver: Likewise.
+       * ld-elfvers/vers17.ver: Likewise.
+       * ld-elfvers/vers18.ver: Likewise.
+
+2001-05-03  H.J. Lu  <hjl@gnu.org>
+
+       * ld-elfvers/vers19.ver: Expect vers17.so instead of
+       *tmpdir/vers17.so.
+
+2001-05-01  Andreas Jaeger  <aj@suse.de>, Andreas Schwab <schwab@suse.de>
+
+       * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
+
+       * ld-scripts/phdrs.t: Use startaddress that's greater than any
+       MAXPAGESIZE used.
+
+2001-04-29  H.J. Lu  <hjl@gnu.org>
+
+       * ld-shared/symbolic.dat: New.
+
+       * ld-shared/shared.exp: Also check -Bsymbolic.
+
+2001-04-28  Andreas Jaeger  <aj@suse.de>
+
+       * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
+       special.
+
+2001-04-01  David O'Brien  <obrien@FreeBSD.org>
+       * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
+       though it doesn't use DWARF2 yet (but its output is identical).
+
+2001-04-01  David O'Brien  <obrien@FreeBSD.org>
+
+       * ld-selective/selective.exp: Use -O with gcc rather than -O2.
+       This optimization level is buggy on some platforms, and this test
+       is not intended to test compiler optimizations.
+
+2001-03-06  DJ Delorie  <dj@redhat.com>
+
+       * ld-scripts/cross2.t: Support any type of text/data sections, not
+       just the canonical ones.
+
+2001-02-28  Matt Hiller  <hiller@redhat.com>
+
+       * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian].
+       * ld-undefined/undefined.exp: Ditto, and include $flags in ld
+       invocations.
+       * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL
+       and -el.
+       (is_endian_output_format): New function.
+       (default_ld_link): Set flags to [big_or_little_endian] only if ld
+       is being invoked such that the output format being used is of
+       known endianness.
+       (default_ld_simple_link): Ditto.
+
+2001-02-14  H.J. Lu  <hjl@gnu.org>
+
+       * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
+       for -static on ia64.
+
+       * ld-checks/checks.exp: Don't run on ia64-*-elf* nor
+       ia64-*-linux*.
+
+       * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
+
+       * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
+       Set up expected failures for ia64-*-linux*.
+       * ld-shared/shared.exp: Likewise.
+
+2001-02-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * ld-srec/srec.exp (run_srec_test): m6811 code has references
+       to soft registers, define them with --defsym.
+       * ld-selective/selective.exp: Likewise.
+
+2001-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
+
+2001-01-03  Philip Blundell  <pb@futuretv.com>
+
+       * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
+       * ld-shared/shared.exp: Likewise.
+
+2001-01-01  Philip Blundell  <philb@gnu.org>
+
+       * ld-undefined/weak-undef.exp: New test.
+       * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
+       files for above.
+
+       * ld-elfvers/vers.exp: Run test on Linux/ARM.
+       * ld-elfvsb/elfvsb.exp: Likewise.
+       * ld-shared/shared.exp: Likewise.
+
+2000-12-31  Nick Clifton  <nickc@redhat.com>
+
+       * ld-srec/srec.exp: Use --oformat instead of -oformat.
+
+2000-12-09  Nick Clifton  <nickc@redhat.com>
+
+       * ld-selective/selective.exp: Link in libgcc when target is v850.
+
+       * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets
+       because the -oformat linker command switch cannot be used.
+
+2000-11-06  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
+       (main): Prune unused args.
+
+2000-10-29  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-selective/selective.exp <no CXX>: Fix typo for argument to
+       "untested".
+
+2000-10-19  H.J. Lu  (hjl@gnu.org)
+
+       * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
+       for Linux/PPC.
+       * ld-shared/shared.exp: Likewise.
+
+2000-10-09  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-selective/selective.exp: Rearrange to be table-driven.
+
+2000-10-07  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too.
+
+2000-10-02  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
+       * ld-scripts/crossref.exp: Ditto.
+
+2000-09-29  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-selective/5.cc: New test.
+       * ld-selective/selective.exp: Run it as xfailed.
+
+       * ld-selective/4.cc: Correct spelling of "lose".
+
+2000-09-05  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-selective/selective.exp: Remove the xfails for hppa.
+
+2000-08-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
+       sh-*-*): With dwarf-2, `undefined function' can't pass.
+
+2000-08-03  H.J. Lu  (hjl@gnu.org)
+
+       * ld-bootstrap/bootstrap.exp: Add strip.
+
+2000-07-24  H.J. Lu  (hjl@gnu.org)
+
+       * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
+       the undefined reference.
+
+2000-07-16  H.J. Lu  (hjl@gnu.org)
+
+       * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check
+       and set to "yes" if the protected visibility is expected to
+       pass.
+       (visibility_run): Set expected to fail for the "protected"
+       and "protected_undef_def" tests only if $support_protected is
+       "no".
+
+       * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected
+       visibility support if defined.
+
+2000-07-15  H.J. Lu  (hjl@gnu.org)
+
+       * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
+       for "protected_undef_def".
+
+       * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
+       PROTECTED_WEAK_TEST is defined.
+       Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
+       defined.
+       Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.
+
+       * ld-elfvsb/sh1.c (visibility): Mark protected only if
+       PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
+       is defined.
+       (visibility_var): Likewise.
+
+2000-07-10  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-srec/srec.exp: xfail hppa.
+
+       * ld-scripts/weak.exp: Define $global$ for hppa.
+
+       * ld-scripts/crossref.exp: Fix string quoting.
+
 2000-06-05  H.J. Lu  (hjl@gnu.org)
 
        * lib/ld-lib.exp (default_ld_link): Redirect the linker output
 
 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>
 
@@ -177,16 +500,16 @@ Wed Jun  9 12:02:33 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * ld-srec/srec.exp: Add expected failures for StrongARM targets.
 
        * ld-selective/selective.exp: Add expected failure for ARM-COFF
-       targets. 
+       targets.
 
 1999-02-16  Nick Clifton  <nickc@cygnus.com>
 
        * ld-checks/asm.s: Use .long instead of .word.
        Replace custom section names with .text, .data and .bss.
        * ld-checks/script: Replace custom section names with .text, .data
-       and .bss. 
+       and .bss.
        * ld-checks/checks.exp: Replace custom section names with .text,
-       .data and .bss. 
+       .data and .bss.
 
 1999-02-11  Nick Clifton  <nickc@cygnus.com>
 
@@ -244,7 +567,7 @@ Fri Oct 23 16:28:29 1998 Catherine Moore  <clm@cygnus.com>
        selective linking.
 
        * lib/ld-lib.exp (ld_nm):  Strip leading underscore from $name.
-     
+
 Sun Oct  4 22:17:05 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * ld-elfvers/vers16.dsym: Work correctly on a system without
@@ -275,7 +598,7 @@ Wed Sep  9 14:10:15 1998  Nick Clifton  <nickc@cygnus.com>
 Wed Aug 19 11:59:19 1998  Nick Clifton  <nickc@cygnus.com>
 
        * ld-srec/srec.exp: Add arm/thumb-elf expected failures.
-       
+
 Thu Aug 13 12:41:58 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap
@@ -334,7 +657,7 @@ Tue Jun 16 12:40:38 1998  Geoff Keating  <geoffk@ozemail.com.au>
 Fri May 29 15:02:50 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
-       (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
+       (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
        * ld-srec/sr1.c (__main): Change return type to void.
        * ld-srec/sr3.cc (__main): Likewise.
        (__builtin_delete, __builtin_new): Likewise.
@@ -405,7 +728,7 @@ Mon Nov 10 14:25:43 1997  Ian Lance Taylor  <ian@cygnus.com>
 Mon Oct 20 14:36:39 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
-       __throw, since the current g++ expects them to be defined.
+       __throw, since the current g++ expects them to be defined.
 
 Fri Oct  3 12:24:03 1997  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -542,7 +865,7 @@ Wed May  1 16:45:13 1996  Ian Lance Taylor  <ian@cygnus.com>
 Mon Apr 29 10:33:10 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
        * ld-shared/shared.exp: Run the shared library tests on
-       Linux/m68k.
+       Linux/m68k.
 
 Fri Apr  5 16:20:55 1996  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -733,7 +1056,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>
 
@@ -873,25 +1196,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