Commit graph

35 commits

Author SHA1 Message Date
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
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
Ian Lance Taylor
12bfa0bcf5 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
* ld-srec/sr1.c (V_SPILL, V_FILL): Define.
	* ld-srec/sr3.cc: Likewise.
1995-11-27 19:39:09 +00:00
Ian Lance Taylor
ad2282f68f * ld-empic/empic.exp: Update for changes in objdump output. 1995-11-21 21:06:55 +00:00
Ian Lance Taylor
28f6feaf2e * ld-sh/sh2.c (__main): Define. 1995-11-15 01:05:26 +00:00
Ian Lance Taylor
1bc9204d5b * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
powerpc*-*-aix*.  Add code to create appropriate exports files,
	and pass appropriate compilation flags, and test against
	appropriate expected output.
	* ld-shared/xcoff.dat: New file.
	* ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
	not be linked using XCOFF.  Use shlib_shlibvar1 as a sample
	function pointer, rather than shlib_mainvar.
	* ld-shared/sh1.c: Likewise.
	* ld-shared/shared.dat: Update for change from using shlib_mainvar
	to using shlib_shlibvar1.
	* ld-shared/sun4.dat: Likewise.
1995-11-06 19:44:43 +00:00
Ian Lance Taylor
9145928587 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
convenience when testing XCOFF.
1995-10-28 05:55:00 +00:00
Ian Lance Taylor
27b4433688 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
along with --static.
1995-10-27 03:30:15 +00:00
Ian Lance Taylor
b18896d9bd * ld-scripts/script.s: Make symbols global. 1995-10-27 02:53:47 +00:00
Ian Lance Taylor
a43308b283 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
appropriate modifications and setup_xfails.
	* ld-shared/sun4.dat: New file.
1995-09-28 16:39:55 +00:00
Ian Lance Taylor
74453659c5 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
tests as untested rather than unresolved.
1995-09-08 21:16:31 +00:00
Ian Lance Taylor
62a72a565d * ld-scripts/script.exp: Split script verification into a proc.
Add simple test of MRI script.
	* ld-scripts/scriptm.t: New file.
1995-08-15 21:37:19 +00:00
Ian Lance Taylor
86c2d1a39e * ld-empic/empic.exp: If $CC does not exist, call untested rather
than unresolved.
1995-07-24 19:36:57 +00:00
Ian Lance Taylor
738844c1f1 * ld-undefined/undefined.exp: New test, to check reporting of
undefined symbols.
	* ld-undefined/undefined.c: New file.
1995-07-14 17:11:53 +00:00
Ian Lance Taylor
10de6952c9 * ld-versados/versados.exp: If a test fails, report it correctly:
don't try to run the next test, and don't report a pass as well as
	a fail.
1995-07-10 15:15:10 +00:00
Ian Lance Taylor
e2a8da6a50 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
if the linker exists.
1995-01-04 23:59:43 +00:00
Ian Lance Taylor
6294d8d0a5 * ld-bootstrap/bootstrap.exp: Pass cmp output through
prune_system_crud.
	* ld-cdtest/cdtest.exp: Pass diff output through
	prune_system_crud.
	* ld-shared/shared.exp: Likewise.

	* config/default.exp: Remove unused and useless proc ld_load.
1994-11-28 16:26:30 +00:00
Ian Lance Taylor
f9c3e5871e * ld-shared: New directory, with new files to test generating ELF
shared libraries.
1994-10-27 21:33:10 +00:00
Ian Lance Taylor
f81eadb499 * config/default.exp: Set variables as and nm. Create tmpdir if
it does not already exist.
	* ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
	* ld.cdtest/cdtest.exp: Likewise.
	* ld.scripts/defined.exp: Likewise.  Also, don't set as and nm
	here.  Change perror for no variables found to fail.
	* ld.scripts/script.exp: New test.
	* ld.scripts/script.t, ld.scripts/script.s: New files.
1994-09-28 16:21:32 +00:00
Ian Lance Taylor
9de5523bb6 * ld.scripts: New directory.
* ld.scripts/defined.exp, ld.scripts/defined.s: New files.
	* ld.scripts/defined.t: New file.
	* lib/ld.exp (default_ld_simple_link): New function.
	(default_ld_assemble, default_ld_nm): New functions.
	* config/default.exp: Rename from unix-ld.exp.
	(ld_simple_link, ld_assemble, ld_nm): New functions.
1994-09-28 00:06:27 +00:00
Ian Lance Taylor
5c680d3f29 * config/unix-ld.exp: Set ld using findfile.
* lib/ld.exp (default_ld_relocate): Return a value.  Change format
	of log messages.
	(default_ld_compile): Likewise.
	(default_ld_link): Likewise.  Also, don't include $BFDLIB and
	$LIBIBERTY in link.
	* ld.bootstrap/bootstrap.exp: Rewrite.
	* ld.cdtest/cdtest.exp: Rewrite.
	* ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
	* ld.cdtest/cdtest-foo.h: Likewise.
	* ld.cdtest/cdtest-main.cc: Likewise.
1994-09-27 22:23:51 +00:00
Bill Cox
2a12627b21 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
calls with perror calls.
1994-05-17 22:40:29 +00:00
Ken Raeburn
76a1b604a6 8.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.cc 1994-05-11 23:49:21 +00:00