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