Commit graph

104 commits

Author SHA1 Message Date
Ken Raeburn
7cada34aec (Ugh. Last checkin was supposed to have been aborted. Oops.)
Replace elf-offset.ld with a version we can ship.
Use "-T" in linker invocation when specifying linker script.
1999-01-03 23:55:33 +00:00
Ken Raeburn
6772620740 sanitization for new test case. discard it when sanitizing, until it gets
rewritten or assigned to the fsf.
1999-01-03 23:27:11 +00:00
Ken Raeburn
687788cd4b * config/default.exp (get_link_files, get_target_emul): New procs;
run shell commands to extract information from configure.host and
	configure.tgt in the source tree.
	(top level): Use them to get information needed to run tests, if
	not otherwise provided.

Should allow running of at least some of the tests by releng.

	* ld-shared/elf-offset.ld: New file.  Builds a shared library, but
	gives non-zero addresses for memory region.
	* ld-shared/shared.exp: Run the non-PIC non-AIX test again using
	the new linker script.

PR ld/17962 -- not fixed, but customer has what should be an adequate
workaround.
1999-01-03 16:03:47 +00:00
Ian Lance Taylor
d11b289ba8 Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers1.c: Add missing return types and values.
	* ld-elfvers/vers2.c: Likewise.
	* ld-elfvers/vers3.c: Likewise.
	* ld-elfvers/vers4.c: Likewise.
	* ld-elfvers/vers5.c: Likewise.
	* ld-elfvers/vers6.c: Likewise.
	* ld-elfvers/vers7.c: Likewise.
	* ld-elfvers/vers9.c: Likewise.
	* ld-elfvers/vers15.c: Likewise.
1998-12-06 18:01:41 +00:00
Catherine Moore
1280763791 add ld-selective 1998-10-24 19:50:53 +00:00
Catherine Moore
d967fee5a7 New for ld-selective 1998-10-24 19:43:14 +00:00
Catherine Moore
4b329e3518 * ld-selective: New directory with new files to test
selective linking.

       * lib/ld-lib.exp (ld_nm):  Strip leading underscore from $name.
1998-10-23 21:32:56 +00:00
Richard Henderson
ea0a321df9 Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
* ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.
1998-09-29 04:34:32 +00:00
Catherine Moore
07f50e4e2c remove armelf sanitization 1998-08-28 20:28:26 +00:00
Catherine Moore
0fc4a7d044 remove armelf sanitization. 1998-08-28 20:26:14 +00:00
Nick Clifton
97837cef65 Added missing sanitization markers 1998-08-19 19:28:50 +00:00
Nick Clifton
70bb54baba Add arm/thumb-elf expected failures 1998-08-19 19:13:56 +00:00
Ian Lance Taylor
d02e7bc8b7 Based on patch from H.J. Lu <hjl@gnu.org>:
* ld-srec/srec.exp: Add xfails for Alpha ELF targets.
1998-08-12 19:22:30 +00:00
Ian Lance Taylor
e42578b65e * ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
	(objdump_versionstuff): If we can't find the line, dump the file.
1998-07-23 16:24:15 +00:00
Nick Clifton
d8d4c4e71a Pass thumb-pe and arm-pe 1998-07-01 17:52:43 +00:00
Ian Lance Taylor
0d61eedd67 * ld-scripts/weak.exp: New test.
* ld-scripts/weak.t: New file.
	* ld-scripts/weak1.s: New file.
	* ld-scripts/weak2.s: New file.
