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