* lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
2
3 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
4 have any name when looking for entry symbol warnings.
5
6 * ld-srec/sr3.cc (__eh_pc): Define.
7
8 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
9
10 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
11 __throw, since the current g++ expects them to be defined.
12
13 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
14
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.
20
21 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
22
23 * ld-scripts/crossref.exp: Correct string quoting.
24
25 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
26
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
31 DejaGnu changes.
32
33 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
34
35 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
36 an alternation. From Greg Margo <gmargo@dl.com>.
37
38 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
39
40 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
41 with non PIC shared libraries.
42
43 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
44
45 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
46 version handling.
47
48 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
49
50 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
51
52 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
53
54 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
55 linking.
56
57 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
58
59 * config/default.exp: Use $base_dir rather than $objdir when
60 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
61
62 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
63
64 * ld-srec/srec.exp: Define various out of line prologue/epilogue
65 functions for the mn10200 to avoid needing libgcc.a.
66
67 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
68
69 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
70
71 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
72
73 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
74
75 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
76
77 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
78 * config/default.exp: Set ar and strip.
79
80 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
81
82 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
83 prune_system_crud.
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.
89 * lib/ld.exp: Ditto.
90
91 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
92
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.
98 * lib/ld.exp: Ditto.
99
100 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
101
102 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
103
104 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
105
106 * lib/ld.exp (default_ld_version): Fix for current version
107 printing.
108
109 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
110
111 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
112
113 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
114
115 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
116
117 * lib/ld.exp: Use verbose -log instead of calling both verbose and
118 send_log.
119
120 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
121
122 * ld-scripts/phdrs.exp: New test.
123 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
124
125 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
126
127 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
128 V_SPILL and V_FILL.
129
130 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
131
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.
135
136 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
137
138 * ld-sh/sh.exp: Fix debugging messages.
139 * ld-sh/sh1.s: Use .align 4.
140
141 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
142
143 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
144
145 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
146
147 * ld-shared/shared.exp: Run the shared library tests on
148 Linux/m68k.
149
150 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
151
152 * ld-shared/shared.exp: Run the shared library tests on Linux.
153
154 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
155
156 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
157
158 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
159
160 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
161 * ld-undefined/undefined.exp: Likewise.
162
163 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
164
165 * ld-undefined/undefined.exp: ELF targets should now pass the
166 undefined line test.
167
168 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
169
170 * ld-empic/empic.exp: Update for change to MIPS disassembler.
171
172 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
173
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*.
177
178 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
179
180 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
181 when creating ld-partial.o.
182
183 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
184
185 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
186 __eabi.
187
188 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
189
190 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
191
192 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
193
194 * ld-srec/srec.exp: On a29k targets, use --defsym to define
195 V_SPILL and V_FILL.
196 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
197 * ld-srec/sr3.cc: Likewise.
198
199 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
200
201 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
202
203 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
204
205 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
206
207 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
208
209 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
210
211 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
212
213 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
214
215 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
216
217 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
218 * ld-srec/sr3.cc: Likewise.
219
220 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
221
222 * ld-empic/empic.exp: Update for changes in objdump output.
223
224 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
225
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.
230
231 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
232
233 * ld-sh/sh2.c (__main): Define.
234
235 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
236
237 * ld-empic/empic.exp: Accept a . in the address symbol.
238
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.
251
252 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
253
254 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
255 convenience when testing XCOFF.
256
257 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
258
259 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
260 along with --static.
261
262 * ld-scripts/script.s: Make symbols global.
263
264 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
265
266 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
267
268 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
269
270 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
271 prevent the SunOS linker from trying to create a shared library.
272
273 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
274
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.
278
279 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
280
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.
285
286 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
287
288 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
289 tests as untested rather than unresolved.
290
291 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
292
293 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
294
295 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
296
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.
300
301 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
302
303 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
304 appropriate.
305
306 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
307
308 * config/default.exp: Define objcopy if it is not defined.
309 * ld-sh/*: New tests for SH relaxing.
310
311 * ld-empic/empic.exp: If $CC does not exist, call untested rather
312 than unresolved.
313
314 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
315
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.
319
320 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
321
322 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
323 undefined line test.
324
325 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
326
327 * ld-undefined/undefined.exp: New test, to check reporting of
328 undefined symbols.
329 * ld-undefined/undefined.c: New file.
330
331 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
332
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
335 a fail.
336
337 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
338
339 * ld/testsuite/versados/(t1,t2).ld: End in newlines.
340
341 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
342
343 * lib/ld.exp (default_ld_compile): If cc argument is multiple
344 words, use only the first when trying to verify the availability
345 of the compiler.
346
347 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
348
349 * ld-scripts/defined.t: Mention .data and .bss explicitly.
350
351 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
352
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
357 unresolved.
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.
365
366 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
367
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.
372
373 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
374
375 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
376 if the linker exists.
377
378 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
379
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.
383
384 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
385
386 * config/default.exp: Define objdump if it is not defined.
387 * ld-empic/*: New tests to test -membedded-pic code.
388
389 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
390
391 * ld-bootstrap/bootstrap.exp: Pass cmp output through
392 prune_system_crud.
393 * ld-cdtest/cdtest.exp: Pass diff output through
394 prune_system_crud.
395 * ld-shared/shared.exp: Likewise.
396
397 * config/default.exp: Remove unused and useless proc ld_load.
398
399 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
400
401 * lib/ld.exp (default_ld_compile): Remove the output file before
402 compiling.
403
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.
408
409 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
410
411 * ld-shared: New directory, with new files to test generating ELF
412 shared libraries.
413
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
417 object if it did.
418
419 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
420
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.
424
425 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
426
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.
435
436 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
437
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.
445
446 * config/unix-ld.exp: Set ld using findfile.
447 * lib/ld.exp (default_ld_relocate): Return a value. Change format
448 of log messages.
449 (default_ld_compile): Likewise.
450 (default_ld_link): Likewise. Also, don't include $BFDLIB and
451 $LIBIBERTY in link.
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.
457
458 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
459
460 * ld.cdtest/cdtest.exp: Don't look for $result before it's
461 defined.
462
463 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
464
465 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
466 calls with perror calls.
467
468 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
469
470 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
471 * ld.cdtest/cdtest.exp: Adjusted.
472
473 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
474
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.
478
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.
484
485 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
486
487 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
488
489 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
490
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
495
496 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
497
498 * testsuite/lib/ld.exp: new file
499 * testsuite/config/unix-ld.exp: new file
500 * testsuite/ld.bootstrap/bootstrap.exp: new file