1 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
3 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
4 have any name when looking for entry symbol warnings.
6 * ld-srec/sr3.cc (__eh_pc): Define.
8 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
10 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
11 __throw, since the current g++ expects them to be defined.
13 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
15 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
16 file if the string libc appears in it.
17 (objdump_versionstuff): Accept unexpected lines in the output
18 file. Compare lines using string match.
19 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
21 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
23 * ld-scripts/crossref.exp: Correct string quoting.
25 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
27 * config/default.exp: Change ld, as, nm and strip from .new to
28 -new. Load ld-lib.exp rather than ld.exp.
29 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
30 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
33 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
35 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
36 an alternation. From Greg Margo <gmargo@dl.com>.
38 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
40 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
41 with non PIC shared libraries.
43 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
45 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
48 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
50 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
52 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
54 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
57 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
59 * config/default.exp: Use $base_dir rather than $objdir when
60 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
62 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
64 * ld-srec/srec.exp: Define various out of line prologue/epilogue
65 functions for the mn10200 to avoid needing libgcc.a.
67 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
69 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
71 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
73 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
75 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
77 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
78 * config/default.exp: Set ar and strip.
80 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
82 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
84 * ld-cdtest/cdtest.exp: Ditto.
85 * ld-scripts/crossref.exp: Ditto.
86 * ld-sh/sh.exp: Ditto.
87 * ld-shared/shared.exp: Ditto.
88 * ld-srec/srec.exp: Ditto.
91 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
93 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
94 * ld-scripts/script.exp: Ditto.
95 * ld-sh/sh.exp: Ditto.
96 * ld-undefined/undefined.exp: Ditto.
97 * ld-versados/versados.exp: Ditto.
100 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
102 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
104 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
106 * lib/ld.exp (default_ld_version): Fix for current version
109 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
111 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
113 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
115 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
117 * lib/ld.exp: Use verbose -log instead of calling both verbose and
120 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
122 * ld-scripts/phdrs.exp: New test.
123 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
125 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
127 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
130 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
132 * ld-scripts/crossref.exp: New test.
133 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
134 * ld-scripts/{cross1.t, cross2.t}: New files.
136 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
138 * ld-sh/sh.exp: Fix debugging messages.
139 * ld-sh/sh1.s: Use .align 4.
141 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
143 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
145 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
147 * ld-shared/shared.exp: Run the shared library tests on
150 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
152 * ld-shared/shared.exp: Run the shared library tests on Linux.
154 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
156 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
158 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
160 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
161 * ld-undefined/undefined.exp: Likewise.
163 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
165 * ld-undefined/undefined.exp: ELF targets should now pass the
168 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
170 * ld-empic/empic.exp: Update for change to MIPS disassembler.
172 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
174 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
175 when doing the --static test.
176 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
178 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
180 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
181 when creating ld-partial.o.
183 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
185 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
188 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
190 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
192 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
194 * ld-srec/srec.exp: On a29k targets, use --defsym to define
196 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
197 * ld-srec/sr3.cc: Likewise.
199 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
201 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
203 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
205 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
207 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
209 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
211 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
213 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
215 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
217 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
218 * ld-srec/sr3.cc: Likewise.
220 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
222 * ld-empic/empic.exp: Update for changes in objdump output.
224 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
226 * ld-srec/srec.exp: New tests.
227 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
228 * lib/ld.exp (ld_simple_link): Discard warnings about not being
229 able to find the entry symbol.
231 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
233 * ld-sh/sh2.c (__main): Define.
235 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
237 * ld-empic/empic.exp: Accept a . in the address symbol.
239 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
240 powerpc*-*-aix*. Add code to create appropriate exports files,
241 and pass appropriate compilation flags, and test against
242 appropriate expected output.
243 * ld-shared/xcoff.dat: New file.
244 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
245 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
246 function pointer, rather than shlib_mainvar.
247 * ld-shared/sh1.c: Likewise.
248 * ld-shared/shared.dat: Update for change from using shlib_mainvar
249 to using shlib_shlibvar1.
250 * ld-shared/sun4.dat: Likewise.
252 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
254 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
255 convenience when testing XCOFF.
257 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
259 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
262 * ld-scripts/script.s: Make symbols global.
264 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
266 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
268 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
270 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
271 prevent the SunOS linker from trying to create a shared library.
273 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
275 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
276 appropriate modifications and setup_xfails.
277 * ld-shared/sun4.dat: New file.
279 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
281 * lib/ld.exp (default_ld_version): Call prune_system_crud.
282 (default_ld_relocate, default_ld_link): Likewise.
283 (default_ld_simple_link, default_ld_compile): Likewise.
284 (default_ld_assemble, default_ld_nm): Likewise.
286 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
288 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
289 tests as untested rather than unresolved.
291 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
293 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
295 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
297 * ld-scripts/script.exp: Split script verification into a proc.
298 Add simple test of MRI script.
299 * ld-scripts/scriptm.t: New file.
301 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
303 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
306 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
308 * config/default.exp: Define objcopy if it is not defined.
309 * ld-sh/*: New tests for SH relaxing.
311 * ld-empic/empic.exp: If $CC does not exist, call untested rather
314 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
316 * ld-undefined/undefined.exp: If $CC does not exist, mark the
317 tests as untested rather than unresolved. Clear ELF xfails for
318 mips*, not just mips.
320 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
322 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
325 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
327 * ld-undefined/undefined.exp: New test, to check reporting of
329 * ld-undefined/undefined.c: New file.
331 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
333 * ld-versados/versados.exp: If a test fails, report it correctly:
334 don't try to run the next test, and don't report a pass as well as
337 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
339 * ld/testsuite/versados/(t1,t2).ld: End in newlines.
341 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
343 * lib/ld.exp (default_ld_compile): If cc argument is multiple
344 words, use only the first when trying to verify the availability
347 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
349 * ld-scripts/defined.t: Mention .data and .bss explicitly.
351 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
353 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
354 call untested for each test, rather than ignoring it. If one test
355 fails, go on to the next one instead of returning.
356 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
358 * ld-empic/empic.exp: Likewise. Also, always pass the same test
359 name to pass or fail.
360 * ld-shared/shared.exp: Likewise. Also, always run all tests.
361 * ld-scripts/defined.exp: If as or nm fail, mark test as
362 unresolved. Always pass the same test name to pass or fail.
363 * ld-scripts/script.exp: Likewise.
364 * ld-scripts/sizeof.exp: Likewise.
366 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
368 * ld-scripts/sizeof.exp: New test, based on bug report from
369 anders.blomdell@control.lth.se.
370 * ld-scripts/sizeof.s: New file.
371 * ld-scripts/sizeof.t: New file.
373 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
375 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
376 if the linker exists.
378 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
380 * lib/ld.exp (prune_system_crud): Define if not already defined,
381 in case the user isn't using the newest DejaGnu version that we
382 haven't released to the net yet.
384 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
386 * config/default.exp: Define objdump if it is not defined.
387 * ld-empic/*: New tests to test -membedded-pic code.
389 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
391 * ld-bootstrap/bootstrap.exp: Pass cmp output through
393 * ld-cdtest/cdtest.exp: Pass diff output through
395 * ld-shared/shared.exp: Likewise.
397 * config/default.exp: Remove unused and useless proc ld_load.
399 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
401 * lib/ld.exp (default_ld_compile): Remove the output file before
404 * ld-shared/shared.exp: Move common test code into a procedure.
405 Add tests for compiling the non shared code PIC.
406 * ld-shared/main.c (main): Call main_called, and print the result.
407 * ld-shared/shared.dat: Adjust accordingly.
409 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
411 * ld-shared: New directory, with new files to test generating ELF
414 * lib/ld.exp (default_ld_compile): If the compilation worked, but
415 no object file was created, check to see if the compiler foolishly
416 ignored the -o switch when compiling, and move the resulting
419 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
421 * VMS does not permits `.' in directory names. Renamed
422 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
423 ld.scripts to ld-scripts.
425 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
427 * config/default.exp: Set variables as and nm. Create tmpdir if
428 it does not already exist.
429 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
430 * ld.cdtest/cdtest.exp: Likewise.
431 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
432 here. Change perror for no variables found to fail.
433 * ld.scripts/script.exp: New test.
434 * ld.scripts/script.t, ld.scripts/script.s: New files.
436 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
438 * ld.scripts: New directory.
439 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
440 * ld.scripts/defined.t: New file.
441 * lib/ld.exp (default_ld_simple_link): New function.
442 (default_ld_assemble, default_ld_nm): New functions.
443 * config/default.exp: Rename from unix-ld.exp.
444 (ld_simple_link, ld_assemble, ld_nm): New functions.
446 * config/unix-ld.exp: Set ld using findfile.
447 * lib/ld.exp (default_ld_relocate): Return a value. Change format
449 (default_ld_compile): Likewise.
450 (default_ld_link): Likewise. Also, don't include $BFDLIB and
452 * ld.bootstrap/bootstrap.exp: Rewrite.
453 * ld.cdtest/cdtest.exp: Rewrite.
454 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
455 * ld.cdtest/cdtest-foo.h: Likewise.
456 * ld.cdtest/cdtest-main.cc: Likewise.
458 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
460 * ld.cdtest/cdtest.exp: Don't look for $result before it's
463 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
465 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
466 calls with perror calls.
468 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
470 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
471 * ld.cdtest/cdtest.exp: Adjusted.
473 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
475 * lib/ld.exp (simple_diff): Indicate failure if files have
476 different numbers of lines. Don't muck with $differences to avoid
477 indicating a pass, just return.
479 * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
480 Fix test case to be valid ANSI C++. Don't require use of header
481 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
482 * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
483 commentary on things that are still broken with this test case.
485 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
487 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
489 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
491 * testsuite/lib/ld.exp: add compiler and linker support
492 * testsuite/config/unix-ld.exp: add compiler and linker support
493 * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
494 * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
496 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
498 * testsuite/lib/ld.exp: new file
499 * testsuite/config/unix-ld.exp: new file
500 * testsuite/ld.bootstrap/bootstrap.exp: new file