* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 2003-03-11 Alexandre Oliva <aoliva@redhat.com>
2
3 * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
4 * ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
5 ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
6 tests.
7
8 2003-03-11 Alan Modra <amodra@bigpond.net.au>
9
10 * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
11 * ld-powerpc/tlsso32.r: Likewise.
12
13 2003-02-18 Alan Modra <amodra@bigpond.net.au>
14
15 * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD
16 relocs.
17 * ld-powerpc/tlsexe.g: Likewise.
18 * ld-powerpc/tlsexe.r: Likewise.
19 * ld-powerpc/tlsexe.t: Likewise.
20
21 * ld-powerpc/tls32.s: New file.
22 * ld-powerpc/tlslib32.s: New file.
23 * ld-powerpc/tls32.d: New file.
24 * ld-powerpc/tls32.g: New file.
25 * ld-powerpc/tls32.t: New file.
26 * ld-powerpc/tlsexe32.d: New file.
27 * ld-powerpc/tlsexe32.g: New file.
28 * ld-powerpc/tlsexe32.r: New file.
29 * ld-powerpc/tlsexe32.t: New file.
30 * ld-powerpc/tlsso32.d: New file.
31 * ld-powerpc/tlsso32.g: New file.
32 * ld-powerpc/tlsso32.r: New file.
33 * ld-powerpc/tlsso32.t: New file.
34 * ld-powerpc/powerpc.exp: Run new tests.
35
36 2003-02-18 Alan Modra <amodra@bigpond.net.au>
37
38 * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change.
39
40 2003-02-10 Jakub Jelinek <jakub@redhat.com>
41
42 * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too.
43 xfail tests linking non-pic code into shared libs on x86_64-*-linux*.
44 * ld-elfvsb/elfvsb.exp: Likewise.
45 * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c
46 tests.
47 * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_*
48 version.
49 * ld-elfvers/vers19.ver: Likewise.
50 * ld-elfvers/vers24a.c: New test.
51 * ld-elfvers/vers24b.c: New test.
52 * ld-elfvers/vers24c.c: New test.
53 * ld-elfvers/vers24.map: New test.
54 * ld-elfvers/vers24.rd: New test.
55 * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument
56 cflags. If source files have .c extension, compile them first.
57
58 2003-02-10 Kaz kojima <kkojima@rr.iij4u.or.jp>
59
60 * ld-sh/tlstpoff-1.d: New.
61 * ld-sh/tlstpoff-2.d: New.
62 * ld-sh/tlstpoff1.s: New.
63 * ld-sh/tlstpoff2.s: New.
64
65 2003-02-09 Alan Modra <amodra@bigpond.net.au>
66
67 * ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
68 * ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var
69 in dynamic lib.
70 * ld-powerpc/tlsexe.g: Likewise.
71 * ld-powerpc/tlsexe.r: Likewise.
72 * ld-powerpc/tlsexe.t: Likewise.
73 * ld-powerpc/tlsexetoc.d: Likewise.
74 * ld-powerpc/tlsexetoc.g: Likewise.
75 * ld-powerpc/tlsexetoc.r: Likewise.
76 * ld-powerpc/tlsexetoc.t: Likewise.
77
78 2003-02-05 Alan Modra <amodra@bigpond.net.au>
79
80 * ld-powerpc/powerpc.exp (supports_ppc64): New.
81 (ppcelftests): Force 32 bit mode.
82 (ppc64elftests): New.
83 * ld-powerpc/tls.d: New.
84 * ld-powerpc/tls.g: New.
85 * ld-powerpc/tls.s: New.
86 * ld-powerpc/tls.t: New.
87 * ld-powerpc/tlsexe.d: New.
88 * ld-powerpc/tlsexe.g: New.
89 * ld-powerpc/tlsexe.r: New.
90 * ld-powerpc/tlsexe.t: New.
91 * ld-powerpc/tlsexetoc.d: New.
92 * ld-powerpc/tlsexetoc.g: New.
93 * ld-powerpc/tlsexetoc.r: New.
94 * ld-powerpc/tlsexetoc.t: New.
95 * ld-powerpc/tlslib.s: New.
96 * ld-powerpc/tlsso.d: New.
97 * ld-powerpc/tlsso.g: New.
98 * ld-powerpc/tlsso.r: New.
99 * ld-powerpc/tlsso.t: New.
100 * ld-powerpc/tlstoc.d: New.
101 * ld-powerpc/tlstoc.g: New.
102 * ld-powerpc/tlstoc.s: New.
103 * ld-powerpc/tlstoc.t: New.
104 * ld-powerpc/tlstocso.d: New.
105 * ld-powerpc/tlstocso.g: New.
106 * ld-powerpc/tlstocso.r: New.
107 * ld-powerpc/tlstocso.t: New.
108
109 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
110
111 * ld-mips-elf/multi-got-1.d: New.
112 * ld-mips-elf/multi-got-1-1.s: New.
113 * ld-mips-elf/multi-got-1-2.s: New.
114 * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf.
115 Run multi-got-1.
116
117 2003-01-25 Jakub Jelinek <jakub@redhat.com>
118
119 * ld-sparc/sparc.exp: New.
120 * ld-sparc/tlsg32.s: New test.
121 * ld-sparc/tlsg32.sd: Likewise.
122 * ld-sparc/tlsg64.s: Likewise.
123 * ld-sparc/tlsg64.sd: Likewise.
124 * ld-sparc/tlslib.s: Likewise.
125 * ld-sparc/tlsnopic.s: Likewise.
126 * ld-sparc/tlspic.s: Likewise.
127 * ld-sparc/tlssunbin32.dd: Likewise.
128 * ld-sparc/tlssunbin32.rd: Likewise.
129 * ld-sparc/tlssunbin32.s: Likewise.
130 * ld-sparc/tlssunbin32.sd: Likewise.
131 * ld-sparc/tlssunbin32.td: Likewise.
132 * ld-sparc/tlssunbin64.dd: Likewise.
133 * ld-sparc/tlssunbin64.rd: Likewise.
134 * ld-sparc/tlssunbin64.s: Likewise.
135 * ld-sparc/tlssunbin64.sd: Likewise.
136 * ld-sparc/tlssunbin64.td: Likewise.
137 * ld-sparc/tlssunbinpic32.s: Likewise.
138 * ld-sparc/tlssunbinpic64.s: Likewise.
139 * ld-sparc/tlssunnopic32.dd: Likewise.
140 * ld-sparc/tlssunnopic32.rd: Likewise.
141 * ld-sparc/tlssunnopic32.s: Likewise.
142 * ld-sparc/tlssunnopic32.sd: Likewise.
143 * ld-sparc/tlssunnopic64.dd: Likewise.
144 * ld-sparc/tlssunnopic64.rd: Likewise.
145 * ld-sparc/tlssunnopic64.s: Likewise.
146 * ld-sparc/tlssunnopic64.sd: Likewise.
147 * ld-sparc/tlssunpic32.dd: Likewise.
148 * ld-sparc/tlssunpic32.rd: Likewise.
149 * ld-sparc/tlssunpic32.s: Likewise.
150 * ld-sparc/tlssunpic32.sd: Likewise.
151 * ld-sparc/tlssunpic32.td: Likewise.
152 * ld-sparc/tlssunpic64.dd: Likewise.
153 * ld-sparc/tlssunpic64.rd: Likewise.
154 * ld-sparc/tlssunpic64.s: Likewise.
155 * ld-sparc/tlssunpic64.sd: Likewise.
156 * ld-sparc/tlssunpic64.td: Likewise.
157
158 2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
159
160 * ld-s390/s390.exp: New file.
161 * ld-s390/tlsbin_64.dd: New file.
162 * ld-s390/tlsbin_64.rd: New file.
163 * ld-s390/tlsbin_64.s: New file.
164 * ld-s390/tlsbin_64.sd: New file.
165 * ld-s390/tlsbin_64.td: New file.
166 * ld-s390/tlsbin.dd: New file.
167 * ld-s390/tlsbinpic_64.s: New file.
168 * ld-s390/tlsbinpic.s: New file.
169 * ld-s390/tlsbin.rd: New file.
170 * ld-s390/tlsbin.s: New file.
171 * ld-s390/tlsbin.sd: New file.
172 * ld-s390/tlsbin.td: New file.
173 * ld-s390/tlslib_64.s: New file.
174 * ld-s390/tlslib.s: New file.
175 * ld-s390/tlspic1_64.s: New file.
176 * ld-s390/tlspic1.s: New file.
177 * ld-s390/tlspic2_64.s: New file.
178 * ld-s390/tlspic2.s: New file.
179 * ld-s390/tlspic_64.dd: New file.
180 * ld-s390/tlspic_64.rd: New file.
181 * ld-s390/tlspic_64.sd: New file.
182 * ld-s390/tlspic_64.td: New file.
183 * ld-s390/tlspic.dd: New file.
184 * ld-s390/tlspic.rd: New file.
185 * ld-s390/tlspic.sd: New file.
186 * ld-s390/tlspic.td: New file.
187
188 2003-01-24 Alan Modra <amodra@bigpond.net.au>
189
190 * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps.
191 * ld-alpha/tlsbin.td: Likewise.
192 * ld-alpha/tlsbinr.sd: Likewise.
193
194 2003-01-21 Richard Henderson <rth@redhat.com>
195
196 * ld-alpha/alpha.exp: New.
197 * ld-alpha/align.s: New.
198 * ld-alpha/tlsbin.dd: New.
199 * ld-alpha/tlsbin.rd: New.
200 * ld-alpha/tlsbin.s: New.
201 * ld-alpha/tlsbin.sd: New.
202 * ld-alpha/tlsbin.td: New.
203 * ld-alpha/tlsbinpic.s: New.
204 * ld-alpha/tlsbinr.dd: New.
205 * ld-alpha/tlsbinr.rd: New.
206 * ld-alpha/tlsbinr.sd: New.
207 * ld-alpha/tlsg.s: New.
208 * ld-alpha/tlsg.sd: New.
209 * ld-alpha/tlslib.s: New.
210 * ld-alpha/tlspic.dd: New.
211 * ld-alpha/tlspic.rd: New.
212 * ld-alpha/tlspic.sd: New.
213 * ld-alpha/tlspic.td: New.
214 * ld-alpha/tlspic1.s: New.
215 * ld-alpha/tlspic2.s: New.
216
217 2003-01-20 Alan Modra <amodra@bigpond.net.au>
218
219 * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
220
221 2003-01-18 Jakub Jelinek <jakub@redhat.com>
222
223 * ld-ia64/tlspic1.s: Add tests for IE in shared libraries.
224 * ld-ia64/tlspic.rd: Adjust.
225 * ld-ia64/tlspic.dd: Adjust.
226 * ld-ia64/tlspic.sd: Adjust.
227
228 2003-01-16 Jakub Jelinek <jakub@redhat.com>
229
230 * ld-ia64/ia64.exp: New.
231 * ld-ia64/tlsbin.dd: New test.
232 * ld-ia64/tlsbinpic.s: New test.
233 * ld-ia64/tlsbin.rd: New test.
234 * ld-ia64/tlsbin.s: New test.
235 * ld-ia64/tlsbin.sd: New test.
236 * ld-ia64/tlsbin.td: New test.
237 * ld-ia64/tlsg.s: New test.
238 * ld-ia64/tlsg.sd: New test.
239 * ld-ia64/tlslib.s: New test.
240 * ld-ia64/tlspic1.s: New test.
241 * ld-ia64/tlspic2.s: New test.
242 * ld-ia64/tlspic.dd: New test.
243 * ld-ia64/tlspic.rd: New test.
244 * ld-ia64/tlspic.sd: New test.
245 * ld-ia64/tlspic.td: New test.
246
247 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
248
249 * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.
250
251 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
252
253 * ld-mips-elf/jr.s: New file.
254 * ld-mips-elf/mips-elf-flags.exp: New test.
255
256 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de>
257
258 * ld-auto-import: New directory.
259 * ld-auto-import/auto-import.exp: Test the auto importing direct
260 from a dll functionality.
261 * ld-auto-import/client.c: Source code for test.
262 * ld-auto-import/dll.c: Likewise.
263
264 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
265
266 * ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
267 * ld-mips-elf/branch-misc-2.d: Removed.
268
269 2002-12-10 Jason Thorpe <thorpej@wasabisystems.com>
270
271 * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
272
273 2002-12-03 Nick Clifton <nickc@redhat.com>
274
275 * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging
276 test.
277 * ld-powerpc/apuinfo1.s: New assembler source file.
278 * ld-powerpc/apuinfo2.s: New assembler source file.
279 * ld-powerpc/apuinfo.rd: New expected output file.
280
281 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
282
283 Fix PR savannah/1417:
284 * ld-m68hc11/bug-1417.s: New test.
285 * ld-m68hc11/bug-1417.d: Likewise.
286
287 2002-11-28 Jakub Jelinek <jakub@redhat.com>
288
289 * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
290
291 2002-11-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
292
293 * ld-sh/refdbg-0-dso.d: New test.
294 * ld-sh/refdbg-1.d: Likewise.
295 * ld-sh/refdbg.s: Likewise.
296 * ld-sh/refdbglib.s: Likewise.
297
298 2002-11-22 Alan Modra <amodra@bigpond.net.au>
299
300 * ld-elf/elf.exp: Remove sec64k test.
301 * ld-elf/sec64k.exp: Reinstate.
302
303 2002-11-21 Alan Modra <amodra@bigpond.net.au>
304
305 * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.
306 * ld-elf/merge.s: New file.
307 * ld-elf/merge.d: New file.
308 * ld-elf/merge.ld: New file.
309
310 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
311
312 * ld-scripts/script.exp: Setup for tic4x testcase
313
314 2002-11-15 Nick Clifton <nickc@redhat.com>
315
316 * ld-h8300: New directory.
317 * ld-h8300/h8300.exp: New expect script. Only run tests for h8300
318 targets.
319 * ld-h8300/relax.s: New assembler source file.
320 * ld-h8300/relax.d: New expected output file.
321
322 2002-11-11 Hans-Peter Nilsson <hp@axis.com>
323
324 * ld-elf/sec64k.exp: New test.
325 * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/"
326 to a source file starting with "/".
327
328 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
329
330 * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,
331 ld-mmix/local7.d: Tweak for change in readelf output.
332
333 2002-11-09 Alan Modra <amodra@bigpond.net.au>
334
335 * ld-elfvsb/define.s: Avoid use of @ in .type directive.
336
337 2002-11-07 Hans-Peter Nilsson <hp@axis.com>
338
339 * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
340 ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.
341
342 2002-11-07 Nick Clifton <nickc@redhat.com>
343
344 * ld-fastcall/fastcall.exp: Only run tests for PE type x86
345 targets.
346
347 2002-11-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
348
349 * ld-sh/rd-sh.exp: Set asflags_save always.
350
351 2002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
352
353 * ld-fastcall: New directory for testing fastcall support.
354 * ld-fastcall/export.s: New file for testing fastcall symbol
355 handling.
356 * ld-fastcall/import.s: Likewise.
357 * ld-fastcall/fastcall.exp: Likewise.
358
359 2002-11-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
360
361 * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
362 * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
363 * ld-sh/tlspic-1.d: Likewise.
364 * ld-sh/tlspic-2.d: Likewise.
365 * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
366 defined by the linker scripts.
367
368 2002-10-14 Stephane Carrez <stcarrez@nerim.fr>
369
370 * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
371 * ld-m68hc11/adj-jump.d: New test for linker relaxation.
372 * ld-m68hc11/adj-jump.s: Likewise.
373 * ld-m68hc11/adj-brset.s: Likewise.
374 * ld-m68hc11/adj-brset.d: Likewise.
375 * ld-m68hc11/relax-direct.s: Likewise.
376 * ld-m68hc11/relax-direct.d: Likewise.
377 * ld-m68hc11/relax-group.s: Likewise.
378 * ld-m68hc11/relax-group.d: Likewise.
379 * ld-m68hc11/bug-1403.d: Likewise.
380 * ld-m68hc11/bug-1403.s: Likewise.
381
382 2002-10-14 Stephen Clarke <stephen.clarke@superh.com>
383 * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*.
384 * ld-sh/sh64/sh64.exp: Likewise.
385 * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*.
386 * ld-sh/sh64/abi32.sd: Adjust expected output to include
387 sh64*-*-linux* formats too.
388 * ld-sh/sh64/relax.exp: Add emul32 variable to hold target
389 emulation, and set it appropriately for sh*-*-linux*.
390 * ld-sh/sh64/relfail.exp: Add variables to hold target
391 emulation, output format, start symbol, and whether target
392 supports 64-bit ABI. Set appropriately for sh*-*-linux*.
393
394 2002-10-12 H.J. Lu (hjl@gnu.org)
395
396 * ld-discard/extern.d: Remove $srcdir/$subdir/.
397 * ld-discard/start.d: Likewise.
398 * ld-discard/static.d: Likewise.
399 * ld-linkonce/zeroehl32.d: Likewise.
400 * ld-selective/keepdot.d: Likewise.
401 * ld-selective/keepdot0.d: Likewise.
402
403 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
404
405 * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
406 of linker to the file tmpdir/*-dso.so.
407 * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New.
408 * ld-sh/tlsbin-0-dso.d: New.
409 * ld-sh/tlsbin-1.d: New.
410 * ld-sh/tlsbin-2.d: New.
411 * ld-sh/tlsbin-3.d: New.
412 * ld-sh/tlsbin-4.d: New.
413 * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New.
414 * ld-sh/tlspic-1.d: New.
415 * ld-sh/tlspic-2.d: New.
416 * ld-sh/tlspic-3.d: New.
417 * ld-sh/tlspic-4.d: New.
418
419 2002-10-10 Jakub Jelinek <jakub@redhat.com>
420
421 * ld-i386/combreloc.s: New test.
422 * ld-i386/combreloc.d: New test.
423 * ld-i386/i386.exp (i386tests): Add it.
424
425 2002-10-10 Alan Modra <amodra@bigpond.net.au>
426
427 * ld-i386/i386.exp (reloc): Turn off combreloc.
428 * ld-i386/reloc.d: Likewise.
429 * ld-powerpc/powerpc.exp: Likewise.
430 * ld-powerpc/reloc.d: Likewise.
431
432 2002-10-03 H.J. Lu <hjl@gnu.org>
433
434 * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
435 3.x.
436
437 2002-10-03 Chris Demetriou <cgd@broadcom.com>
438
439 * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
440 more compatible with non-embedded targets.
441 * ld-mips-elf/branch-misc-2.d: Likewise.
442
443 * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded
444 PIC tests.
445 (elf): New variable, to control whether generic ELF tests are run.
446 (embedded_elf): New variable, to control whether ELF tests
447 requiring embedded PIC or embedded relocs are run.
448
449 2002-10-02 Stephen Clarke <stephen.clarke@superh.com>
450
451 * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
452 ld-sh/sh64/gotplt.s: New test.
453
454 2002-10-02 Stephen Clarke <stephen.clarke@superh.com>
455 * ld-sh/sh64/cmpct1.sd : Fix linked file name.
456 * ld-sh/sh64/crange3.dd: Likewise.
457
458 2002-10-01 Jakub Jelinek <jakub@redhat.com>
459
460 * ld-i386/i386.exp: Add tlsindntpoff test.
461 * ld-i386/tlsindntpoff.s: New test.
462 * ld-i386/tlsindntpoff.dd: New test.
463
464 2002-10-01 Jakub Jelinek <jakub@redhat.com>
465
466 * ld-x86-64/tlspic1.s: Change TLSGD sequences.
467 * ld-x86-64/tlsbinpic.s: Likewise.
468 * ld-x86-64/tlspic.dd: Adjust.
469
470 2002-10-01 Jakub Jelinek <jakub@redhat.com>
471
472 * ld-i386/i386.exp: Add tlsg test.
473 * ld-i386/tlsg.s: New test.
474 * ld-i386/tlsg.sd: New test.
475 * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
476 * ld-i386/tlsbinpic.s: Likewise.
477 * ld-x86-64/x86-64.exp: Add tlsg test.
478 * ld-x86-64/tlsg.s: New test.
479 * ld-x86-64/tlsg.sd: New test.
480 * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
481 * ld-x86-64/tlsbinpic.s: Likewise.
482
483 2002-09-30 Alan Modra <amodra@bigpond.net.au>
484
485 * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
486
487 2002-09-30 Alan Modra <amodra@bigpond.net.au>
488
489 * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
490 * ld-powerpc/powerpc.exp: New.
491
492 * ld-i386/reloc.s, ld-i386/reloc.d: New.
493 * ld-i386/i386.exp: Run new test.
494
495 2002-09-27 Jakub Jelinek <jakub@redhat.com>
496
497 * lib/ld-lib.exp (run_ld_link_tests): Add.
498 * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
499 file_contents): Remove.
500 (sh64tests): Add 6th field to the tests array.
501 * ld-i386/i386.exp (run_ld_link_tests): Remove.
502 * ld-x86-64/x86-64.exp: New.
503 * ld-x86-64/tlsbin.dd: New test.
504 * ld-x86-64/tlsbinpic.s: New test.
505 * ld-x86-64/tlsbin.rd: New test.
506 * ld-x86-64/tlsbin.s: New test.
507 * ld-x86-64/tlsbin.sd: New test.
508 * ld-x86-64/tlsbin.td: New test.
509 * ld-x86-64/tlslib.s: New test.
510 * ld-x86-64/tlspic1.s: New test.
511 * ld-x86-64/tlspic2.s: New test.
512 * ld-x86-64/tlspic.dd: New test.
513 * ld-x86-64/tlspic.rd: New test.
514 * ld-x86-64/tlspic.sd: New test.
515 * ld-x86-64/tlspic.td: New test.
516
517 2002-09-21 Alan Modra <amodra@bigpond.net.au>
518
519 * ld-undefined/undefined.exp: Adjust function test.
520
521 2002-09-20 Alan Modra <amodra@bigpond.net.au>
522
523 * ld-i386/i386.exp: Only run tests on ELF targets.
524
525 2002-09-19 Jakub Jelinek <jakub@redhat.com>
526
527 * ld-i386/i386.exp: New.
528 * ld-i386/tlsbin.dd: New test.
529 * ld-i386/tlsbinpic.s: New test.
530 * ld-i386/tlsbin.rd: New test.
531 * ld-i386/tlsbin.s: New test.
532 * ld-i386/tlsbin.sd: New test.
533 * ld-i386/tlsbin.td: New test.
534 * ld-i386/tlslib.s: New test.
535 * ld-i386/tlsnopic1.s: New test.
536 * ld-i386/tlsnopic2.s: New test.
537 * ld-i386/tlsnopic.dd: New test.
538 * ld-i386/tlsnopic.rd: New test.
539 * ld-i386/tlsnopic.sd: New test.
540 * ld-i386/tlspic1.s: New test.
541 * ld-i386/tlspic2.s: New test.
542 * ld-i386/tlspic.dd: New test.
543 * ld-i386/tlspic.rd: New test.
544 * ld-i386/tlspic.sd: New test.
545 * ld-i386/tlspic.td: New test.
546
547 2002-09-18 Chris Demetriou <cgd@broadcom.com>
548
549 * ld-mips-elf/branch-misc-1.d: New file.
550 * ld-mips-elf/branch-misc-2.d: New file.
551 * ld-mips-elf/mips-elf.exp: Run new tests.
552
553 2002-09-05 Alan Modra <amodra@bigpond.net.au>
554
555 * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.
556 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
557 * ld-sh/sh64/crange3-media.rd: Likewise.
558 * ld-sh/sh64/crange3.rd: Likewise.
559
560 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
561
562 * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
563 * ld-mmix/bpo-11.d: Ditto.
564
565 * ld-mmix/b-nosym.d: Adjust for changed output for absence of
566 symbols.
567
568 * ld-mmix/sec-7m.d: Rename tested section from .debug_info to
569 .di.
570 * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
571 ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.
572
573 2002-08-28 Alan Modra <amodra@bigpond.net.au>
574
575 * ld-discard/discard.exp: xfail m6812.
576 * ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
577
578 2002-08-27 Alan Modra <amodra@bigpond.net.au>
579
580 * ld-mmix/b-nosym.d: Revert last change.
581
582 2002-08-26 Alan Modra <amodra@bigpond.net.au>
583
584 * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
585
586 2002-08-23 Stephen Clarke <stephen.clarke@superh.com>
587
588 * ld-sh/sh64/rd-sh64.exp: New framework file.
589 * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d,
590 ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for
591 correct setting of ISA bit for init and fini entry-points.
592
593 2002-08-16 Stephen Clarke <stephen.clarke@superh.com>
594
595 * ld-sh/sh64/sh64.exp: Add dlsection.
596 * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New.
597
598 2002-08-16 Alan Modra <amodra@bigpond.net.au>
599
600 * ld-discard/discard.exp: xfail targets using generic linker.
601 * ld-discard/extern.d: Allow "data" to be reduced to a section sym.
602
603 2002-08-15 Hans-Peter Nilsson <hp@axis.com>
604
605 * ld-cris/libdso-4.d, ld-cris/undef1.d: New test.
606
607 2002-08-13 H.J. Lu <hjl@gnu.org>
608
609 * ld-elfvers/vers.exp: Add vers23c and vers23d.
610
611 * ld-elfvers/vers23c.ver: New.
612 * ld-elfvers/vers23d.dsym: New.
613
614 2002-08-12 H.J. Lu <hjl@gnu.org>
615
616 * ld-elfvers/vers.exp: Add vers23.
617
618 * ld-elfvers/vers23.c: New.
619 * ld-elfvers/vers23.dsym: New.
620 * ld-elfvers/vers23.ver: New.
621 * ld-elfvers/vers23a.c: New.
622 * ld-elfvers/vers23a.dsym: New.
623 * ld-elfvers/vers23a.map: New.
624 * ld-elfvers/vers23a.sym: New.
625 * ld-elfvers/vers23a.ver: New.
626 * ld-elfvers/vers23b.c: New.
627 * ld-elfvers/vers23b.dsym: New.
628 * ld-elfvers/vers23b.map: New.
629 * ld-elfvers/vers23b.ver: New.
630
631 2002-08-12 Stephen Clarke <stephen.clarke@superh.com>
632
633 * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
634 listing.
635 * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
636 ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.
637 * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
638 is no longer set to object.
639 * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
640 ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
641 ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
642 ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
643 ld-sh/sh64/shdl64.xd: Likewise.
644
645 2002-08-10 Alan Modra <amodra@bigpond.net.au>
646
647 * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
648 * ld-linkonce/linkonce.exp: Likewise.
649 * ld-selective/sel-dump.exp: Likewise.
650 * ld-selective/selective.exp: Don't run on aout or bout.
651
652 2002-08-08 H.J. Lu <hjl@gnu.org>
653
654 * ld-elfvers/vers.exp: Add vers22.
655
656 * ld-elfvers/vers22.c: New.
657 * ld-elfvers/vers22.dsym: New.
658 * ld-elfvers/vers22.map: New.
659 * ld-elfvers/vers22.ver: New.
660 * ld-elfvers/vers22a.c: New.
661 * ld-elfvers/vers22a.dsym: New.
662 * ld-elfvers/vers22a.sym: New.
663 * ld-elfvers/vers22a.ver: New.
664 * ld-elfvers/vers22b.c: New.
665 * ld-elfvers/vers22b.dsym: New.
666 * ld-elfvers/vers22b.ver: New.
667
668 2002-08-07 H.J. Lu <hjl@gnu.org>
669
670 * ld-elfvers/vers.exp: Add --no-undefined-version.
671
672 * ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
673 * ld-elfvers/vers8.map: Likewise.
674 * ld-elfvers/vers18.map: Likewise.
675
676 2002-07-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
677
678 * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
679 ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
680 * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
681 ld-linkonce/linkonce.exp, ld-shared/shared.exp,
682 ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux*
683 targets.
684 * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
685 ld-discard/static.s: Add whitespace before assembler directives.
686
687 2002-07-29 Chris Demetriou <cgd@broadcom.com>
688
689 * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
690
691 2002-07-26 Richard Sandiford <rsandifo@redhat.com>
692
693 * ld-mips-elf/mips16-1.d,
694 * ld-mips-elf/mips16-1[ab].s: New test.
695 * ld-mips-elf/mips-elf.exp: Run it.
696
697 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
698
699 * ld-mmix/sec-1.d: Adjust for changes in padding.
700 * ld-mmix/sec-3.d: Ditto.
701
702 2002-07-15 H.J. Lu <hjl@gnu.org>
703
704 * ld-elfvers/vers.exp: Add vers21.
705
706 * ld-elfvers/vers21.c: New.
707 * ld-elfvers/vers21.dsym: New.
708 * ld-elfvers/vers21.map: New.
709 * ld-elfvers/vers21.sym: New.
710 * ld-elfvers/vers21.ver: New.
711
712 2002-07-12 Hans-Peter Nilsson <hp@axis.com>
713
714 * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
715 ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
716 ld-cris/expdref1.s: New tests.
717
718 2002-07-09 Richard Sandiford <rsandifo@redhat.com>
719
720 * ld-scripts/dynamic-sections*: New test.
721
722 2002-07-09 Hans-Peter Nilsson <hp@axis.com>
723
724 * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
725 ld-cris/noglob1.d: New tests.
726
727 * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
728
729 2002-07-03 Alan Modra <amodra@bigpond.net.au>
730
731 * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
732 consistent sorting.
733 (run_dump_test): Likewise for objdump/nm/objcopy/readelf.
734 * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.
735
736 2002-06-29 Hans-Peter Nilsson <hp@bitrange.com>
737
738 * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
739 ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
740
741 2002-06-18 Chris Demetriou <cgd@broadcom.com>
742
743 * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently
744 turned up by recent assembler changes.
745
746 2002-06-17 Tom Rix <trix@redhat.com>
747
748 * ld-d10v/d10v.exp: New driver for d10v.
749 * ld-d10v/default_layout.d : New test.
750 * ld-d10v/regression-001.lt: New test for a linker regression.
751 * ld-d10v/linktest-002.lt: New test for run_link_test.
752 * ld-d10v/reloc-001.d - reloc-016.d: New tests.
753
754 2002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
755
756 * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to
757 script.
758
759 2002-06-11 Andreas Jaeger <aj@suse.de>
760
761 * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
762
763 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
764
765 * ld-mips-elf/region1a.s,
766 * ld-mips-elf/region1b.s,
767 * ld-mips-elf/region1.t,
768 * ld-mips-elf/region1.d: New test.
769 * ld-mips-elf/mips-elf.exp: Run it.
770
771 2002-06-07 Nick Clifton <nickc@cambridge.redhat.com>
772
773 * ld-scripts/phdrs2.s: Use .p2align instead of .align.
774 Use section names .foo and .bar instead of .text and .data.
775 * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text
776 and .data.
777
778 2002-06-06 David Heine <dlheine@tensilica.com>
779
780 * ld-scripts/phdrs2.exp: New file: Run second phdrs test.
781 * ld-scripts/phdrs2.s: New file: Dummy assembler source.
782 * ld-scripts/phdrs2.t: New file: Linker script with an empty
783 section at the start of a loadable segment.
784
785 2005-06-02 H.J. Lu <hjl@gnu.org>
786
787 * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
788 -fuse-cxa-atexit.
789 (__cxa_atexit): Likewise.
790
791 2002-05-30 Richard Henderson <rth@redhat.com>
792
793 * ld-bootstrap/bootstrap.exp: Test --relax.
794
795 2002-05-28 Hans-Peter Nilsson <hp@axis.com>
796
797 * ld-cris/libdso-2.d: Tweak for combreloc now default on.
798
799 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
800
801 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
802 (is_elf_format): New, extracted from...
803 * ld-scripts/weak.exp: ...here.
804 * ld-scripts/overlay-size.exp: New test.
805 * ld-scripts/overlay-size.[tsd],
806 * ld-scripts/overlay-size-map.d: New files for it.
807
808 2002-05-02 Richard Sandiford <rsandifo@redhat.com>
809
810 * ld-scripts/map-address.exp: Quote conditions.
811
812 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
813
814 * ld-scripts/map-address.exp: New test.
815 * ld-scripts/map-address.[td]: New files for it.
816
817 2002-04-19 Richard Henderson <rth@redhat.com>
818
819 * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
820 * ld-shared/shared.exp: Likewise.
821 * ld-selective/selective.exp: Disable for alpha.
822 * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
823
824 2002-04-05 Hans-Peter Nilsson <hp@axis.com>
825
826 * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
827
828 2002-03-19 Hans-Peter Nilsson <hp@axis.com>
829
830 * ld-cris/ldsym1.d: New test.
831
832 * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
833 longer set to object.
834 * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
835 ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
836 ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
837 ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
838 ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
839 ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
840 ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
841 ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
842 ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
843 ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
844 ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
845 ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.
846
847 2002-03-11 Andreas Jaeger <aj@suse.de>
848
849 * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
850 places zero initialized data in the bss.
851 * ld-elfweak/lddsodata.dsym: Likewise.
852
853 2002-03-07 Hans-Peter Nilsson <hp@axis.com>
854
855 * ld-cris/expdyn1.d: Tweak for change in elf.sc.
856
857 2002-02-24 Hans-Peter Nilsson <hp@bitrange.com>
858
859 * ld-sh/ld-r-1.d: Adjust to changes in readelf output.
860 * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
861 ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
862
863 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
864
865 * ld-elfvsb/sh1.c: Fix typo in last change.
866
867 2002-02-17 Daniel Jacobowitz <drow@mvista.com>
868
869 * ld-elfvsb/sh1.c: Use #pragma weak.
870
871 2002-02-17 Daniel Jacobowitz <drow@mvista.com>
872
873 * vers.exp: Do not call diff -q.
874
875 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
876
877 * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
878 output.
879 * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s,
880 ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
881
882 * ld-mmix/bpo-22.d: New test.
883
884 * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
885 and .bss.
886
887 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
888
889 * ld-selective/selective.exp: Link against libgcc on
890 hppa*-*-linux* targets.
891
892 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
893
894 * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
895 * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s.
896 * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications
897 in section ordering.
898 * ld-sh/sh64/crange3-media.rd: Likewise.
899 * ld-sh/sh64/crange3.rd: Likewise.
900 * ld-sh/sh64/crange3.dd: Likewise.
901
902 * ld-sh/shared-1.d: Fix relocation addend.
903
904 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
905
906 * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
907 tests.
908
909 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
910
911 Contribute sh64-elf.
912 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
913 * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets.
914 * ld-sh/sh64/crange3-media.rd: Likewise.
915 * ld-sh/sh64/crange3.rd: Likewise.
916 * ld-sh/sh64/crangerel1.rd: Likewise.
917 * ld-sh/sh64/crangerel2.rd: Likewise.
918 * ld-sh/sh64/reldl32.rd: Likewise.
919 * ld-sh/sh64/reldl64.rd: Likewise.
920 2002-01-28 Alexandre Oliva <aoliva@redhat.com>
921 * ld-sh/sh64/abi32.xd: Formatting changes to match the current
922 output of objdump.
923 * ld-sh/sh64/cmpct1.xd: Likewise.
924 * ld-sh/sh64/crange1.rd: Likewise.
925 * ld-sh/sh64/crange2.rd: Likewise.
926 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
927 * ld-sh/sh64/crange3-media.rd: Likewise.
928 * ld-sh/sh64/crange3.rd: Likewise.
929 * ld-sh/sh64/crangerel1.rd: Likewise.
930 * ld-sh/sh64/crangerel2.rd: Likewise.
931 * ld-sh/sh64/mix1.xd: Likewise.
932 * ld-sh/sh64/mix2.xd: Likewise.
933 * ld-sh/sh64/rel32.xd: Likewise.
934 * ld-sh/sh64/reldl32.rd: Likewise.
935 * ld-sh/sh64/reldl64.rd: Likewise.
936 * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack
937 sessions, to match changes in the linker script.
938 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
939 * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation
940 info to reflect renumbering of relocation types.
941 2001-03-14 DJ Delorie <dj@redhat.com>
942 * ld-sh/sh64/endian.dbd: New file, endian tests.
943 * ld-sh/sh64/endian.dld: Ditto.
944 * ld-sh/sh64/endian.ld: Ditto.
945 * ld-sh/sh64/endian.s: Ditto.
946 * ld-sh/sh64/endian.sbd: Ditto.
947 * ld-sh/sh64/endian.sld: Ditto.
948 * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld.
949 2001-03-12 DJ Delorie <dj@redhat.com>
950 * ld-sh/sh64/relax.exp: New file, test disabling relaxing.
951 * ld-sh/sh64/relax1.s: Ditto.
952 * ld-sh/sh64/relax2.s: Ditto.
953 * ld-sh/sh64/relax3.s: Ditto.
954 * ld-sh/sh64/relax4.s: Ditto.
955 * ld-sh/sh64/relfail.exp: New file, test for bogus relocs.
956 * ld-sh/sh64/relfail.s: Ditto.
957 2001-03-12 DJ Delorie <dj@redhat.com>
958 * ld-sh/sh.exp: This test isn't appropriate for SH64 since it
959 uses SH32 assembler files.
960 2001-03-07 DJ Delorie <dj@redhat.com>
961 * ld-selective/selective.exp: Pass "-e _start" for sh64 to
962 accomodate expected start symbol in test.
963 2001-03-06 DJ Delorie <dj@redhat.com>
964 * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64,
965 to match what gcc passes to the linker by default.
966 * ld-selective/selective.exp: Ditto.
967 * ld-srec/srec.exp: Ditto, plus XFAIL for sh64.
968 * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2).
969 2001-03-06 DJ Delorie <dj@redhat.com>
970 * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout.
971 * ld-sh/sh64/abi64.xd (stack): Ditto.
972 * ld-sh/sh64/cmpct1.xd (stack): Ditto.
973 * ld-sh/sh64/crange1.rd (stack): Ditto.
974 * ld-sh/sh64/crange2.rd (stack): Ditto.
975 * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto.
976 * ld-sh/sh64/crange3-media.rd (stack): Ditto.
977 * ld-sh/sh64/crange3.rd (stack): Ditto.
978 * ld-sh/sh64/mix1.xd (stack): Ditto.
979 * ld-sh/sh64/mix2.xd (stack): Ditto.
980 * ld-sh/sh64/shdl32.xd (stack): Ditto.
981 * ld-sh/sh64/shdl64.xd (stack): Ditto.
982 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
983 * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section.
984 * ld-sh/sh64/mix2.xd: Ditto.
985 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com>
986 * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address
987 being SHmedia.
988 * ld-sh/sh64/shdl64.xd: Ditto.
989 * ld-sh/sh64/shdl32.xd: Ditto.
990 * ld-sh/sh64/mix2.xd: Ditto.
991 * ld-sh/sh64/crange3-media.rd: Ditto.
992 * ld-sh/sh64/abi64.xd: Ditto.
993 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
994 * ld-sh/sh64/crange-2a.s (diversion2): New global symbol.
995 * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol.
996 Adjust section type for .cranges; expect sorted contents.
997 * ld-sh/sh64/crange2.rd: Ditto.
998 * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto.
999 * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol.
1000 * ld-sh/sh64/crangerel2.rd: Ditto.
1001 * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges.
1002 * ld-sh/sh64/mix2.xd: Ditto.
1003 * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New
1004 tests.
1005 * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests.
1006 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1007 * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid
1008 target for (unexpanded) PTB. Add an .align 2 to SHmedia code to
1009 keep properly aligned.
1010 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly.
1011 * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd,
1012 ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and
1013 R_SH_PT_16 relocation.
1014 * ld-sh/sh64/sh64.exp: Run new tests.
1015 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1016 * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s,
1017 ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s,
1018 ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests.
1019 * ld-sh/sh64/sh64.exp: Run new tests.
1020 * ld-sh/sh64/crange1.rd: Correct section flags.
1021 * ld-sh/sh64/crange2.rd: Ditto.
1022 * ld-sh/sh64/crangerel1.rd: Ditto.
1023 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1024 * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s,
1025 ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s,
1026 ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s,
1027 ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
1028 ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for
1029 handling .cranges section.
1030 * ld-sh/sh64/sh64.exp: Run new tests.
1031 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd,
1032 ld-sh/sh64/mix2.xd: Adjust for .cranges section.
1033 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1034 * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd,
1035 ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd,
1036 ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd,
1037 ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and
1038 .data individually 8-byte aligned.
1039 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
1040 * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd,
1041 ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s,
1042 ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests.
1043 * ld-sh/sh64/sh64.exp: Make it possible to use readelf as
1044 inspection tool. Run new tests.
1045 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
1046 * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd,
1047 ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions.
1048 * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd,
1049 ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests.
1050 * ld-sh/sh64/sh64.exp: Run new tests.
1051 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
1052 * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd,
1053 ld-sh/sh64/shcmp-1.s: New test.
1054 * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat.
1055 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1056 * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI
1057 test.
1058 * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF.
1059 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1060 * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for
1061 tests.
1062 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
1063 * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI
1064 registers.
1065 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s:
1066 New test.
1067 * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s,
1068 ld-sh/sh64/shmix-3.s: New test.
1069 * ld-sh/sh64/sh64.exp: Add new tests to sh64tests.
1070 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
1071 * ld-sh/sh64: New testsuite.
1072
1073 2002-02-07 Hans-Peter Nilsson <hp@axis.com>
1074
1075 * ld-selective/keepdot.s: Remove section specifier.
1076
1077 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
1078
1079 * ld-selective/keepdot.d, ld-selective/keepdot.ld,
1080 ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
1081 * ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
1082
1083 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1084
1085 * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
1086 ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
1087 ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
1088 for on-demand global register allocation.
1089
1090 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
1091
1092 * ld-sh/shared-1.d: Fix incorrect offsets.
1093
1094 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1095
1096 * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,
1097 ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d,
1098 ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d,
1099 ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s,
1100 ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s,
1101 ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d,
1102 ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d,
1103 ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d,
1104 ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d,
1105 ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d,
1106 ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
1107 ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s,
1108 ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d,
1109 ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
1110
1111 2002-01-31 Hans-Peter Nilsson <hp@axis.com>
1112
1113 * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
1114 ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests.
1115 * ld-cris/cris.exp: Split run_dump_tests in two parts, executing
1116 tests named *dso-*.d first and copying their tmpdir/dump to files
1117 named as the .d-file.
1118
1119 2002-01-31 Alan Modra <amodra@bigpond.net.au>
1120
1121 * ld-scripts/crossref.exp: Allow foo to have a leading dot.
1122 * ld-scripts/cross1.t: Add .opd.
1123 * ld-undefined/undefined.exp: Allow leading dot on sym names.
1124 * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
1125
1126 2002-01-29 Chris Demetriou <cgd@broadcom.com>
1127
1128 * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
1129 * ld-mips-elf/emrelocs-el.d: Likewise.
1130 * ld-mips-elf/emrelocs1.s: Likewise.
1131 * ld-mips-elf/emrelocs2.s: Likewise.
1132 * ld-mips-elf/emrelocs.ld: Likewise.
1133 * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
1134
1135 2002-01-21 Hans-Peter Nilsson <hp@axis.com>
1136
1137 * ld-cris: New testsuite directory.
1138
1139 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1140
1141 * ld-sh/sh.exp: Copy start.s file into test directory.
1142
1143 2002-01-14 Nick Clifton <nickc@cambridge.redhat.com>
1144
1145 * ld-selective/selective.exp: For ARM targets, link with libgcc.a.
1146
1147 2002-01-02 Chris Demetriou <cgd@broadcom.com>
1148
1149 * ld-mips-elf/empic1-ln.d: New file to test basic linking of
1150 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
1151 * ld-mips-elf/empic1-lp.d: Likewise.
1152 * ld-mips-elf/empic1-mn.d: Likewise.
1153 * ld-mips-elf/empic1-mp.d: Likewise.
1154 * ld-mips-elf/empic1-sn.d: Likewise.
1155 * ld-mips-elf/empic1-sp.d: Likewise.
1156 * ld-mips-elf/empic1-ref.s: Likewise.
1157 * ld-mips-elf/empic1-space.s: Likewise.
1158 * ld-mips-elf/empic1-tgt.s: Likewise.
1159 * ld-mips-elf/empic2-fwd-0.d: New file to test
1160 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
1161 cases.
1162 * ld-mips-elf/empic2-fwd-1.d: Likewise.
1163 * ld-mips-elf/empic2-rev-0.d: Likewise.
1164 * ld-mips-elf/empic2-rev-1.d: Likewise.
1165 * ld-mips-elf/empic2-ref.s: Likewise.
1166 * ld-mips-elf/empic2-space.s: Likewise.
1167 * ld-mips-elf/empic2-fwd-tgt.s: Likewise.
1168 * ld-mips-elf/empic2-rev-tgt.s: Likewise.
1169 * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
1170 tests (including those above).
1171
1172 2001-11-30 H.J. Lu <hjl@gnu.org>
1173
1174 * ld-elfvers/vers.exp (build_vers_lib): Preserve the library
1175 order.
1176
1177 2001-11-29 H.J. Lu <hjl@gnu.org>
1178
1179 * ld-elfvers/vers.exp (build_vers_lib): Support linking against
1180 more than one libraries.
1181 Add "vers20a" and "vers20" tests for common symbols.
1182
1183 * ld-elfvers/vers20.c: New.
1184 * ld-elfvers/vers20.dsym: New.
1185 * ld-elfvers/vers20.map: New.
1186 * ld-elfvers/vers20.ver: New.
1187 * ld-elfvers/vers20a.ver: New.
1188
1189 2001-11-19 H.J. Lu <hjl@gnu.org>
1190
1191 * ld-elfvsb/define.s: Mark all global lables as object.
1192
1193 * ld-elfvsb/hidden0.d: Match large section number.
1194 * ld-elfvsb/hidden1.d: Likewise.
1195 * ld-elfvsb/internal0.d: Likewise.
1196 * ld-elfvsb/internal1.d: Likewise.
1197 * ld-elfvsb/protected0.d: Likewise.
1198 * ld-elfvsb/protected1.d: Likewise.
1199
1200 * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
1201 * ld-elfvsb/internal0.d: Likewise.
1202 * ld-elfvsb/protected0.d: Likewise.
1203
1204 2001-11-15 H.J. Lu <hjl@gnu.org>
1205
1206 * ld-sh/ld-r-1.d: Updated.
1207
1208 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1209
1210 * ld-bootstrap/bootstrap.exp: Only scan tail of executable for
1211 PE targets.
1212
1213 2001-11-12 Donn Terry <donnte@microsoft.com>
1214
1215 * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two
1216 binary files produced in order to avoid date stamp present in PE
1217 binaries.
1218
1219 2001-11-11 Hans-Peter Nilsson <hp@bitrange.com>
1220
1221 * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.
1222
1223 2001-11-09 H.J. Lu <hjl@gnu.org>
1224
1225 * ld-discard/discard.exp: New. Test ld discard.
1226 * ld-discard/discard.ld: Likewise.
1227 * ld-discard/exit.s: Likewise.
1228 * ld-discard/extern.d: Likewise.
1229 * ld-discard/extern.s: Likewise.
1230 * ld-discard/start.d: Likewise.
1231 * ld-discard/start.s: Likewise.
1232 * ld-discard/static.d: Likewise.
1233 * ld-discard/static.s: Likewise.
1234
1235 2001-11-02 H.J. Lu <hjl@gnu.org>
1236
1237 * ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
1238
1239 * ld-elfvsb/hidden0.d: New.
1240 * ld-elfvsb/hidden1.d: New.
1241 * ld-elfvsb/internal0.d: New.
1242 * ld-elfvsb/internal1.d: New.
1243 * ld-elfvsb/protected0.d: New.
1244 * ld-elfvsb/protected1.d: New.
1245 * ld-elfvsb/undef.s: New.
1246 * ld-elfvsb/undef.s: New.
1247
1248 2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
1249
1250 * ld-sh/sh.exp: Have its own start.s for linux.
1251
1252 2001-10-31 Hans-Peter Nilsson <hp@bitrange.com>
1253
1254 * ld-mmix/locdo-1.d: Prune character dump part.
1255 * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
1256 ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
1257 ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
1258 ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
1259 ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
1260 ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
1261 ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
1262 unnecessary empty lines.
1263
1264 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1265
1266 * ld-mmix: New testsuite directory.
1267
1268 2001-10-14 Hans-Peter Nilsson <hp@bitrange.com>
1269
1270 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
1271 sh*-*-elf.
1272
1273 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
1274
1275 * ld-sh/rd-sh.exp: New framework file.
1276 * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
1277 ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
1278 test files.
1279
1280 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1281
1282 * ld-linkonce/linkonce.exp: New file.
1283 * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld,
1284 ld-linkonce/zeroehl32.d: New test.
1285
1286 2001-09-25 H.J. Lu <hjl@gnu.org>
1287
1288 * ld-elfweak/dso.dsym: Updated for alpha.
1289 * ld-elfweak/dsodata.dsym: Likewise.
1290 * ld-elfweak/strong.sym: Likewise.
1291 * ld-elfweak/strongcomm.sym: Likewise.
1292 * ld-elfweak/strongdata.sym: Likewise.
1293
1294 2001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
1295
1296 * lib/ld-lib.exp (run_dump_test): Handle new option
1297 "objcopy_linked_file". Return after failing, if errors were
1298 expected but none were found.
1299 (slurp_options): Support underscores in option names.
1300
1301 2001-09-14 H.J. Lu <hjl@gnu.org>
1302
1303 * ld-elfweak/bar.c: Updated.
1304 * ld-elfweak/bar1a.c: Likewise.
1305 * ld-elfweak/main.c: Likewise.
1306 * ld-elfweak/main1.c: Likewise.
1307 * ld-elfweak/elfweak.exp: Likewise.
1308 * ld-elfweak/weakdata.dsym: Updated.
1309
1310 2001-09-11 H.J. Lu <hjl@gnu.org>
1311
1312 * ld-elfweak/elfweak.exp (build_lib): Take a list of object
1313 files.
1314 (build_exec): Likewise.
1315 Add more tests and make some xfail.
1316
1317 * ld-elfweak/dso.dsym: Support symbol versioning.
1318 * ld-elfweak/dsow.dsym: Likewise.
1319
1320 * ld-elfweak/main1.c: New.
1321 * ld-elfweak/bar1a.c: Likewise.
1322 * ld-elfweak/bar1b.c: Likewise.
1323 * ld-elfweak/bar1c.c: Likewise.
1324 * ld-elfweak/foo1a.c: Likewise.
1325 * ld-elfweak/foo1b.c: Likewise.
1326 * ld-elfweak/dsodata.dsym: Likewise.
1327 * ld-elfweak/dsowdata.dsym: Likewise.
1328 * ld-elfweak/weakdata.dsym: Likewise.
1329 * ld-elfweak/strongcomm.sym: Likewise.
1330 * ld-elfweak/strongdata.sym: Likewise.
1331 * ld-elfweak/weakdata.dat: Likewise.
1332 * ld-elfweak/strongdata.dat: Likewise.
1333
1334 2001-09-10 H.J. Lu <hjl@gnu.org>
1335
1336 * ld-elfweak/elfweak.exp: New.
1337 * ld-elfweak/bar.c: Likewise.
1338 * ld-elfweak/foo.c: Likewise.
1339 * ld-elfweak/main.c: Likewise.
1340 * ld-elfweak/dso.dsym: Likewise.
1341 * ld-elfweak/dsow.dsym: Likewise.
1342 * ld-elfweak/strong.sym: Likewise.
1343 * ld-elfweak/strong.dat: Likewise.
1344 * ld-elfweak/weak.dat: Likewise.
1345
1346 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1347 Linus Nordberg <linus@swox.se>
1348
1349 * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
1350 * ld-scripts/cross1.t: Add .toc section.
1351 * ld-scripts/cross2.t: Likewise.
1352 * ld-scripts/phdrs.exp: powerpc64 is 64 bit.
1353 * ld-srec/srec.exp: xfail powerpc64
1354
1355 2001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1356
1357 * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
1358 Continue with other tests when there is a compilation error.
1359
1360 2001-08-01 Loren J. Rittle <ljrittle@acm.org>
1361
1362 * ld-cdtest/cdtest-nrv.dat: New file.
1363 * ld-cdtest/cdtest.exp: Do not require any exception support
1364 library. Check results against NRV.
1365
1366 2001-08-01 Loren J. Rittle <ljrittle@acm.org>
1367
1368 * ld-srec/srec.exp: Do not require any exception support
1369 library.
1370
1371 2001-07-27 H.J. Lu <hjl@gnu.org>
1372
1373 * ld-selective/selective.exp: Fix the error in the last change.
1374
1375 2001-07-24 Loren J. Rittle <ljrittle@acm.org>
1376
1377 * ld-selective/selective.exp: Support g++ V3 ABI (along side
1378 the old ABI). Make comparisons against normalized (to
1379 V3-style) demangled nm output.
1380
1381 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1382
1383 * config/default.exp (ld_nm): Add "nmflags" arg.
1384 * lib/ld-lib.exp (default_ld_nm): Likewise.
1385 * ld-empic/empic.exp: Adjust call to ld_nm.
1386 * ld-scripts/defined.exp: Likewise.
1387 * ld-scripts/script.exp: Likewise.
1388 * ld-scripts/sizeof.exp: Likewise.
1389 * ld-selective/selective.exp: Likewise.
1390 * ld-sh/sh.exp: Likewise.
1391
1392 2001-07-12 H.J. Lu <hjl@gnu.org>
1393
1394 * ld-selective/selective.exp: Mark selective1, selective2,
1395 selective4 and selective5 xfail on alpha*-*.
1396
1397 2001-06-13 Hans-Peter Nilsson <hp@bitrange.com>
1398
1399 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
1400 OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
1401 default.
1402
1403 * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add
1404 new options "ld", "source", "xfail", "target", "notarget" and
1405 "error". Support the runtest_file_p "*.exp=testname" feature.
1406 (slurp_options, regexp_diff, file_contents, verbose_eval): Import
1407 from gas testsuite.
1408
1409 2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
1410
1411 * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule.
1412
1413 2001-06-06 H.J. Lu <hjl@gnu.org>
1414
1415 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
1416 on Linux/mips.
1417
1418 * ld-elfvers/vers.exp: Also run on Linux/mips.
1419 * ld-elfvsb/elfvsb.exp: Likewise.
1420 * ld-shared/shared.exp: Likewise.
1421
1422 * ld-selective/selective.exp: Mark selective2, selective3,
1423 selective4 and selective5 xfail on Linux/mips.
1424
1425 * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
1426
1427 * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
1428
1429 * ld-srec/srec.exp: Add Linux/mips to xfail.
1430
1431 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1432
1433 * ld-undefined/undefined.exp: Add a setup_xfail line for a test
1434 that will always fail on s/390.
1435
1436 2001-05-28 kaz Kojima <kkojima@rr.iij4u.or.jp>
1437
1438 * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for
1439 the text section.
1440
1441 2001-05-25 Alan Modra <amodra@one.net.au>
1442
1443 * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and
1444 linuxaout with linux*aout.
1445
1446 2001-05-24 H.J. Lu <hjl@gnu.org>
1447
1448 * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
1449
1450 2001-05-18 H.J. Lu <hjl@gnu.org>
1451
1452 * ld-elfvers/vers.exp: Revert the last change.
1453
1454 * ld-elfvers/vers2.ver: Put back "tmpdir/" the version
1455 references.
1456 * ld-elfvers/vers3.ver: Likewise.
1457 * ld-elfvers/vers6.ver: Likewise.
1458 * ld-elfvers/vers18.ver: Likewise.
1459
1460 2001-05-17 H.J. Lu <hjl@gnu.org>
1461
1462 * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
1463
1464 * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
1465 definition.
1466 * ld-elfvers/vers2.ver: Likewise.
1467 * ld-elfvers/vers3.ver: Likewise.
1468 * ld-elfvers/vers4a.ver: Likewise.
1469 * ld-elfvers/vers6.ver: Likewise.
1470 * ld-elfvers/vers7a.ver: Likewise.
1471 * ld-elfvers/vers8.ver: Likewise.
1472 * ld-elfvers/vers9.ver: Likewise.
1473 * ld-elfvers/vers15.ver: Likewise.
1474 * ld-elfvers/vers16a.ver: Likewise.
1475 * ld-elfvers/vers17.ver: Likewise.
1476 * ld-elfvers/vers18.ver: Likewise.
1477
1478 2001-05-03 H.J. Lu <hjl@gnu.org>
1479
1480 * ld-elfvers/vers19.ver: Expect vers17.so instead of
1481 *tmpdir/vers17.so.
1482
1483 2001-05-01 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
1484
1485 * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
1486
1487 * ld-scripts/phdrs.t: Use startaddress that's greater than any
1488 MAXPAGESIZE used.
1489
1490 2001-04-29 H.J. Lu <hjl@gnu.org>
1491
1492 * ld-shared/symbolic.dat: New.
1493
1494 * ld-shared/shared.exp: Also check -Bsymbolic.
1495
1496 2001-04-28 Andreas Jaeger <aj@suse.de>
1497
1498 * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
1499 special.
1500
1501 2001-04-01 David O'Brien <obrien@FreeBSD.org>
1502 * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
1503 though it doesn't use DWARF2 yet (but its output is identical).
1504
1505 2001-04-01 David O'Brien <obrien@FreeBSD.org>
1506
1507 * ld-selective/selective.exp: Use -O with gcc rather than -O2.
1508 This optimization level is buggy on some platforms, and this test
1509 is not intended to test compiler optimizations.
1510
1511 2001-03-06 DJ Delorie <dj@redhat.com>
1512
1513 * ld-scripts/cross2.t: Support any type of text/data sections, not
1514 just the canonical ones.
1515
1516 2001-02-28 Matt Hiller <hiller@redhat.com>
1517
1518 * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian].
1519 * ld-undefined/undefined.exp: Ditto, and include $flags in ld
1520 invocations.
1521 * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL
1522 and -el.
1523 (is_endian_output_format): New function.
1524 (default_ld_link): Set flags to [big_or_little_endian] only if ld
1525 is being invoked such that the output format being used is of
1526 known endianness.
1527 (default_ld_simple_link): Ditto.
1528
1529 2001-02-22 Timothy Wall <twall@cygnus.com>
1530
1531 * ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
1532 AIX-specific test.
1533
1534 2001-02-14 H.J. Lu <hjl@gnu.org>
1535
1536 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
1537 for -static on ia64.
1538
1539 * ld-checks/checks.exp: Don't run on ia64-*-elf* nor
1540 ia64-*-linux*.
1541
1542 * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
1543
1544 * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
1545 Set up expected failures for ia64-*-linux*.
1546 * ld-shared/shared.exp: Likewise.
1547
1548 2001-02-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1549
1550 * ld-srec/srec.exp (run_srec_test): m6811 code has references
1551 to soft registers, define them with --defsym.
1552 * ld-selective/selective.exp: Likewise.
1553
1554 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
1555
1556 * ld-srec/sr3.cc (__rethrow): New.
1557
1558 2001-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1559
1560 * ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
1561
1562 2001-01-03 Philip Blundell <pb@futuretv.com>
1563
1564 * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
1565 * ld-shared/shared.exp: Likewise.
1566
1567 2001-01-01 Philip Blundell <philb@gnu.org>
1568
1569 * ld-undefined/weak-undef.exp: New test.
1570 * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
1571 files for above.
1572
1573 * ld-elfvers/vers.exp: Run test on Linux/ARM.
1574 * ld-elfvsb/elfvsb.exp: Likewise.
1575 * ld-shared/shared.exp: Likewise.
1576
1577 2000-12-31 Nick Clifton <nickc@redhat.com>
1578
1579 * ld-srec/srec.exp: Use --oformat instead of -oformat.
1580
1581 2000-12-09 Nick Clifton <nickc@redhat.com>
1582
1583 * ld-selective/selective.exp: Link in libgcc when target is v850.
1584
1585 * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets
1586 because the -oformat linker command switch cannot be used.
1587
1588 2000-11-06 Alan Modra <alan@linuxcare.com.au>
1589
1590 * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
1591 (main): Prune unused args.
1592
1593 2000-10-29 Hans-Peter Nilsson <hp@bitrange.com>
1594
1595 * ld-selective/selective.exp <no CXX>: Fix typo for argument to
1596 "untested".
1597
1598 2000-10-19 H.J. Lu (hjl@gnu.org)
1599
1600 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
1601 for Linux/PPC.
1602 * ld-shared/shared.exp: Likewise.
1603
1604 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
1605
1606 * ld-selective/selective.exp: Rearrange to be table-driven.
1607
1608 2000-10-07 Alan Modra <alan@linuxcare.com.au>
1609
1610 * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too.
1611
1612 2000-10-02 Alan Modra <alan@linuxcare.com.au>
1613
1614 * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
1615 * ld-scripts/crossref.exp: Ditto.
1616
1617 2000-09-29 Hans-Peter Nilsson <hp@bitrange.com>
1618
1619 * ld-selective/5.cc: New test.
1620 * ld-selective/selective.exp: Run it as xfailed.
1621
1622 * ld-selective/4.cc: Correct spelling of "lose".
1623
1624 2000-09-05 Alan Modra <alan@linuxcare.com.au>
1625
1626 * ld-selective/selective.exp: Remove the xfails for hppa.
1627
1628 2000-08-30 Alexandre Oliva <aoliva@redhat.com>
1629
1630 * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
1631 sh-*-*): With dwarf-2, `undefined function' can't pass.
1632
1633 2000-08-03 H.J. Lu (hjl@gnu.org)
1634
1635 * ld-bootstrap/bootstrap.exp: Add strip.
1636
1637 2000-07-24 H.J. Lu (hjl@gnu.org)
1638
1639 * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
1640 the undefined reference.
1641
1642 2000-07-16 H.J. Lu (hjl@gnu.org)
1643
1644 * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check
1645 and set to "yes" if the protected visibility is expected to
1646 pass.
1647 (visibility_run): Set expected to fail for the "protected"
1648 and "protected_undef_def" tests only if $support_protected is
1649 "no".
1650
1651 * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected
1652 visibility support if defined.
1653
1654 2000-07-15 H.J. Lu (hjl@gnu.org)
1655
1656 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
1657 for "protected_undef_def".
1658
1659 * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
1660 PROTECTED_WEAK_TEST is defined.
1661 Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
1662 defined.
1663 Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.
1664
1665 * ld-elfvsb/sh1.c (visibility): Mark protected only if
1666 PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
1667 is defined.
1668 (visibility_var): Likewise.
1669
1670 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1671
1672 * ld-srec/srec.exp: xfail hppa.
1673
1674 * ld-scripts/weak.exp: Define $global$ for hppa.
1675
1676 * ld-scripts/crossref.exp: Fix string quoting.
1677
1678 2000-06-05 H.J. Lu (hjl@gnu.org)
1679
1680 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
1681 to link_output and make it global.
1682
1683 * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef",
1684 "hidden_undef_def", "hidden_weak", "protected_undef",
1685 "protected_undef_def" and "protected_weak".
1686 (visibility_run): Likewise.
1687 * ld-elfvsb/main.c: Likewise.
1688 * ld-elfvsb/sh1.c: Likewise.
1689 * ld-elfvsb/sh2.c: Likewise.
1690
1691 * ld-elfvsb/elfvsb.dat: Updated.
1692
1693 2000-05-21 H.J. Lu (hjl@gnu.org)
1694
1695 * ld-elfvsb/main.c (main_visibility_check): Fix the protected
1696 visibility test.
1697
1698 2000-05-13 H.J. Lu (hjl@gnu.org)
1699
1700 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
1701 to link_output and make it global.
1702
1703 * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
1704 tests.
1705 * ld-elfvsb/elfvsb.dat: Likewise.
1706 * ld-elfvsb/elfvsb.exp: Likewise.
1707 * ld-elfvsb/main.c: Likewise.
1708 * ld-elfvsb/sh1.c: Likewise.
1709 * ld-elfvsb/sh2.c: Likewise.
1710
1711 Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com>
1712
1713 * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
1714
1715 2000-04-12 Alan Modra <alan@linuxcare.com.au>
1716
1717 * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure.
1718
1719 * ld-selective/selective.exp (test4): Test for presence of
1720 foo__1B, not absence. Also check for foo__1A and _start.
1721 White space changes throughout file.
1722
1723 2000-03-13 Nick Clifton <nickc@cygnus.com>
1724
1725 * ld-scripts/phdrs.t: Discard all unexpected sections.
1726
1727 2000-02-27 H.J. Lu (hjl@gnu.org)
1728
1729 * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
1730
1731 1999-11-01 Nick Clifton <nickc@cygnus.com>
1732
1733 * ld-selective/selective.exp: Fix test to disable these checks for
1734 PE based targets.
1735
1736 1999-10-29 Catherine Moore <clm@cygnus.com>
1737
1738 * ld-selective/selective.exp: Remove test6.
1739 * ld-selective/5.cc: Delete.
1740
1741 1999-10-28 Scott Bambrough <scottb@netwinder.org>
1742
1743 * ld-srec/srec.exp: Setup expected failures for
1744 srec tests on ARM Linux.
1745
1746 1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au>
1747
1748 * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load
1749 offset) test.
1750
1751 1999-09-12 Ian Lance Taylor <ian@zembu.com>
1752
1753 * ld-scripts/script.exp: Add --image-base 0 for PE targets.
1754
1755 1999-08-17 H.J. Lu <hjl@gnu.org>
1756
1757 * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
1758
1759 1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
1760
1761 * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
1762 * ld-shared/shared.exp: Likewise.
1763
1764 1999-07-28 Nick Clifton <nickc@cygnus.com>
1765
1766 * lib/ld-lib.exp (proc big_or_little_endian): New proc.
1767 Determine if a big endian or little endian output format hass
1768 been selected by any of the multilib options, and if so return
1769 a suitable command line option for the linker/assembler.
1770 (proc default_ld_link): Include the result of proc
1771 big_or_little_endian on the command line to the linker.
1772 (proc ld_simple_link): Include the result of proc
1773 big_or_little_endian on the command line to the linker.
1774 (proc default_ld_compile): Append multilib flags to compiler
1775 switches.
1776 (proc default_ld_assemble): Include the result of proc
1777 big_or_little_endian on the command line to the linker.
1778
1779 1999-07-21 H.J. Lu <hjl@gnu.org>
1780
1781 * ld-elfvers/vers1.c: Add missing prototypes and include
1782 <stdio.h> if necessary.
1783 * ld-elfvers/vers15.c: Likewise.
1784 * ld-elfvers/vers19.c: Likewise.
1785 * ld-elfvers/vers2.c: Likewise.
1786 * ld-elfvers/vers3.c: Likewise.
1787 * ld-elfvers/vers4.c: Likewise.
1788 * ld-elfvers/vers6.c: Likewise.
1789 * ld-elfvers/vers7.c: Likewise.
1790 * ld-elfvers/vers9.c: Likewise.
1791 * ld-shared/main.c: Likewise.
1792 * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
1793
1794 Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com>
1795
1796 * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
1797 with other DWARF2 targets.
1798
1799 1999-07-13 Nick Clifton <nickc@cygnus.com>
1800
1801 * ld-undefined/undefined.exp: Do not expect arm toolchains to fail
1802 the undefined line test.
1803
1804 1999-07-10 Ian Lance Taylor <ian@zembu.com>
1805
1806 * ld-elfvers/vers.exp: Use -rpath in new vers19 test.
1807
1808 1999-07-07 Ian Lance Taylor <ian@zembu.com>
1809
1810 * ld-elfvers/vers.exp: Add new tests vers17 to vers19.
1811 * ld/elfvers/{vers17.*, vers18.*, vers19.*}: New files.
1812
1813 1999-06-13 Ian Lance Taylor <ian@zembu.com>
1814
1815 * ld-checks/asm.s: Use a symbol name for .lcomm.
1816 * ld-checks/checks.exp: Use different names for the two tests.
1817 Don't add extra text when invoking fail.
1818
1819 1999-06-12 Ian Lance Taylor <ian@zembu.com>
1820
1821 * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
1822 to "*-*-linux*aout*".
1823 * ld-scripts/weak.exp: Likewise.
1824 * ld-shared/shared.exp: Likewise. Simplify condition a bit.
1825
1826 Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1827
1828 * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
1829 * ld-shared/sh1.c: Fix typo.
1830
1831 1999-06-04 H.J. Lu <hjl@gnu.org>
1832
1833 * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
1834 necessary.
1835
1836 1999-05-17 Nick Clifton <nickc@cygnus.com>
1837
1838 * ld-undefined/undefined.exp: Add xfail for mcore-elf.
1839
1840 1999-05-11 DJ Delorie <dj@cygnus.com>
1841
1842 * ld-srec/srec.exp: Do not run tests for PE based ports.
1843
1844 1999-03-05 Nick Clifton <nickc@cygnus.com>
1845
1846 * ld-selective/selective.exp: Do not run tests for COFF or PE
1847 based ports.
1848
1849 1999-02-17 Nick Clifton <nickc@cygnus.com>
1850
1851 * ld-undefined/undefined.exp: Add expected failures for StrongARM
1852 targets.
1853
1854 * ld-srec/srec.exp: Add expected failures for StrongARM targets.
1855
1856 * ld-selective/selective.exp: Add expected failure for ARM-COFF
1857 targets.
1858
1859 1999-02-16 Nick Clifton <nickc@cygnus.com>
1860
1861 * ld-checks/asm.s: Use .long instead of .word.
1862 Replace custom section names with .text, .data and .bss.
1863 * ld-checks/script: Replace custom section names with .text, .data
1864 and .bss.
1865 * ld-checks/checks.exp: Replace custom section names with .text,
1866 .data and .bss.
1867
1868 1999-02-11 Nick Clifton <nickc@cygnus.com>
1869
1870 * ld-checks: New directory: Tests for the linker's
1871 --check-sections option.
1872 * ld-checks/checks.exp: New file.
1873 * ld-checks/script: Bogus linker script.
1874 * ld-checks/asm.s: Simple test assembler file.
1875
1876 Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com>
1877
1878 * ld-selective/selective.exp: Disable test for unsupported
1879 targets. Change tests to check for absence of symbols instead
1880 of address zero.
1881
1882 Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com>
1883
1884 * config/default.exp (get_link_files): Quote target_triplet and CC
1885 when invoking shell.
1886 (get_target_emul): Likewise.
1887
1888 1999-01-03 Ken Raeburn <raeburn@cygnus.com>
1889
1890 * config/default.exp (get_link_files, get_target_emul): New procs;
1891 run shell commands to extract information from configure.host and
1892 configure.tgt in the source tree.
1893 (top level): Use them to get information needed to run tests, if
1894 not otherwise provided.
1895
1896 * ld-shared/elf-offset.ld: New file. Builds a shared library, but
1897 gives non-zero addresses for memory region.
1898 * ld-shared/shared.exp: Run the non-PIC non-AIX test again using
1899 the new linker script.
1900
1901 Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au>
1902
1903 * ld-srec/srec.exp: Delete xfails for PPC Linux targets,
1904 newer glibc lets link succeed.
1905
1906 Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
1907
1908 * ld-elfvers/vers1.c: Add missing return types and values.
1909 * ld-elfvers/vers2.c: Likewise.
1910 * ld-elfvers/vers3.c: Likewise.
1911 * ld-elfvers/vers4.c: Likewise.
1912 * ld-elfvers/vers5.c: Likewise.
1913 * ld-elfvers/vers6.c: Likewise.
1914 * ld-elfvers/vers7.c: Likewise.
1915 * ld-elfvers/vers9.c: Likewise.
1916 * ld-elfvers/vers15.c: Likewise.
1917
1918 Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com>
1919
1920 * ld-selective: New directory with new files to test
1921 selective linking.
1922
1923 * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name.
1924
1925 Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com>
1926
1927 * ld-elfvers/vers16.dsym: Work correctly on a system without
1928 versioned system libraries.
1929
1930 Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
1931
1932 * ld-elfvers/vers.exp: Run tests on alpha-linux.
1933 * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
1934 Alpha's use of st_other.
1935
1936 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1937
1938 * ld-elfvers/vers.exp (vers16, vers16a): New tests.
1939 * ld-elfvers/{vers16.*, vers16a.*}: New files.
1940
1941 Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com>
1942
1943 * ld-undefined/undefined.exp: Make undefined line test be an xfail
1944 for arm/thunb elf toolchains.
1945
1946 Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com>
1947
1948 * ld-undefined/undefined.exp: change test for elf/dwarf2 targets.
1949
1950 * ld-srec/srec.exp: Arm-elf now passes this test.
1951
1952 Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com>
1953
1954 * ld-srec/srec.exp: Add arm/thumb-elf expected failures.
1955
1956 Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com>
1957
1958 * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap
1959 test if we don't have a static libbfd.a.
1960
1961 Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com>
1962
1963 Based on patch from H.J. Lu <hjl@gnu.org>:
1964 * ld-srec/srec.exp: Add xfails for Alpha ELF targets.
1965
1966 Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com>
1967
1968 * ld-scripts/weak.t (.text, .data): Focus data to be used.
1969 (/DISCARD/): All the rest.
1970 * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data.
1971
1972 Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com>
1973
1974 * config/default.exp: Create tmpdir/gas subdirectory, add a
1975 symlink to as-new, and set gcc_gas_flag variable.
1976 * lib/ld-lib.exp (default_ld_compile): If the compiler appears to
1977 be gcc, use gcc_gas_flag when compiling.
1978
1979 Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com>
1980
1981 * ld-elfvers/vers.exp: Just check for i?86 rather than checking
1982 for i386, i486, and i586.
1983 (objdump_versionstuff): If we can't find the line, dump the file.
1984
1985 Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com>
1986
1987 * ld-scripts/phdrs.exp: Run test on *-*-eabi*.
1988 * ld-scripts/weak.exp: Likewise.
1989
1990 Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com>
1991
1992 * ld-srec/srec.exp: Add xfail for v850.
1993
1994 * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass
1995 these tests.
1996
1997 Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com>
1998
1999 * ld-scripts/weak.exp: New test.
2000 * ld-scripts/weak.t: New file.
2001 * ld-scripts/weak1.s: New file.
2002 * ld-scripts/weak2.s: New file.
2003
2004 Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au>
2005
2006 * ld-elfvers/vers.exp: Run tests on powerpc ELF targets.
2007 * ld-shared/shared.exp: Likewise.
2008 * ld-elfvers/vers1.dsym: Allow for .sdata.
2009 * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux.
2010
2011 Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com>
2012
2013 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
2014 (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
2015 * ld-srec/sr1.c (__main): Change return type to void.
2016 * ld-srec/sr3.cc (__main): Likewise.
2017 (__builtin_delete, __builtin_new): Likewise.
2018 (__get_dynamic_handler_chain): Return 0.
2019 (__get_eh_context): Likewise.
2020
2021 Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com>
2022
2023 * ld-undefined/undefined.exp: Add support for thumb-pe target.
2024 * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets.
2025
2026 Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2027
2028 * ld-shared/shared.exp: Remove setup_xfails for m68k-linux.
2029
2030 Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com>
2031
2032 * ld-shared/main.c (shlib_overriddencall2): New function.
2033 (main): Call shlib_shlibcall2.
2034 * ld-shared/sh1.c (shlib_shlibcall2): New function.
2035 (shlib_overriddencall2): New function.
2036 * ld-shared/shared.dat: Add output line for new test.
2037 * ld-shared/sun4.dat: Likewise.
2038
2039 * ld-srec/sr3.cc (__get_eh_context): New function.
2040
2041 Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2042
2043 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to
2044 avoid compiler warning.
2045 * ld-srec/sr3.cc (class Foo): Likewise.
2046
2047 Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com>
2048
2049 * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function.
2050
2051 Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com>
2052
2053 * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
2054
2055 Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com>
2056
2057 * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets.
2058
2059 Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com>
2060
2061 * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which
2062 fixes ARM tests.
2063
2064 Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com>
2065
2066 * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM
2067 coff targets.
2068
2069 Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com>
2070
2071 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
2072 avoid compiler warning.
2073 * ld-srec/sr3.cc (class Foo): Likewise.
2074
2075 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
2076
2077 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
2078 have any name when looking for entry symbol warnings.
2079
2080 * ld-srec/sr3.cc (__eh_pc): Define.
2081
2082 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
2083
2084 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
2085 __throw, since the current g++ expects them to be defined.
2086
2087 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
2088
2089 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
2090 file if the string libc appears in it.
2091 (objdump_versionstuff): Accept unexpected lines in the output
2092 file. Compare lines using string match.
2093 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
2094
2095 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
2096
2097 * ld-scripts/crossref.exp: Correct string quoting.
2098
2099 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
2100
2101 * config/default.exp: Change ld, as, nm and strip from .new to
2102 -new. Load ld-lib.exp rather than ld.exp.
2103 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
2104 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
2105 DejaGnu changes.
2106
2107 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
2108
2109 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
2110 an alternation. From Greg Margo <gmargo@dl.com>.
2111
2112 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2113
2114 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
2115 with non PIC shared libraries.
2116
2117 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
2118
2119 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
2120 version handling.
2121
2122 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
2123
2124 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
2125
2126 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
2127
2128 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
2129 linking.
2130
2131 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
2132
2133 * config/default.exp: Use $base_dir rather than $objdir when
2134 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
2135
2136 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
2137
2138 * ld-srec/srec.exp: Define various out of line prologue/epilogue
2139 functions for the mn10200 to avoid needing libgcc.a.
2140
2141 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
2142
2143 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
2144
2145 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
2146
2147 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
2148
2149 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
2150
2151 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
2152 * config/default.exp: Set ar and strip.
2153
2154 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
2155
2156 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
2157 prune_system_crud.
2158 * ld-cdtest/cdtest.exp: Ditto.
2159 * ld-scripts/crossref.exp: Ditto.
2160 * ld-sh/sh.exp: Ditto.
2161 * ld-shared/shared.exp: Ditto.
2162 * ld-srec/srec.exp: Ditto.
2163 * lib/ld.exp: Ditto.
2164
2165 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
2166
2167 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
2168 * ld-scripts/script.exp: Ditto.
2169 * ld-sh/sh.exp: Ditto.
2170 * ld-undefined/undefined.exp: Ditto.
2171 * ld-versados/versados.exp: Ditto.
2172 * lib/ld.exp: Ditto.
2173
2174 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
2175
2176 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
2177
2178 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
2179
2180 * lib/ld.exp (default_ld_version): Fix for current version
2181 printing.
2182
2183 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
2184
2185 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
2186
2187 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
2188
2189 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
2190
2191 * lib/ld.exp: Use verbose -log instead of calling both verbose and
2192 send_log.
2193
2194 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
2195
2196 * ld-scripts/phdrs.exp: New test.
2197 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
2198
2199 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
2200
2201 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
2202 V_SPILL and V_FILL.
2203
2204 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
2205
2206 * ld-scripts/crossref.exp: New test.
2207 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
2208 * ld-scripts/{cross1.t, cross2.t}: New files.
2209
2210 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
2211
2212 * ld-sh/sh.exp: Fix debugging messages.
2213 * ld-sh/sh1.s: Use .align 4.
2214
2215 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
2216
2217 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
2218
2219 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2220
2221 * ld-shared/shared.exp: Run the shared library tests on
2222 Linux/m68k.
2223
2224 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
2225
2226 * ld-shared/shared.exp: Run the shared library tests on Linux.
2227
2228 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
2229
2230 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
2231
2232 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
2233
2234 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
2235 * ld-undefined/undefined.exp: Likewise.
2236
2237 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
2238
2239 * ld-undefined/undefined.exp: ELF targets should now pass the
2240 undefined line test.
2241
2242 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
2243
2244 * ld-empic/empic.exp: Update for change to MIPS disassembler.
2245
2246 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
2247
2248 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
2249 when doing the --static test.
2250 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
2251
2252 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
2253
2254 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
2255 when creating ld-partial.o.
2256
2257 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
2258
2259 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
2260 __eabi.
2261
2262 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
2263
2264 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
2265
2266 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
2267
2268 * ld-srec/srec.exp: On a29k targets, use --defsym to define
2269 V_SPILL and V_FILL.
2270 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
2271 * ld-srec/sr3.cc: Likewise.
2272
2273 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
2274
2275 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
2276
2277 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
2278
2279 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
2280
2281 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
2282
2283 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
2284
2285 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
2286
2287 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
2288
2289 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
2290
2291 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
2292 * ld-srec/sr3.cc: Likewise.
2293
2294 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
2295
2296 * ld-empic/empic.exp: Update for changes in objdump output.
2297
2298 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
2299
2300 * ld-srec/srec.exp: New tests.
2301 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
2302 * lib/ld.exp (ld_simple_link): Discard warnings about not being
2303 able to find the entry symbol.
2304
2305 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
2306
2307 * ld-sh/sh2.c (__main): Define.
2308
2309 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
2310
2311 * ld-empic/empic.exp: Accept a . in the address symbol.
2312
2313 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
2314 powerpc*-*-aix*. Add code to create appropriate exports files,
2315 and pass appropriate compilation flags, and test against
2316 appropriate expected output.
2317 * ld-shared/xcoff.dat: New file.
2318 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
2319 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
2320 function pointer, rather than shlib_mainvar.
2321 * ld-shared/sh1.c: Likewise.
2322 * ld-shared/shared.dat: Update for change from using shlib_mainvar
2323 to using shlib_shlibvar1.
2324 * ld-shared/sun4.dat: Likewise.
2325
2326 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
2327
2328 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
2329 convenience when testing XCOFF.
2330
2331 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
2332
2333 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
2334 along with --static.
2335
2336 * ld-scripts/script.s: Make symbols global.
2337
2338 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
2339
2340 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
2341
2342 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
2343
2344 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
2345 prevent the SunOS linker from trying to create a shared library.
2346
2347 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
2348
2349 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
2350 appropriate modifications and setup_xfails.
2351 * ld-shared/sun4.dat: New file.
2352
2353 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
2354
2355 * lib/ld.exp (default_ld_version): Call prune_system_crud.
2356 (default_ld_relocate, default_ld_link): Likewise.
2357 (default_ld_simple_link, default_ld_compile): Likewise.
2358 (default_ld_assemble, default_ld_nm): Likewise.
2359
2360 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
2361
2362 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
2363 tests as untested rather than unresolved.
2364
2365 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
2366
2367 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
2368
2369 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
2370
2371 * ld-scripts/script.exp: Split script verification into a proc.
2372 Add simple test of MRI script.
2373 * ld-scripts/scriptm.t: New file.
2374
2375 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
2376
2377 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
2378 appropriate.
2379
2380 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
2381
2382 * config/default.exp: Define objcopy if it is not defined.
2383 * ld-sh/*: New tests for SH relaxing.
2384
2385 * ld-empic/empic.exp: If $CC does not exist, call untested rather
2386 than unresolved.
2387
2388 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
2389
2390 * ld-undefined/undefined.exp: If $CC does not exist, mark the
2391 tests as untested rather than unresolved. Clear ELF xfails for
2392 mips*, not just mips.
2393
2394 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
2395
2396 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
2397 undefined line test.
2398
2399 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
2400
2401 * ld-undefined/undefined.exp: New test, to check reporting of
2402 undefined symbols.
2403 * ld-undefined/undefined.c: New file.
2404
2405 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
2406
2407 * ld-versados/versados.exp: If a test fails, report it correctly:
2408 don't try to run the next test, and don't report a pass as well as
2409 a fail.
2410
2411 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
2412
2413 * versados/(t1,t2).ld: End in newlines.
2414
2415 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2416
2417 * lib/ld.exp (default_ld_compile): If cc argument is multiple
2418 words, use only the first when trying to verify the availability
2419 of the compiler.
2420
2421 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
2422
2423 * ld-scripts/defined.t: Mention .data and .bss explicitly.
2424
2425 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2426
2427 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
2428 call untested for each test, rather than ignoring it. If one test
2429 fails, go on to the next one instead of returning.
2430 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
2431 unresolved.
2432 * ld-empic/empic.exp: Likewise. Also, always pass the same test
2433 name to pass or fail.
2434 * ld-shared/shared.exp: Likewise. Also, always run all tests.
2435 * ld-scripts/defined.exp: If as or nm fail, mark test as
2436 unresolved. Always pass the same test name to pass or fail.
2437 * ld-scripts/script.exp: Likewise.
2438 * ld-scripts/sizeof.exp: Likewise.
2439
2440 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2441
2442 * ld-scripts/sizeof.exp: New test, based on bug report from
2443 anders.blomdell@control.lth.se.
2444 * ld-scripts/sizeof.s: New file.
2445 * ld-scripts/sizeof.t: New file.
2446
2447 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2448
2449 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
2450 if the linker exists.
2451
2452 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2453
2454 * lib/ld.exp (prune_system_crud): Define if not already defined,
2455 in case the user isn't using the newest DejaGnu version that we
2456 haven't released to the net yet.
2457
2458 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
2459
2460 * config/default.exp: Define objdump if it is not defined.
2461 * ld-empic/*: New tests to test -membedded-pic code.
2462
2463 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2464
2465 * ld-bootstrap/bootstrap.exp: Pass cmp output through
2466 prune_system_crud.
2467 * ld-cdtest/cdtest.exp: Pass diff output through
2468 prune_system_crud.
2469 * ld-shared/shared.exp: Likewise.
2470
2471 * config/default.exp: Remove unused and useless proc ld_load.
2472
2473 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2474
2475 * lib/ld.exp (default_ld_compile): Remove the output file before
2476 compiling.
2477
2478 * ld-shared/shared.exp: Move common test code into a procedure.
2479 Add tests for compiling the non shared code PIC.
2480 * ld-shared/main.c (main): Call main_called, and print the result.
2481 * ld-shared/shared.dat: Adjust accordingly.
2482
2483 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2484
2485 * ld-shared: New directory, with new files to test generating ELF
2486 shared libraries.
2487
2488 * lib/ld.exp (default_ld_compile): If the compilation worked, but
2489 no object file was created, check to see if the compiler foolishly
2490 ignored the -o switch when compiling, and move the resulting
2491 object if it did.
2492
2493 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2494
2495 * VMS does not permits `.' in directory names. Renamed
2496 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
2497 ld.scripts to ld-scripts.
2498
2499 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2500
2501 * config/default.exp: Set variables as and nm. Create tmpdir if
2502 it does not already exist.
2503 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
2504 * ld.cdtest/cdtest.exp: Likewise.
2505 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
2506 here. Change perror for no variables found to fail.
2507 * ld.scripts/script.exp: New test.
2508 * ld.scripts/script.t, ld.scripts/script.s: New files.
2509
2510 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2511
2512 * ld.scripts: New directory.
2513 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
2514 * ld.scripts/defined.t: New file.
2515 * lib/ld.exp (default_ld_simple_link): New function.
2516 (default_ld_assemble, default_ld_nm): New functions.
2517 * config/default.exp: Rename from unix-ld.exp.
2518 (ld_simple_link, ld_assemble, ld_nm): New functions.
2519
2520 * config/unix-ld.exp: Set ld using findfile.
2521 * lib/ld.exp (default_ld_relocate): Return a value. Change format
2522 of log messages.
2523 (default_ld_compile): Likewise.
2524 (default_ld_link): Likewise. Also, don't include $BFDLIB and
2525 $LIBIBERTY in link.
2526 * ld.bootstrap/bootstrap.exp: Rewrite.
2527 * ld.cdtest/cdtest.exp: Rewrite.
2528 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
2529 * ld.cdtest/cdtest-foo.h: Likewise.
2530 * ld.cdtest/cdtest-main.cc: Likewise.
2531
2532 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
2533
2534 * ld.cdtest/cdtest.exp: Don't look for $result before it's
2535 defined.
2536
2537 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
2538
2539 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
2540 calls with perror calls.
2541
2542 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
2543
2544 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
2545 * ld.cdtest/cdtest.exp: Adjusted.
2546
2547 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2548
2549 * lib/ld.exp (simple_diff): Indicate failure if files have
2550 different numbers of lines. Don't muck with $differences to avoid
2551 indicating a pass, just return.
2552
2553 * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
2554 Fix test case to be valid ANSI C++. Don't require use of header
2555 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
2556 * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
2557 commentary on things that are still broken with this test case.
2558
2559 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
2560
2561 * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
2562
2563 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
2564
2565 * lib/ld.exp: add compiler and linker support
2566 * config/unix-ld.exp: add compiler and linker support
2567 * ld.bootstrap/bootstrap.exp: fixed to do partial links
2568 * ld.cdtest/cdtest.exp: constructor/destructor testscase
2569
2570 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
2571
2572 * lib/ld.exp: new file
2573 * config/unix-ld.exp: new file
2574 * ld.bootstrap/bootstrap.exp: new file