1 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
3 * ld-srec/sr3.cc (__eh_pc): Define.
5 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
7 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
8 __throw, since the current g++ expects them to be defined.
10 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
12 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
13 file if the string libc appears in it.
14 (objdump_versionstuff): Accept unexpected lines in the output
15 file. Compare lines using string match.
16 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
18 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
20 * ld-scripts/crossref.exp: Correct string quoting.
22 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
24 * config/default.exp: Change ld, as, nm and strip from .new to
25 -new. Load ld-lib.exp rather than ld.exp.
26 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
27 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
30 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
32 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
33 an alternation. From Greg Margo <gmargo@dl.com>.
35 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
37 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
38 with non PIC shared libraries.
40 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
42 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
45 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
47 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
49 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
51 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
54 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
56 * config/default.exp: Use $base_dir rather than $objdir when
57 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
59 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
61 * ld-srec/srec.exp: Define various out of line prologue/epilogue
62 functions for the mn10200 to avoid needing libgcc.a.
64 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
66 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
68 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
70 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
72 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
74 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
75 * config/default.exp: Set ar and strip.
77 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
79 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
81 * ld-cdtest/cdtest.exp: Ditto.
82 * ld-scripts/crossref.exp: Ditto.
83 * ld-sh/sh.exp: Ditto.
84 * ld-shared/shared.exp: Ditto.
85 * ld-srec/srec.exp: Ditto.
88 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
90 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
91 * ld-scripts/script.exp: Ditto.
92 * ld-sh/sh.exp: Ditto.
93 * ld-undefined/undefined.exp: Ditto.
94 * ld-versados/versados.exp: Ditto.
97 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
99 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
101 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
103 * lib/ld.exp (default_ld_version): Fix for current version
106 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
108 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
110 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
112 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
114 * lib/ld.exp: Use verbose -log instead of calling both verbose and
117 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
119 * ld-scripts/phdrs.exp: New test.
120 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
122 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
124 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
127 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
129 * ld-scripts/crossref.exp: New test.
130 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
131 * ld-scripts/{cross1.t, cross2.t}: New files.
133 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
135 * ld-sh/sh.exp: Fix debugging messages.
136 * ld-sh/sh1.s: Use .align 4.
138 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
140 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
142 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
144 * ld-shared/shared.exp: Run the shared library tests on
147 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
149 * ld-shared/shared.exp: Run the shared library tests on Linux.
151 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
153 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
155 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
157 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
158 * ld-undefined/undefined.exp: Likewise.
160 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
162 * ld-undefined/undefined.exp: ELF targets should now pass the
165 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
167 * ld-empic/empic.exp: Update for change to MIPS disassembler.
169 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
171 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
172 when doing the --static test.
173 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
175 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
177 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
178 when creating ld-partial.o.
180 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
182 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
185 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
187 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
189 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
191 * ld-srec/srec.exp: On a29k targets, use --defsym to define
193 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
194 * ld-srec/sr3.cc: Likewise.
196 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
198 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
200 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
202 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
204 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
206 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
208 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
210 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
212 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
214 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
215 * ld-srec/sr3.cc: Likewise.
217 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
219 * ld-empic/empic.exp: Update for changes in objdump output.
221 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
223 * ld-srec/srec.exp: New tests.
224 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
225 * lib/ld.exp (ld_simple_link): Discard warnings about not being
226 able to find the entry symbol.
228 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
230 * ld-sh/sh2.c (__main): Define.
232 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
234 * ld-empic/empic.exp: Accept a . in the address symbol.
236 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
237 powerpc*-*-aix*. Add code to create appropriate exports files,
238 and pass appropriate compilation flags, and test against
239 appropriate expected output.
240 * ld-shared/xcoff.dat: New file.
241 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
242 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
243 function pointer, rather than shlib_mainvar.
244 * ld-shared/sh1.c: Likewise.
245 * ld-shared/shared.dat: Update for change from using shlib_mainvar
246 to using shlib_shlibvar1.
247 * ld-shared/sun4.dat: Likewise.
249 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
251 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
252 convenience when testing XCOFF.
254 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
256 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
259 * ld-scripts/script.s: Make symbols global.
261 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
263 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
265 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
267 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
268 prevent the SunOS linker from trying to create a shared library.
270 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
272 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
273 appropriate modifications and setup_xfails.
274 * ld-shared/sun4.dat: New file.
276 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
278 * lib/ld.exp (default_ld_version): Call prune_system_crud.
279 (default_ld_relocate, default_ld_link): Likewise.
280 (default_ld_simple_link, default_ld_compile): Likewise.
281 (default_ld_assemble, default_ld_nm): Likewise.
283 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
285 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
286 tests as untested rather than unresolved.
288 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
290 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
292 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
294 * ld-scripts/script.exp: Split script verification into a proc.
295 Add simple test of MRI script.
296 * ld-scripts/scriptm.t: New file.
298 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
300 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
303 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
305 * config/default.exp: Define objcopy if it is not defined.
306 * ld-sh/*: New tests for SH relaxing.
308 * ld-empic/empic.exp: If $CC does not exist, call untested rather
311 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
313 * ld-undefined/undefined.exp: If $CC does not exist, mark the
314 tests as untested rather than unresolved. Clear ELF xfails for
315 mips*, not just mips.
317 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
319 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
322 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
324 * ld-undefined/undefined.exp: New test, to check reporting of
326 * ld-undefined/undefined.c: New file.
328 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
330 * ld-versados/versados.exp: If a test fails, report it correctly:
331 don't try to run the next test, and don't report a pass as well as
334 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
336 * ld/testsuite/versados/(t1,t2).ld: End in newlines.
338 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
340 * lib/ld.exp (default_ld_compile): If cc argument is multiple
341 words, use only the first when trying to verify the availability
344 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
346 * ld-scripts/defined.t: Mention .data and .bss explicitly.
348 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
350 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
351 call untested for each test, rather than ignoring it. If one test
352 fails, go on to the next one instead of returning.
353 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
355 * ld-empic/empic.exp: Likewise. Also, always pass the same test
356 name to pass or fail.
357 * ld-shared/shared.exp: Likewise. Also, always run all tests.
358 * ld-scripts/defined.exp: If as or nm fail, mark test as
359 unresolved. Always pass the same test name to pass or fail.
360 * ld-scripts/script.exp: Likewise.
361 * ld-scripts/sizeof.exp: Likewise.
363 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
365 * ld-scripts/sizeof.exp: New test, based on bug report from
366 anders.blomdell@control.lth.se.
367 * ld-scripts/sizeof.s: New file.
368 * ld-scripts/sizeof.t: New file.
370 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
372 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
373 if the linker exists.
375 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
377 * lib/ld.exp (prune_system_crud): Define if not already defined,
378 in case the user isn't using the newest DejaGnu version that we
379 haven't released to the net yet.
381 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
383 * config/default.exp: Define objdump if it is not defined.
384 * ld-empic/*: New tests to test -membedded-pic code.
386 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
388 * ld-bootstrap/bootstrap.exp: Pass cmp output through
390 * ld-cdtest/cdtest.exp: Pass diff output through
392 * ld-shared/shared.exp: Likewise.
394 * config/default.exp: Remove unused and useless proc ld_load.
396 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
398 * lib/ld.exp (default_ld_compile): Remove the output file before
401 * ld-shared/shared.exp: Move common test code into a procedure.
402 Add tests for compiling the non shared code PIC.
403 * ld-shared/main.c (main): Call main_called, and print the result.
404 * ld-shared/shared.dat: Adjust accordingly.
406 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
408 * ld-shared: New directory, with new files to test generating ELF
411 * lib/ld.exp (default_ld_compile): If the compilation worked, but
412 no object file was created, check to see if the compiler foolishly
413 ignored the -o switch when compiling, and move the resulting
416 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
418 * VMS does not permits `.' in directory names. Renamed
419 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
420 ld.scripts to ld-scripts.
422 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
424 * config/default.exp: Set variables as and nm. Create tmpdir if
425 it does not already exist.
426 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
427 * ld.cdtest/cdtest.exp: Likewise.
428 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
429 here. Change perror for no variables found to fail.
430 * ld.scripts/script.exp: New test.
431 * ld.scripts/script.t, ld.scripts/script.s: New files.
433 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
435 * ld.scripts: New directory.
436 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
437 * ld.scripts/defined.t: New file.
438 * lib/ld.exp (default_ld_simple_link): New function.
439 (default_ld_assemble, default_ld_nm): New functions.
440 * config/default.exp: Rename from unix-ld.exp.
441 (ld_simple_link, ld_assemble, ld_nm): New functions.
443 * config/unix-ld.exp: Set ld using findfile.
444 * lib/ld.exp (default_ld_relocate): Return a value. Change format
446 (default_ld_compile): Likewise.
447 (default_ld_link): Likewise. Also, don't include $BFDLIB and
449 * ld.bootstrap/bootstrap.exp: Rewrite.
450 * ld.cdtest/cdtest.exp: Rewrite.
451 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
452 * ld.cdtest/cdtest-foo.h: Likewise.
453 * ld.cdtest/cdtest-main.cc: Likewise.
455 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
457 * ld.cdtest/cdtest.exp: Don't look for $result before it's
460 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
462 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
463 calls with perror calls.
465 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
467 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
468 * ld.cdtest/cdtest.exp: Adjusted.
470 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
472 * lib/ld.exp (simple_diff): Indicate failure if files have
473 different numbers of lines. Don't muck with $differences to avoid
474 indicating a pass, just return.
476 * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
477 Fix test case to be valid ANSI C++. Don't require use of header
478 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
479 * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
480 commentary on things that are still broken with this test case.
482 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
484 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
486 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
488 * testsuite/lib/ld.exp: add compiler and linker support
489 * testsuite/config/unix-ld.exp: add compiler and linker support
490 * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
491 * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
493 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
495 * testsuite/lib/ld.exp: new file
496 * testsuite/config/unix-ld.exp: new file
497 * testsuite/ld.bootstrap/bootstrap.exp: new file