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
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
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
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
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
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
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