1998-06-19 21:13:57 +00:00
Ian Lance Taylor
8c02e37df8 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
(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.
	(__get_dynamic_handler_chain): Return 0.
	(__get_eh_context): Likewise.
1998-05-29 19:04:42 +00:00
Ian Lance Taylor
cc96256766 * ld-shared/main.c (shlib_overriddencall2): New function.
(main): Call shlib_shlibcall2.
	* ld-shared/sh1.c (shlib_shlibcall2): New function.
	(shlib_overriddencall2): New function.
	* ld-shared/shared.dat: Add output line for new test.
	* ld-shared/sun4.dat: Likewise.
1998-05-04 21:45:13 +00:00
Ian Lance Taylor
792dfb93dc comment changes 1998-05-04 21:44:57 +00:00
Ian Lance Taylor
7b9f7f9917 * ld-srec/sr3.cc (__get_eh_context): New function. 1998-05-04 21:12:24 +00:00
Ian Lance Taylor
f3d26cc56a * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. 1998-02-02 19:18:42 +00:00
Nick Clifton
3c6d5393c4 Added expected failure of tests 1 and 2 for ARM coff targets. 1997-12-02 00:18:48 +00:00
Ian Lance Taylor
df1859da76 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
avoid compiler warning.
	* ld-srec/sr3.cc (class Foo): Likewise.
1997-11-12 19:20:11 +00:00
Ian Lance Taylor
13c8330080 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
have any name when looking for entry symbol warnings.
1997-11-10 22:07:27 +00:00
Ian Lance Taylor
20d41979a9 * ld-srec/sr3.cc (__eh_pc): Define. 1997-11-10 19:26:09 +00:00
Ian Lance Taylor
43093ad9e3 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
__throw, since the current g++ expects them to be defined.
1997-10-20 18:37:48 +00:00
Ian Lance Taylor
a862ba679b * config/default.exp: Change ld, as, nm and strip from .new to
-new.  Load ld-lib.exp rather than ld.exp.
	* ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
	* lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
	DejaGnu changes.
1997-08-09 04:57:20 +00:00
Ian Lance Taylor
907672ebb2 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
an alternation.  From Greg Margo <gmargo@dl.com>.
1997-06-26 16:08:17 +00:00
Ian Lance Taylor
682b4d3322 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
	with non PIC shared libraries.
1997-06-25 16:47:59 +00:00
Ian Lance Taylor
0570b3d3a0 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
version handling.
1997-06-06 21:36:11 +00:00
Ian Lance Taylor
c8a8d3bb27 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
* ld-elfvers/vers.exp, *: New tests for symbol versioning.
	* config/default.exp: Set ar and strip.
1997-03-13 02:46:09 +00:00
Bob Manson
fa5864d5f7 Added and updated copyright notices to testsuite expect
scripts.
1997-03-06 22:32:25 +00:00
Bob Manson
dfe6379731 Changes to replace references to "prune_system_crud" with
"prune_warnings".
1997-02-08 01:03:37 +00:00
Bob Manson
787f622077 Major revision to testsuites for cross-testing and DOS testing support. 1997-01-29 09:40:31 +00:00
Ian Lance Taylor
3b1e54df46 * lib/ld.exp (default_ld_version): Fix for current version
printing.
1996-10-01 19:53:02 +00:00
Ian Lance Taylor
2d69131dab * lib/ld.exp: Use verbose -log instead of calling both verbose and
send_log.
1996-08-08 18:29:59 +00:00
Ian Lance Taylor
9c3f0306ac * ld-scripts/phdrs.exp: New test.
* ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
1996-08-07 22:20:39 +00:00
Ian Lance Taylor
52247dfd7f * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
V_SPILL and V_FILL.
1996-08-05 02:29:34 +00:00
Ian Lance Taylor
c1ebd1ce17 rework crossref test 1996-08-01 18:33:47 +00:00
Ian Lance Taylor
bc4c9b927b * ld-scripts/crossref.exp: New test.
* ld-scripts/cross1.c, ld-scripts/cross2.c: New files.
	* ld-scripts/crossref.t: New file.
1996-08-01 18:12:22 +00:00
Ian Lance Taylor
ec7d9f3d3c 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.
1996-04-29 14:34:44 +00:00
Ian Lance Taylor
ba7db99126 * ld-undefined/undefined.exp: ELF targets should now pass the
undefined line test.
1996-01-26 23:43:29 +00:00
Ian Lance Taylor
92849bae1d * ld-empic/empic.exp: Update for change to MIPS disassembler. 1996-01-25 20:38:08 +00:00
Ian Lance Taylor
21a3c2ff37 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
when doing the --static test.
	* ld-shared/shared.exp: Run tests on mips*-*-irix5*.
1996-01-15 20:06:43 +00:00
Ian Lance Taylor
54fe92c5a1 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
__eabi.
1995-12-26 22:35:31 +00:00
Ian Lance Taylor
af3f877153 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets. 1995-12-19 23:00:26 +00:00
Ian Lance Taylor
656db2ed89 * ld-srec/srec.exp: Remove i960 COFF setup_xfail. 1995-12-15 21:39:35 +00:00
Ian Lance Taylor
6ceb561287 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions. 1995-12-02 06:17:46 +00:00
Ian Lance Taylor
a91a8d08ae * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets. 1995-12-01 18:15:18 +00:00
Ian Lance Taylor
5d85ec2d4e * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets. 1995-11-29 17:59:04 +00:00