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