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