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