Add a testcase for PR ld/12627.
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2011-04-04  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/12627
4         * ld-i386/i386.exp: Run pr12627.
5
6         * ld-i386/pr12627.d: New.
7         * ld-i386/pr12627.s: Likewise.
8         * ld-i386/pr12627.t: Likewise.
9
10 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
11
12         * ld-scripts/crossref.exp: Add CFLAGS for tic6x*-*-*.
13         * ld-elf/sec-to-seg.exp: Remove tic6x from list of targets defining
14         pagesize to 1.
15         * ld-tic6x/tic6x.exp: Add support for DSBT shared library/executable
16         linking tests.
17         * ld-tic6x/dsbt.ld: New linker script.
18         * ld-tic6x/dsbt-be.ld: New linker script.
19         * ld-tic6x/dsbt-overflow.ld: New linker script.
20         * ld-tic6x/dsbt-inrange.ld: New linker script.
21         * ld-tic6x/shlib-1.s: New test.
22         * ld-tic6x/shlib-2.s: New test.
23         * ld-tic6x/shlib-app-1r.s: New test.
24         * ld-tic6x/shlib-app-1.s: New test.
25         * ld-tic6x/shlib-1.sd: New test.
26         * ld-tic6x/shlib-1.dd: New test.
27         * ld-tic6x/shlib-app-1.rd: New test.
28         * ld-tic6x/shlib-app-1rb.rd: New test.
29         * ld-tic6x/shlib-app-1.sd: New test.
30         * ld-tic6x/static-app-1rb.od: New test.
31         * ld-tic6x/shlib-app-1.dd: New test.
32         * ld-tic6x/shlib-app-1rb.sd: New test.
33         * ld-tic6x/static-app-1b.od: New test.
34         * ld-tic6x/static-app-1r.od: New test.
35         * ld-tic6x/shlib-1rb.rd: New test.
36         * ld-tic6x/shlib-app-1rb.dd: New test.
37         * ld-tic6x/shlib-1rb.sd: New test.
38         * ld-tic6x/shlib-1rb.dd: New test.
39         * ld-tic6x/shlib-app-1b.od: New test.
40         * ld-tic6x/tic6x.exp: New test.
41         * ld-tic6x/static-app-1rb.rd: New test.
42         * ld-tic6x/shlib-app-1r.od: New test.
43         * ld-tic6x/static-app-1.od: New test.
44         * ld-tic6x/static-app-1b.rd: New test.
45         * ld-tic6x/static-app-1r.rd: New test.
46         * ld-tic6x/static-app-1rb.sd: New test.
47         * ld-tic6x/static-app-1b.sd: New test.
48         * ld-tic6x/static-app-1rb.dd: New test.
49         * ld-tic6x/static-app-1r.sd: New test.
50         * ld-tic6x/static-app-1b.dd: New test.
51         * ld-tic6x/shlib-1b.rd: New test.
52         * ld-tic6x/static-app-1r.dd: New test.
53         * ld-tic6x/shlib-app-1b.rd: New test.
54         * ld-tic6x/shlib-1r.rd: New test.
55         * ld-tic6x/shlib-app-1r.rd: New test.
56         * ld-tic6x/shlib-1b.sd: New test.
57         * ld-tic6x/static-app-1.rd: New test.
58         * ld-tic6x/shlib-app-1b.sd: New test.
59         * ld-tic6x/shlib-1r.sd: New test.
60         * ld-tic6x/shlib-1b.dd: New test.
61         * ld-tic6x/shlib-app-1r.sd: New test.
62         * ld-tic6x/shlib-app-1b.dd: New test.
63         * ld-tic6x/shlib-1r.dd: New test.
64         * ld-tic6x/static-app-1.sd: New test.
65         * ld-tic6x/shlib-app-1r.dd: New test.
66         * ld-tic6x/static-app-1.dd: New test.
67         * ld-tic6x/shlib-noindex.rd: New test.
68         * ld-tic6x/shlib-noindex.dd: New test.
69         * ld-tic6x/shlib-noindex.sd: New test.
70         * ld-tic6x/got-reloc-local-1.s: New test.
71         * ld-tic6x/got-reloc-local-2.s: New test.
72         * ld-tic6x/got-reloc-local-r.d: New test.
73         * ld-tic6x/got-reloc-global.s: New test.
74         * ld-tic6x/got-reloc-global-addend-1.d: New test.
75         * ld-tic6x/got-reloc-global-addend-1.s: New test.
76         * ld-tic6x/got-reloc-global-addend-2.d: New test.
77         * ld-tic6x/got-reloc-inrange.d: New test.
78         * ld-tic6x/got-reloc-overflow.d: New test.
79         * ld-tic6x/got-reloc-global-addend-2.s: New test.
80         * ld-tic6x/dsbt-index-error.d: New test.
81         * ld-tic6x/dsbt-index.d: New test.
82         * ld-tic6x/dsbt-index.s: New test.
83         * ld-tic6x/shlib-app-1.od: New test.
84         * ld-tic6x/shlib-app-1rb.od: New test.
85         * ld-tic6x/shlib-1.rd: New test.
86         * ld-tic6x/weak.d: New test.
87         * ld-tic6x/weak-be.d: New test.
88         * ld-tic6x/weak.s: New test.
89         * ld-tic6x/weak-data.d: New test.
90         * ld-tic6x/common.d: New test.
91         * ld-tic6x/common.ld: New test.
92         * ld-tic6x/common.s: New test.
93
94 2011-03-30  Richard Henderson  <rth@redhat.com>
95
96         * ld-elf/elf.exp: Force 32-bit start address for alpha.
97         * ld-elf/group8a.d: Don't disable for alpha.
98         * ld-elf/group8b.d: Likewise.
99         * ld-gc/start.s: Use .dc.a instead of .long.
100
101 2011-03-24  Alan Modra  <amodra@gmail.com>
102
103         * ld-powerpc/tlsmark.s: Delete non-optimizable section.
104         * ld-powerpc/tlsmark32.s: Likewise.
105         * ld-powerpc/tlsmark.d: Adjust to suit.
106         * ld-powerpc/tlsmark32.d: Likewise.
107         * ld-powerpc/tlsopt1.d, * ld-powerpc/tlsopt1.s: New.
108         * ld-powerpc/tlsopt2.d, * ld-powerpc/tlsopt2.s: New.
109         * ld-powerpc/tlsopt3.d, * ld-powerpc/tlsopt3.s: New.
110         * ld-powerpc/tlsopt4.d, * ld-powerpc/tlsopt4.s: New.
111         * ld-powerpc/tlsopt1_32.d, * ld-powerpc/tlsopt1_32.s: New.
112         * ld-powerpc/tlsopt2_32.d, * ld-powerpc/tlsopt2_32.s: New.
113         * ld-powerpc/tlsopt3_32.d, * ld-powerpc/tlsopt3_32.s: New.
114         * ld-powerpc/tlsopt4_32.d, * ld-powerpc/tlsopt4_32.s: New.
115         * ld-powerpc/powerpc.exp: Run new tests.
116
117 2011-03-15  Mike Frysinger  <vapier@gentoo.org>
118
119         * ld-elfvers/vers.exp (vers19): Add -Wl,-rpath-link,. to linker flags.
120
121 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
122
123         * ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd,
124         ld-arm/ifunc-1.rd, ld-arm/ifunc-2.s, ld-arm/ifunc-2.dd,
125         ld-arm/ifunc-2.gd, ld-arm/ifunc-2.rd, ld-arm/ifunc-3.s,
126         ld-arm/ifunc-3.dd, ld-arm/ifunc-3.gd, ld-arm/ifunc-3.rd,
127         ld-arm/ifunc-4.s, ld-arm/ifunc-4.dd, ld-arm/ifunc-4.gd,
128         ld-arm/ifunc-4.rd, ld-arm/ifunc-5.s, ld-arm/ifunc-5.dd,
129         ld-arm/ifunc-5.gd, ld-arm/ifunc-5.rd, ld-arm/ifunc-6.s,
130         ld-arm/ifunc-6.dd, ld-arm/ifunc-6.gd, ld-arm/ifunc-6.rd,
131         ld-arm/ifunc-7.s, ld-arm/ifunc-7.dd, ld-arm/ifunc-7.gd,
132         ld-arm/ifunc-7.rd, ld-arm/ifunc-8.s, ld-arm/ifunc-8.dd,
133         ld-arm/ifunc-8.gd, ld-arm/ifunc-8.rd, ld-arm/ifunc-9.s,
134         ld-arm/ifunc-9.dd, ld-arm/ifunc-9.gd, ld-arm/ifunc-9.rd,
135         ld-arm/ifunc-10.s, ld-arm/ifunc-10.dd, ld-arm/ifunc-10.gd,
136         ld-arm/ifunc-10.rd, ld-arm/ifunc-11.s, ld-arm/ifunc-11.dd,
137         ld-arm/ifunc-11.gd, ld-arm/ifunc-11.rd, ld-arm/ifunc-12.s,
138         ld-arm/ifunc-12.dd, ld-arm/ifunc-12.gd, ld-arm/ifunc-12.rd,
139         ld-arm/ifunc-13.s, ld-arm/ifunc-13.dd, ld-arm/ifunc-13.gd,
140         ld-arm/ifunc-13.rd, ld-arm/ifunc-14.s, ld-arm/ifunc-14.dd,
141         ld-arm/ifunc-14.gd, ld-arm/ifunc-14.rd, ld-arm/ifunc-15.s,
142         ld-arm/ifunc-15.dd, ld-arm/ifunc-15.gd, ld-arm/ifunc-15.rd,
143         ld-arm/ifunc-16.s, ld-arm/ifunc-16.dd, ld-arm/ifunc-16.gd,
144         ld-arm/ifunc-16.rd, ld-arm/ifunc-dynamic.ld,
145         ld-arm/ifunc-static.ld: New tests.
146         * ld-arm/farcall-group.d, ld-arm/farcall-group-size2.d,
147         ld-arm/farcall-mixed-lib-v4t.d, ld-arm/farcall-mixed-lib.d: Update
148         for new stub hashes.
149         * ld-arm/arm-elf.exp: Run them.
150
151 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
152
153         * ld-arm/arm-lib-plt-2a.s, ld-arm/arm-lib-plt-2b.s,
154         ld-arm/arm-lib-plt-2.dd, ld-arm/arm-lib-plt-2.rd: New tests.
155         * ld-arm/arm-elf.exp: Run them.
156
157 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
158
159         * ld-arm/exec-got-1a.s, ld-arm/exec-got-1b.s, ld-arm/exec-got-1.d,
160         ld-arm/unresolved-1.s, ld-arm/unresolved-1.d,
161         ld-arm/unresolved-1-dyn.d: New tests.
162         * ld-arm/arm-elf.exp: Run them.
163
164 2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
165
166         * ld-x86-64/tlsgd4.dd: New.
167         * ld-x86-64/tlsgd4.s: Likewise.
168         * ld-x86-64/tlsgd5.dd: Likewise.
169         * ld-x86-64/tlsgd5a.s: Likewise.
170         * ld-x86-64/tlsgd5b.s: Likewise.
171         * ld-x86-64/tlsgd6.dd: Likewise.
172         * ld-x86-64/tlsgd6a.s: Likewise.
173         * ld-x86-64/tlsgd6b.s: Likewise.
174         * ld-x86-64/tlsld2.dd: Likewise.
175         * ld-x86-64/tlsld2.s: Likewise.
176
177         * ld-x86-64/x86-64.exp (x86_64tests): Add tlsgd4, libtlsgd5.so,
178         tlsgd5, libtlsgd6.so, tlsgd6 and tlsld2.
179
180 2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
181
182         * ld-x86-64/tlsie4.dd: New.
183         * ld-x86-64/tlsie4.s: Likewise.
184
185         * ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4.
186
187 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
188
189         PR ld/12516
190         * ld-elf/dynamic1.d: New.
191         * ld-elf/dynamic1.ld: Likewise.
192         * ld-elf/dynamic1.s: Likewise.
193
194 2011-02-25  Alan Modra  <amodra@gmail.com>
195
196         * ld-mn10300/i135409-3.s: Correct .size label reference.
197         * ld-sh/sh64/stolib.s: Likewise.
198
199 2011-02-23  H.J. Lu  <hongjiu.lu@intel.com>
200
201         * ld-elf/new.cc: Don't include <exception_defines.h>.
202
203 2011-02-10  Alan Modra  <amodra@gmail.com>
204
205         * ld-scripts/defined.exp: Don't run defined5 for AOUT.
206         * ld-scripts/defined5.s: Use .text for "defined" section.
207         * ld-scripts/defined5.t: Adjust.
208
209         * ld-gc/start.d: Exclude frv-*-linux*.
210         * ld-misc/defsym1.d: Likewise.
211
212 2011-02-09  Alan Modra  <amodra@gmail.com>
213
214         * ld-elfvsb/elfvsb.exp: Don't run any non-PIC tests on powerpc*-linux.
215         * ld-gc/gc.exp: Ensure powerpc64 test continues to fail.
216         * ld-srec/srec.exp: Don't edit toc on powerpc64.
217
218 2011-01-23  Alan Modra  <amodra@gmail.com>
219
220         * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test.
221         * ld-scripts/expr.exp: Run it.
222
223 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
224
225         * ld-x86-64/ilp32-4.d: Updated.
226
227 2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
228
229         * ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase.
230         * ld-arm/arm-elf.exp: Run it.
231
232 2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
233
234         * ld-arm/gc-thumb-lib.s, ld-arm/gc-thumb.s,
235         ld-arm/gc-thumb.d: New test.
236         * ld-arm/arm-elf.exp: Run it.
237
238 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
239
240         * ld-x86-64/ia32-2.d: Replace --n32 with --x32.
241         * ld-x86-64/ilp32-1.d: Likewise.
242         * ld-x86-64/ilp32-2.d: Likewise.
243         * ld-x86-64/ilp32-3.d: Likewise.
244         * ld-x86-64/ilp32-4.d: Likewise.
245         * ld-x86-64/ilp32-5.d: Likewise.
246         * ld-x86-64/lp64-3.d: Likewise.
247         * ld-x86-64/x86-64.exp: Likewise.
248
249 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
250
251         * ld-x86-64/ilp32-5.d: New.
252         * ld-x86-64/ilp32-5.s: Likewise.
253
254         * ld-x86-64/x86-64.exp: Run ilp32-5.
255
256 2011-01-13  H.J. Lu  <hongjiu.lu@intel.com>
257
258         * ld-x86-64/ilp32-4.d: New.
259
260         * ld-x86-64/x86-64.exp: Run ilp32-4.
261
262 2011-01-13  H.J. Lu  <hongjiu.lu@intel.com>
263
264         PR ld/12356
265         * ld-scripts/defined.exp: Run defined5.
266
267         * ld-scripts/defined5.d: New.
268         * ld-scripts/defined5.s: Likewise.
269         * ld-scripts/defined5.t: Likewise.
270
271 2011-01-13  H.J. Lu  <hongjiu.lu@intel.com>
272
273         * ld-scripts/defined4.d: Xfail rs6000-*-aix*.  Skip mips*-*-*
274         and mmix-*-*.
275
276         * ld-scripts/expr2.d: Xfail rs6000-*-aix* and arm-*-*aout.
277
278 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
279
280         * ld-scripts/assert.exp: Run assert2.
281
282         * ld-scripts/assert2.d: New.
283         * ld-scripts/assert2.t: Likewise.
284
285 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
286             Glauber de Oliveira Costa  <glommer@gmail.com>
287
288         * ld-arm/arm-elf.exp: Added tests for new TLS handling
289         relocations.
290         * ld-arm/tls-descrelax-be32.d: New.
291         * ld-arm/tls-descrelax-be32.s: New.
292         * ld-arm/tls-descrelax-be8.d: New.
293         * ld-arm/tls-descrelax-be8.s: New.
294         * ld-arm/tls-descrelax-v7.d: New.
295         * ld-arm/tls-descrelax-v7.s: New.
296         * ld-arm/tls-descrelax.d: New.
297         * ld-arm/tls-descrelax.s: New.
298         * ld-arm/tls-descseq.d: New.
299         * ld-arm/tls-descseq.r: New.
300         * ld-arm/tls-descseq.s: New.
301         * ld-arm/tls-gdesc-got.d: New.
302         * ld-arm/tls-gdesc-got.s: New.
303         * ld-arm/tls-gdesc-nlazy.g: New.
304         * ld-arm/tls-gdesc-nlazy.s: New.
305         * ld-arm/tls-gdesc.d: New.
306         * ld-arm/tls-gdesc.r: New.
307         * ld-arm/tls-gdesc.s: New.
308         * ld-arm/tls-gdierelax.d: New.
309         * ld-arm/tls-gdierelax.s: New.
310         * ld-arm/tls-gdierelax2.d: New.
311         * ld-arm/tls-gdierelax2.s: New.
312         * ld-arm/tls-gdlerelax.d: New.
313         * ld-arm/tls-gdlerelax.s: New.
314         * ld-arm/tls-lib-loc.d: New.
315         * ld-arm/tls-lib-loc.r: New.
316         * ld-arm/tls-lib-loc.s: New.
317         * ld-arm/tls-longplt-lib.d: New.
318         * ld-arm/tls-longplt-lib.s: New.
319         * ld-arm/tls-longplt.d: New.
320         * ld-arm/tls-longplt.s: New.
321         * ld-arm/tls-mixed.r: New.
322         * ld-arm/tls-mixed.s: New.
323         * ld-arm/tls-thumb1.d: New.
324         * ld-arm/tls-thumb1.s: New.
325         * ld-arm/arm-elf.exp: New.
326
327 2011-01-08  Nick Clifton  <nickc@redhat.com>
328
329         * ld-misc/defsym1.d: Add a -e linker command line option.
330         * ld-misc/dummy.s: Remove text.
331
332 2011-01-08  Nick Clifton  <nickc@redhat.com>
333
334         PR ld/12358
335         PR ld/12359
336         * ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets.
337         * ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets.
338
339 2011-01-06  H.J. Lu  <hongjiu.lu@intel.com>
340
341         PR ld/12366
342         PR ld/12371
343         * ld-ifunc/ifunc-10-i386.s: Add more tests.
344         * ld-ifunc/ifunc-10-x86-64.s: Likewise.
345         * ld-ifunc/ifunc-11-i386.s: Likewise.
346         * ld-ifunc/ifunc-11-x86-64.s: Likewise.
347
348         * ld-ifunc/ifunc-12-i386.d: New.
349         * ld-ifunc/ifunc-12-i386.s: Likewise.
350         * ld-ifunc/ifunc-12-x86-64.d: Likewise.
351         * ld-ifunc/ifunc-12-x86-64.s: Likewise.
352         * ld-ifunc/ifunc-13-i386.d: Likewise.
353         * ld-ifunc/ifunc-13-x86-64.d: Likewise.
354         * ld-ifunc/ifunc-13a-i386.s: Likewise.
355         * ld-ifunc/ifunc-13a-x86-64.s: Likewise.
356         * ld-ifunc/ifunc-13b-i386.s: Likewise.
357         * ld-ifunc/ifunc-13b-x86-64.s: Likewise.
358
359 2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>
360
361         * ld-x86-64/dummy.s: New.
362         * ld-x86-64/foo.s: Likewise.
363         * ld-x86-64/ia32-1.d: Likewise.
364         * ld-x86-64/ia32-2.d: Likewise.
365         * ld-x86-64/ia32-3.d: Likewise.
366         * ld-x86-64/ilp32-1.d: Likewise.
367         * ld-x86-64/ilp32-2.d: Likewise.
368         * ld-x86-64/ilp32-3.d: Likewise.
369         * ld-x86-64/lp64-1.d: Likewise.
370         * ld-x86-64/lp64-2.d: Likewise.
371         * ld-x86-64/lp64-3.d: Likewise.
372         * ld-x86-64/start.s: Likewise.
373
374         * ld-x86-64/x86-64.exp: Run ilp32-1, ilp32-2, ilp32-3, ia32-1,
375         ia32-2, ia32-3, lp64-1, lp64-2 and lp64-3.
376
377 2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>
378
379         PR ld/12001
380         * ld-misc/defsym.exp: New.
381         * ld-misc/defsym1.d: Likewise.
382         * ld-misc/dummy.s: Likewise.
383         * ld-misc/foo.s: Likewise.
384         * ld-misc/start.s: Likewise.
385
386 For older changes see ChangeLog-2010
387 \f
388 Local Variables:
389 mode: change-log
390 left-margin: 8
391 fill-column: 74
392 version-control: never
393 End: