1 Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com>
3 * ld-shared/main.c (shlib_overriddencall2): New function.
4 (main): Call shlib_shlibcall2.
5 * ld-shared/sh1.c (shlib_shlibcall2): New function.
6 (shlib_overriddencall2): New function.
7 * ld-shared/shared.dat: Add output line for new test.
8 * ld-shared/sun4.dat: Likewise.
10 * ld-srec/sr3.cc (__get_eh_context): New function.
12 Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
14 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to
15 avoid compiler warning.
16 * ld-srec/sr3.cc (class Foo): Likewise.
18 Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com>
20 * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function.
22 Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com>
24 * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
26 Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com>
28 * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets.
30 Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com>
32 * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which
35 Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com>
37 * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM
40 Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com>
42 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
43 avoid compiler warning.
44 * ld-srec/sr3.cc (class Foo): Likewise.
46 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
48 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
49 have any name when looking for entry symbol warnings.
51 * ld-srec/sr3.cc (__eh_pc): Define.
53 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
55 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
56 __throw, since the current g++ expects them to be defined.
58 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
60 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
61 file if the string libc appears in it.
62 (objdump_versionstuff): Accept unexpected lines in the output
63 file. Compare lines using string match.
64 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
66 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
68 * ld-scripts/crossref.exp: Correct string quoting.
70 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
72 * config/default.exp: Change ld, as, nm and strip from .new to
73 -new. Load ld-lib.exp rather than ld.exp.
74 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
75 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
78 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
80 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
81 an alternation. From Greg Margo <gmargo@dl.com>.
83 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
85 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
86 with non PIC shared libraries.
88 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
90 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
93 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
95 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
97 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
99 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
102 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
104 * config/default.exp: Use $base_dir rather than $objdir when
105 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
107 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
109 * ld-srec/srec.exp: Define various out of line prologue/epilogue
110 functions for the mn10200 to avoid needing libgcc.a.
112 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
114 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
116 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
118 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
120 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
122 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
123 * config/default.exp: Set ar and strip.
125 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
127 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
129 * ld-cdtest/cdtest.exp: Ditto.
130 * ld-scripts/crossref.exp: Ditto.
131 * ld-sh/sh.exp: Ditto.
132 * ld-shared/shared.exp: Ditto.
133 * ld-srec/srec.exp: Ditto.
136 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
138 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
139 * ld-scripts/script.exp: Ditto.
140 * ld-sh/sh.exp: Ditto.
141 * ld-undefined/undefined.exp: Ditto.
142 * ld-versados/versados.exp: Ditto.
145 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
147 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
149 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
151 * lib/ld.exp (default_ld_version): Fix for current version
154 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
156 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
158 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
160 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
162 * lib/ld.exp: Use verbose -log instead of calling both verbose and
165 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
167 * ld-scripts/phdrs.exp: New test.
168 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
170 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
172 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
175 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
177 * ld-scripts/crossref.exp: New test.
178 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
179 * ld-scripts/{cross1.t, cross2.t}: New files.
181 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
183 * ld-sh/sh.exp: Fix debugging messages.
184 * ld-sh/sh1.s: Use .align 4.
186 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
188 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
190 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
192 * ld-shared/shared.exp: Run the shared library tests on
195 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
197 * ld-shared/shared.exp: Run the shared library tests on Linux.
199 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
201 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
203 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
205 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
206 * ld-undefined/undefined.exp: Likewise.
208 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
210 * ld-undefined/undefined.exp: ELF targets should now pass the
213 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
215 * ld-empic/empic.exp: Update for change to MIPS disassembler.
217 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
219 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
220 when doing the --static test.
221 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
223 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
225 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
226 when creating ld-partial.o.
228 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
230 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
233 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
235 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
237 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
239 * ld-srec/srec.exp: On a29k targets, use --defsym to define
241 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
242 * ld-srec/sr3.cc: Likewise.
244 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
246 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
248 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
250 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
252 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
254 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
256 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
258 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
260 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
262 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
263 * ld-srec/sr3.cc: Likewise.
265 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
267 * ld-empic/empic.exp: Update for changes in objdump output.
269 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
271 * ld-srec/srec.exp: New tests.
272 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
273 * lib/ld.exp (ld_simple_link): Discard warnings about not being
274 able to find the entry symbol.
276 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
278 * ld-sh/sh2.c (__main): Define.
280 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
282 * ld-empic/empic.exp: Accept a . in the address symbol.
284 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
285 powerpc*-*-aix*. Add code to create appropriate exports files,
286 and pass appropriate compilation flags, and test against
287 appropriate expected output.
288 * ld-shared/xcoff.dat: New file.
289 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
290 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
291 function pointer, rather than shlib_mainvar.
292 * ld-shared/sh1.c: Likewise.
293 * ld-shared/shared.dat: Update for change from using shlib_mainvar
294 to using shlib_shlibvar1.
295 * ld-shared/sun4.dat: Likewise.
297 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
299 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
300 convenience when testing XCOFF.
302 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
304 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
307 * ld-scripts/script.s: Make symbols global.
309 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
311 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
313 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
315 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
316 prevent the SunOS linker from trying to create a shared library.
318 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
320 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
321 appropriate modifications and setup_xfails.
322 * ld-shared/sun4.dat: New file.
324 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
326 * lib/ld.exp (default_ld_version): Call prune_system_crud.
327 (default_ld_relocate, default_ld_link): Likewise.
328 (default_ld_simple_link, default_ld_compile): Likewise.
329 (default_ld_assemble, default_ld_nm): Likewise.
331 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
333 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
334 tests as untested rather than unresolved.
336 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
338 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
340 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
342 * ld-scripts/script.exp: Split script verification into a proc.
343 Add simple test of MRI script.
344 * ld-scripts/scriptm.t: New file.
346 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
348 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
351 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
353 * config/default.exp: Define objcopy if it is not defined.
354 * ld-sh/*: New tests for SH relaxing.
356 * ld-empic/empic.exp: If $CC does not exist, call untested rather
359 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
361 * ld-undefined/undefined.exp: If $CC does not exist, mark the
362 tests as untested rather than unresolved. Clear ELF xfails for
363 mips*, not just mips.
365 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
367 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
370 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
372 * ld-undefined/undefined.exp: New test, to check reporting of
374 * ld-undefined/undefined.c: New file.
376 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
378 * ld-versados/versados.exp: If a test fails, report it correctly:
379 don't try to run the next test, and don't report a pass as well as
382 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
384 * ld/testsuite/versados/(t1,t2).ld: End in newlines.
386 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
388 * lib/ld.exp (default_ld_compile): If cc argument is multiple
389 words, use only the first when trying to verify the availability
392 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
394 * ld-scripts/defined.t: Mention .data and .bss explicitly.
396 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
398 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
399 call untested for each test, rather than ignoring it. If one test
400 fails, go on to the next one instead of returning.
401 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
403 * ld-empic/empic.exp: Likewise. Also, always pass the same test
404 name to pass or fail.
405 * ld-shared/shared.exp: Likewise. Also, always run all tests.
406 * ld-scripts/defined.exp: If as or nm fail, mark test as
407 unresolved. Always pass the same test name to pass or fail.
408 * ld-scripts/script.exp: Likewise.
409 * ld-scripts/sizeof.exp: Likewise.
411 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
413 * ld-scripts/sizeof.exp: New test, based on bug report from
414 anders.blomdell@control.lth.se.
415 * ld-scripts/sizeof.s: New file.
416 * ld-scripts/sizeof.t: New file.
418 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
420 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
421 if the linker exists.
423 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
425 * lib/ld.exp (prune_system_crud): Define if not already defined,
426 in case the user isn't using the newest DejaGnu version that we
427 haven't released to the net yet.
429 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
431 * config/default.exp: Define objdump if it is not defined.
432 * ld-empic/*: New tests to test -membedded-pic code.
434 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
436 * ld-bootstrap/bootstrap.exp: Pass cmp output through
438 * ld-cdtest/cdtest.exp: Pass diff output through
440 * ld-shared/shared.exp: Likewise.
442 * config/default.exp: Remove unused and useless proc ld_load.
444 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
446 * lib/ld.exp (default_ld_compile): Remove the output file before
449 * ld-shared/shared.exp: Move common test code into a procedure.
450 Add tests for compiling the non shared code PIC.
451 * ld-shared/main.c (main): Call main_called, and print the result.
452 * ld-shared/shared.dat: Adjust accordingly.
454 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
456 * ld-shared: New directory, with new files to test generating ELF
459 * lib/ld.exp (default_ld_compile): If the compilation worked, but
460 no object file was created, check to see if the compiler foolishly
461 ignored the -o switch when compiling, and move the resulting
464 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
466 * VMS does not permits `.' in directory names. Renamed
467 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
468 ld.scripts to ld-scripts.
470 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
472 * config/default.exp: Set variables as and nm. Create tmpdir if
473 it does not already exist.
474 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
475 * ld.cdtest/cdtest.exp: Likewise.
476 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
477 here. Change perror for no variables found to fail.
478 * ld.scripts/script.exp: New test.
479 * ld.scripts/script.t, ld.scripts/script.s: New files.
481 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
483 * ld.scripts: New directory.
484 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
485 * ld.scripts/defined.t: New file.
486 * lib/ld.exp (default_ld_simple_link): New function.
487 (default_ld_assemble, default_ld_nm): New functions.
488 * config/default.exp: Rename from unix-ld.exp.
489 (ld_simple_link, ld_assemble, ld_nm): New functions.
491 * config/unix-ld.exp: Set ld using findfile.
492 * lib/ld.exp (default_ld_relocate): Return a value. Change format
494 (default_ld_compile): Likewise.
495 (default_ld_link): Likewise. Also, don't include $BFDLIB and
497 * ld.bootstrap/bootstrap.exp: Rewrite.
498 * ld.cdtest/cdtest.exp: Rewrite.
499 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
500 * ld.cdtest/cdtest-foo.h: Likewise.
501 * ld.cdtest/cdtest-main.cc: Likewise.
503 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
505 * ld.cdtest/cdtest.exp: Don't look for $result before it's
508 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
510 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
511 calls with perror calls.
513 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
515 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
516 * ld.cdtest/cdtest.exp: Adjusted.
518 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
520 * lib/ld.exp (simple_diff): Indicate failure if files have
521 different numbers of lines. Don't muck with $differences to avoid
522 indicating a pass, just return.
524 * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
525 Fix test case to be valid ANSI C++. Don't require use of header
526 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
527 * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
528 commentary on things that are still broken with this test case.
530 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
532 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
534 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
536 * testsuite/lib/ld.exp: add compiler and linker support
537 * testsuite/config/unix-ld.exp: add compiler and linker support
538 * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
539 * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
541 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
543 * testsuite/lib/ld.exp: new file
544 * testsuite/config/unix-ld.exp: new file
545 * testsuite/ld.bootstrap/bootstrap.exp: new file