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