1999-08-17 H.J. Lu <hjl@gnu.org>
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 1999-08-17 H.J. Lu <hjl@gnu.org>
2
3 * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
4
5 1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
6
7 * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
8 * ld-shared/shared.exp: Likewise.
9
10 1999-07-28 Nick Clifton <nickc@cygnus.com>
11
12 * lib/ld-lib.exp (proc big_or_little_endian): New proc.
13 Determine if a big endian or little endian output format hass
14 been selected by any of the multilib options, and if so return
15 a suitable command line option for the linker/assembler.
16 (proc default_ld_link): Include the result of proc
17 big_or_little_endian on the command line to the linker.
18 (proc ld_simple_link): Include the result of proc
19 big_or_little_endian on the command line to the linker.
20 (proc default_ld_compile): Append multilib flags to compiler
21 switches.
22 (proc default_ld_assemble): Include the result of proc
23 big_or_little_endian on the command line to the linker.
24
25 1999-07-21 H.J. Lu <hjl@gnu.org>
26
27 * ld-elfvers/vers1.c: Add missing prototypes and include
28 <stdio.h> if necessary.
29 * ld-elfvers/vers15.c: Likewise.
30 * ld-elfvers/vers19.c: Likewise.
31 * ld-elfvers/vers2.c: Likewise.
32 * ld-elfvers/vers3.c: Likewise.
33 * ld-elfvers/vers4.c: Likewise.
34 * ld-elfvers/vers6.c: Likewise.
35 * ld-elfvers/vers7.c: Likewise.
36 * ld-elfvers/vers9.c: Likewise.
37 * ld-shared/main.c: Likewise.
38 * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
39
40 Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com>
41
42 * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
43 with other DWARF2 targets.
44
45 1999-07-13 Nick Clifton <nickc@cygnus.com>
46
47 * ld-undefined/undefined.exp: Do not expect arm toolchains to fail
48 the undefined line test.
49
50 1999-07-10 Ian Lance Taylor <ian@zembu.com>
51
52 * ld-elfvers/vers.exp: Use -rpath in new vers19 test.
53
54 1999-07-07 Ian Lance Taylor <ian@zembu.com>
55
56 * ld-elfvers/vers.exp: Add new tests vers17 to vers19.
57 * ld/elfvers/{vers17.*, vers18.*, vers19.*}: New files.
58
59 1999-06-13 Ian Lance Taylor <ian@zembu.com>
60
61 * ld-checks/asm.s: Use a symbol name for .lcomm.
62 * ld-checks/checks.exp: Use different names for the two tests.
63 Don't add extra text when invoking fail.
64
65 1999-06-12 Ian Lance Taylor <ian@zembu.com>
66
67 * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
68 to "*-*-linux*aout*".
69 * ld-scripts/weak.exp: Likewise.
70 * ld-shared/shared.exp: Likewise. Simplify condition a bit.
71
72 Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
73
74 * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
75 * ld-shared/sh1.c: Fix typo.
76
77 1999-06-04 H.J. Lu <hjl@gnu.org>
78
79 * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
80 necessary.
81
82 1999-05-17 Nick Clifton <nickc@cygnus.com>
83
84 * ld-undefined/undefined.exp: Add xfail for mcore-elf.
85
86 1999-05-11 DJ Delorie <dj@cygnus.com>
87
88 * ld-srec/srec.exp: Do not run tests for PE based ports.
89
90 1999-03-05 Nick Clifton <nickc@cygnus.com>
91
92 * ld-selective/selective.exp: Do not run tests for COFF or PE
93 based ports.
94
95 1999-02-17 Nick Clifton <nickc@cygnus.com>
96
97 * ld-undefined/undefined.exp: Add expected failures for StrongARM
98 targets.
99
100 * ld-srec/srec.exp: Add expected failures for StrongARM targets.
101
102 * ld-selective/selective.exp: Add expected failure for ARM-COFF
103 targets.
104
105 1999-02-16 Nick Clifton <nickc@cygnus.com>
106
107 * ld-checks/asm.s: Use .long instead of .word.
108 Replace custom section names with .text, .data and .bss.
109 * ld-checks/script: Replace custom section names with .text, .data
110 and .bss.
111 * ld-checks/checks.exp: Replace custom section names with .text,
112 .data and .bss.
113
114 1999-02-11 Nick Clifton <nickc@cygnus.com>
115
116 * ld-checks: New directory: Tests for the linker's
117 --check-sections option.
118 * ld-checks/checks.exp: New file.
119 * ld-checks/script: Bogus linker script.
120 * ld-checks/asm.s: Simple test assembler file.
121
122 Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com>
123
124 * ld-selective/selective.exp: Disable test for unsupported
125 targets. Change tests to check for absence of symbols instead
126 of address zero.
127
128 Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com>
129
130 * config/default.exp (get_link_files): Quote target_triplet and CC
131 when invoking shell.
132 (get_target_emul): Likewise.
133
134 1999-01-03 Ken Raeburn <raeburn@cygnus.com>
135
136 * config/default.exp (get_link_files, get_target_emul): New procs;
137 run shell commands to extract information from configure.host and
138 configure.tgt in the source tree.
139 (top level): Use them to get information needed to run tests, if
140 not otherwise provided.
141
142 * ld-shared/elf-offset.ld: New file. Builds a shared library, but
143 gives non-zero addresses for memory region.
144 * ld-shared/shared.exp: Run the non-PIC non-AIX test again using
145 the new linker script.
146
147 Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au>
148
149 * ld-srec/srec.exp: Delete xfails for PPC Linux targets,
150 newer glibc lets link succeed.
151
152 Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
153
154 * ld-elfvers/vers1.c: Add missing return types and values.
155 * ld-elfvers/vers2.c: Likewise.
156 * ld-elfvers/vers3.c: Likewise.
157 * ld-elfvers/vers4.c: Likewise.
158 * ld-elfvers/vers5.c: Likewise.
159 * ld-elfvers/vers6.c: Likewise.
160 * ld-elfvers/vers7.c: Likewise.
161 * ld-elfvers/vers9.c: Likewise.
162 * ld-elfvers/vers15.c: Likewise.
163
164 Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com>
165
166 * ld-selective: New directory with new files to test
167 selective linking.
168
169 * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name.
170
171 Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com>
172
173 * ld-elfvers/vers16.dsym: Work correctly on a system without
174 versioned system libraries.
175
176 Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
177
178 * ld-elfvers/vers.exp: Run tests on alpha-linux.
179 * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
180 Alpha's use of st_other.
181
182 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
183
184 * ld-elfvers/vers.exp (vers16, vers16a): New tests.
185 * ld-elfvers/{vers16.*, vers16a.*}: New files.
186
187 Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com>
188
189 * ld-undefined/undefined.exp: Make undefined line test be an xfail
190 for arm/thunb elf toolchains.
191
192 Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com>
193
194 * ld-undefined/undefined.exp: change test for elf/dwarf2 targets.
195
196 * ld-srec/srec.exp: Arm-elf now passes this test.
197
198 Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com>
199
200 * ld-srec/srec.exp: Add arm/thumb-elf expected failures.
201
202 Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com>
203
204 * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap
205 test if we don't have a static libbfd.a.
206
207 Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com>
208
209 Based on patch from H.J. Lu <hjl@gnu.org>:
210 * ld-srec/srec.exp: Add xfails for Alpha ELF targets.
211
212 Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com>
213
214 * ld-scripts/weak.t (.text, .data): Focus data to be used.
215 (/DISCARD/): All the rest.
216 * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data.
217
218 Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com>
219
220 * config/default.exp: Create tmpdir/gas subdirectory, add a
221 symlink to as-new, and set gcc_gas_flag variable.
222 * lib/ld-lib.exp (default_ld_compile): If the compiler appears to
223 be gcc, use gcc_gas_flag when compiling.
224
225 Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com>
226
227 * ld-elfvers/vers.exp: Just check for i?86 rather than checking
228 for i386, i486, and i586.
229 (objdump_versionstuff): If we can't find the line, dump the file.
230
231 Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com>
232
233 * ld-scripts/phdrs.exp: Run test on *-*-eabi*.
234 * ld-scripts/weak.exp: Likewise.
235
236 Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com>
237
238 * ld-srec/srec.exp: Add xfail for v850.
239
240 * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass
241 these tests.
242
243 Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com>
244
245 * ld-scripts/weak.exp: New test.
246 * ld-scripts/weak.t: New file.
247 * ld-scripts/weak1.s: New file.
248 * ld-scripts/weak2.s: New file.
249
250 Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au>
251
252 * ld-elfvers/vers.exp: Run tests on powerpc ELF targets.
253 * ld-shared/shared.exp: Likewise.
254 * ld-elfvers/vers1.dsym: Allow for .sdata.
255 * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux.
256
257 Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com>
258
259 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
260 (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
261 * ld-srec/sr1.c (__main): Change return type to void.
262 * ld-srec/sr3.cc (__main): Likewise.
263 (__builtin_delete, __builtin_new): Likewise.
264 (__get_dynamic_handler_chain): Return 0.
265 (__get_eh_context): Likewise.
266
267 Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com>
268
269 * ld-undefined/undefined.exp: Add support for thumb-pe target.
270 * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets.
271
272 Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
273
274 * ld-shared/shared.exp: Remove setup_xfails for m68k-linux.
275
276 Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com>
277
278 * ld-shared/main.c (shlib_overriddencall2): New function.
279 (main): Call shlib_shlibcall2.
280 * ld-shared/sh1.c (shlib_shlibcall2): New function.
281 (shlib_overriddencall2): New function.
282 * ld-shared/shared.dat: Add output line for new test.
283 * ld-shared/sun4.dat: Likewise.
284
285 * ld-srec/sr3.cc (__get_eh_context): New function.
286
287 Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
288
289 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to
290 avoid compiler warning.
291 * ld-srec/sr3.cc (class Foo): Likewise.
292
293 Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com>
294
295 * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function.
296
297 Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com>
298
299 * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
300
301 Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com>
302
303 * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets.
304
305 Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com>
306
307 * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which
308 fixes ARM tests.
309
310 Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com>
311
312 * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM
313 coff targets.
314
315 Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com>
316
317 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
318 avoid compiler warning.
319 * ld-srec/sr3.cc (class Foo): Likewise.
320
321 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
322
323 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
324 have any name when looking for entry symbol warnings.
325
326 * ld-srec/sr3.cc (__eh_pc): Define.
327
328 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
329
330 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
331 __throw, since the current g++ expects them to be defined.
332
333 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
334
335 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
336 file if the string libc appears in it.
337 (objdump_versionstuff): Accept unexpected lines in the output
338 file. Compare lines using string match.
339 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
340
341 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
342
343 * ld-scripts/crossref.exp: Correct string quoting.
344
345 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
346
347 * config/default.exp: Change ld, as, nm and strip from .new to
348 -new. Load ld-lib.exp rather than ld.exp.
349 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
350 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
351 DejaGnu changes.
352
353 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
354
355 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
356 an alternation. From Greg Margo <gmargo@dl.com>.
357
358 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
359
360 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
361 with non PIC shared libraries.
362
363 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
364
365 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
366 version handling.
367
368 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
369
370 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
371
372 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
373
374 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
375 linking.
376
377 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
378
379 * config/default.exp: Use $base_dir rather than $objdir when
380 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
381
382 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
383
384 * ld-srec/srec.exp: Define various out of line prologue/epilogue
385 functions for the mn10200 to avoid needing libgcc.a.
386
387 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
388
389 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
390
391 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
392
393 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
394
395 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
396
397 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
398 * config/default.exp: Set ar and strip.
399
400 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
401
402 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
403 prune_system_crud.
404 * ld-cdtest/cdtest.exp: Ditto.
405 * ld-scripts/crossref.exp: Ditto.
406 * ld-sh/sh.exp: Ditto.
407 * ld-shared/shared.exp: Ditto.
408 * ld-srec/srec.exp: Ditto.
409 * lib/ld.exp: Ditto.
410
411 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
412
413 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
414 * ld-scripts/script.exp: Ditto.
415 * ld-sh/sh.exp: Ditto.
416 * ld-undefined/undefined.exp: Ditto.
417 * ld-versados/versados.exp: Ditto.
418 * lib/ld.exp: Ditto.
419
420 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
421
422 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
423
424 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
425
426 * lib/ld.exp (default_ld_version): Fix for current version
427 printing.
428
429 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
430
431 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
432
433 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
434
435 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
436
437 * lib/ld.exp: Use verbose -log instead of calling both verbose and
438 send_log.
439
440 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
441
442 * ld-scripts/phdrs.exp: New test.
443 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
444
445 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
446
447 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
448 V_SPILL and V_FILL.
449
450 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
451
452 * ld-scripts/crossref.exp: New test.
453 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
454 * ld-scripts/{cross1.t, cross2.t}: New files.
455
456 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
457
458 * ld-sh/sh.exp: Fix debugging messages.
459 * ld-sh/sh1.s: Use .align 4.
460
461 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
462
463 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
464
465 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
466
467 * ld-shared/shared.exp: Run the shared library tests on
468 Linux/m68k.
469
470 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
471
472 * ld-shared/shared.exp: Run the shared library tests on Linux.
473
474 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
475
476 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
477
478 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
479
480 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
481 * ld-undefined/undefined.exp: Likewise.
482
483 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
484
485 * ld-undefined/undefined.exp: ELF targets should now pass the
486 undefined line test.
487
488 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
489
490 * ld-empic/empic.exp: Update for change to MIPS disassembler.
491
492 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
493
494 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
495 when doing the --static test.
496 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
497
498 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
499
500 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
501 when creating ld-partial.o.
502
503 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
504
505 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
506 __eabi.
507
508 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
509
510 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
511
512 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
513
514 * ld-srec/srec.exp: On a29k targets, use --defsym to define
515 V_SPILL and V_FILL.
516 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
517 * ld-srec/sr3.cc: Likewise.
518
519 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
520
521 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
522
523 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
524
525 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
526
527 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
528
529 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
530
531 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
532
533 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
534
535 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
536
537 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
538 * ld-srec/sr3.cc: Likewise.
539
540 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
541
542 * ld-empic/empic.exp: Update for changes in objdump output.
543
544 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
545
546 * ld-srec/srec.exp: New tests.
547 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
548 * lib/ld.exp (ld_simple_link): Discard warnings about not being
549 able to find the entry symbol.
550
551 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
552
553 * ld-sh/sh2.c (__main): Define.
554
555 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
556
557 * ld-empic/empic.exp: Accept a . in the address symbol.
558
559 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
560 powerpc*-*-aix*. Add code to create appropriate exports files,
561 and pass appropriate compilation flags, and test against
562 appropriate expected output.
563 * ld-shared/xcoff.dat: New file.
564 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
565 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
566 function pointer, rather than shlib_mainvar.
567 * ld-shared/sh1.c: Likewise.
568 * ld-shared/shared.dat: Update for change from using shlib_mainvar
569 to using shlib_shlibvar1.
570 * ld-shared/sun4.dat: Likewise.
571
572 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
573
574 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
575 convenience when testing XCOFF.
576
577 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
578
579 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
580 along with --static.
581
582 * ld-scripts/script.s: Make symbols global.
583
584 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
585
586 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
587
588 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
589
590 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
591 prevent the SunOS linker from trying to create a shared library.
592
593 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
594
595 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
596 appropriate modifications and setup_xfails.
597 * ld-shared/sun4.dat: New file.
598
599 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
600
601 * lib/ld.exp (default_ld_version): Call prune_system_crud.
602 (default_ld_relocate, default_ld_link): Likewise.
603 (default_ld_simple_link, default_ld_compile): Likewise.
604 (default_ld_assemble, default_ld_nm): Likewise.
605
606 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
607
608 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
609 tests as untested rather than unresolved.
610
611 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
612
613 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
614
615 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
616
617 * ld-scripts/script.exp: Split script verification into a proc.
618 Add simple test of MRI script.
619 * ld-scripts/scriptm.t: New file.
620
621 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
622
623 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
624 appropriate.
625
626 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
627
628 * config/default.exp: Define objcopy if it is not defined.
629 * ld-sh/*: New tests for SH relaxing.
630
631 * ld-empic/empic.exp: If $CC does not exist, call untested rather
632 than unresolved.
633
634 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
635
636 * ld-undefined/undefined.exp: If $CC does not exist, mark the
637 tests as untested rather than unresolved. Clear ELF xfails for
638 mips*, not just mips.
639
640 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
641
642 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
643 undefined line test.
644
645 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
646
647 * ld-undefined/undefined.exp: New test, to check reporting of
648 undefined symbols.
649 * ld-undefined/undefined.c: New file.
650
651 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
652
653 * ld-versados/versados.exp: If a test fails, report it correctly:
654 don't try to run the next test, and don't report a pass as well as
655 a fail.
656
657 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
658
659 * ld/testsuite/versados/(t1,t2).ld: End in newlines.
660
661 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
662
663 * lib/ld.exp (default_ld_compile): If cc argument is multiple
664 words, use only the first when trying to verify the availability
665 of the compiler.
666
667 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
668
669 * ld-scripts/defined.t: Mention .data and .bss explicitly.
670
671 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
672
673 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
674 call untested for each test, rather than ignoring it. If one test
675 fails, go on to the next one instead of returning.
676 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
677 unresolved.
678 * ld-empic/empic.exp: Likewise. Also, always pass the same test
679 name to pass or fail.
680 * ld-shared/shared.exp: Likewise. Also, always run all tests.
681 * ld-scripts/defined.exp: If as or nm fail, mark test as
682 unresolved. Always pass the same test name to pass or fail.
683 * ld-scripts/script.exp: Likewise.
684 * ld-scripts/sizeof.exp: Likewise.
685
686 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
687
688 * ld-scripts/sizeof.exp: New test, based on bug report from
689 anders.blomdell@control.lth.se.
690 * ld-scripts/sizeof.s: New file.
691 * ld-scripts/sizeof.t: New file.
692
693 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
694
695 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
696 if the linker exists.
697
698 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
699
700 * lib/ld.exp (prune_system_crud): Define if not already defined,
701 in case the user isn't using the newest DejaGnu version that we
702 haven't released to the net yet.
703
704 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
705
706 * config/default.exp: Define objdump if it is not defined.
707 * ld-empic/*: New tests to test -membedded-pic code.
708
709 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
710
711 * ld-bootstrap/bootstrap.exp: Pass cmp output through
712 prune_system_crud.
713 * ld-cdtest/cdtest.exp: Pass diff output through
714 prune_system_crud.
715 * ld-shared/shared.exp: Likewise.
716
717 * config/default.exp: Remove unused and useless proc ld_load.
718
719 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
720
721 * lib/ld.exp (default_ld_compile): Remove the output file before
722 compiling.
723
724 * ld-shared/shared.exp: Move common test code into a procedure.
725 Add tests for compiling the non shared code PIC.
726 * ld-shared/main.c (main): Call main_called, and print the result.
727 * ld-shared/shared.dat: Adjust accordingly.
728
729 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
730
731 * ld-shared: New directory, with new files to test generating ELF
732 shared libraries.
733
734 * lib/ld.exp (default_ld_compile): If the compilation worked, but
735 no object file was created, check to see if the compiler foolishly
736 ignored the -o switch when compiling, and move the resulting
737 object if it did.
738
739 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
740
741 * VMS does not permits `.' in directory names. Renamed
742 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
743 ld.scripts to ld-scripts.
744
745 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
746
747 * config/default.exp: Set variables as and nm. Create tmpdir if
748 it does not already exist.
749 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
750 * ld.cdtest/cdtest.exp: Likewise.
751 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
752 here. Change perror for no variables found to fail.
753 * ld.scripts/script.exp: New test.
754 * ld.scripts/script.t, ld.scripts/script.s: New files.
755
756 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
757
758 * ld.scripts: New directory.
759 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
760 * ld.scripts/defined.t: New file.
761 * lib/ld.exp (default_ld_simple_link): New function.
762 (default_ld_assemble, default_ld_nm): New functions.
763 * config/default.exp: Rename from unix-ld.exp.
764 (ld_simple_link, ld_assemble, ld_nm): New functions.
765
766 * config/unix-ld.exp: Set ld using findfile.
767 * lib/ld.exp (default_ld_relocate): Return a value. Change format
768 of log messages.
769 (default_ld_compile): Likewise.
770 (default_ld_link): Likewise. Also, don't include $BFDLIB and
771 $LIBIBERTY in link.
772 * ld.bootstrap/bootstrap.exp: Rewrite.
773 * ld.cdtest/cdtest.exp: Rewrite.
774 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
775 * ld.cdtest/cdtest-foo.h: Likewise.
776 * ld.cdtest/cdtest-main.cc: Likewise.
777
778 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
779
780 * ld.cdtest/cdtest.exp: Don't look for $result before it's
781 defined.
782
783 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
784
785 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
786 calls with perror calls.
787
788 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
789
790 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
791 * ld.cdtest/cdtest.exp: Adjusted.
792
793 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
794
795 * lib/ld.exp (simple_diff): Indicate failure if files have
796 different numbers of lines. Don't muck with $differences to avoid
797 indicating a pass, just return.
798
799 * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
800 Fix test case to be valid ANSI C++. Don't require use of header
801 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
802 * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
803 commentary on things that are still broken with this test case.
804
805 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
806
807 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
808
809 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
810
811 * testsuite/lib/ld.exp: add compiler and linker support
812 * testsuite/config/unix-ld.exp: add compiler and linker support
813 * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
814 * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
815
816 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
817
818 * testsuite/lib/ld.exp: new file
819 * testsuite/config/unix-ld.exp: new file
820 * testsuite/ld.bootstrap/bootstrap.exp: new file