]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ChangeLog
Fix h8300 relaxation.
[thirdparty/binutils-gdb.git] / ld / testsuite / ChangeLog
CommitLineData
e514ac71
NC
12002-11-15 Nick Clifton <nickc@redhat.com>
2
3 * ld-h8300: New directory.
4 * ld-h8300/h8300.exp: New expect script. Only run tests for h8300
5 targets.
6 * ld-h8300/relax.s: New assembler source file.
7 * ld-h8300/relax.d: New expected output file.
8
b7b0b729
HPN
92002-11-11 Hans-Peter Nilsson <hp@axis.com>
10
11 * ld-elf/sec64k.exp: New test.
12 * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/"
13 to a source file starting with "/".
14
646a0a40
HPN
152002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
16
17 * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,
18 ld-mmix/local7.d: Tweak for change in readelf output.
19
f72dfb13
AM
202002-11-09 Alan Modra <amodra@bigpond.net.au>
21
22 * ld-elfvsb/define.s: Avoid use of @ in .type directive.
23
415fe8c6 242002-11-07 Hans-Peter Nilsson <hp@axis.com>
1790e8ab
HPN
25
26 * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
27 ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.
28
3d198be3
NC
292002-11-07 Nick Clifton <nickc@redhat.com>
30
31 * ld-fastcall/fastcall.exp: Only run tests for PE type x86
32 targets.
33
5e622545
KK
342002-11-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35
36 * ld-sh/rd-sh.exp: Set asflags_save always.
37
c9e38879
NC
382002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
39
40 * ld-fastcall: New directory for testing fastcall support.
41 * ld-fastcall/export.s: New file for testing fastcall symbol
42 handling.
43 * ld-fastcall/import.s: Likewise.
44 * ld-fastcall/fastcall.exp: Likewise.
45
935cac6e
KK
462002-11-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47
48 * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
49 * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
50 * ld-sh/tlspic-1.d: Likewise.
51 * ld-sh/tlspic-2.d: Likewise.
52 * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
53 defined by the linker scripts.
54
19dd1b48
SC
552002-10-14 Stephane Carrez <stcarrez@nerim.fr>
56
57 * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
58 * ld-m68hc11/adj-jump.d: New test for linker relaxation.
59 * ld-m68hc11/adj-jump.s: Likewise.
60 * ld-m68hc11/adj-brset.s: Likewise.
61 * ld-m68hc11/adj-brset.d: Likewise.
62 * ld-m68hc11/relax-direct.s: Likewise.
63 * ld-m68hc11/relax-direct.d: Likewise.
64 * ld-m68hc11/relax-group.s: Likewise.
65 * ld-m68hc11/relax-group.d: Likewise.
66 * ld-m68hc11/bug-1403.d: Likewise.
67 * ld-m68hc11/bug-1403.s: Likewise.
68
24d1feef
SC
692002-10-14 Stephen Clarke <stephen.clarke@superh.com>
70 * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*.
71 * ld-sh/sh64/sh64.exp: Likewise.
72 * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*.
73 * ld-sh/sh64/abi32.sd: Adjust expected output to include
74 sh64*-*-linux* formats too.
75 * ld-sh/sh64/relax.exp: Add emul32 variable to hold target
76 emulation, and set it appropriately for sh*-*-linux*.
77 * ld-sh/sh64/relfail.exp: Add variables to hold target
78 emulation, output format, start symbol, and whether target
79 supports 64-bit ABI. Set appropriately for sh*-*-linux*.
80
f9a3a01a
L
812002-10-12 H.J. Lu (hjl@gnu.org)
82
83 * ld-discard/extern.d: Remove $srcdir/$subdir/.
84 * ld-discard/start.d: Likewise.
85 * ld-discard/static.d: Likewise.
86 * ld-linkonce/zeroehl32.d: Likewise.
87 * ld-selective/keepdot.d: Likewise.
88 * ld-selective/keepdot0.d: Likewise.
89
6c381eeb
KK
902002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
91
92 * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
93 of linker to the file tmpdir/*-dso.so.
94 * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New.
95 * ld-sh/tlsbin-0-dso.d: New.
96 * ld-sh/tlsbin-1.d: New.
97 * ld-sh/tlsbin-2.d: New.
98 * ld-sh/tlsbin-3.d: New.
99 * ld-sh/tlsbin-4.d: New.
100 * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New.
101 * ld-sh/tlspic-1.d: New.
102 * ld-sh/tlspic-2.d: New.
103 * ld-sh/tlspic-3.d: New.
104 * ld-sh/tlspic-4.d: New.
105
2030e6d7
JJ
1062002-10-10 Jakub Jelinek <jakub@redhat.com>
107
108 * ld-i386/combreloc.s: New test.
109 * ld-i386/combreloc.d: New test.
110 * ld-i386/i386.exp (i386tests): Add it.
111
4565652e
AM
1122002-10-10 Alan Modra <amodra@bigpond.net.au>
113
114 * ld-i386/i386.exp (reloc): Turn off combreloc.
115 * ld-i386/reloc.d: Likewise.
116 * ld-powerpc/powerpc.exp: Likewise.
117 * ld-powerpc/reloc.d: Likewise.
118
8b0eebb0
L
1192002-10-03 H.J. Lu <hjl@gnu.org>
120
121 * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
122 3.x.
123
30a2f863
CD
1242002-10-03 Chris Demetriou <cgd@broadcom.com>
125
126 * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
127 more compatible with non-embedded targets.
128 * ld-mips-elf/branch-misc-2.d: Likewise.
129
130 * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded
131 PIC tests.
132 (elf): New variable, to control whether generic ELF tests are run.
133 (embedded_elf): New variable, to control whether ELF tests
134 requiring embedded PIC or embedded relocs are run.
135
ad050da3
SC
1362002-10-02 Stephen Clarke <stephen.clarke@superh.com>
137
138 * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
139 ld-sh/sh64/gotplt.s: New test.
140
8033ae3b
SC
1412002-10-02 Stephen Clarke <stephen.clarke@superh.com>
142 * ld-sh/sh64/cmpct1.sd : Fix linked file name.
143 * ld-sh/sh64/crange3.dd: Likewise.
144
7c445aa3
JJ
1452002-10-01 Jakub Jelinek <jakub@redhat.com>
146
147 * ld-i386/i386.exp: Add tlsindntpoff test.
148 * ld-i386/tlsindntpoff.s: New test.
149 * ld-i386/tlsindntpoff.dd: New test.
150
abcf1d52
JJ
1512002-10-01 Jakub Jelinek <jakub@redhat.com>
152
153 * ld-x86-64/tlspic1.s: Change TLSGD sequences.
154 * ld-x86-64/tlsbinpic.s: Likewise.
155 * ld-x86-64/tlspic.dd: Adjust.
156
a45bb67d
JJ
1572002-10-01 Jakub Jelinek <jakub@redhat.com>
158
159 * ld-i386/i386.exp: Add tlsg test.
160 * ld-i386/tlsg.s: New test.
161 * ld-i386/tlsg.sd: New test.
162 * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
163 * ld-i386/tlsbinpic.s: Likewise.
164 * ld-x86-64/x86-64.exp: Add tlsg test.
165 * ld-x86-64/tlsg.s: New test.
166 * ld-x86-64/tlsg.sd: New test.
167 * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
168 * ld-x86-64/tlsbinpic.s: Likewise.
169
b1e61c4b
AM
1702002-09-30 Alan Modra <amodra@bigpond.net.au>
171
172 * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
173
302cbfc2
AM
1742002-09-30 Alan Modra <amodra@bigpond.net.au>
175
17c2bdee
AM
176 * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
177 * ld-powerpc/powerpc.exp: New.
178
302cbfc2
AM
179 * ld-i386/reloc.s, ld-i386/reloc.d: New.
180 * ld-i386/i386.exp: Run new test.
181
bffbf940
JJ
1822002-09-27 Jakub Jelinek <jakub@redhat.com>
183
184 * lib/ld-lib.exp (run_ld_link_tests): Add.
185 * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
186 file_contents): Remove.
187 (sh64tests): Add 6th field to the tests array.
188 * ld-i386/i386.exp (run_ld_link_tests): Remove.
189 * ld-x86-64/x86-64.exp: New.
190 * ld-x86-64/tlsbin.dd: New test.
191 * ld-x86-64/tlsbinpic.s: New test.
192 * ld-x86-64/tlsbin.rd: New test.
193 * ld-x86-64/tlsbin.s: New test.
194 * ld-x86-64/tlsbin.sd: New test.
195 * ld-x86-64/tlsbin.td: New test.
196 * ld-x86-64/tlslib.s: New test.
197 * ld-x86-64/tlspic1.s: New test.
198 * ld-x86-64/tlspic2.s: New test.
199 * ld-x86-64/tlspic.dd: New test.
200 * ld-x86-64/tlspic.rd: New test.
201 * ld-x86-64/tlspic.sd: New test.
202 * ld-x86-64/tlspic.td: New test.
203
344897cc
AM
2042002-09-21 Alan Modra <amodra@bigpond.net.au>
205
206 * ld-undefined/undefined.exp: Adjust function test.
207
c7749bd6
AM
2082002-09-20 Alan Modra <amodra@bigpond.net.au>
209
210 * ld-i386/i386.exp: Only run tests on ELF targets.
211
37e55690
JJ
2122002-09-19 Jakub Jelinek <jakub@redhat.com>
213
214 * ld-i386/i386.exp: New.
215 * ld-i386/tlsbin.dd: New test.
216 * ld-i386/tlsbinpic.s: New test.
217 * ld-i386/tlsbin.rd: New test.
218 * ld-i386/tlsbin.s: New test.
219 * ld-i386/tlsbin.sd: New test.
220 * ld-i386/tlsbin.td: New test.
221 * ld-i386/tlslib.s: New test.
222 * ld-i386/tlsnopic1.s: New test.
223 * ld-i386/tlsnopic2.s: New test.
224 * ld-i386/tlsnopic.dd: New test.
225 * ld-i386/tlsnopic.rd: New test.
226 * ld-i386/tlsnopic.sd: New test.
227 * ld-i386/tlspic1.s: New test.
228 * ld-i386/tlspic2.s: New test.
229 * ld-i386/tlspic.dd: New test.
230 * ld-i386/tlspic.rd: New test.
231 * ld-i386/tlspic.sd: New test.
232 * ld-i386/tlspic.td: New test.
233
2dc83527
CD
2342002-09-18 Chris Demetriou <cgd@broadcom.com>
235
236 * ld-mips-elf/branch-misc-1.d: New file.
237 * ld-mips-elf/branch-misc-2.d: New file.
238 * ld-mips-elf/mips-elf.exp: Run new tests.
239
c23487d4
AM
2402002-09-05 Alan Modra <amodra@bigpond.net.au>
241
242 * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.
243 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
244 * ld-sh/sh64/crange3-media.rd: Likewise.
245 * ld-sh/sh64/crange3.rd: Likewise.
246
156436a5
HPN
2472002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
248
249 * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
250 * ld-mmix/bpo-11.d: Ditto.
251
252 * ld-mmix/b-nosym.d: Adjust for changed output for absence of
253 symbols.
254
255 * ld-mmix/sec-7m.d: Rename tested section from .debug_info to
256 .di.
257 * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
258 ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.
259
6d110b65
AM
2602002-08-28 Alan Modra <amodra@bigpond.net.au>
261
262 * ld-discard/discard.exp: xfail m6812.
263 * ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
264
68a4c073
AM
2652002-08-27 Alan Modra <amodra@bigpond.net.au>
266
267 * ld-mmix/b-nosym.d: Revert last change.
268
99e49e4e
AM
2692002-08-26 Alan Modra <amodra@bigpond.net.au>
270
271 * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
272
30c8cc68
AM
2732002-08-23 Stephen Clarke <stephen.clarke@superh.com>
274
275 * ld-sh/sh64/rd-sh64.exp: New framework file.
276 * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d,
277 ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for
278 correct setting of ISA bit for init and fini entry-points.
279
0b65791f
SC
2802002-08-16 Stephen Clarke <stephen.clarke@superh.com>
281
282 * ld-sh/sh64/sh64.exp: Add dlsection.
283 * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New.
284
b3de5b86
AM
2852002-08-16 Alan Modra <amodra@bigpond.net.au>
286
287 * ld-discard/discard.exp: xfail targets using generic linker.
288 * ld-discard/extern.d: Allow "data" to be reduced to a section sym.
289
43b10118
HPN
2902002-08-15 Hans-Peter Nilsson <hp@axis.com>
291
292 * ld-cris/libdso-4.d, ld-cris/undef1.d: New test.
293
80425074
L
2942002-08-13 H.J. Lu <hjl@gnu.org>
295
296 * ld-elfvers/vers.exp: Add vers23c and vers23d.
297
298 * ld-elfvers/vers23c.ver: New.
299 * ld-elfvers/vers23d.dsym: New.
300
9c092167
L
3012002-08-12 H.J. Lu <hjl@gnu.org>
302
303 * ld-elfvers/vers.exp: Add vers23.
304
305 * ld-elfvers/vers23.c: New.
306 * ld-elfvers/vers23.dsym: New.
307 * ld-elfvers/vers23.ver: New.
308 * ld-elfvers/vers23a.c: New.
309 * ld-elfvers/vers23a.dsym: New.
310 * ld-elfvers/vers23a.map: New.
311 * ld-elfvers/vers23a.sym: New.
312 * ld-elfvers/vers23a.ver: New.
313 * ld-elfvers/vers23b.c: New.
314 * ld-elfvers/vers23b.dsym: New.
315 * ld-elfvers/vers23b.map: New.
316 * ld-elfvers/vers23b.ver: New.
317
598b6dde
HPN
3182002-08-12 Stephen Clarke <stephen.clarke@superh.com>
319
d1764264
HPN
320 * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
321 listing.
322 * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
323 ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.
598b6dde
HPN
324 * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
325 is no longer set to object.
326 * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
327 ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
328 ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
329 ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
330 ld-sh/sh64/shdl64.xd: Likewise.
331
2548cbcc
AM
3322002-08-10 Alan Modra <amodra@bigpond.net.au>
333
334 * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
335 * ld-linkonce/linkonce.exp: Likewise.
336 * ld-selective/sel-dump.exp: Likewise.
337 * ld-selective/selective.exp: Don't run on aout or bout.
338
b16100ad
L
3392002-08-08 H.J. Lu <hjl@gnu.org>
340
341 * ld-elfvers/vers.exp: Add vers22.
342
343 * ld-elfvers/vers22.c: New.
344 * ld-elfvers/vers22.dsym: New.
345 * ld-elfvers/vers22.map: New.
346 * ld-elfvers/vers22.ver: New.
347 * ld-elfvers/vers22a.c: New.
348 * ld-elfvers/vers22a.dsym: New.
349 * ld-elfvers/vers22a.sym: New.
350 * ld-elfvers/vers22a.ver: New.
351 * ld-elfvers/vers22b.c: New.
352 * ld-elfvers/vers22b.dsym: New.
353 * ld-elfvers/vers22b.ver: New.
354
31941635
L
3552002-08-07 H.J. Lu <hjl@gnu.org>
356
357 * ld-elfvers/vers.exp: Add --no-undefined-version.
358
359 * ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
360 * ld-elfvers/vers8.map: Likewise.
361 * ld-elfvers/vers18.map: Likewise.
362
19c7c582
AM
3632002-07-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
364
365 * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
366 ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
367 * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
368 ld-linkonce/linkonce.exp, ld-shared/shared.exp,
369 ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux*
370 targets.
371 * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
372 ld-discard/static.s: Add whitespace before assembler directives.
373
70a31400
CD
3742002-07-29 Chris Demetriou <cgd@broadcom.com>
375
376 * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
377
fb39dac1
RS
3782002-07-26 Richard Sandiford <rsandifo@redhat.com>
379
380 * ld-mips-elf/mips16-1.d,
381 * ld-mips-elf/mips16-1[ab].s: New test.
382 * ld-mips-elf/mips-elf.exp: Run it.
383
ccaf4e07
HPN
3842002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
385
386 * ld-mmix/sec-1.d: Adjust for changes in padding.
387 * ld-mmix/sec-3.d: Ditto.
388
b42d8061
L
3892002-07-15 H.J. Lu <hjl@gnu.org>
390
391 * ld-elfvers/vers.exp: Add vers21.
392
393 * ld-elfvers/vers21.c: New.
394 * ld-elfvers/vers21.dsym: New.
395 * ld-elfvers/vers21.map: New.
396 * ld-elfvers/vers21.sym: New.
397 * ld-elfvers/vers21.ver: New.
398
f1cf2c2e
HPN
3992002-07-12 Hans-Peter Nilsson <hp@axis.com>
400
401 * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
402 ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
403 ld-cris/expdref1.s: New tests.
404
ad42262f
RS
4052002-07-09 Richard Sandiford <rsandifo@redhat.com>
406
407 * ld-scripts/dynamic-sections*: New test.
408
6030b50a
HPN
4092002-07-09 Hans-Peter Nilsson <hp@axis.com>
410
57a4c584
HPN
411 * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
412 ld-cris/noglob1.d: New tests.
413
6030b50a
HPN
414 * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
415
3e8cba19
AM
4162002-07-03 Alan Modra <amodra@bigpond.net.au>
417
418 * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
419 consistent sorting.
420 (run_dump_test): Likewise for objdump/nm/objcopy/readelf.
421 * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.
422
9f606706
HPN
4232002-06-29 Hans-Peter Nilsson <hp@bitrange.com>
424
425 * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
3e8cba19 426 ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
9f606706 427
e0350bfb
CD
4282002-06-18 Chris Demetriou <cgd@broadcom.com>
429
430 * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently
431 turned up by recent assembler changes.
432
4c0b7915
TR
4332002-06-17 Tom Rix <trix@redhat.com>
434
435 * ld-d10v/d10v.exp: New driver for d10v.
436 * ld-d10v/default_layout.d : New test.
437 * ld-d10v/regression-001.lt: New test for a linker regression.
438 * ld-d10v/linktest-002.lt: New test for run_link_test.
3e8cba19 439 * ld-d10v/reloc-001.d - reloc-016.d: New tests.
4c0b7915 440
9b17aab6
JL
4412002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
442
443 * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to
444 script.
445
704e79f9 4462002-06-11 Andreas Jaeger <aj@suse.de>
20c4e932
MS
447
448 * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
449
e560f274
RS
4502002-06-10 Richard Sandiford <rsandifo@redhat.com>
451
452 * ld-mips-elf/region1a.s,
453 * ld-mips-elf/region1b.s,
454 * ld-mips-elf/region1.t,
455 * ld-mips-elf/region1.d: New test.
456 * ld-mips-elf/mips-elf.exp: Run it.
457
1634475f
NC
4582002-06-07 Nick Clifton <nickc@cambridge.redhat.com>
459
460 * ld-scripts/phdrs2.s: Use .p2align instead of .align.
3e8cba19
AM
461 Use section names .foo and .bar instead of .text and .data.
462 * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text
463 and .data.
1634475f 464
1ed89aa9
NC
4652002-06-06 David Heine <dlheine@tensilica.com>
466
467 * ld-scripts/phdrs2.exp: New file: Run second phdrs test.
468 * ld-scripts/phdrs2.s: New file: Dummy assembler source.
469 * ld-scripts/phdrs2.t: New file: Linker script with an empty
470 section at the start of a loadable segment.
471
bfba206a
L
4722005-06-02 H.J. Lu <hjl@gnu.org>
473
474 * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
475 -fuse-cxa-atexit.
476 (__cxa_atexit): Likewise.
477
0085b5a8
RH
4782002-05-30 Richard Henderson <rth@redhat.com>
479
480 * ld-bootstrap/bootstrap.exp: Test --relax.
481
69de2f89
HPN
4822002-05-28 Hans-Peter Nilsson <hp@axis.com>
483
484 * ld-cris/libdso-2.d: Tweak for combreloc now default on.
485
3e3f011f
RS
4862002-05-07 Richard Sandiford <rsandifo@redhat.com>
487
488 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
489 (is_elf_format): New, extracted from...
490 * ld-scripts/weak.exp: ...here.
491 * ld-scripts/overlay-size.exp: New test.
492 * ld-scripts/overlay-size.[tsd],
493 * ld-scripts/overlay-size-map.d: New files for it.
494
a155881b
RS
4952002-05-02 Richard Sandiford <rsandifo@redhat.com>
496
497 * ld-scripts/map-address.exp: Quote conditions.
498
33a301ba
RS
4992002-04-30 Richard Sandiford <rsandifo@redhat.com>
500
501 * ld-scripts/map-address.exp: New test.
502 * ld-scripts/map-address.[td]: New files for it.
503
212a6b8e
RH
5042002-04-19 Richard Henderson <rth@redhat.com>
505
506 * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
507 * ld-shared/shared.exp: Likewise.
508 * ld-selective/selective.exp: Disable for alpha.
509 * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
510
32d27937
HPN
5112002-04-05 Hans-Peter Nilsson <hp@axis.com>
512
513 * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
514
f8548834
HPN
5152002-03-19 Hans-Peter Nilsson <hp@axis.com>
516
442e4424
HPN
517 * ld-cris/ldsym1.d: New test.
518
f8548834
HPN
519 * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
520 longer set to object.
521 * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
522 ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
523 ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
524 ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
525 ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
526 ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
527 ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
528 ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
529 ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
530 ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
531 ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
532 ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.
533
91c903ab
AJ
5342002-03-11 Andreas Jaeger <aj@suse.de>
535
536 * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
537 places zero initialized data in the bss.
538 * ld-elfweak/lddsodata.dsym: Likewise.
539
61c53cc2
HPN
5402002-03-07 Hans-Peter Nilsson <hp@axis.com>
541
542 * ld-cris/expdyn1.d: Tweak for change in elf.sc.
543
acbd2de6
HPN
5442002-02-24 Hans-Peter Nilsson <hp@bitrange.com>
545
546 * ld-sh/ld-r-1.d: Adjust to changes in readelf output.
547 * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
548 ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
549
4bcc9fa4
DJ
5502002-02-18 Daniel Jacobowitz <drow@mvista.com>
551
552 * ld-elfvsb/sh1.c: Fix typo in last change.
553
aa3932f6
DJ
5542002-02-17 Daniel Jacobowitz <drow@mvista.com>
555
556 * ld-elfvsb/sh1.c: Use #pragma weak.
557
3b0f0b37
DJ
5582002-02-17 Daniel Jacobowitz <drow@mvista.com>
559
560 * vers.exp: Do not call diff -q.
561
dd51aa36
HPN
5622002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
563
fe108482
HPN
564 * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
565 output.
566 * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s,
567 ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
568
acdd0e9a
HPN
569 * ld-mmix/bpo-22.d: New test.
570
dd51aa36
HPN
571 * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
572 and .bss.
573
4f70f93f
AM
5742002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
575
576 * ld-selective/selective.exp: Link against libgcc on
577 hppa*-*-linux* targets.
578
fb6de7f3
AO
5792002-02-11 Alexandre Oliva <aoliva@redhat.com>
580
0f8b8904
AO
581 * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
582 * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s.
583 * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications
584 in section ordering.
585 * ld-sh/sh64/crange3-media.rd: Likewise.
586 * ld-sh/sh64/crange3.rd: Likewise.
587 * ld-sh/sh64/crange3.dd: Likewise.
588
fb6de7f3
AO
589 * ld-sh/shared-1.d: Fix relocation addend.
590
c9901271
HPN
5912002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
592
593 * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
594 tests.
595
1b19eb81
AO
5962002-02-08 Alexandre Oliva <aoliva@redhat.com>
597
598 Contribute sh64-elf.
599 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
600 * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets.
601 * ld-sh/sh64/crange3-media.rd: Likewise.
602 * ld-sh/sh64/crange3.rd: Likewise.
603 * ld-sh/sh64/crangerel1.rd: Likewise.
604 * ld-sh/sh64/crangerel2.rd: Likewise.
605 * ld-sh/sh64/reldl32.rd: Likewise.
606 * ld-sh/sh64/reldl64.rd: Likewise.
607 2002-01-28 Alexandre Oliva <aoliva@redhat.com>
608 * ld-sh/sh64/abi32.xd: Formatting changes to match the current
609 output of objdump.
610 * ld-sh/sh64/cmpct1.xd: Likewise.
611 * ld-sh/sh64/crange1.rd: Likewise.
612 * ld-sh/sh64/crange2.rd: Likewise.
613 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
614 * ld-sh/sh64/crange3-media.rd: Likewise.
615 * ld-sh/sh64/crange3.rd: Likewise.
616 * ld-sh/sh64/crangerel1.rd: Likewise.
617 * ld-sh/sh64/crangerel2.rd: Likewise.
618 * ld-sh/sh64/mix1.xd: Likewise.
619 * ld-sh/sh64/mix2.xd: Likewise.
620 * ld-sh/sh64/rel32.xd: Likewise.
621 * ld-sh/sh64/reldl32.rd: Likewise.
622 * ld-sh/sh64/reldl64.rd: Likewise.
623 * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack
624 sessions, to match changes in the linker script.
625 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
626 * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation
627 info to reflect renumbering of relocation types.
628 2001-03-14 DJ Delorie <dj@redhat.com>
629 * ld-sh/sh64/endian.dbd: New file, endian tests.
630 * ld-sh/sh64/endian.dld: Ditto.
3e8cba19
AM
631 * ld-sh/sh64/endian.ld: Ditto.
632 * ld-sh/sh64/endian.s: Ditto.
633 * ld-sh/sh64/endian.sbd: Ditto.
634 * ld-sh/sh64/endian.sld: Ditto.
635 * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld.
1b19eb81
AO
636 2001-03-12 DJ Delorie <dj@redhat.com>
637 * ld-sh/sh64/relax.exp: New file, test disabling relaxing.
638 * ld-sh/sh64/relax1.s: Ditto.
639 * ld-sh/sh64/relax2.s: Ditto.
640 * ld-sh/sh64/relax3.s: Ditto.
641 * ld-sh/sh64/relax4.s: Ditto.
642 * ld-sh/sh64/relfail.exp: New file, test for bogus relocs.
643 * ld-sh/sh64/relfail.s: Ditto.
644 2001-03-12 DJ Delorie <dj@redhat.com>
645 * ld-sh/sh.exp: This test isn't appropriate for SH64 since it
646 uses SH32 assembler files.
647 2001-03-07 DJ Delorie <dj@redhat.com>
648 * ld-selective/selective.exp: Pass "-e _start" for sh64 to
649 accomodate expected start symbol in test.
650 2001-03-06 DJ Delorie <dj@redhat.com>
651 * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64,
652 to match what gcc passes to the linker by default.
653 * ld-selective/selective.exp: Ditto.
654 * ld-srec/srec.exp: Ditto, plus XFAIL for sh64.
655 * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2).
656 2001-03-06 DJ Delorie <dj@redhat.com>
657 * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout.
658 * ld-sh/sh64/abi64.xd (stack): Ditto.
659 * ld-sh/sh64/cmpct1.xd (stack): Ditto.
660 * ld-sh/sh64/crange1.rd (stack): Ditto.
661 * ld-sh/sh64/crange2.rd (stack): Ditto.
662 * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto.
663 * ld-sh/sh64/crange3-media.rd (stack): Ditto.
664 * ld-sh/sh64/crange3.rd (stack): Ditto.
665 * ld-sh/sh64/mix1.xd (stack): Ditto.
666 * ld-sh/sh64/mix2.xd (stack): Ditto.
667 * ld-sh/sh64/shdl32.xd (stack): Ditto.
668 * ld-sh/sh64/shdl64.xd (stack): Ditto.
669 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
670 * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section.
671 * ld-sh/sh64/mix2.xd: Ditto.
672 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com>
673 * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address
674 being SHmedia.
675 * ld-sh/sh64/shdl64.xd: Ditto.
676 * ld-sh/sh64/shdl32.xd: Ditto.
677 * ld-sh/sh64/mix2.xd: Ditto.
678 * ld-sh/sh64/crange3-media.rd: Ditto.
679 * ld-sh/sh64/abi64.xd: Ditto.
680 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
681 * ld-sh/sh64/crange-2a.s (diversion2): New global symbol.
682 * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol.
683 Adjust section type for .cranges; expect sorted contents.
684 * ld-sh/sh64/crange2.rd: Ditto.
685 * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto.
686 * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol.
687 * ld-sh/sh64/crangerel2.rd: Ditto.
688 * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges.
689 * ld-sh/sh64/mix2.xd: Ditto.
690 * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New
691 tests.
692 * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests.
693 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
694 * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid
695 target for (unexpanded) PTB. Add an .align 2 to SHmedia code to
696 keep properly aligned.
697 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly.
698 * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd,
699 ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and
700 R_SH_PT_16 relocation.
701 * ld-sh/sh64/sh64.exp: Run new tests.
702 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
703 * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s,
704 ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s,
705 ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests.
706 * ld-sh/sh64/sh64.exp: Run new tests.
707 * ld-sh/sh64/crange1.rd: Correct section flags.
708 * ld-sh/sh64/crange2.rd: Ditto.
709 * ld-sh/sh64/crangerel1.rd: Ditto.
710 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
711 * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s,
712 ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s,
713 ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s,
714 ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
715 ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for
716 handling .cranges section.
717 * ld-sh/sh64/sh64.exp: Run new tests.
718 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd,
719 ld-sh/sh64/mix2.xd: Adjust for .cranges section.
720 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
721 * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd,
722 ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd,
723 ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd,
724 ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and
725 .data individually 8-byte aligned.
726 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
727 * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd,
728 ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s,
729 ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests.
730 * ld-sh/sh64/sh64.exp: Make it possible to use readelf as
731 inspection tool. Run new tests.
732 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
733 * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd,
734 ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions.
735 * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd,
736 ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests.
737 * ld-sh/sh64/sh64.exp: Run new tests.
738 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
739 * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd,
740 ld-sh/sh64/shcmp-1.s: New test.
741 * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat.
742 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
743 * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI
744 test.
745 * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF.
746 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
747 * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for
748 tests.
749 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
750 * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI
751 registers.
752 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s:
753 New test.
754 * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s,
755 ld-sh/sh64/shmix-3.s: New test.
756 * ld-sh/sh64/sh64.exp: Add new tests to sh64tests.
757 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
758 * ld-sh/sh64: New testsuite.
759
9636f65c
HPN
7602002-02-07 Hans-Peter Nilsson <hp@axis.com>
761
762 * ld-selective/keepdot.s: Remove section specifier.
763
b611beb0
HPN
7642002-02-05 Hans-Peter Nilsson <hp@axis.com>
765
766 * ld-selective/keepdot.d, ld-selective/keepdot.ld,
767 ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
768 * ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
769
a27be4d5
HPN
7702002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
771
772 * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
773 ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
774 ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
775 for on-demand global register allocation.
776
60e955f1
AO
7772002-02-02 Alexandre Oliva <aoliva@redhat.com>
778
779 * ld-sh/shared-1.d: Fix incorrect offsets.
780
fb17c222
HPN
7812002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
782
783 * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,
784 ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d,
785 ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d,
786 ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s,
787 ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s,
788 ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d,
789 ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d,
790 ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d,
791 ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d,
792 ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d,
793 ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
794 ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s,
795 ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d,
796 ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
797
f7a2c2f6
HPN
7982002-01-31 Hans-Peter Nilsson <hp@axis.com>
799
800 * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
801 ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests.
802 * ld-cris/cris.exp: Split run_dump_tests in two parts, executing
803 tests named *dso-*.d first and copying their tmpdir/dump to files
804 named as the .d-file.
805
dbc37f89
AM
8062002-01-31 Alan Modra <amodra@bigpond.net.au>
807
808 * ld-scripts/crossref.exp: Allow foo to have a leading dot.
809 * ld-scripts/cross1.t: Add .opd.
810 * ld-undefined/undefined.exp: Allow leading dot on sym names.
811 * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
812
38b566ae
CD
8132002-01-29 Chris Demetriou <cgd@broadcom.com>
814
815 * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
91c903ab 816 * ld-mips-elf/emrelocs-el.d: Likewise.
38b566ae
CD
817 * ld-mips-elf/emrelocs1.s: Likewise.
818 * ld-mips-elf/emrelocs2.s: Likewise.
819 * ld-mips-elf/emrelocs.ld: Likewise.
820 * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
821
54893deb
HPN
8222002-01-21 Hans-Peter Nilsson <hp@axis.com>
823
824 * ld-cris: New testsuite directory.
825
8b8c5dbd
NC
8262002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
827
828 * ld-sh/sh.exp: Copy start.s file into test directory.
829
8f2a6955
NC
8302002-01-14 Nick Clifton <nickc@cambridge.redhat.com>
831
832 * ld-selective/selective.exp: For ARM targets, link with libgcc.a.
833
a657e7c1
CD
8342002-01-02 Chris Demetriou <cgd@broadcom.com>
835
836 * ld-mips-elf/empic1-ln.d: New file to test basic linking of
837 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
838 * ld-mips-elf/empic1-lp.d: Likewise.
839 * ld-mips-elf/empic1-mn.d: Likewise.
840 * ld-mips-elf/empic1-mp.d: Likewise.
841 * ld-mips-elf/empic1-sn.d: Likewise.
842 * ld-mips-elf/empic1-sp.d: Likewise.
843 * ld-mips-elf/empic1-ref.s: Likewise.
844 * ld-mips-elf/empic1-space.s: Likewise.
845 * ld-mips-elf/empic1-tgt.s: Likewise.
846 * ld-mips-elf/empic2-fwd-0.d: New file to test
847 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
848 cases.
849 * ld-mips-elf/empic2-fwd-1.d: Likewise.
850 * ld-mips-elf/empic2-rev-0.d: Likewise.
851 * ld-mips-elf/empic2-rev-1.d: Likewise.
852 * ld-mips-elf/empic2-ref.s: Likewise.
853 * ld-mips-elf/empic2-space.s: Likewise.
854 * ld-mips-elf/empic2-fwd-tgt.s: Likewise.
855 * ld-mips-elf/empic2-rev-tgt.s: Likewise.
856 * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
857 tests (including those above).
858
82e03011
L
8592001-11-30 H.J. Lu <hjl@gnu.org>
860
861 * ld-elfvers/vers.exp (build_vers_lib): Preserve the library
862 order.
863
67954772
L
8642001-11-29 H.J. Lu <hjl@gnu.org>
865
866 * ld-elfvers/vers.exp (build_vers_lib): Support linking against
867 more than one libraries.
868 Add "vers20a" and "vers20" tests for common symbols.
869
870 * ld-elfvers/vers20.c: New.
871 * ld-elfvers/vers20.dsym: New.
872 * ld-elfvers/vers20.map: New.
873 * ld-elfvers/vers20.ver: New.
874 * ld-elfvers/vers20a.ver: New.
875
f5e04945
L
8762001-11-19 H.J. Lu <hjl@gnu.org>
877
878 * ld-elfvsb/define.s: Mark all global lables as object.
879
880 * ld-elfvsb/hidden0.d: Match large section number.
881 * ld-elfvsb/hidden1.d: Likewise.
882 * ld-elfvsb/internal0.d: Likewise.
883 * ld-elfvsb/internal1.d: Likewise.
884 * ld-elfvsb/protected0.d: Likewise.
885 * ld-elfvsb/protected1.d: Likewise.
886
887 * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
888 * ld-elfvsb/internal0.d: Likewise.
889 * ld-elfvsb/protected0.d: Likewise.
890
c3b1835c
L
8912001-11-15 H.J. Lu <hjl@gnu.org>
892
893 * ld-sh/ld-r-1.d: Updated.
894
86017ce9
NC
8952001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
896
897 * ld-bootstrap/bootstrap.exp: Only scan tail of executable for
898 PE targets.
899
d7b78487
NC
9002001-11-12 Donn Terry <donnte@microsoft.com>
901
902 * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two
903 binary files produced in order to avoid date stamp present in PE
904 binaries.
905
fec91dc5
HPN
9062001-11-11 Hans-Peter Nilsson <hp@bitrange.com>
907
908 * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.
909
3a921b77
L
9102001-11-09 H.J. Lu <hjl@gnu.org>
911
912 * ld-discard/discard.exp: New. Test ld discard.
913 * ld-discard/discard.ld: Likewise.
914 * ld-discard/exit.s: Likewise.
915 * ld-discard/extern.d: Likewise.
916 * ld-discard/extern.s: Likewise.
917 * ld-discard/start.d: Likewise.
918 * ld-discard/start.s: Likewise.
919 * ld-discard/static.d: Likewise.
920 * ld-discard/static.s: Likewise.
921
04827a14
L
9222001-11-02 H.J. Lu <hjl@gnu.org>
923
924 * ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
925
926 * ld-elfvsb/hidden0.d: New.
927 * ld-elfvsb/hidden1.d: New.
928 * ld-elfvsb/internal0.d: New.
929 * ld-elfvsb/internal1.d: New.
930 * ld-elfvsb/protected0.d: New.
931 * ld-elfvsb/protected1.d: New.
932 * ld-elfvsb/undef.s: New.
933 * ld-elfvsb/undef.s: New.
934
dc5e727b
NC
9352001-11-02 NIIBE Yutaka <gniibe@m17n.org>
936
937 * ld-sh/sh.exp: Have its own start.s for linux.
938
6ef81afd
HPN
9392001-10-31 Hans-Peter Nilsson <hp@bitrange.com>
940
45734546 941 * ld-mmix/locdo-1.d: Prune character dump part.
6ef81afd 942 * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
91c903ab
AJ
943 ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
944 ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
945 ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
946 ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
947 ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
948 ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
949 unnecessary empty lines.
6ef81afd 950
3c3bdf30
NC
9512001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
952
953 * ld-mmix: New testsuite directory.
954
7739e068
HPN
9552001-10-14 Hans-Peter Nilsson <hp@bitrange.com>
956
d45d3ffb
HPN
957 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
958 sh*-*-elf.
959
b2da51b6
HPN
960 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
961
7739e068
HPN
962 * ld-sh/rd-sh.exp: New framework file.
963 * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
964 ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
965 test files.
966
8e13f7b1
HPN
9672001-09-29 Hans-Peter Nilsson <hp@axis.com>
968
969 * ld-linkonce/linkonce.exp: New file.
970 * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld,
971 ld-linkonce/zeroehl32.d: New test.
972
5d5849d7
L
9732001-09-25 H.J. Lu <hjl@gnu.org>
974
975 * ld-elfweak/dso.dsym: Updated for alpha.
976 * ld-elfweak/dsodata.dsym: Likewise.
977 * ld-elfweak/strong.sym: Likewise.
978 * ld-elfweak/strongcomm.sym: Likewise.
979 * ld-elfweak/strongdata.sym: Likewise.
980
cfe5266f
HPN
9812001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
982
983 * lib/ld-lib.exp (run_dump_test): Handle new option
984 "objcopy_linked_file". Return after failing, if errors were
985 expected but none were found.
986 (slurp_options): Support underscores in option names.
987
0c52a746
L
9882001-09-14 H.J. Lu <hjl@gnu.org>
989
990 * ld-elfweak/bar.c: Updated.
991 * ld-elfweak/bar1a.c: Likewise.
992 * ld-elfweak/main.c: Likewise.
993 * ld-elfweak/main1.c: Likewise.
994 * ld-elfweak/elfweak.exp: Likewise.
995 * ld-elfweak/weakdata.dsym: Updated.
996
bd7c9df6
L
9972001-09-11 H.J. Lu <hjl@gnu.org>
998
999 * ld-elfweak/elfweak.exp (build_lib): Take a list of object
1000 files.
1001 (build_exec): Likewise.
1002 Add more tests and make some xfail.
1003
1004 * ld-elfweak/dso.dsym: Support symbol versioning.
1005 * ld-elfweak/dsow.dsym: Likewise.
1006
1007 * ld-elfweak/main1.c: New.
1008 * ld-elfweak/bar1a.c: Likewise.
1009 * ld-elfweak/bar1b.c: Likewise.
1010 * ld-elfweak/bar1c.c: Likewise.
1011 * ld-elfweak/foo1a.c: Likewise.
1012 * ld-elfweak/foo1b.c: Likewise.
1013 * ld-elfweak/dsodata.dsym: Likewise.
1014 * ld-elfweak/dsowdata.dsym: Likewise.
1015 * ld-elfweak/weakdata.dsym: Likewise.
1016 * ld-elfweak/strongcomm.sym: Likewise.
1017 * ld-elfweak/strongdata.sym: Likewise.
1018 * ld-elfweak/weakdata.dat: Likewise.
1019 * ld-elfweak/strongdata.dat: Likewise.
1020
16a57284
L
10212001-09-10 H.J. Lu <hjl@gnu.org>
1022
1023 * ld-elfweak/elfweak.exp: New.
1024 * ld-elfweak/bar.c: Likewise.
1025 * ld-elfweak/foo.c: Likewise.
1026 * ld-elfweak/main.c: Likewise.
1027 * ld-elfweak/dso.dsym: Likewise.
1028 * ld-elfweak/dsow.dsym: Likewise.
1029 * ld-elfweak/strong.sym: Likewise.
1030 * ld-elfweak/strong.dat: Likewise.
1031 * ld-elfweak/weak.dat: Likewise.
1032
ad9f78d1
AM
10332001-08-27 Alan Modra <amodra@bigpond.net.au>
1034 Linus Nordberg <linus@swox.se>
1035
1036 * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
1037 * ld-scripts/cross1.t: Add .toc section.
1038 * ld-scripts/cross2.t: Likewise.
1039 * ld-scripts/phdrs.exp: powerpc64 is 64 bit.
1040 * ld-srec/srec.exp: xfail powerpc64
1041
453abe31
NC
10422001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1043
1044 * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
1045 Continue with other tests when there is a compilation error.
1046
39c183c1
NC
10472001-08-01 Loren J. Rittle <ljrittle@acm.org>
1048
1049 * ld-cdtest/cdtest-nrv.dat: New file.
1050 * ld-cdtest/cdtest.exp: Do not require any exception support
1051 library. Check results against NRV.
1052
22a517d0
NC
10532001-08-01 Loren J. Rittle <ljrittle@acm.org>
1054
1055 * ld-srec/srec.exp: Do not require any exception support
1056 library.
1057
e0d85c26
L
10582001-07-27 H.J. Lu <hjl@gnu.org>
1059
1060 * ld-selective/selective.exp: Fix the error in the last change.
1061
067f2074
AM
10622001-07-24 Loren J. Rittle <ljrittle@acm.org>
1063
1064 * ld-selective/selective.exp: Support g++ V3 ABI (along side
1065 the old ABI). Make comparisons against normalized (to
1066 V3-style) demangled nm output.
1067
992c450d
AM
10682001-07-24 Alan Modra <amodra@bigpond.net.au>
1069
1070 * config/default.exp (ld_nm): Add "nmflags" arg.
1071 * lib/ld-lib.exp (default_ld_nm): Likewise.
1072 * ld-empic/empic.exp: Adjust call to ld_nm.
1073 * ld-scripts/defined.exp: Likewise.
1074 * ld-scripts/script.exp: Likewise.
1075 * ld-scripts/sizeof.exp: Likewise.
1076 * ld-selective/selective.exp: Likewise.
1077 * ld-sh/sh.exp: Likewise.
1078
bbfebd39
L
10792001-07-12 H.J. Lu <hjl@gnu.org>
1080
1081 * ld-selective/selective.exp: Mark selective1, selective2,
1082 selective4 and selective5 xfail on alpha*-*.
1083
261def70
HPN
10842001-06-13 Hans-Peter Nilsson <hp@bitrange.com>
1085
1086 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
1087 OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
1088 default.
1089
1090 * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add
1091 new options "ld", "source", "xfail", "target", "notarget" and
1092 "error". Support the runtest_file_p "*.exp=testname" feature.
1093 (slurp_options, regexp_diff, file_contents, verbose_eval): Import
1094 from gas testsuite.
1095
1e9f9630
NC
10962001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
1097
1098 * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule.
1099
66517a2f
L
11002001-06-06 H.J. Lu <hjl@gnu.org>
1101
1102 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
1103 on Linux/mips.
1104
a5c9dff1 1105 * ld-elfvers/vers.exp: Also run on Linux/mips.
66517a2f
L
1106 * ld-elfvsb/elfvsb.exp: Likewise.
1107 * ld-shared/shared.exp: Likewise.
1108
1109 * ld-selective/selective.exp: Mark selective2, selective3,
1110 selective4 and selective5 xfail on Linux/mips.
1111
1112 * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
1113
1114 * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
1115
1116 * ld-srec/srec.exp: Add Linux/mips to xfail.
1117
d52f9762
AM
11182001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1119
1120 * ld-undefined/undefined.exp: Add a setup_xfail line for a test
1121 that will always fail on s/390.
1122
1e329ce6
NC
11232001-05-28 kaz Kojima <kkojima@rr.iij4u.or.jp>
1124
1125 * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for
1126 the text section.
1127
c709b096
AM
11282001-05-25 Alan Modra <amodra@one.net.au>
1129
1130 * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and
1131 linuxaout with linux*aout.
1132
936f9717
L
11332001-05-24 H.J. Lu <hjl@gnu.org>
1134
1135 * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
1136
9d8b3bf4
L
11372001-05-18 H.J. Lu <hjl@gnu.org>
1138
1139 * ld-elfvers/vers.exp: Revert the last change.
1140
1141 * ld-elfvers/vers2.ver: Put back "tmpdir/" the version
1142 references.
1143 * ld-elfvers/vers3.ver: Likewise.
1144 * ld-elfvers/vers6.ver: Likewise.
1145 * ld-elfvers/vers18.ver: Likewise.
1146
0f3f8808
L
11472001-05-17 H.J. Lu <hjl@gnu.org>
1148
1149 * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
1150
1151 * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
1152 definition.
1153 * ld-elfvers/vers2.ver: Likewise.
1154 * ld-elfvers/vers3.ver: Likewise.
1155 * ld-elfvers/vers4a.ver: Likewise.
1156 * ld-elfvers/vers6.ver: Likewise.
1157 * ld-elfvers/vers7a.ver: Likewise.
1158 * ld-elfvers/vers8.ver: Likewise.
1159 * ld-elfvers/vers9.ver: Likewise.
1160 * ld-elfvers/vers15.ver: Likewise.
1161 * ld-elfvers/vers16a.ver: Likewise.
1162 * ld-elfvers/vers17.ver: Likewise.
1163 * ld-elfvers/vers18.ver: Likewise.
1164
8b0fa282
L
11652001-05-03 H.J. Lu <hjl@gnu.org>
1166
1167 * ld-elfvers/vers19.ver: Expect vers17.so instead of
1168 *tmpdir/vers17.so.
1169
7f9adacd
AJ
11702001-05-01 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
1171
1172 * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
1173
1174 * ld-scripts/phdrs.t: Use startaddress that's greater than any
1175 MAXPAGESIZE used.
1176
f0f077e5
L
11772001-04-29 H.J. Lu <hjl@gnu.org>
1178
1179 * ld-shared/symbolic.dat: New.
1180
1181 * ld-shared/shared.exp: Also check -Bsymbolic.
1182
b3992bc7
AJ
11832001-04-28 Andreas Jaeger <aj@suse.de>
1184
1185 * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
1186 special.
1187
358a5502
DB
11882001-04-01 David O'Brien <obrien@FreeBSD.org>
1189 * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
1190 though it doesn't use DWARF2 yet (but its output is identical).
1191
11922001-04-01 David O'Brien <obrien@FreeBSD.org>
44df2f94
DB
1193
1194 * ld-selective/selective.exp: Use -O with gcc rather than -O2.
1195 This optimization level is buggy on some platforms, and this test
1196 is not intended to test compiler optimizations.
1197
b536df83
DD
11982001-03-06 DJ Delorie <dj@redhat.com>
1199
1200 * ld-scripts/cross2.t: Support any type of text/data sections, not
1201 just the canonical ones.
1202
b6a71cca
AM
12032001-02-28 Matt Hiller <hiller@redhat.com>
1204
1205 * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian].
1206 * ld-undefined/undefined.exp: Ditto, and include $flags in ld
1207 invocations.
1208 * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL
1209 and -el.
1210 (is_endian_output_format): New function.
1211 (default_ld_link): Set flags to [big_or_little_endian] only if ld
1212 is being invoked such that the output format being used is of
1213 known endianness.
1214 (default_ld_simple_link): Ditto.
1215
ad995491
L
12162001-02-14 H.J. Lu <hjl@gnu.org>
1217
1218 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
1219 for -static on ia64.
1220
1221 * ld-checks/checks.exp: Don't run on ia64-*-elf* nor
1222 ia64-*-linux*.
1223
1224 * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
1225
1226 * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
1227 Set up expected failures for ia64-*-linux*.
1228 * ld-shared/shared.exp: Likewise.
1229
fef67c28
SC
12302001-02-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1231
1232 * ld-srec/srec.exp (run_srec_test): m6811 code has references
1233 to soft registers, define them with --defsym.
1234 * ld-selective/selective.exp: Likewise.
1235
332dac40
HPN
12362001-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1237
1238 * ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
1239
2ffd68ef
PB
12402001-01-03 Philip Blundell <pb@futuretv.com>
1241
1242 * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
1243 * ld-shared/shared.exp: Likewise.
1244
4f38fc1c
PB
12452001-01-01 Philip Blundell <philb@gnu.org>
1246
7dc542b2
PB
1247 * ld-undefined/weak-undef.exp: New test.
1248 * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
1249 files for above.
1250
4f38fc1c
PB
1251 * ld-elfvers/vers.exp: Run test on Linux/ARM.
1252 * ld-elfvsb/elfvsb.exp: Likewise.
1253 * ld-shared/shared.exp: Likewise.
1254
0fc3347a
NC
12552000-12-31 Nick Clifton <nickc@redhat.com>
1256
1257 * ld-srec/srec.exp: Use --oformat instead of -oformat.
1258
bad19f8f
NC
12592000-12-09 Nick Clifton <nickc@redhat.com>
1260
f6673641
NC
1261 * ld-selective/selective.exp: Link in libgcc when target is v850.
1262
bad19f8f
NC
1263 * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets
1264 because the -oformat linker command switch cannot be used.
1265
1566ad5d
AM
12662000-11-06 Alan Modra <alan@linuxcare.com.au>
1267
1268 * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
1269 (main): Prune unused args.
1270
4291c3fa
HPN
12712000-10-29 Hans-Peter Nilsson <hp@bitrange.com>
1272
1273 * ld-selective/selective.exp <no CXX>: Fix typo for argument to
1274 "untested".
1275
d1d8dddf
L
12762000-10-19 H.J. Lu (hjl@gnu.org)
1277
1278 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
1279 for Linux/PPC.
1280 * ld-shared/shared.exp: Likewise.
1281
d63083ef
HPN
12822000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
1283
1284 * ld-selective/selective.exp: Rearrange to be table-driven.
1285
dc149a6d
AM
12862000-10-07 Alan Modra <alan@linuxcare.com.au>
1287
1288 * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too.
1289
65420b22
AM
12902000-10-02 Alan Modra <alan@linuxcare.com.au>
1291
1292 * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
1293 * ld-scripts/crossref.exp: Ditto.
1294
bd0110a3
HPN
12952000-09-29 Hans-Peter Nilsson <hp@bitrange.com>
1296
1297 * ld-selective/5.cc: New test.
1298 * ld-selective/selective.exp: Run it as xfailed.
1299
1300 * ld-selective/4.cc: Correct spelling of "lose".
1301
3231d22e
AM
13022000-09-05 Alan Modra <alan@linuxcare.com.au>
1303
1304 * ld-selective/selective.exp: Remove the xfails for hppa.
1305
6545f5fb
AO
13062000-08-30 Alexandre Oliva <aoliva@redhat.com>
1307
1308 * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
1309 sh-*-*): With dwarf-2, `undefined function' can't pass.
1310
e1753d2c
L
13112000-08-03 H.J. Lu (hjl@gnu.org)
1312
1313 * ld-bootstrap/bootstrap.exp: Add strip.
1314
360e9586
L
13152000-07-24 H.J. Lu (hjl@gnu.org)
1316
1317 * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
1318 the undefined reference.
1319
08c44e65
L
13202000-07-16 H.J. Lu (hjl@gnu.org)
1321
1322 * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check
1323 and set to "yes" if the protected visibility is expected to
1324 pass.
1325 (visibility_run): Set expected to fail for the "protected"
1326 and "protected_undef_def" tests only if $support_protected is
1327 "no".
1328
1329 * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected
1330 visibility support if defined.
1331
1345a0c0
L
13322000-07-15 H.J. Lu (hjl@gnu.org)
1333
1334 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
1335 for "protected_undef_def".
1336
1337 * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
1338 PROTECTED_WEAK_TEST is defined.
1339 Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
1340 defined.
1341 Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.
1342
1343 * ld-elfvsb/sh1.c (visibility): Mark protected only if
1344 PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
1345 is defined.
1346 (visibility_var): Likewise.
1347
36a3dc51
AM
13482000-07-10 Alan Modra <alan@linuxcare.com.au>
1349
1350 * ld-srec/srec.exp: xfail hppa.
1351
1352 * ld-scripts/weak.exp: Define $global$ for hppa.
1353
1354 * ld-scripts/crossref.exp: Fix string quoting.
1355
7cda33a1
L
13562000-06-05 H.J. Lu (hjl@gnu.org)
1357
1358 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
1359 to link_output and make it global.
1360
1361 * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef",
1362 "hidden_undef_def", "hidden_weak", "protected_undef",
1363 "protected_undef_def" and "protected_weak".
1364 (visibility_run): Likewise.
1365 * ld-elfvsb/main.c: Likewise.
1366 * ld-elfvsb/sh1.c: Likewise.
1367 * ld-elfvsb/sh2.c: Likewise.
1368
1369 * ld-elfvsb/elfvsb.dat: Updated.
1370
e80778cf
L
13712000-05-21 H.J. Lu (hjl@gnu.org)
1372
1373 * ld-elfvsb/main.c (main_visibility_check): Fix the protected
1374 visibility test.
1375
6fc49d28
L
13762000-05-13 H.J. Lu (hjl@gnu.org)
1377
1378 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
1379 to link_output and make it global.
1380
1381 * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
1382 tests.
1383 * ld-elfvsb/elfvsb.dat: Likewise.
1384 * ld-elfvsb/elfvsb.exp: Likewise.
1385 * ld-elfvsb/main.c: Likewise.
1386 * ld-elfvsb/sh1.c: Likewise.
1387 * ld-elfvsb/sh2.c: Likewise.
1388
b32711aa
JW
1389Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com>
1390
a2b64bed 1391 * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
b32711aa 1392
3017ff0e
AM
13932000-04-12 Alan Modra <alan@linuxcare.com.au>
1394
62043cea
AM
1395 * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure.
1396
e76e4c91
AM
1397 * ld-selective/selective.exp (test4): Test for presence of
1398 foo__1B, not absence. Also check for foo__1A and _start.
1399 White space changes throughout file.
3017ff0e 1400
e40eb3e9
NC
14012000-03-13 Nick Clifton <nickc@cygnus.com>
1402
1403 * ld-scripts/phdrs.t: Discard all unexpected sections.
1404
d1bcade6
L
14052000-02-27 H.J. Lu (hjl@gnu.org)
1406
1407 * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
1408
197d87f8
NC
14091999-11-01 Nick Clifton <nickc@cygnus.com>
1410
1411 * ld-selective/selective.exp: Fix test to disable these checks for
1412 PE based targets.
1413
05d26f04
CM
14141999-10-29 Catherine Moore <clm@cygnus.com>
1415
1416 * ld-selective/selective.exp: Remove test6.
1417 * ld-selective/5.cc: Delete.
1418
abdbda5e
NC
14191999-10-28 Scott Bambrough <scottb@netwinder.org>
1420
05d26f04 1421 * ld-srec/srec.exp: Setup expected failures for
abdbda5e
NC
1422 srec tests on ARM Linux.
1423
b7be1db6
AM
14241999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au>
1425
1426 * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load
1427 offset) test.
1428
777690b6
ILT
14291999-09-12 Ian Lance Taylor <ian@zembu.com>
1430
1431 * ld-scripts/script.exp: Add --image-base 0 for PE targets.
1432
5be8a006
ILT
14331999-08-17 H.J. Lu <hjl@gnu.org>
1434
1435 * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
1436
b33b6e45
ILT
14371999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
1438
1439 * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
1440 * ld-shared/shared.exp: Likewise.
1441
38e31547
NC
14421999-07-28 Nick Clifton <nickc@cygnus.com>
1443
1444 * lib/ld-lib.exp (proc big_or_little_endian): New proc.
1445 Determine if a big endian or little endian output format hass
1446 been selected by any of the multilib options, and if so return
1447 a suitable command line option for the linker/assembler.
1448 (proc default_ld_link): Include the result of proc
1449 big_or_little_endian on the command line to the linker.
1450 (proc ld_simple_link): Include the result of proc
1451 big_or_little_endian on the command line to the linker.
1452 (proc default_ld_compile): Append multilib flags to compiler
1453 switches.
1454 (proc default_ld_assemble): Include the result of proc
1455 big_or_little_endian on the command line to the linker.
1456
0cd9f5f0
ILT
14571999-07-21 H.J. Lu <hjl@gnu.org>
1458
1459 * ld-elfvers/vers1.c: Add missing prototypes and include
1460 <stdio.h> if necessary.
1461 * ld-elfvers/vers15.c: Likewise.
1462 * ld-elfvers/vers19.c: Likewise.
1463 * ld-elfvers/vers2.c: Likewise.
1464 * ld-elfvers/vers3.c: Likewise.
1465 * ld-elfvers/vers4.c: Likewise.
1466 * ld-elfvers/vers6.c: Likewise.
1467 * ld-elfvers/vers7.c: Likewise.
1468 * ld-elfvers/vers9.c: Likewise.
1469 * ld-shared/main.c: Likewise.
1470 * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
1471
d49560a9
MM
1472Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com>
1473
1474 * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
1475 with other DWARF2 targets.
1476
5dcf458a
NC
14771999-07-13 Nick Clifton <nickc@cygnus.com>
1478
1479 * ld-undefined/undefined.exp: Do not expect arm toolchains to fail
1480 the undefined line test.
1481
734caf4d
ILT
14821999-07-10 Ian Lance Taylor <ian@zembu.com>
1483
1484 * ld-elfvers/vers.exp: Use -rpath in new vers19 test.
1485
f0489494
ILT
14861999-07-07 Ian Lance Taylor <ian@zembu.com>
1487
1488 * ld-elfvers/vers.exp: Add new tests vers17 to vers19.
1489 * ld/elfvers/{vers17.*, vers18.*, vers19.*}: New files.
1490
197a7bfd
ILT
14911999-06-13 Ian Lance Taylor <ian@zembu.com>
1492
1493 * ld-checks/asm.s: Use a symbol name for .lcomm.
1494 * ld-checks/checks.exp: Use different names for the two tests.
1495 Don't add extra text when invoking fail.
1496
99c262f8
ILT
14971999-06-12 Ian Lance Taylor <ian@zembu.com>
1498
1499 * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
1500 to "*-*-linux*aout*".
1501 * ld-scripts/weak.exp: Likewise.
1502 * ld-shared/shared.exp: Likewise. Simplify condition a bit.
1503
2bdba6c9
AS
1504Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1505
1506 * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
1507 * ld-shared/sh1.c: Fix typo.
1508
77e0b0ef
ILT
15091999-06-04 H.J. Lu <hjl@gnu.org>
1510
1511 * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
1512 necessary.
1513
8535ca75
NC
15141999-05-17 Nick Clifton <nickc@cygnus.com>
1515
1516 * ld-undefined/undefined.exp: Add xfail for mcore-elf.
1517
69f868fa
DD
15181999-05-11 DJ Delorie <dj@cygnus.com>
1519
1520 * ld-srec/srec.exp: Do not run tests for PE based ports.
1521
252b5132
RH
15221999-03-05 Nick Clifton <nickc@cygnus.com>
1523
1524 * ld-selective/selective.exp: Do not run tests for COFF or PE
1525 based ports.
1526
15271999-02-17 Nick Clifton <nickc@cygnus.com>
1528
1529 * ld-undefined/undefined.exp: Add expected failures for StrongARM
1530 targets.
1531
1532 * ld-srec/srec.exp: Add expected failures for StrongARM targets.
1533
1534 * ld-selective/selective.exp: Add expected failure for ARM-COFF
b3992bc7 1535 targets.
252b5132
RH
1536
15371999-02-16 Nick Clifton <nickc@cygnus.com>
1538
1539 * ld-checks/asm.s: Use .long instead of .word.
1540 Replace custom section names with .text, .data and .bss.
1541 * ld-checks/script: Replace custom section names with .text, .data
b3992bc7 1542 and .bss.
252b5132 1543 * ld-checks/checks.exp: Replace custom section names with .text,
b3992bc7 1544 .data and .bss.
252b5132
RH
1545
15461999-02-11 Nick Clifton <nickc@cygnus.com>
1547
1548 * ld-checks: New directory: Tests for the linker's
1549 --check-sections option.
1550 * ld-checks/checks.exp: New file.
1551 * ld-checks/script: Bogus linker script.
1552 * ld-checks/asm.s: Simple test assembler file.
1553
1554Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com>
1555
3e8cba19
AM
1556 * ld-selective/selective.exp: Disable test for unsupported
1557 targets. Change tests to check for absence of symbols instead
1558 of address zero.
252b5132
RH
1559
1560Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com>
1561
1562 * config/default.exp (get_link_files): Quote target_triplet and CC
1563 when invoking shell.
1564 (get_target_emul): Likewise.
1565
15661999-01-03 Ken Raeburn <raeburn@cygnus.com>
1567
1568 * config/default.exp (get_link_files, get_target_emul): New procs;
1569 run shell commands to extract information from configure.host and
1570 configure.tgt in the source tree.
1571 (top level): Use them to get information needed to run tests, if
1572 not otherwise provided.
1573
1574 * ld-shared/elf-offset.ld: New file. Builds a shared library, but
1575 gives non-zero addresses for memory region.
1576 * ld-shared/shared.exp: Run the non-PIC non-AIX test again using
1577 the new linker script.
1578
1579Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au>
1580
1581 * ld-srec/srec.exp: Delete xfails for PPC Linux targets,
1582 newer glibc lets link succeed.
1583
1584Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
1585
1586 * ld-elfvers/vers1.c: Add missing return types and values.
1587 * ld-elfvers/vers2.c: Likewise.
1588 * ld-elfvers/vers3.c: Likewise.
1589 * ld-elfvers/vers4.c: Likewise.
1590 * ld-elfvers/vers5.c: Likewise.
1591 * ld-elfvers/vers6.c: Likewise.
1592 * ld-elfvers/vers7.c: Likewise.
1593 * ld-elfvers/vers9.c: Likewise.
1594 * ld-elfvers/vers15.c: Likewise.
1595
1596Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com>
1597
3e8cba19
AM
1598 * ld-selective: New directory with new files to test
1599 selective linking.
252b5132 1600
3e8cba19 1601 * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name.
b3992bc7 1602
252b5132
RH
1603Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com>
1604
1605 * ld-elfvers/vers16.dsym: Work correctly on a system without
1606 versioned system libraries.
1607
1608Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
1609
1610 * ld-elfvers/vers.exp: Run tests on alpha-linux.
1611 * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
1612 Alpha's use of st_other.
1613
16141998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1615
1616 * ld-elfvers/vers.exp (vers16, vers16a): New tests.
1617 * ld-elfvers/{vers16.*, vers16a.*}: New files.
1618
1619Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com>
1620
1621 * ld-undefined/undefined.exp: Make undefined line test be an xfail
1622 for arm/thunb elf toolchains.
1623
1624Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com>
1625
1626 * ld-undefined/undefined.exp: change test for elf/dwarf2 targets.
1627
1628 * ld-srec/srec.exp: Arm-elf now passes this test.
1629
1630Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com>
1631
1632 * ld-srec/srec.exp: Add arm/thumb-elf expected failures.
b3992bc7 1633
252b5132
RH
1634Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com>
1635
1636 * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap
1637 test if we don't have a static libbfd.a.
1638
1639Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com>
1640
1641 Based on patch from H.J. Lu <hjl@gnu.org>:
1642 * ld-srec/srec.exp: Add xfails for Alpha ELF targets.
1643
1644Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com>
1645
1646 * ld-scripts/weak.t (.text, .data): Focus data to be used.
1647 (/DISCARD/): All the rest.
1648 * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data.
1649
1650Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com>
1651
1652 * config/default.exp: Create tmpdir/gas subdirectory, add a
1653 symlink to as-new, and set gcc_gas_flag variable.
1654 * lib/ld-lib.exp (default_ld_compile): If the compiler appears to
1655 be gcc, use gcc_gas_flag when compiling.
1656
1657Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com>
1658
1659 * ld-elfvers/vers.exp: Just check for i?86 rather than checking
1660 for i386, i486, and i586.
1661 (objdump_versionstuff): If we can't find the line, dump the file.
1662
1663Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com>
1664
1665 * ld-scripts/phdrs.exp: Run test on *-*-eabi*.
1666 * ld-scripts/weak.exp: Likewise.
1667
1668Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com>
1669
1670 * ld-srec/srec.exp: Add xfail for v850.
1671
1672 * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass
1673 these tests.
1674
1675Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com>
1676
1677 * ld-scripts/weak.exp: New test.
1678 * ld-scripts/weak.t: New file.
1679 * ld-scripts/weak1.s: New file.
1680 * ld-scripts/weak2.s: New file.
1681
1682Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au>
1683
1684 * ld-elfvers/vers.exp: Run tests on powerpc ELF targets.
1685 * ld-shared/shared.exp: Likewise.
1686 * ld-elfvers/vers1.dsym: Allow for .sdata.
1687 * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux.
1688
1689Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com>
1690
1691 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
b3992bc7 1692 (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
252b5132
RH
1693 * ld-srec/sr1.c (__main): Change return type to void.
1694 * ld-srec/sr3.cc (__main): Likewise.
1695 (__builtin_delete, __builtin_new): Likewise.
1696 (__get_dynamic_handler_chain): Return 0.
1697 (__get_eh_context): Likewise.
1698
1699Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com>
1700
1701 * ld-undefined/undefined.exp: Add support for thumb-pe target.
1702 * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets.
1703
1704Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1705
1706 * ld-shared/shared.exp: Remove setup_xfails for m68k-linux.
1707
1708Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com>
1709
1710 * ld-shared/main.c (shlib_overriddencall2): New function.
1711 (main): Call shlib_shlibcall2.
1712 * ld-shared/sh1.c (shlib_shlibcall2): New function.
1713 (shlib_overriddencall2): New function.
1714 * ld-shared/shared.dat: Add output line for new test.
1715 * ld-shared/sun4.dat: Likewise.
1716
1717 * ld-srec/sr3.cc (__get_eh_context): New function.
1718
1719Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
1720
1721 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to
1722 avoid compiler warning.
1723 * ld-srec/sr3.cc (class Foo): Likewise.
1724
1725Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com>
1726
1727 * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function.
1728
1729Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com>
1730
1731 * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
1732
1733Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com>
1734
1735 * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets.
1736
1737Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com>
1738
1739 * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which
1740 fixes ARM tests.
1741
1742Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com>
1743
1744 * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM
1745 coff targets.
1746
1747Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com>
1748
1749 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
1750 avoid compiler warning.
1751 * ld-srec/sr3.cc (class Foo): Likewise.
1752
1753Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
1754
1755 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
1756 have any name when looking for entry symbol warnings.
1757
1758 * ld-srec/sr3.cc (__eh_pc): Define.
1759
1760Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
1761
1762 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
b3992bc7 1763 __throw, since the current g++ expects them to be defined.
252b5132
RH
1764
1765Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
1766
1767 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
1768 file if the string libc appears in it.
1769 (objdump_versionstuff): Accept unexpected lines in the output
1770 file. Compare lines using string match.
1771 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
1772
1773Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
1774
1775 * ld-scripts/crossref.exp: Correct string quoting.
1776
1777Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
1778
1779 * config/default.exp: Change ld, as, nm and strip from .new to
1780 -new. Load ld-lib.exp rather than ld.exp.
1781 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
1782 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
1783 DejaGnu changes.
1784
1785Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
1786
1787 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
1788 an alternation. From Greg Margo <gmargo@dl.com>.
1789
1790Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1791
1792 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
1793 with non PIC shared libraries.
1794
1795Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
1796
1797 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
1798 version handling.
1799
1800Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
1801
1802 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
1803
1804Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
1805
1806 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
1807 linking.
1808
1809Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
1810
1811 * config/default.exp: Use $base_dir rather than $objdir when
1812 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
1813
1814Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
1815
1816 * ld-srec/srec.exp: Define various out of line prologue/epilogue
1817 functions for the mn10200 to avoid needing libgcc.a.
1818
1819Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
1820
1821 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
1822
1823Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
1824
1825 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
1826
1827Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
1828
1829 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
1830 * config/default.exp: Set ar and strip.
1831
1832Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
1833
1834 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
1835 prune_system_crud.
1836 * ld-cdtest/cdtest.exp: Ditto.
1837 * ld-scripts/crossref.exp: Ditto.
1838 * ld-sh/sh.exp: Ditto.
1839 * ld-shared/shared.exp: Ditto.
1840 * ld-srec/srec.exp: Ditto.
1841 * lib/ld.exp: Ditto.
1842
1843Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
1844
1845 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
1846 * ld-scripts/script.exp: Ditto.
1847 * ld-sh/sh.exp: Ditto.
1848 * ld-undefined/undefined.exp: Ditto.
1849 * ld-versados/versados.exp: Ditto.
1850 * lib/ld.exp: Ditto.
1851
1852Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
1853
1854 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
1855
1856Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
1857
1858 * lib/ld.exp (default_ld_version): Fix for current version
1859 printing.
1860
1861Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
1862
1863 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
1864
1865Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
1866
1867 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
1868
1869 * lib/ld.exp: Use verbose -log instead of calling both verbose and
1870 send_log.
1871
1872Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
1873
1874 * ld-scripts/phdrs.exp: New test.
1875 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
1876
1877Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
1878
1879 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
1880 V_SPILL and V_FILL.
1881
1882Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
1883
1884 * ld-scripts/crossref.exp: New test.
1885 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
1886 * ld-scripts/{cross1.t, cross2.t}: New files.
1887
1888Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
1889
1890 * ld-sh/sh.exp: Fix debugging messages.
1891 * ld-sh/sh1.s: Use .align 4.
1892
1893Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
1894
1895 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
1896
1897Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1898
1899 * ld-shared/shared.exp: Run the shared library tests on
b3992bc7 1900 Linux/m68k.
252b5132
RH
1901
1902Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
1903
1904 * ld-shared/shared.exp: Run the shared library tests on Linux.
1905
1906Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
1907
1908 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
1909
1910Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
1911
1912 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
1913 * ld-undefined/undefined.exp: Likewise.
1914
1915Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
1916
1917 * ld-undefined/undefined.exp: ELF targets should now pass the
1918 undefined line test.
1919
1920Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
1921
1922 * ld-empic/empic.exp: Update for change to MIPS disassembler.
1923
1924Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
1925
1926 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
1927 when doing the --static test.
1928 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
1929
1930Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
1931
1932 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
1933 when creating ld-partial.o.
1934
1935Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
1936
1937 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
1938 __eabi.
1939
1940Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
1941
1942 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
1943
1944Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
1945
1946 * ld-srec/srec.exp: On a29k targets, use --defsym to define
1947 V_SPILL and V_FILL.
1948 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
1949 * ld-srec/sr3.cc: Likewise.
1950
1951 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
1952
1953Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
1954
1955 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
1956
1957Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
1958
1959 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
1960
1961Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
1962
1963 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
1964
1965Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
1966
1967 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
1968
1969 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
1970 * ld-srec/sr3.cc: Likewise.
1971
1972Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
1973
1974 * ld-empic/empic.exp: Update for changes in objdump output.
1975
1976Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
1977
1978 * ld-srec/srec.exp: New tests.
1979 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
1980 * lib/ld.exp (ld_simple_link): Discard warnings about not being
1981 able to find the entry symbol.
1982
1983Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
1984
1985 * ld-sh/sh2.c (__main): Define.
1986
1987Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
1988
1989 * ld-empic/empic.exp: Accept a . in the address symbol.
1990
1991 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
1992 powerpc*-*-aix*. Add code to create appropriate exports files,
1993 and pass appropriate compilation flags, and test against
1994 appropriate expected output.
1995 * ld-shared/xcoff.dat: New file.
1996 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
1997 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
1998 function pointer, rather than shlib_mainvar.
1999 * ld-shared/sh1.c: Likewise.
2000 * ld-shared/shared.dat: Update for change from using shlib_mainvar
2001 to using shlib_shlibvar1.
2002 * ld-shared/sun4.dat: Likewise.
2003
2004Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
2005
2006 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
2007 convenience when testing XCOFF.
2008
2009Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
2010
2011 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
2012 along with --static.
2013
2014 * ld-scripts/script.s: Make symbols global.
2015
2016Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
2017
2018 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
2019
2020Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
2021
2022 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
2023 prevent the SunOS linker from trying to create a shared library.
2024
2025Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
2026
2027 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
2028 appropriate modifications and setup_xfails.
2029 * ld-shared/sun4.dat: New file.
2030
2031Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
2032
2033 * lib/ld.exp (default_ld_version): Call prune_system_crud.
2034 (default_ld_relocate, default_ld_link): Likewise.
2035 (default_ld_simple_link, default_ld_compile): Likewise.
2036 (default_ld_assemble, default_ld_nm): Likewise.
2037
2038Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
2039
2040 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
2041 tests as untested rather than unresolved.
2042
2043Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
2044
2045 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
2046
2047Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
2048
2049 * ld-scripts/script.exp: Split script verification into a proc.
2050 Add simple test of MRI script.
2051 * ld-scripts/scriptm.t: New file.
2052
2053Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
2054
2055 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
2056 appropriate.
2057
2058Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
2059
2060 * config/default.exp: Define objcopy if it is not defined.
2061 * ld-sh/*: New tests for SH relaxing.
2062
2063 * ld-empic/empic.exp: If $CC does not exist, call untested rather
2064 than unresolved.
2065
2066Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
2067
2068 * ld-undefined/undefined.exp: If $CC does not exist, mark the
2069 tests as untested rather than unresolved. Clear ELF xfails for
2070 mips*, not just mips.
2071
2072Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
2073
2074 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
2075 undefined line test.
2076
2077Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
2078
2079 * ld-undefined/undefined.exp: New test, to check reporting of
2080 undefined symbols.
2081 * ld-undefined/undefined.c: New file.
2082
2083Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
2084
2085 * ld-versados/versados.exp: If a test fails, report it correctly:
2086 don't try to run the next test, and don't report a pass as well as
2087 a fail.
2088
2089Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
2090
a2b64bed 2091 * versados/(t1,t2).ld: End in newlines.
252b5132
RH
2092
2093Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2094
2095 * lib/ld.exp (default_ld_compile): If cc argument is multiple
2096 words, use only the first when trying to verify the availability
2097 of the compiler.
2098
2099Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
2100
2101 * ld-scripts/defined.t: Mention .data and .bss explicitly.
2102
2103Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2104
2105 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
2106 call untested for each test, rather than ignoring it. If one test
2107 fails, go on to the next one instead of returning.
2108 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
2109 unresolved.
2110 * ld-empic/empic.exp: Likewise. Also, always pass the same test
2111 name to pass or fail.
2112 * ld-shared/shared.exp: Likewise. Also, always run all tests.
2113 * ld-scripts/defined.exp: If as or nm fail, mark test as
2114 unresolved. Always pass the same test name to pass or fail.
2115 * ld-scripts/script.exp: Likewise.
2116 * ld-scripts/sizeof.exp: Likewise.
2117
2118Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2119
2120 * ld-scripts/sizeof.exp: New test, based on bug report from
2121 anders.blomdell@control.lth.se.
2122 * ld-scripts/sizeof.s: New file.
2123 * ld-scripts/sizeof.t: New file.
2124
2125Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2126
2127 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
2128 if the linker exists.
2129
2130Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2131
2132 * lib/ld.exp (prune_system_crud): Define if not already defined,
2133 in case the user isn't using the newest DejaGnu version that we
2134 haven't released to the net yet.
2135
2136Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
2137
2138 * config/default.exp: Define objdump if it is not defined.
2139 * ld-empic/*: New tests to test -membedded-pic code.
2140
2141Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2142
2143 * ld-bootstrap/bootstrap.exp: Pass cmp output through
2144 prune_system_crud.
2145 * ld-cdtest/cdtest.exp: Pass diff output through
2146 prune_system_crud.
2147 * ld-shared/shared.exp: Likewise.
2148
2149 * config/default.exp: Remove unused and useless proc ld_load.
2150
2151Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2152
2153 * lib/ld.exp (default_ld_compile): Remove the output file before
2154 compiling.
2155
2156 * ld-shared/shared.exp: Move common test code into a procedure.
2157 Add tests for compiling the non shared code PIC.
2158 * ld-shared/main.c (main): Call main_called, and print the result.
2159 * ld-shared/shared.dat: Adjust accordingly.
2160
2161Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2162
2163 * ld-shared: New directory, with new files to test generating ELF
2164 shared libraries.
2165
2166 * lib/ld.exp (default_ld_compile): If the compilation worked, but
2167 no object file was created, check to see if the compiler foolishly
2168 ignored the -o switch when compiling, and move the resulting
2169 object if it did.
2170
2171Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2172
2173 * VMS does not permits `.' in directory names. Renamed
2174 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
2175 ld.scripts to ld-scripts.
2176
2177Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2178
2179 * config/default.exp: Set variables as and nm. Create tmpdir if
2180 it does not already exist.
2181 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
2182 * ld.cdtest/cdtest.exp: Likewise.
2183 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
2184 here. Change perror for no variables found to fail.
2185 * ld.scripts/script.exp: New test.
2186 * ld.scripts/script.t, ld.scripts/script.s: New files.
2187
2188Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2189
2190 * ld.scripts: New directory.
2191 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
2192 * ld.scripts/defined.t: New file.
2193 * lib/ld.exp (default_ld_simple_link): New function.
2194 (default_ld_assemble, default_ld_nm): New functions.
2195 * config/default.exp: Rename from unix-ld.exp.
2196 (ld_simple_link, ld_assemble, ld_nm): New functions.
2197
2198 * config/unix-ld.exp: Set ld using findfile.
2199 * lib/ld.exp (default_ld_relocate): Return a value. Change format
2200 of log messages.
2201 (default_ld_compile): Likewise.
2202 (default_ld_link): Likewise. Also, don't include $BFDLIB and
2203 $LIBIBERTY in link.
2204 * ld.bootstrap/bootstrap.exp: Rewrite.
2205 * ld.cdtest/cdtest.exp: Rewrite.
2206 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
2207 * ld.cdtest/cdtest-foo.h: Likewise.
2208 * ld.cdtest/cdtest-main.cc: Likewise.
2209
2210Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
2211
2212 * ld.cdtest/cdtest.exp: Don't look for $result before it's
2213 defined.
2214
2215Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
2216
2217 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
3e8cba19 2218 calls with perror calls.
252b5132
RH
2219
2220Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
2221
2222 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
2223 * ld.cdtest/cdtest.exp: Adjusted.
2224
2225Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2226
2227 * lib/ld.exp (simple_diff): Indicate failure if files have
2228 different numbers of lines. Don't muck with $differences to avoid
2229 indicating a pass, just return.
2230
a2b64bed 2231 * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
252b5132
RH
2232 Fix test case to be valid ANSI C++. Don't require use of header
2233 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
a2b64bed 2234 * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
252b5132
RH
2235 commentary on things that are still broken with this test case.
2236
2237Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
2238
a2b64bed 2239 * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
252b5132
RH
2240
2241Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
2242
a2b64bed
NC
2243 * lib/ld.exp: add compiler and linker support
2244 * config/unix-ld.exp: add compiler and linker support
2245 * ld.bootstrap/bootstrap.exp: fixed to do partial links
2246 * ld.cdtest/cdtest.exp: constructor/destructor testscase
252b5132
RH
2247
2248Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
2249
a2b64bed
NC
2250 * lib/ld.exp: new file
2251 * config/unix-ld.exp: new file
2252 * ld.bootstrap/bootstrap.exp: new file