* pe-dll.c (pe_bfd_is_dll): New function.
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>
2
3         * ld-pe/direct.exp: New file.
4         * ld-pe/direct_client.c: Likewise.
5         * ld-pe/direct_dll.c: Likewise.
6
7 2006-12-13  Dave Brolley  <brolley@redhat.com>
8
9         * lib/ld-lib.exp (big_or_little_endian): Accept -meb and
10         -mel for big and little endian respectively.
11
12 2006-12-12  Ina Pandit  <inap@kpitcummins.com>
13
14         * ld-scripts/overlay-size-map.d: Update.
15
16 2006-12-07  H.J. Lu <hjl@gnu.org>
17
18         PR ld/3666
19         * ld-elf/group3a.d: New file.
20         * ld-elf/group3a.s: Likewise.
21         * ld-elf/group3b.d: Likewise.
22         * ld-elf/group3b.s: Likewise.
23
24 2006-12-05  Alan Modra  <amodra@bigpond.net.au>
25
26         * ld-alpha/tlspic.rd: Update for unused section removal.
27         * ld-frv/fdpic-shared-6.d: Likewise.
28         * ld-frv/tls-dynamic-1.d: Update for symbol changes.
29         * ld-frv/tls-dynamic-2.d: Likewise.
30         * ld-frv/tls-dynamic-3.d: Likewise.
31         * ld-frv/tls-initial-shared-2.d: Likewise.
32         * ld-frv/tls-pie-1.d: Likewise.
33         * ld-frv/tls-pie-3.d: Likewise.
34         * ld-frv/tls-relax-dynamic-1.d: Likewise.
35         * ld-frv/tls-relax-dynamic-2.d: Likewise.
36         * ld-frv/tls-relax-dynamic-3.d: Likewise.
37         * ld-frv/tls-relax-initial-shared-2.d: Likewise.
38         * ld-frv/tls-relax-pie-1.d: Likewise.
39         * ld-frv/tls-relax-pie-3.d: Likewise.
40         * ld-frv/tls-relax-shared-1.d: Likewise.
41         * ld-frv/tls-relax-shared-2.d: Likewise.
42         * ld-frv/tls-relax-shared-3.d: Likewise.
43         * ld-frv/tls-relax-static-3.d: Likewise.
44         * ld-frv/tls-shared-1.d: Likewise.
45         * ld-frv/tls-shared-2.d: Likewise.
46         * ld-frv/tls-shared-3.d: Likewise.
47         * ld-frv/tls-static-1.d: Likewise.
48         * ld-frv/tls-static-3.d: Likewise.
49
50 2006-12-05  Jakub Jelinek  <jakub@redhat.com>
51             Alan Modra  <amodra@bigpond.net.au>
52
53         * ld-elfvsb/sh1.c (overriddenvar, shlib_overriddencall2,
54         shared_data): If !SHARED, move to...
55         * ld-elfvsb/sh2.c: ... here.
56         * ld-elfvsb/elfvsb.exp: Add -DSHARED to compiler options when
57         building with $picflag.
58
59 2006-12-04  Jan Beulich  <jbeulich@novell.com>
60
61         * ld-elf/eh-frame-hdr.d: New.
62         * ld-elf/eh-frame-hdr.s: New.
63         * ld-ia64/tlsbin.dd, ld-ia64/tlsbin.sd: Don't depend on exact linkage
64         table layout.
65
66 2006-11-23  Thiemo Seufer  <ths@mips.com>
67
68         * ld-elf/warn2.d: Match regex also for the second segment.
69
70 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
71
72         * ld-arm/mixed-app.d, ld-arm/tls-app.d, ld-arm/tls-lib.d: Update
73         for $d support.
74
75 2006-11-21  Jakub Jelinek  <jakub@redhat.com>
76
77         * ld-elf/eh5.d: New test.
78         * ld-elf/eh5.s: New file.
79         * ld-elf/eh5a.s: New file.
80         * ld-elf/eh5b.s: New file.
81
82 2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
83
84         * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack.
85         * ld-arm/armthumb-lib.d, ld-arm/mixed-app.d, ld-arm/mixed-lib.d:
86         Allow smaller section gap.
87         * ld-arm/armthumb-lib.sym, ld-arm/mixed-lib.sym: Reorder.  Remove
88         _stack.
89         * ld-arm/mixed-app.sym: Remove _stack.
90         * ld-arm/tls-app.d: Update start address.
91
92 2006-11-08  Alan Modra  <amodra@bigpond.net.au>
93
94         * ld-elf/group.ld: Handle .rodata.brlt for powerpc64.
95
96 2006-11-07  Vladimir Prus  <vladimir@codesourcery.com>
97
98         * testsuite/ld-elf/symbol2w.s: Use "%" instead of "@" to avoid
99         breakage on ARM.
100
101 2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>
102
103         * testsuite/ld-elf/symbol1ref.s: Use ".dc.a" instead
104         of ".long".
105
106 2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>
107
108         * testsuite/ld-elf/warn2.d: New.
109         * testsuite/ld-elf/symbol2w.s: New.
110         * testsuite/ld-elf/symbol2ref.s: New.
111
112 2006-11-05  Hans-Peter Nilsson  <hp@axis.com>
113
114         * ld-cris/ldsym1.d: Adjust for semi-recent ld changes.
115
116 2006-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
117
118         * ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.
119
120 2006-11-01  Thiemo Seufer  <ths@mips.com>
121
122         * ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s,
123         ld-mips-elf/mips16-intermix.d: New testcase.
124         * ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.
125
126 2006-10-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
127
128         * ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
129         * ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
130         * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
131         * ld-sh/sh64/crange3.rd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
132         * ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update for removal
133         of empty sections.
134
135 2006-10-25  Alan Modra  <amodra@bigpond.net.au>
136
137         * ld-spu/ovl.d: New file.
138         * ld-spu/ovl.lnk: New file.
139         * ld-spu/ovl.s: New file.
140         * ld-spu/spu.exp: New file.
141         * ld-elf/sec64k.exp: Tweak ld options for SPU.
142         * ld-scripts/empty-orphan.exp: Likewise.
143         * ld-scripts/phdrs.exp: Likewise.
144         * ld-scripts/phdrs2.exp: Likewise.
145
146 2006-10-24  Alan Modra  <amodra@bigpond.net.au>
147
148         * ld-powerpc/plt1.s: New.
149         * ld-powerpc/plt1.d: New.
150         * ld-powerpc/relbrlt.s: New.
151         * ld-powerpc/relbrlt.d: New.
152         * ld-powerpc/powerpc.exp: Run them.
153
154 2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
155
156         * ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
157         * ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
158         * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
159         * ld-sh/sh64/crange3.rd, ld-sh/sh64/crangerel1.rd,
160         * ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd,
161         * ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd,
162         * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd,
163         * ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.
164
165 2006-10-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
166
167         * ld-sh/tlsbin-1.d: Update.
168         * ld-sh/tlspic-1.d: Likewise.
169         * ld-sh/tlstpoff-1.d: Likewise.
170
171 2006-10-20  Richard Sandiford  <richard@codesourcery.com>
172
173         * ld-mips-elf/multi-got-1.d: Remove trailing R_MIPS_NONE entries.
174         * ld-mips-elf/tls-multi-got-1.got: Likewise.
175         * ld-mips-elf/tls-multi-got-1.r: Likewise.
176
177 2006-10-20  Richard Sandiford  <richard@codesourcery.com>
178
179         * ld-mips-elf/multi-got-1.d: Do not expect a particular address
180         for DT_HASH.
181         * ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for
182         the extra program header.
183         * ld-mips-elf/rel32-n32.d: Likewise.
184         * ld-mips-elf/tlslib-o32.got: Likewise.
185         * ld-mips-elf/tlslib-o32-hidden.got: Likewise.
186         * ld-mips-elf/tlslib-o32-ver.got: Likewise.
187         * ld-mips-elf/tls-multi-got-1.got: Likewise.
188         * ld-mips-elf/tls-multi-got-1.r: Likewise.
189         * ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the
190         extra program header.
191         * ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account
192         for the extra program header, and thus the shorter gap between the
193         text and data segments.
194         * ld-mips-elf/tlsdyn-o32-1.d: Likewise.
195         * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
196         * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
197         * ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20
198         to account for the extra program header.
199         * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
200         * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
201         * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
202
203 2006-10-20  Richard Sandiford  <richard@codesourcery.com>
204
205         * ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1
206         to account for the fact that .rel.dyn is now before .text in the
207         section table.
208         * ld-mips-elf/rel32-n32.d: Likewise.
209         * ld-mips-elf/rel64.d: Likewise.
210
211 2006-10-19  Richard Sandiford  <richard@codesourcery.com>
212
213         * ld-mips-elf/tlslib-o32-hidden.got: Sort relocations against the
214         same symbol in order of increasing r_offset.
215         * ld-mips-elf/tls-multi-got-1.got: Likewise.
216         * ld-mips-elf/tls-hidden3.r: Likewise.
217         * ld-mips-elf/tls-hidden4.r: Likewise.
218
219 2006-10-19  Richard Sandiford  <richard@codesourcery.com>
220
221         * ld-mips-elf/multi-got-1.d: Remove DT_DEBUG tag.  Do not require
222         a specific file offset for .dynamic.  Reduce DT_HASH by 8 to account
223         for removed tag.
224         * ld-mips-elf/tls-multi-got-1.r: Likewise.  Also reduce DT_REL by 8.
225         Reduce PLTGOT and symbol values by 16 to account for the removed tag.
226         * ld-mips-elf/textrel-1.d: Remove DT_DEBUG tag.
227         * ld-mips-elf/rel32-n32.d: Reduce addresses by 16 to account for
228         removed DT_DEBUG tag.
229         * ld-mips-elf/rel64.d: Likewise.
230         * ld-mips-elf/tls-multi-got-1.got: Likewise.
231         * ld-mips-elf/tlslib-o32-hidden.got: Likewise.
232
233 2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>
234
235         PR ld/3290
236         * ld-elf/dummy.c: New file.
237         * ld-elf/dwarf.exp: Likewise.
238         * ld-elf/dwarf1.c: Likewise.
239         * ld-elf/dwarf1.h: Likewise.
240         * ld-elf/dwarf1.out: Likewise.
241         * ld-elf/dwarf1main.c: Likewise.
242
243 2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>
244
245         * ld-elf/dl4.c: New file.
246         * ld-elf/dl4.list: Likewise.
247         * ld-elf/dl4a.out: Likewise.
248         * ld-elf/dl4b.out: Likewise.
249         * ld-elf/dl4main.c: Likewise.
250         * ld-elf/dl4xxx.c: Likewise.
251         * ld-elf/dl4xxx.list: Likewise.
252
253         * ld-elf/shared.exp (build_tests): Add libdl4a.so and
254         libdl4b.so.
255         (run_tests): Likewise.
256
257 2006-10-18  Richard Sandiford  <richard@codesourcery.com>
258
259         * ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.
260
261 2006-10-18  Richard Sandiford  <richard@codesourcery.com>
262
263         * ld-mips-elf/rel32-n32.d: Bump addresses by 0x20 to account for
264         the fact that .reginfo is now placed before .text.  Change the
265         section number of .text accordingly.
266
267 2006-10-18  Richard Sandiford  <richard@codesourcery.com>
268
269         * ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000
270         to 0x10000.  Move .reginfo before .text and bump .text addresses
271         by 0x10 to make room.  Move data segment down by 0x10 bytes to
272         account for new size of text segment.
273         * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
274         * ld-mips-elf/elf-rel-got-n64-linux.d: Adjust page gap from
275         0x100000 to 0x10000.
276         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
277
278 2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
279
280         * ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
281         thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
282         * ld-arm/thumb1-bl.d: New.
283         * ld-arm/thumb1-bl.s: New.
284         * ld-arm/thumb2-bl-as-thumb1-bad.d: New.
285         * ld-arm/thumb2-bl-as-thumb1-bad.s: New.
286         * ld-arm/thumb2-bl-bad.d: New.
287         * ld-arm/thumb2-bl-bad.s: New.
288         * ld-arm/thumb2-bl.d: New.
289         * ld-arm/thumb2-bl.s: New.
290
291 2006-10-17  Alan Modra  <amodra@bigpond.net.au>
292
293         * ld-arm/mixed-app.sym, ld-cris/ldsym1.d, ld-cris/libdso-12.d,
294         * ld-cris/v32-ba-1.d, ld-elf/orphan.d, ld-elf/orphan2.d,
295         * ld-i386/tlsbin.rd, ld-i386/tlsbindesc.rd, ld-i386/tlsdesc.rd,
296         * ld-i386/tlsdesc.sd, ld-i386/tlsgdesc.rd, ld-i386/tlsnopic.rd,
297         * ld-i386/tlspic.rd, ld-ia64/tlspic.rd, ld-mips-elf/eh-frame1-n32.d,
298         * ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
299         * ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/mips-elf.exp,
300         * ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d,
301         * ld-mips-elf/rel64.d, ld-mips-elf/tls-multi-got-1.got,
302         * ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tlsdyn-o32-1.d,
303         * ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d,
304         * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d,
305         * ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d,
306         * ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32-hidden.got,
307         * ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got,
308         * ld-mmix/bpo-10.d, ld-powerpc/tlsso.g, ld-powerpc/tlsso.r,
309         * ld-powerpc/tlsso32.d, ld-powerpc/tlsso32.g, ld-powerpc/tlsso32.r,
310         * ld-powerpc/tlstocso.g, ld-powerpc/tlstocso.r, ld-s390/tlspic.rd,
311         * ld-s390/tlspic_64.rd, ld-scripts/empty-address-1.d,
312         * ld-scripts/empty-address-3c.d, ld-scripts/empty-orphan.t,
313         * ld-sh/shared-1.d, ld-sh/tlspic-2.d, ld-sparc/tlssunbin32.rd,
314         * ld-sparc/tlssunbin64.rd, ld-sparc/tlssunpic32.rd,
315         * ld-sparc/tlssunpic64.rd, ld-x86-64/tlsdesc.pd, ld-x86-64/tlsdesc.rd,
316         * ld-x86-64/tlspic.rd: Update for section sym changes.
317
318 2006-10-16  Richard Sandiford  <richard@codesourcery.com>
319
320         * ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000.
321         * ld-mips-elf/jalbal.d: Likewise 0x200000a0.
322         * ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000.
323         * ld-mips-elf/reloc-3-n32.d: Likewise.
324         * ld-mips-elf/reloc-3.d: Likewise.
325         * ld-mips-elf/textrel-1.d: Don't require a specific file offset for
326         .dynamic.
327
328 2006-10-03  Jakub Jelinek  <jakub@redhat.com>
329
330         * ld-elf/eh4.d: New test.
331         * ld-elf/eh4.s: New file.
332         * ld-elf/eh4a.s: New file.
333
334 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
335
336         * ld-arm/use-thumb-lib.sym: Robustify, by ignoring symbols we're
337         not interested in and bucket number.
338
339 2006-10-02  Kai Tietz  <Kai.Tietz@onevision.com>
340
341         * ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target.
342         * ld-pe/pe.exp: Likewise.
343         * lib/ld-lib.exp ( is_pecoff_format): Accept x86_64-pc-mingw64.
344
345 2006-09-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
346
347         * ld-sh/tlspic-2.d: Update.
348
349 2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
350
351         PR ld/3223
352         PR ld/3267
353         * ld-scripts/empty-address-1.d: New file.
354         * ld-scripts/empty-address-1.s: Likewise.
355         * ld-scripts/empty-address-1.t: Likewise.
356         * ld-scripts/empty-address-2.s: Likewise.
357         * ld-scripts/empty-address-2a.d: Likewise.
358         * ld-scripts/empty-address-2a.t: Likewise.
359         * ld-scripts/empty-address-2b.d: Likewise.
360         * ld-scripts/empty-address-2b.t: Likewise.
361         * ld-scripts/empty-address-3.s: Likewise.
362         * ld-scripts/empty-address-3a.d: Likewise.
363         * ld-scripts/empty-address-3a.t: Likewise.
364         * ld-scripts/empty-address-3b.d: Likewise.
365         * ld-scripts/empty-address-3b.t: Likewise.
366         * ld-scripts/empty-address-3c.d: Likewise.
367         * ld-scripts/empty-address-3c.t: Likewise.
368         * ld-scripts/empty-address.exp: Likewise.
369
370 2006-09-21  Andreas Schwab  <schwab@suse.de>
371
372         * ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
373         hosts.
374
375 2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
376
377         * bootstrap/bootstrap.exp: Fix x86_64-mingw32 target test.
378         * ld-fastcall/fastcall.exp: Likewise.
379         * ld-scripts/align.exp: Likewise.
380         * ld-scripts/align2a.d: Likewise.
381         * ld-scripts/defined.exp: Likewise.
382         * ld-scripts/provide.exp: Likewise.
383         * ld-scripts/script.exp: Likewise.
384         * ld-scripts/weak.exp: Likewise.
385         * lib/ld-lib.exp: Detect target as pecoff file format.
386
387 2006-09-18  Thiemo Seufer  <ths@networkno.de>
388             Maciej W. Rozycki  <macro@mips.com>
389
390         * ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
391         * ld-mips-elf/reloc-3-n32.d, ld-mips-elf/reloc-3.d: New files.
392
393 2006-09-18  Thiemo Seufer  <ths@networkno.de>
394
395         * ld-elfcomm/elfcomm.exp: Enable the alignment test for
396         mips*-*-*.
397
398 2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
399
400         * ld-elf/merge.d: Add special case for Score target.
401         * ld-elfcomm/elfcomm.exp: Likewise.
402         * ld-srec/srec.exp: Likewise.
403
404 2006-09-15  H.J. Lu  <hongjiu.lu@intel.com>
405
406         * ld-scripts/overlay-size.t: Discard .reginfo sections.
407
408 2006-09-15  H.J. Lu  <hongjiu.lu@intel.com>
409
410         * ld-elf/hash.d: Don't run for mips targets.
411
412 2006-09-15  H.J. Lu  <hongjiu.lu@intel.com>
413
414         * ld-elf/loadaddr.s: Pad sections to 16 bytes.
415         * ld-elf/loadaddr1.d: Updated.
416         * ld-elf/loadaddr2.d: Likewise.
417         * ld-elf/loadaddr3a.d: Likewise.
418         * ld-elf/loadaddr3b.d: Likewise.
419
420 2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>
421
422         PR ld/3197
423         * ld-elf/hash.d: New test.
424
425 2006-09-04  Vladimir Prus  <vladimir@codesourcery.com>
426
427         * ld-arm/use-thumb-lib.sym: Use regexps instead of
428         absolute addresses, for robustness.
429
430 2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
431
432         * ld-elf/dl1.c: New file.
433         * ld-elf/dl1.list: Likewise.
434         * ld-elf/dl1.out: Likewise.
435         * ld-elf/dl1main.c: Likewise.
436         * ld-elf/dl2.c: Likewise.
437         * ld-elf/dl2.list: Likewise.
438         * ld-elf/dl2a.out: Likewise.
439         * ld-elf/dl2b.out: Likewise.
440         * ld-elf/dl2main.c: Likewise.
441         * ld-elf/dl2xxx.c: Likewise.
442         * ld-elf/dl2xxx.list: Likewise.
443         * ld-elf/dl3.cc: Likewise.
444         * ld-elf/dl3.list: Likewise.
445         * ld-elf/dl3a.out: Likewise.
446         * ld-elf/dl3b.out: Likewise.
447         * ld-elf/dl3header.h: Likewise.
448         * ld-elf/dl3main.cc: Likewise.
449
450         * ld-elf/shared.exp: Updated.
451
452         * lib/ld-lib.exp (run_ld_link_exec_tests): Take an optional
453         argument for source language. Use CC/CXX for link, depending
454         on source language.
455         (run_cc_link_tests): Likewise.
456
457 2006-08-29  Alan Modra  <amodra@bigpond.net.au>
458
459         * ld-elf/loadaddr3a.d: Adjust target test.
460         * ld-elf/loadaddr3b.d: Likewise.
461
462 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
463
464         * ld-elf/loadaddr3.t: New.
465         * ld-elf/loadaddr3a.d: New.
466         * ld-elf/loadaddr3b.d: New.
467
468 2006-08-23  Alan Modra  <amodra@bigpond.net.au>
469
470         * ld-powerpc/plt1.s: New.
471         * ld-powerpc/plt1.d: New.
472         * ld-powerpc/powerpc.exp: Run it.
473
474 2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>
475
476         PR ld/3052
477         * ld-elf/loadaddr1.t: Add "AT (ADDR(.data))".
478         * ld-elf/loadaddr2.t: Likewise.
479
480 2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>
481
482         PR ld/3103
483         * ld-elf/overlay.d: New file.
484         * ld-elf/overlay.s: Likewise.
485         * ld-elf/overlay.t: Likewise.
486
487 2006-08-18  Paul Brook  <paul@codesourcery.com>
488
489         * ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
490         -use-blx to mixed-lib.so
491         * ld-arm/armthumb-lib.d: New file.
492         * ld-arm/armthumb-lib.sym: New file.
493
494 2006-08-18  H.J. Lu  <hongjiu.lu@intel.com>
495
496         PR ld/3052
497         * ld-elf/loadaddr.s: New file.
498         * ld-elf/loadaddr1.d: Likewise.
499         * ld-elf/loadaddr1.t: Likewise.
500         * ld-elf/loadaddr2.d: Likewise.
501         * ld-elf/loadaddr2.t: Likewise.
502
503 2006-08-17  Alan Modra  <amodra@bigpond.net.au>
504
505         * ld-powerpc/tlsexe.d: Update for lazy link stub change.
506         * ld-powerpc/tlsexe.r: Likewise.
507         * ld-powerpc/tlsexetoc.d: Likewise.
508         * ld-powerpc/tlsexetoc.r: Likewise.
509         * ld-powerpc/tlsso.d: Likewise.
510         * ld-powerpc/tlstocso.d: Likewise.
511
512 2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>
513
514         PR ld/3015
515         * ld-elf/binutils.exp: Add tests for "-z relro".
516
517 2006-08-16  Alan Modra  <amodra@bigpond.net.au>
518
519         * ld-scripts/overlay-size-map.d: Update.
520
521 2006-08-11  Thiemo Seufer  <ths@mips.com>
522
523         * ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
524         MIPS small commons.
525
526 2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
527
528         PR ld/3009
529         * ld-scripts/sort.t: New file.
530         * ld-scripts/sort_b_a-1.d: Likewise.
531         * ld-scripts/sort_b_a-1.s: Likewise.
532         * ld-scripts/sort_b_n-1.d: Likewise.
533         * ld-scripts/sort_b_n-1.s: Likewise.
534
535 2006-08-05  Pedro Alves  <pedro_alves@portugalmail.pt>
536
537         * ld-pe/pe.exp: Enable tests on arm-wince-pe.
538         * ld-pe/secrel.d: Adjust test to work on arm-wince-pe too.
539
540 2006-08-04  Richard Sandiford  <richard@codesourcery.com>
541
542         * ld-sh/rd-sh.exp: Treat vxworks1-static.d specially.
543         * ld-sh/sh-vxworks.exp: New file.
544         * ld-sh/sh.exp: Extend sh-linux SIZEOF_HEADERS handling to
545         sh-*-vxworks.
546         * ld-sh/vxworks1-le.dd, ld-sh/vxworks1-lib-le.dd,
547         * ld-sh/vxworks1-lib.dd, ld-sh/vxworks1-lib.nd,
548         * ld-sh/vxworks1-lib.rd, ld-sh/vxworks1-lib.s,
549         * ld-sh/vxworks1-static.d, ld-sh/vxworks1.dd,
550         * ld-sh/vxworks1.ld, ld-sh/vxworks1.rd, ld-sh/vxworks1.s,
551         * ld-sh/vxworks2-static.sd, ld-sh/vxworks2.s,
552         * ld-sh/vxworks2.sd, ld-sh/vxworks3-le.dd,
553         * ld-sh/vxworks3-lib-le.dd, ld-sh/vxworks3-lib.dd,
554         * ld-sh/vxworks3-lib.s, ld-sh/vxworks3.dd, ld-sh/vxworks3.s,
555         * ld-sh/vxworks4.d, ld-sh/vxworks4a.s, ld-sh/vxworks4b.s,
556         * ld-sh/reloc1.s, ld-sh/reloc1.d: New tests.
557
558 2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>
559
560         * ld-elf/noload-1.d: New.
561         * ld-elf/noload-1.s: Likewise.
562         * ld-elf/noload-1.t: Likewise.
563
564 2006-07-29  Richard Sandiford  <richard@codesourcery.com>
565
566         * ld-mips-elf/hash1.s, ld-mips-elf/hash1a.d,
567         * ld-mips-elf/hash1b.d, ld-mips-elf/hash1c.d: New tests.
568         * ld-mips-elf/mips-elf.exp: Run them.
569
570 2006-07-25  Thiemo Seufer  <ths@mips.com>
571
572         * ld-mips-elf/mips16-call-global-2.s,
573         ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
574         Improve test robustness.
575
576 2006-07-21  Nick Clifton  <nickc@redhat.com>
577
578         * ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the
579         multilib being tested.
580
581 2006-07-20  Thiemo Seufer  <ths@mips.com>
582
583         * ld-mips-elf/mips16-call-global-1.s,
584         ld-mips-elf/mips16-call-global-2.s,
585         ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
586         Test linking of external mips16 jumps.
587         * ld-mips-elf/mips-elf.exp: Run new test.
588
589 2006-07-19  Thiemo Seufer  <ths@mips.com>
590
591         * ld-selective/selective.exp: Fix selective testcases for MIPS.
592
593 2006-07-13  Thiemo Seufer  <ths@mips.com>
594
595         * ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got:
596         Update TLS testcases.
597
598 2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>
599
600         PR ld/2884
601         * ld-elf/begin.c: New file.
602         * ld-elf/end.c: Likewise.
603         * ld-elf/endhidden.c: Likewise.
604         * ld-elf/endprotected.c: Likewise.
605         * ld-elf/foo.c: Likewise.
606         * ld-elf/foo.map: Likewise.
607         * ld-elf/hidden.out: Likewise.
608         * ld-elf/main.c: Likewise.
609         * ld-elf/normal.out: Likewise.
610         * ld-elf/shared.exp: Likewise.
611
612         * lib/ld-lib.exp (run_cc_link_tests): New.
613
614 2006-07-12  Richard Sandiford  <richard@codesourcery.com>
615
616         * ld-m68k/merge-ok-1c.d: New test.
617         * ld-m68k/m68k.exp: Run it.
618
619 2006-07-11  Hans-Peter Nilsson  <hp@axis.com>
620
621         * ld-cris/libdso-2.d: Adjust for recent hash-related changes.
622
623 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
624
625         * ld-powerpc/tlsso32.r: Adjust.
626         * ld-powerpc/tlsso32.d: Adjust.
627         * ld-powerpc/tlsso32.g: Adjust.
628         * ld-powerpc/tlsso.r: Adjust.
629         * ld-powerpc/tlsso.g: Adjust.
630         * ld-powerpc/tlstocso.g: Adjust.
631
632 2006-07-05  Thiemo Seufer  <ths@mips.com>
633
634         * ld-mips-elf/multi-got-1.d, ld-mips-elf/tls-multi-got-1.got,
635         ld-mips-elf/tls-multi-got-1.r: Update multigot testcases.
636
637 2006-06-30  H.J. Lu  <hongjiu.lu@intel.com>
638
639         * ld-i386/tlsbindesc.dd: Updated to expect xchg %ax,%ax instead
640         of 2 nops.
641         * ld-i386/tlsdesc.dd: Likewise.
642         * ld-i386/tlsgdesc.dd: Likewise.
643         * ld-x86-64/tlsbindesc.dd: Likewise.
644         * ld-x86-64/tlsdesc.dd: Likewise.
645         * ld-x86-64/tlsdesc.pd: Likewise.
646         * ld-x86-64/tlsgdesc.dd: Likewise.
647
648 2006-06-29  Jakub Jelinek  <jakub@redhat.com>
649
650         PR ld/2513
651         * ld-i386/tlsbin.dd: Fix expected output.
652
653 2006-06-21  Alan Modra  <amodra@bigpond.net.au>
654
655         * ld-elf/tls_common.exp: Match 32-bit output.
656
657 2006-06-20  Jakub Jelinek  <jakub@redhat.com>
658
659         * ld-elf/tls_common.exp: New test.
660         * ld-elf/tls_common.s: New file.
661
662 2006-06-20  Alan Modra  <amodra@bigpond.net.au>
663
664         * ld-elf/eh1.d: Update for fewer program headers.
665         * ld-elf/eh2.d: Likewise.
666         * ld-elf/eh3.d: Likewise.
667
668 2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>
669
670         * ld-arm/arm-elf.exp: New test.
671         * ld-arm/use-thumb-lib.s: New file.
672         * ld-arm/use-thumb-lib.sym: New file.
673
674 2006-06-15  Mark Shinwell  <shinwell@codesourcery.com>
675
676         * ld-arm/group-relocs-alu-bad.d: New test.
677         * ld-arm/group-relocs-alu-bad.s: New test.
678         * ld-arm/group-relocs.d: New test.
679         * ld-arm/group-relocs-ldc-bad.d: New test.
680         * ld-arm/group-relocs-ldc-bad.s: New test.
681         * ld-arm/group-relocs-ldr-bad.d: New test.
682         * ld-arm/group-relocs-ldr-bad.s: New test.
683         * ld-arm/group-relocs-ldrs-bad.d: New test.
684         * ld-arm/group-relocs-ldrs-bad.s: New test.
685         * ld-arm/group-relocs.s: New test.
686         * ld-arm/arm-elf.exp: Wire in new tests.
687
688 2006-06-14  Richard Sandiford  <richard@codesourcery.com>
689
690         * ld-m68k/plt1.s, ld-m68k/plt1-empty.s, ld-m68k/plt1.ld: New files.
691         * ld-m68k/plt1-68020.d, ld-m68k/plt1-cpu32.d: Likewise.
692         * ld-m68k/plt1-isab.d: Likewise.
693         * ld-m68k/m68k.exp: Run new PLT tests.
694
695 2006-06-12  Thiemo Seufer  <ths@mips.com>
696
697         * ld-mips-elf/multi-got-no-shared.d: Adjust for recent change of
698         ELF_MAXPAGESIZE.
699
700 2006-06-11  Richard Sandiford  <richard@codesourcery.com>
701
702         * ld-mips-elf/stub-dynsym-1.s,
703         * ld-mips-elf/stub-dynsym-1.ld,
704         * ld-mips-elf/stub-dynsym-1-7fff.d,
705         * ld-mips-elf/stub-dynsym-1-8000.d,
706         * ld-mips-elf/stub-dynsym-1-fff0.d,
707         * ld-mips-elf/stub-dynsym-1-10000.d,
708         * ld-mips-elf/stub-dynsym-1-2fe80.d: New test.
709         * ld-mips-elf/mips-elf.exp: Run it.
710
711 2006-06-06  Alan Modra  <amodra@bigpond.net.au>
712
713         * ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in
714         any order.
715         * ld-elfvers/vers1.ver: Update.
716         * ld-elfvers/vers2.ver: Update.
717         * ld-elfvers/vers4a.ver: Update.
718         * ld-elfvers/vers7a.ver: Update.
719         * ld-elfvers/vers8.ver: Update.
720         * ld-elfvers/vers9.ver: Update.
721         * ld-elfvers/vers15.ver: Update.
722         * ld-elfvers/vers16a.ver: Update.
723         * ld-elfvers/vers17.ver: Update.
724         * ld-elfvers/vers18.ver: Update.
725         * ld-elfvers/vers20.ver: Update.
726         * ld-elfvers/vers20a.ver: Update.
727         * ld-elfvers/vers21.ver: Update.
728         * ld-elfvers/vers22a.ver: Update.
729         * ld-elfvers/vers22b.ver: Update.
730         * ld-elfvers/vers23a.ver: Update.
731         * ld-elfvers/vers23b.ver: Update.
732         * ld-elfvers/vers23c.ver: Update.
733         * ld-elfvers/vers25a.ver: Update.
734         * ld-elfvers/vers26a.ver: Update.
735         * ld-elfvers/vers27a.ver: Update.
736         * ld-elfvers/vers27d.ver: Update.
737         * ld-elfvers/vers28b.ver: Update.
738         * ld-elfvers/vers29.ver: Update.
739         * ld-elfvers/vers30.ver: Update.
740         * ld-elfvers/vers31.ver: Update.
741
742 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
743
744         * ld-elf/sec64k.exp: Add "main" symbol.  Use dc.a for addresses.
745         Cater for different address sizes.  Match end of line when
746         comparing symbols.
747         * ld-elf/start.s: Use dc.a for addresses.
748
749 2006-06-02  Alan Modra  <amodra@bigpond.net.au>
750
751         * ld-powerpc/tlsexe.r: Update for removal of some section syms.
752         * ld-powerpc/tlsexetoc.r: Likewise.
753         * ld-powerpc/tlsso.r: Likewise.
754         * ld-powerpc/tlstocso.r: Likewise.
755         * ld-s390/tlsbin_64.rd: Likewise.
756         * ld-s390/tlspic_64.rd: Likewise.
757
758 2006-06-02  H.J. Lu  <hongjiu.lu@intel.com>
759
760         PR ld/2723
761         * ld-alpha/tlsbin.rd: Update for removal of some section syms.
762         * ld-alpha/tlsbinr.rd: Likewise.
763         * ld-alpha/tlspic.rd: Likewise.
764         * ld-cris/hiddef1.d: Likewise.
765         * ld-cris/libdso-2.d: Likewise.
766         * ld-elf/sec64k.exp: Likewise.
767         * ld-i386/tlsbin.rd: Likewise.
768         * ld-i386/tlsbindesc.rd: Likewise.
769         * ld-i386/tlsdesc.rd: Likewise.
770         * ld-i386/tlsgdesc.rd: Likewise.
771         * ld-i386/tlsnopic.rd: Likewise.
772         * ld-i386/tlspic.rd: Likewise.
773         * ld-ia64/tlsbin.rd: Likewise.
774         * ld-ia64/tlspic.rd: Likewise.
775         * ld-mmix/bpo-1.d: Likewise.
776         * ld-mmix/bpo-10.d: Likewise.
777         * ld-mmix/bpo-11.d: Likewise.
778         * ld-mmix/bpo-14.d: Likewise.
779         * ld-mmix/bpo-16.d: Likewise.
780         * ld-mmix/bpo-17.d: Likewise.
781         * ld-mmix/bpo-18.d: Likewise.
782         * ld-mmix/bpo-19.d: Likewise.
783         * ld-mmix/bpo-2.d: Likewise.
784         * ld-mmix/bpo-22.d: Likewise.
785         * ld-mmix/bpo-3.d: Likewise.
786         * ld-mmix/bpo-4.d: Likewise.
787         * ld-mmix/bpo-5.d: Likewise.
788         * ld-mmix/bpo-6.d: Likewise.
789         * ld-mmix/bpo-9.d: Likewise.
790         * ld-mmix/bspec1.d: Likewise.
791         * ld-mmix/bspec2.d: Likewise.
792         * ld-mmix/greg-1.d: Likewise.
793         * ld-mmix/greg-19.d: Likewise.
794         * ld-mmix/greg-2.d: Likewise.
795         * ld-mmix/greg-3.d: Likewise.
796         * ld-mmix/greg-4.d: Likewise.
797         * ld-mmix/greg-5.d: Likewise.
798         * ld-mmix/greg-5s.d: Likewise.
799         * ld-mmix/greg-6.d: Likewise.
800         * ld-mmix/greg-7.d: Likewise.
801         * ld-mmix/loc1.d: Likewise.
802         * ld-mmix/loc2.d: Likewise.
803         * ld-mmix/loc3.d: Likewise.
804         * ld-mmix/loc4.d: Likewise.
805         * ld-mmix/loc6.d: Likewise.
806         * ld-mmix/local1.d: Likewise.
807         * ld-mmix/local3.d: Likewise.
808         * ld-mmix/local5.d: Likewise.
809         * ld-mmix/local7.d: Likewise.
810         * ld-mmix/locdo-1.d: Likewise.
811         * ld-mmix/loct-1.d: Likewise.
812         * ld-mmix/locto-1.d: Likewise.
813         * ld-mmix/start-1.d: Likewise.
814         * ld-mmix/undef-3.d: Likewise.
815         * ld-powerpc/tlsexe32.r: Likewise.
816         * ld-powerpc/tlsso32.r: Likewise.
817         * ld-s390/tlsbin.rd: Likewise.
818         * ld-s390/tlspic.rd: Likewise.
819         * ld-sparc/tlssunbin32.rd: Likewise.
820         * ld-sparc/tlssunbin64.rd: Likewise.
821         * ld-sparc/tlssunnopic32.rd: Likewise.
822         * ld-sparc/tlssunnopic64.rd: Likewise.
823         * ld-sparc/tlssunpic32.rd: Likewise.
824         * ld-sparc/tlssunpic64.rd: Likewise.
825         * ld-x86-64/tlsbin.rd: Likewise.
826         * ld-x86-64/tlsbindesc.rd: Likewise.
827         * ld-x86-64/tlsdesc.rd: Likewise.
828         * ld-x86-64/tlsgdesc.rd: Likewise.
829         * ld-x86-64/tlspic.rd: Likewise.
830
831 2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>
832
833         * ld-elf/binutils.exp: Make it Linux only.
834         (strip_test): Renamed to binutils_test. Check for unsupported
835         options.
836         Add more tests.
837
838         * ld-elf/commonpage1.d: Make it Linux only.
839         * ld-elf/maxpage1.d: Likewise.
840
841         * ld-elf/maxpage1.s: Add main, start and __start.
842
843         * ld-elf/maxpage2.d: New file.
844         * ld-elf/tbss1.s: Likewise.
845         * ld-elf/tbss2.s: Likewise.
846         * ld-elf/tdata1.s: Likewise.
847         * ld-elf/tdata2.s: Likewise.
848
849 2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
850
851         * ld-elf/binutils.exp: New file.
852         * ld-elf/commonpage1.d: Likewise.
853         * ld-elf/maxpage1.d: Likewise.
854         * ld-elf/maxpage1.s: Likewise.
855
856 2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
857
858         * ld-x86-64/tlsbin.dd: Updated for 2MB maximum page size.
859         * ld-x86-64/tlsbin.rd: Likewise.
860         * ld-x86-64/tlsbin.sd: Likewise.
861         * ld-x86-64/tlsbin.td: Likewise.
862         * ld-x86-64/tlsbindesc.dd: Likewise.
863         * ld-x86-64/tlsbindesc.rd: Likewise.
864         * ld-x86-64/tlsbindesc.sd: Likewise.
865         * ld-x86-64/tlsbindesc.td: Likewise.
866         * ld-x86-64/tlsdesc.dd: Likewise.
867         * ld-x86-64/tlsdesc.pd: Likewise.
868         * ld-x86-64/tlsdesc.rd: Likewise.
869         * ld-x86-64/tlsdesc.sd: Likewise.
870         * ld-x86-64/tlsdesc.td: Likewise.
871         * ld-x86-64/tlsgdesc.dd: Likewise.
872         * ld-x86-64/tlspic.dd: Likewise.
873         * ld-x86-64/tlspic.rd: Likewise.
874         * ld-x86-64/tlspic.sd: Likewise.
875         * ld-x86-64/tlspic.td: Likewise.
876
877 2006-05-24  Paul Brook  <paul@codesourcery.com>
878
879         * ld-arm/arm-app-abs32.d: Update expected output.
880         * ld-arm/arm-app.d: Ditto.
881         * ld-arm/arm-lib-plt32.d: Ditto.
882         * ld-arm/arm-lib.d: Ditto.
883         * ld-arm/mixed-app-v5.d: Ditto.
884         * ld-arm/mixed-app.d: Ditto.
885         * ld-arm/mixed-lib.d: Ditto.
886
887 2006-05-23  H.J. Lu  <hongjiu.lu@intel.com>
888
889         PR ld/2655
890         PR ld/2657
891         * ld-elf/eh1.d: New file.
892         * ld-elf/eh1.s: Likewise.
893         * ld-elf/eh1a.s: Likewise.
894         * ld-elf/eh2.d: Likewise.
895         * ld-elf/eh2a.s: Likewise.
896         * ld-elf/eh3.d: Likewise.
897         * ld-elf/eh3.s: Likewise.
898         * ld-elf/eh3a.s: Likewise.
899
900 2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
901
902         * ld-mips-elf/textrel-1.d: Relax some patterns.
903
904 2006-05-22  Nick Clifton  <nickc@redhat.com>
905
906         * ld-elf/start.s (start): Add this symbol for SH targets.
907         (main): Add this symbol for HPPA targets.
908
909 2006-05-19  Alan Modra  <amodra@bigpond.net.au>
910
911         * ld-scripts/empty-orphan.d: Update again.
912
913         * ld-scripts/empty-orphan.t: Discard .reginfo.
914         * ld-scripts/empty-orphan.d: Update.
915
916 2006-05-17  Thiemo Seufer  <ths@mips.com>
917
918         * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
919         Add __start as entry symbol.
920
921 2006-05-16  Thiemo Seufer  <ths@mips.com>
922
923         * ld-elf/orphan.ld: Add placement for MIPS .reginfo section.
924
925 2006-05-15  Paul Brook  <paul@codesourcery.com>
926
927         * ld-arm/arm-be8.d: New test.
928         * ld-arm/arm-be8.s: New test.
929         * ld-arm/arm-elf.exp: Add arm-be8.
930
931 2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
932
933         * ld-elf/stab.d: Skip ia64-*-*.
934
935 2006-05-11  Paul Brook  <paul@codesourcery.com>
936
937         * ld-arm/arm-elf.exp: Add arm-movwt.
938         * ld-arm/arm-movwt.d: New test.
939         * ld-arm/arm-movwt.s: New test.
940         * ld-arm/arm.ld: Add .far.
941
942 2006-05-11  Mike Bland  <mbland@google.com>
943
944         * ld-elf/stab.d: New.
945
946 2006-05-10  Thiemo Seufer  <ths@debian.org>
947
948         * ld-elf/sec64k.exp: Extend for MIPS ELF.
949
950 2006-05-05  Alan Modra  <amodra@bigpond.net.au>
951
952         * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
953         * ld-powerpc/tlsexetoc.g: Likewise.
954
955 2006-05-02  H.J. Lu  <hongjiu.lu@intel.com>
956
957         * ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *.
958         * ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise.
959         * ld-srec/sr3.cc (Foo::Foo): Likewise.
960
961 2006-05-02  Paul Brook  <paul@codesourcery.com>
962
963         * ld-arm/arm-elf.exp: Add thumb-rel32.
964         * ld-arm/thumb-rel32.d: New test.
965         * ld-arm/thumb-rel32.s: New test.
966
967 2006-04-29  H.J. Lu  <hongjiu.lu@intel.com>
968
969         * ld-elfvers/vers.exp: Xfail vers7a, vers7, vers23a, vers23b,
970         vers23c, vers23d, vers23, vers25a, vers25b1, vers25b2, vers27a,
971         vers27b, vers27c1, vers27c2, vers27d4 and vers27d5 if PIC is
972         required.
973
974 2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>
975
976         * ld-alpha/tlsbin.rd: Updated for readelf change.
977         * ld-alpha/tlsbinr.rd: Likewise.
978         * ld-alpha/tlspic.rd: Likewise.
979
980 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
981
982         * ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
983         * ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
984         * ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
985         * ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
986         * ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
987         * ld-sparc/sparc.exp: Run them.
988
989 2006-04-05  Ben Elliston  <bje@au.ibm.com>
990
991         * lib/ld-lib.exp: Comment cleanups.
992
993 2006-03-27  Richard Sandiford  <richard@codesourcery.com>
994
995         * ld-mips-elf/tls-hidden3a.s, ld-mips-elf/tls-hidden3b.s,
996         * ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
997         * ld-mips-elf/tls-hidden3.ld, ld-mips-elf/tls-hidden3.r,
998         * ld-mips-elf/tls-hidden4a.s, ld-mips-elf/tls-hidden4b.s,
999         * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: New tests.
1000         * ld-mips-elf/mips-elf.exp: Run them.
1001
1002 2006-03-25  Richard Sandiford  <richard@codesourcery.com>
1003
1004         * ld-m68k/merge-error-1a.s, ld-m68k/merge-error-1b.s,
1005         * ld-m68k/merge-error-1a.d, ld-m68k/merge-error-1b.d,
1006         * ld-m68k/merge-error-1c.d, ld-m68k/merge-error-1d.d,
1007         * ld-m68k/merge-error-1e.d, ld-m68k/merge-ok-1a.d,
1008         * ld-m68k/merge-ok-1b.d: New tests.
1009         * ld-m68k/m68k.exp: Run them.
1010
1011 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
1012
1013         * ld-mips/vxworks1.dd, ld-mips/vxworks1.ld, ld-mips/vxworks1-lib.dd,
1014         * ld-mips/vxworks1-lib.nd, ld-mips/vxworks1-lib.rd,
1015         * ld-mips/vxworks1-lib.s, ld-mips/vxworks1.rd, ld-mips/vxworks1.s,
1016         * ld-mips/vxworks1-static.d, ld-mips/vxworks2.s, ld-mips/vxworks2.sd,
1017         * ld-mips/vxworks2-static.sd: New tests.
1018         * ld-mips/mips-elf.exp: Run them.
1019
1020 2006-03-17  Alexandre Oliva  <aoliva@redhat.com>
1021
1022         * ld-powerpc/tls32.s: Verify that +32768 @plt addend is
1023         discarded.
1024
1025 2006-03-14  Richard Sandiford  <richard@codesourcery.com>
1026
1027         * ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
1028         * ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
1029         * ld-mips/mips-elf.exp: Run it.
1030
1031 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
1032
1033         * ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
1034         * ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
1035         * ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
1036         * ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
1037         * ld-arm/vxworks2-static.sd: New tests.
1038         * ld-arm/arm-elf.exp: Run them.
1039
1040 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
1041
1042         * ld-m68k: New tests.
1043
1044 2006-03-03  Richard Sandiford  <richard@codesourcery.com>
1045
1046         * ld-i386/vxworks1-static.d, ld-i386/vxworks2.s,
1047         * ld-i386/vxworks2.sd, ld-i386/vxworks2-static.sd: New tests.
1048         * ld-i386/i386.exp: Run them.
1049         * ld-powerpc/vxworks1-static.d, ld-powerpc/vxworks2.s,
1050         * ld-powerpc/vxworks2.sd, ld-powerpc/vxworks2-static.sd: New tests.
1051         * ld-powerpc/powerpc.exp: Run them.
1052
1053 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1054
1055         * ld-powerpc/vxworks1.ld: Use a page alignment of 0x10000.
1056         * ld-powerpc/vxworks1.dd: Update accordingly.
1057         * ld-powerpc/vxworks1-lib.nd: Likewise.
1058         * ld-powerpc/vxworks1-lib.rd: Likewise.
1059         * ld-powerpc/vxworks1.rd: Likewise.
1060
1061 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1062
1063         * ld-i386/vxworks1.ld (.data): New section.
1064         * ld-i386/vxworks1-lib.s: Add a pointer to a local symbol.
1065         * ld-i386/vxworks1-lib.rd: Test for the associated reloc.
1066         * ld-powerpc/vxworks1.ld (.data): New section.
1067         * ld-powerpc/vxworks1-lib.s: Add a pointer to a local symbol.
1068         * ld-powerpc/vxworks1-lib.rd: Test for the associated reloc.
1069
1070 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1071
1072         * ld-i386/ld-i386/vxworks1-lib.nd: New test.
1073         * ld-i386/i386.exp: Run it.
1074         * ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test.
1075         * ld-powerpc/powerc.exp: Run it.
1076
1077 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1078
1079         * ld-i386/vxworks1.ld: Use bigger alignments.  Make sure .bss isn't
1080         placed as an orphan.
1081         * ld-i386/vxworks1-lib.dd, ld-i386/vxworks1.dd,
1082         * ld-i386/vxworks1.rd: Update accordingly.
1083         * ld-i386/vxworks1-lib.rd: Likewise.  Remove symbol indexes.
1084
1085 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1086
1087         * ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
1088         * ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
1089         * ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
1090         * ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
1091         * ld-powerpc/powerpc.exp: Run it.
1092
1093 2006-02-28  Richard Sandiford  <richard@codesourcery.com>
1094
1095         * ld-i386/vxworks1-lib.s, ld-i386/vxworks1-lib.dd,
1096         * ld-i386/vxworks1-lib.rd, ld-i386/vxworks1.s, ld-i386/vxworks1.dd,
1097         * ld-i386/vxworks1.rd, ld-i386/vxworks1.ld: New test.
1098         * ld-i386/i386.exp: Run it.
1099
1100 2006-02-28  Richard Sandiford  <richard@codesourcery.com>
1101
1102         * ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
1103         * ld-i386/i386.exp: Run it.
1104
1105 2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1106
1107         * ld-pie/weakundef-data.c: Fix the typo.
1108
1109 2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>
1110
1111         * ld-pie/pie.c: New file.
1112
1113         * ld-pie/pie.exp: Check if compiler supports -pie.
1114
1115 2006-02-20  H.J. Lu  <hongjiu.lu@intel.com>
1116
1117         PR ld/2218
1118         * ld-pie/pie.exp: Add the weak undefined data test.
1119
1120         * ld-pie/weakundef-data.c: New file.
1121
1122 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
1123             Anil Paranjape   <anilp1@kpitcummins.com>
1124             Shilin Shakti    <shilins@kpitcummins.com>
1125
1126         * ld-xc16x: New directory.
1127         * ld-xc16x/absrel.d: New file.
1128         * ld-xc16x/absrel.s: New file.
1129         * ld-xc16x/offset.d: New file.
1130         * ld-xc16x/offset.s: New file.
1131         * ld-xc16x/pcreloc.d: New file.
1132         * ld-xc16x/pcreloc.s: New file.
1133         * ld-xc16x/xc16x.exp: New file.
1134
1135 2006-02-07  Paul Brook  <paul@codesourcery.com>
1136
1137         * ld-arm/arm-elf.exp: Add thumb-entry test.
1138         * ld-arm/thumb-entry.d: New test.
1139         * ld-arm/thumb-entry.s: New test.
1140
1141 2006-02-04  Richard Sandiford  <richard@codesourcery.com>
1142
1143         * ld-mips-elf/tls-hidden2a.s, ld-mips-elf/tls-hidden2b.s,
1144         * ld/testsuite/ld-mips-elf/tls-hidden2.d,
1145         * ld/testsuite/ld-mips-elf/tls-hidden2-got.d: New test.
1146         * ld-mips-elf/mips-elf.exp: Run it.
1147
1148 2006-02-04  Richard Sandiford  <richard@codesourcery.com>
1149
1150         * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour.
1151         * ld-mips-elf/rel32-o32.d: Likewise.
1152         * ld-mips-elf/rel64.d: Likewise.
1153         * ld-mips-elf/tls-multi-got-1.got: Likewise.
1154         * ld-mips-elf/tls-multi-got-1.r: Likewise.
1155         * ld-mips-elf/tlsdyn-o32-1.d: Likewise.
1156         * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
1157         * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
1158         * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
1159         * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
1160         * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
1161         * ld-mips-elf/tlsdyn-o32.d: Likewise.
1162         * ld-mips-elf/tlsdyn-o32.got: Likewise.
1163         * ld-mips-elf/tlslib-o32-hidden.got: Likewise.
1164         * ld-mips-elf/tlslib-o32-ver.got: Likewise.
1165         * ld-mips-elf/tlslib-o32.got: Likewise.
1166
1167 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1168
1169         * ld-i386/tlsbin.rd: Undo the last change.
1170         * ld-i386/tlsbindesc.rd: Likewise.
1171         * ld-i386/tlsdesc.rd: Likewise.
1172         * ld-i386/tlsnopic.rd: Likewise.
1173         * ld-i386/tlspic.rd: Likewise.
1174         * ld-powerpc/tlsexe.r: Likewise.
1175         * ld-powerpc/tlsexe32.r: Likewise.
1176         * ld-powerpc/tlsexetoc.r: Likewise.
1177         * ld-powerpc/tlsso.r: Likewise.
1178         * ld-powerpc/tlsso32.r: Likewise.
1179         * ld-powerpc/tlstocso.r: Likewise.
1180         * ld-s390/tlsbin.rd: Likewise.
1181         * ld-s390/tlsbin_64.rd: Likewise.
1182         * ld-s390/tlspic.rd: Likewise.
1183         * ld-s390/tlspic_64.rd: Likewise.
1184         * ld-sh/tlsbin-2.d: Likewise.
1185         * ld-sh/tlspic-2.d: Likewise.
1186         * ld-x86-64/tlsbin.rd: Likewise.
1187         * ld-x86-64/tlsbindesc.rd: Likewise.
1188         * ld-x86-64/tlsdesc.rd: Likewise.
1189         * ld-x86-64/tlspic.rd: Likewise.
1190
1191 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1192
1193         * ld-i386/tlsbin.rd: Update for changed segment map.
1194         * ld-i386/tlsbindesc.rd: Likewise.
1195         * ld-i386/tlsdesc.rd: Likewise.
1196         * ld-i386/tlsnopic.rd: Likewise.
1197         * ld-i386/tlspic.rd: Likewise.
1198         * ld-powerpc/tlsexe.r: Likewise.
1199         * ld-powerpc/tlsexe32.r: Likewise.
1200         * ld-powerpc/tlsexetoc.r: Likewise.
1201         * ld-powerpc/tlsso.r: Likewise.
1202         * ld-powerpc/tlsso32.r: Likewise.
1203         * ld-powerpc/tlstocso.r: Likewise.
1204         * ld-s390/tlsbin.rd: Likewise.
1205         * ld-s390/tlsbin_64.rd: Likewise.
1206         * ld-s390/tlspic.rd: Likewise.
1207         * ld-s390/tlspic_64.rd: Likewise.
1208         * ld-sh/tlsbin-2.d: Likewise.
1209         * ld-sh/tlspic-2.d: Likewise.
1210         * ld-x86-64/tlsbin.rd: Likewise.
1211         * ld-x86-64/tlsbindesc.rd: Likewise.
1212         * ld-x86-64/tlsdesc.rd: Likewise.
1213         * ld-x86-64/tlspic.rd: Likewise.
1214
1215 2006-01-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
1216
1217         * ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1
1218         and Solaris 2.6.
1219
1220 2006-01-27  H.J. Lu  <hongjiu.lu@intel.com>
1221
1222         PR ld/2218
1223         * ld-pie/pie.exp: New file.
1224         * ld-pie/weakundef.c: Likewise.
1225         * ld-pie/weakundef.out: Likewise.
1226
1227         * lib/ld-lib.exp (run_ld_link_exec_tests): Fix nesting. Support
1228         building PIE and shared library.
1229
1230 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
1231
1232         Introduce TLS descriptors for i386 and x86_64.
1233         * ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
1234         Add new tests.
1235         * ld-i386/pcrel16.d: Add -melf_i386.
1236         * ld-i386/pcrel8.d: Likewise.
1237         * ld-i386/tlsbindesc.dd: New.
1238         * ld-i386/tlsbindesc.rd: New.
1239         * ld-i386/tlsbindesc.s: New.
1240         * ld-i386/tlsbindesc.sd: New.
1241         * ld-i386/tlsbindesc.td: New.
1242         * ld-i386/tlsdesc.dd: New.
1243         * ld-i386/tlsdesc.rd: New.
1244         * ld-i386/tlsdesc.s: New.
1245         * ld-i386/tlsdesc.sd: New.
1246         * ld-i386/tlsdesc.td: New.
1247         * ld-i386/tlsgdesc.dd: New.
1248         * ld-i386/tlsgdesc.rd: New.
1249         * ld-i386/tlsgdesc.s: New.
1250         * ld-x86-64/x86-64.exp: Run new tests.
1251         * ld-x86-64/tlsbindesc.dd: New.
1252         * ld-x86-64/tlsbindesc.rd: New.
1253         * ld-x86-64/tlsbindesc.s: New.
1254         * ld-x86-64/tlsbindesc.sd: New.
1255         * ld-x86-64/tlsbindesc.td: New.
1256         * ld-x86-64/tlsdesc.dd: New.
1257         * ld-x86-64/tlsdesc.pd: New.
1258         * ld-x86-64/tlsdesc.rd: New.
1259         * ld-x86-64/tlsdesc.s: New.
1260         * ld-x86-64/tlsdesc.sd: New.
1261         * ld-x86-64/tlsdesc.td: New.
1262         * ld-x86-64/tlsgdesc.dd: New.
1263         * ld-x86-64/tlsgdesc.rd: New.
1264         * ld-x86-64/tlsgdesc.s: New.
1265
1266 2006-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
1267
1268         * ld-mmix/sec-1.d: Adjust for section order changes.
1269
1270 For older changes see ChangeLog-2005
1271 \f
1272 Local Variables:
1273 mode: change-log
1274 left-margin: 8
1275 fill-column: 74
1276 version-control: never
1277 End: