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