a321e78356f82701b707318f005b04661906ff8c
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
2
3         * lib/ld-lib.exp (run_dump_test): Implement the EXTRA_OPTIONS
4         argument and the "dump" keyword.
5         * ld-mips-elf/emit-relocs-1a.s: Make section alignment uniform
6         across targets.
7         * ld-mips-elf/emit-relocs-1b.s: Likewise.
8         * ld-mips-elf/jalbal.s: Adjust padding.
9         * ld-mips-elf/elf-rel-got-n32-embed.d: New test.
10         * ld-mips-elf/elf-rel-got-n64-embed.d: New test.
11         * ld-mips-elf/elf-rel-xgot-n32-embed.d: New test.
12         * ld-mips-elf/elf-rel-xgot-n64-embed.d: New test.
13         * ld-mips-elf/elf-rel-got-n32.d: Remove -melf32btsmipn32.
14         * ld-mips-elf/elf-rel-got-n64.d: Remove -melf64btsmip.  Adjust
15         output.
16         * ld-mips-elf/elf-rel-got-n64-linux.d: Remove -melf64btsmip.
17         * ld-mips-elf/elf-rel-xgot-n32.d: Remove -melf32btsmipn32.
18         Adjust output.
19         * ld-mips-elf/elf-rel-xgot-n64.d: Remove -melf64btsmip.  Adjust
20         output.
21         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
22         * ld-mips-elf/reloc-1-n64.d: Remove -melf64btsmip.
23         * ld-mips-elf/mips-elf.exp: Set has_newabi for mips*-sde-elf*
24         too.  Move tool flags from o32_as_flags and o32_ld_flags
25         variables into abi_asflags and abi_ldflags arrays.  Adjust test
26         cases run to use them.  Run the new tests.
27
28 2012-08-05  Maciej W. Rozycki  <macro@linux-mips.org>
29
30         * ld-vax-elf: New directory.
31         * ld-vax-elf/plt-local-lib.dd: New test.
32         * ld-vax-elf/plt-local-lib.ld: New test linker script.
33         * ld-vax-elf/plt-local-lib.s: New test source.
34         * ld-vax-elf/plt-local.dd: New test.
35         * ld-vax-elf/plt-local.ld: New test linker script.
36         * ld-vax-elf/plt-local.s: New test source.
37         * ld-vax-elf/plt-local-hidden-pic.s: New test source.
38         * ld-vax-elf/plt-local-rehidden-pic.s: New test source.
39         * ld-vax-elf/vax-elf.exp: New test script.
40
41 2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
42
43         * lib/ld-lib.exp (at_least_gcc_version): Accept more version
44         number formats; avoid throwing exceptions in any case.
45
46 2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
47
48         * ld-mips-elf/mode-change-error-1.d: Update the error message.
49
50 2012-08-02  Maciej W. Rozycki  <macro@codesourcery.com>
51
52         * ld-mips-elf/got-vers-1.rd: Fix a typo.
53
54 2012-08-01  James Lemke  <jwlemke@codesourcery.com>
55
56         * ld-gc/pr13683.d: XFAIL for powerpc*-*-eabivle.
57
58 2012-07-31  H.J. Lu  <hongjiu.lu@intel.com>
59
60         * ld-elf/fini0.s: Indent global directive.
61         * ld-elf/foo0.s: Likewise.
62         * ld-elf/init0.s: Likewise.
63
64         * ld-elf/pr14156c.t: Keep text section.
65
66 2012-07-26  Meador Inge  <meadori@codesourcery.com>
67
68         PR ld/14397
69         * ld-arm/arm-elf.exp: Add tests of linking without .rel.plt.
70         * ld-arm/arm-no-rel-plt.out: Linker script without .rel.plt section.
71         * ld-arm/arm-no-rel-plt.out: Expected output.
72
73 2012-07-13  Hans-Peter Nilsson  <hp@axis.com>
74
75         * ld-elf/foo0.s: Use ARM-compatible .section syntax.
76         * ld-elf/foo1.s: Likewise.
77         * ld-elf/foo2.s: Likewise.
78         * ld-elf/foo3.s: Likewise.
79         * ld-elf/foon.s: Likewise.
80
81 2012-07-10  H.J. Lu  <hongjiu.lu@intel.com>
82
83         PR ld/14156
84         * ld-elf/fini0.s: New file.
85         * ld-elf/fini1.s: Likewise.
86         * ld-elf/fini2.s: Likewise.
87         * ld-elf/fini3.s: Likewise.
88         * ld-elf/finin.s: Likewise.
89         * ld-elf/foo0.s: Likewise.
90         * ld-elf/foo1.s: Likewise.
91         * ld-elf/foo2.s: Likewise.
92         * ld-elf/foo3.s: Likewise.
93         * ld-elf/foon.s: Likewise.
94         * ld-elf/init0.s: Likewise.
95         * ld-elf/init1.s: Likewise.
96         * ld-elf/init2.s: Likewise.
97         * ld-elf/init3.s: Likewise.
98         * ld-elf/initn.s: Likewise.
99         * ld-elf/pr14156a.d: Likewise.
100         * ld-elf/pr14156b.d: Likewise.
101         * ld-elf/pr14156c.d: Likewise.
102         * ld-elf/pr14156c.t: Likewise.
103
104 2012-07-09  H.J. Lu  <hongjiu.lu@intel.com>
105
106         PR ld/14323
107         * ld-elf/pr14323-1.c: New.
108         * ld-elf/pr14323-2.c: Likewise.
109
110         * ld-elf/shared.exp (build_tests): Add libpr14323-2.so.
111         (run_tests): Add pr14323.
112
113 2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
114
115         PR ld/3351
116         * ld-elf/indirect.exp: New file.
117         * ld-elf/indirect1a.c: Likewise.
118         * ld-elf/indirect1b.c: Likewise.
119         * ld-elf/indirect1c.c: Likewise.
120         * ld-elf/indirect2.c: Likewise.
121         * ld-elf/indirect3.out: Likewise.
122         * ld-elf/indirect3a.c: Likewise.
123         * ld-elf/indirect3b.c: Likewise.
124         * ld-elf/indirect3c.c: Likewise.
125         * ld-elf/indirect4.out: Likewise.
126         * ld-elf/indirect4a.c: Likewise.
127         * ld-elf/indirect4b.c: Likewise.
128         * ld-elf/indirect4c.c: Likewise.
129
130 2012-07-02  Roland McGrath  <mcgrathr@google.com>
131
132         * ld/testsuite/ld-i386/tlsbin-nacl.rd: Update for symbol table changes.
133         * ld/testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
134         * ld/testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
135         * ld/testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
136         * ld/testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
137         * ld/testsuite/ld-i386/tlspic-nacl.rd: Likewise.
138         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
139         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
140         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
141         * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
142         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
143
144 2012-07-02  H.J. Lu  <hongjiu.lu@intel.com>
145
146         * ld-elf/data2.c: New file.
147         * ld-elf/weakdef1.c: Likewise.
148
149         * ld-elf/shared.exp: Add tests for libdata2 and weakdef1.
150
151 2012-06-28  Roland McGrath  <mcgrathr@google.com>
152
153         * ld-arm/arm-elf.exp (armelftests_common): Add a test that gets
154         arm-lib.so built so armeabitests_common can use it.
155         (unresolved-1-dyn): Exclude this test for [istarget "arm*-*-nacl*"].
156
157 2012-06-26  Roland McGrath  <mcgrathr@google.com>
158
159         * ld-elf/ehdr_start.d (target): Add *-*-nacl*.
160
161 2012-06-27  Alan Modra  <amodra@gmail.com>
162
163         * ld-elf/ehdr_start.s: Use data rather than rodata.
164         * ld-elf/ehdr_start.d: Run on linux and gnu targets only.
165
166 2012-06-25  Roland McGrath  <mcgrathr@google.com>
167
168         * ld-elf/ehdr_start.d (ld): Add explicit -e _start.
169         (notarget): Add arm*-*-eabi* cris-*-*.
170
171 2012-06-22  Roland McGrath  <mcgrathr@google.com>
172
173         * ld-elf/ehdr_start.s: New file.
174         * ld-elf/ehdr_start.d: New file.
175
176 2012-06-21  Alan Modra  <amodra@gmail.com>
177
178         * ld-gc/start.d: Update.
179
180 2012-06-18  Hans-Peter Nilsson  <hp@axis.com>
181
182         * ld-cris/dso-pltdis1.d, ld-cris/dso-pltdis2.d, dsofng.s
183         dsofn4g.s: New tests.
184
185 2012-06-17  Hans-Peter Nilsson  <hp@axis.com>
186
187         * ld-cris/tls-e-tpiecomm1.d, ld-cris/tls-e-tpiecomm1.s: New test.
188         * ld-cris/tls-dso-tpoffgotcomm1.d,
189         ld-cris/tls-dso-tpoffgotcomm1.s: Ditto.
190
191         * ld-cris/tls-e-tpoffgotcomm1.d: New test.
192
193 2012-06-16  Alan Modra  <amodra@gmail.com>
194
195         * ld-alpha/emptygot.nm, * ld-alpha/tlsbin.rd, * ld-alpha/tlsbinr.rd,
196         * ld-alpha/tlspic.rd, * ld-arm/arm-dyn.ld, * ld-arm/armthumb-lib.sym,
197         * ld-arm/farcall-mixed-app.sym, * ld-arm/mixed-app.sym,
198         * ld-arm/mixed-lib.sym, * ld-arm/preempt-app.sym,
199         * ld-cris/libdso-2.d, * ld-cris/pv32-1.d, * ld-cris/tls-e-20.d,
200         * ld-cris/tls-e-20a.d, * ld-cris/tls-e-80.d,
201         * ld-cris/tls-e-tpoffcomm1.d, * ld-cris/tls-gc-68.d,
202         * ld-cris/tls-gc-69.d, * ld-cris/tls-gc-70.d, * ld-cris/tls-gc-71.d,
203         * ld-cris/tls-gc-75.d, * ld-cris/tls-gc-76.d, * ld-cris/tls-gc-79.d,
204         * ld-cris/weakhiddso.d, * ld-cris/weakref3.d, * ld-cris/weakref4.d,
205         * ld-elfvsb/hidden2.d, * ld-i386/tlsbin.rd, * ld-i386/tlsbindesc.rd,
206         * ld-i386/tlsdesc.rd, * ld-i386/tlsgdesc.rd, * ld-i386/tlsnopic.rd,
207         * ld-i386/tlspic.rd, * ld-ia64/tlsbin.rd, * ld-ia64/tlspic.rd,
208         * ld-mips-elf/tlsdyn-o32-1.d, * ld-mips-elf/tlsdyn-o32-1.got,
209         * ld-mips-elf/tlsdyn-o32-2.d, * ld-mips-elf/tlsdyn-o32-2.got,
210         * ld-mips-elf/tlsdyn-o32-3.d, * ld-mips-elf/tlsdyn-o32-3.got,
211         * ld-mmix/bpo-10.d, * ld-mmix/bpo-11.d, * ld-mmix/greg-6.d,
212         * ld-mmix/greg-7.d, * ld-mmix/loc1.d, * ld-mmix/loc2.d,
213         * ld-mmix/loc3.d, * ld-mmix/loc4.d, * ld-mmix/loc6.d,
214         * ld-mmix/locdo-1.d, * ld-mmix/loct-1.d, * ld-mmix/locto-1.d,
215         * ld-mmix/start-1.d, * ld-mmix/undef-3.d, * ld-powerpc/relbrlt.d,
216         * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexe32.r,
217         * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.r,
218         * ld-powerpc/tlsso32.r, * ld-powerpc/tlstocso.r,
219         * ld-s390/tlsbin.rd, * ld-s390/tlsbin_64.rd, * ld-s390/tlspic.rd,
220         * ld-s390/tlspic_64.rd, * ld-scripts/empty-address-1.d,
221         * ld-scripts/empty-address-2a.d, * ld-scripts/empty-address-2b.d,
222         * ld-scripts/empty-address-3a.d, * ld-scripts/empty-address-3b.d,
223         * ld-scripts/empty-address-3c.d, * ld-sh/sh64/abi32.xd,
224         * ld-sh/sh64/abi64.xd, * ld-sh/sh64/cmpct1.xd,
225         * ld-sh/sh64/crange1.rd, * ld-sh/sh64/crange2.rd,
226         * ld-sh/sh64/crange3-cmpct.rd, * ld-sh/sh64/crange3-media.rd,
227         * ld-sh/sh64/crange3.rd, * ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd,
228         * ld-sh/sh64/shdl32.xd, * ld-sh/sh64/shdl64.xd,
229         * ld-sparc/gotop32.rd, * ld-sparc/gotop64.rd,
230         * ld-sparc/tlssunbin32.rd, * ld-sparc/tlssunbin64.rd,
231         * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
232         * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
233         * ld-spu/icache1.d, * ld-spu/pic.d, * ld-tic6x/shlib-1.rd,
234         * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
235         * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-app-1.rd,
236         * ld-tic6x/shlib-app-1b.rd, * ld-tic6x/shlib-app-1r.rd,
237         * ld-tic6x/shlib-app-1rb.rd, * ld-tic6x/shlib-noindex.rd,
238         * ld-tic6x/static-app-1.rd, * ld-tic6x/static-app-1b.rd,
239         * ld-tic6x/static-app-1r.rd, * ld-tic6x/static-app-1rb.rd,
240         * ld-x86-64/tlsbin.rd, * ld-x86-64/tlsbindesc.rd,
241         * ld-x86-64/tlsdesc.rd, * ld-x86-64/tlsgdesc.rd,
242         * ld-x86-64/tlspic.rd: Update.
243         * ld-tic6x/dsbt-be.ld: Add ". = .;" before __c6xabi_DSBT_BASE.
244         * ld-tic6x/dsbt.ld: Likewise.
245
246 2012-06-13  Nick Clifton  <nickc@redhat.com>
247
248         * ld-arm/arm-app-abs32.d; Update expected disassembly in line with
249         improved architecture detection.
250         * ld-arm/arm-app.d: Likewise.
251         * ld-arm/arm-lib-plt32.d: Likewise.
252         * ld-arm/arm-lib.d: Likewise.
253         * ld-arm/arm-static-app.d: Likewise.
254         * ld-arm/armthumb-lib.d: Likewise.
255         * ld-arm/farcall-mixed-app-v5.d: Likewise.
256         * ld-arm/farcall-mixed-app.d: Likewise.
257         * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
258         * ld-arm/farcall-mixed-lib.d: Likewise.
259         * ld-arm/mixed-app-v5.d: Likewise.
260         * ld-arm/mixed-app.d: Likewise.
261         * ld-arm/mixed-lib.d: Likewise.
262         * ld-arm/tls-app.d: Likewise.
263         * ld-arm/tls-descrelax-be32.d: Likewise.
264         * ld-arm/tls-descrelax.d: Likewise.
265         * ld-arm/tls-descseq.d: Likewise.
266         * ld-arm/tls-gdesc-got.d: Likewise.
267         * ld-arm/tls-gdesc.d: Likewise.
268         * ld-arm/tls-gdierelax.d: Likewise.
269         * ld-arm/tls-gdierelax2.d: Likewise.
270         * ld-arm/tls-gdlerelax.d: Likewise.
271         * ld-arm/tls-lib-loc.d: Likewise.
272         * ld-arm/tls-lib.d: Likewise.
273         * ld-arm/tls-thumb1.d: Likewise.
274
275 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
276
277         PR ld/14207
278         * ld-x86-64/x86-64.exp: Run pr14207.
279
280         * ld-x86-64/pr14207.d: New file.
281         * ld-x86-64/pr14207.s: Likewise.
282
283 2012-06-11  H.J. Lu  <hongjiu.lu@intel.com>
284
285         PR ld/14215
286         * ld-i386/i386.exp: Run pr14215.
287         * ld-x86-64/x86-64.exp: Likewise.
288
289         * ld-i386/pr14215.d: New file.
290         * ld-i386/pr14215.s: Likewise.
291         * ld-x86-64/pr14215.d: Likewise.
292         * ld-x86-64/pr14215.s: Likewise.
293
294 2012-06-06  Alan Modra  <amodra@gmail.com>
295
296         * ld-alpha/tlsbin.rd, * ld-alpha/tlsbinr.rd, * ld-alpha/tlspic.rd,
297         * ld-arm/script-type.sym, * ld-cris/hiddef1.d, * ld-cris/tls-e-20a.d,
298         * ld-cris/tls-e-tpoffcomm1.d, * ld-cris/tls-gc-76.d,
299         * ld-cris/tls-local-64.d, * ld-i386/pr12718.d, * ld-i386/pr12921.d,
300         * ld-i386/tlsbin.rd, * ld-i386/tlsbindesc.rd, * ld-i386/tlsdesc.rd,
301         * ld-i386/tlsnopic.rd, * ld-i386/tlspic.rd, * ld-ia64/tlsbin.rd,
302         * ld-ia64/tlspic.rd, * ld-mips-elf/reloc-merge-lo16.d,
303         * ld-mmix/bpo-1.d, * ld-mmix/bpo-10.d, * ld-mmix/bpo-11.d,
304         * ld-mmix/bpo-14.d, * ld-mmix/bpo-16.d, * ld-mmix/bpo-17.d,
305         * ld-mmix/bpo-18.d, * ld-mmix/bpo-2.d, * ld-mmix/bpo-22.d,
306         * ld-mmix/bpo-3.d, * ld-mmix/bpo-4.d, * ld-mmix/bpo-5.d,
307         * ld-mmix/bpo-9.d, * ld-mmix/greg-1.d, * ld-mmix/greg-19.d,
308         * ld-mmix/greg-2.d, * ld-mmix/greg-3.d, * ld-mmix/greg-4.d,
309         * ld-mmix/greg-5.d, * ld-mmix/greg-5s.d, * ld-mmix/greg-6.d,
310         * ld-mmix/greg-7.d, * ld-mmix/loc4.d, * ld-mmix/local1.d,
311         * ld-mmix/local3.d, * ld-mmix/local5.d, * ld-mmix/local7.d,
312         * ld-mmix/loct-1.d, * ld-mn10300/i135409-1.d, * ld-powerpc/tlsexe.r,
313         * ld-powerpc/tlsexe32.r, * ld-powerpc/tlsexetoc.r,
314         * ld-powerpc/tlsso.r, * ld-powerpc/tlsso32.r, * ld-powerpc/tlstocso.r,
315         * ld-powerpc/vxworks-relax-2.rd, * ld-s390/tlsbin.rd,
316         * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd, * ld-sh/sub2l-1.d,
317         * ld-sh/weak1.d, * ld-sh/sh64/abi32.xd, * ld-sh/sh64/abi64.xd,
318         * ld-sh/sh64/cmpct1.xd, * ld-sh/sh64/crange1.rd,
319         * ld-sh/sh64/crange2.rd, * ld-sh/sh64/crange3-cmpct.rd,
320         * ld-sh/sh64/crange3-media.rd, * ld-sh/sh64/crange3.rd,
321         * ld-sh/sh64/crangerel1.rd, * ld-sh/sh64/crangerel2.rd,
322         * ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd, * ld-sh/sh64/shdl32.xd,
323         * ld-sh/sh64/shdl64.xd, * ld-sparc/gotop32.rd,
324         * ld-sparc/gotop64.rd, * ld-sparc/tlssunbin32.rd,
325         * ld-sparc/tlssunbin64.rd, * ld-sparc/tlssunnopic32.rd,
326         * ld-sparc/tlssunnopic64.rd, * ld-sparc/tlssunpic32.rd,
327         * ld-sparc/tlssunpic64.rd, * ld-tic6x/shlib-1.rd,
328         * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd, * ld-tic6x/shlib-1rb.rd,
329         * ld-tic6x/shlib-app-1.rd, * ld-tic6x/shlib-app-1b.rd,
330         * ld-tic6x/shlib-app-1r.rd, * ld-tic6x/shlib-app-1rb.rd,
331         * ld-tic6x/shlib-noindex.rd, * ld-tic6x/static-app-1.rd,
332         * ld-tic6x/static-app-1b.rd, * ld-tic6x/static-app-1r.rd,
333         * ld-tic6x/static-app-1rb.rd, * ld-x86-64/ilp32-4-nacl.d,
334         * ld-x86-64/ilp32-4.d, * ld-x86-64/pr12718.d, * ld-x86-64/pr12921.d,
335         * ld-x86-64/split-by-file-nacl.rd, * ld-x86-64/split-by-file.rd,
336         * ld-x86-64/tlsbin.rd, * ld-x86-64/tlsbindesc.rd,
337         * ld-x86-64/tlsdesc.rd, * ld-x86-64/tlspic.rd: Update to suit
338         added STT_FILE symbols.
339
340 2012-06-06  Alan Modra  <amodra@gmail.com>
341
342         * ld-mmix/bpo-9.d: Update.
343         * ld-mmix/bpo-10.d: Update.
344         * ld-mmix/bpo-11.d: Update.
345         * ld-mmix/sec-7m.d: Update.
346
347 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
348
349         * ld-ifunc/ifunc-13a-x86-64.s: Add missing "foo" after ".global".
350         * ld-ifunc/ifunc-15-x86-64.s: Likewise.
351
352 2012-05-30  Nick Clifton  <nickc@redhat.com>
353
354         * ld-tic6x/shlib-1b.rd: Revert previous delta.
355         * ld-tic6x/shlib-1rb.rd: Likewise.
356         * ld-tic6x/shlib-1.rd: Likewise.
357         * ld-tic6x/shlib-1r.rd: Likewise.
358         * ld-tic6x/shlib-app-1b.rd: Likewise.
359         * ld-tic6x/shlib-app-1rb.rd: Likewise.
360         * ld-tic6x/shlib-app-1.rd: Likewise.
361         * ld-tic6x/shlib-app-1r.rd: Likewise.
362         * ld-tic6x/shlib-noindex.rd: Likewise.
363         * ld-tic6x/static-app-1b.rd: Likewise.
364         * ld-tic6x/static-app-1rb.rd: Likewise.
365         * ld-tic6x/static-app-1.rd: Likewise.
366         * ld-tic6x/static-app-1r.rd: Likewise.
367
368 2012-05-29  Nick Clifton  <nickc@redhat.com>
369
370         * ld-tic6x/shlib-1b.rd: Update expected readelf output.
371         * ld-tic6x/shlib-1rb.rd: Likewise.
372         * ld-tic6x/shlib-1.rd: Likewise.
373         * ld-tic6x/shlib-1r.rd: Likewise.
374         * ld-tic6x/shlib-app-1b.rd: Likewise.
375         * ld-tic6x/shlib-app-1rb.rd: Likewise.
376         * ld-tic6x/shlib-app-1.rd: Likewise.
377         * ld-tic6x/shlib-app-1r.rd: Likewise.
378         * ld-tic6x/shlib-noindex.rd: Likewise.
379         * ld-tic6x/static-app-1b.rd: Likewise.
380         * ld-tic6x/static-app-1rb.rd: Likewise.
381         * ld-tic6x/static-app-1.rd: Likewise.
382         * ld-tic6x/static-app-1r.rd: Likewise.
383
384 2012-05-28  Nick Clifton  <nickc@redhat.com>
385
386         * ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive.
387         * ld-ifunc/ifunc-15a-i385.s: Likewise.
388
389 2012-05-28  Alan Modra  <amodra@gmail.com>
390
391         PR ld/14170
392         * ld-elf/pr14170a.s: Put foo, bar address in .data.
393         * ld-elf/elf.exp: Don't run pr14170 test on hppa64-hpux.  Ignore
394         tic6x warnings.
395
396 2012-05-27  H.J. Lu  <hongjiu.lu@intel.com>
397
398         PR ld/14170
399         * ld-elf/elf.exp: Add a test for PR ld/14170.
400
401         * ld-elf/pr14170a.s: New file.
402         * ld-elf/pr14170b.s: Likewise.
403         * ld-elf/pr14170c.s: Likewise.
404
405 2012-05-26  Alan Modra  <amodra@gmail.com>
406
407         * ld-srec/srec.exp: Remove powerpc64 flag setting.
408
409 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
410
411         * ld-elf/eh1.d: Don't skip x86_64-*-linux-gnux32.
412         * ld-elf/eh2.d: Likewise.
413         * ld-elf/eh3.d: Likewise.
414         * ld-elf/eh4.d: Likewise.
415
416 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
417
418         * ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
419         (func): Make it global and hidden.
420         * ld-x86-64/ilp32-11.d: Updated.
421
422 2012-05-22  Roland McGrath  <mcgrathr@google.com>
423
424         * ld-elf/eh4.d: Revert last change.
425         Loosen CFI-matching regexps so they match x86_64-*-nacl* variant too.
426
427         * ld-x86-64/pr12570a.d (name): Distinguish it from pr12570b.d case.
428         Loosen CFI-matching regexp so it matches x86_64-*-nacl* variant too.
429         * ld-x86-64/pr12570b.d: Likewise.
430         * ld-x86-64/x86-64.exp: Revert last change.
431
432 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
433
434         * ld-elf/eh4.d: Skip x86_64-*-nacl*.
435
436         * ld-x86-64/x86-64.exp: Xfail pr12570a for x86_64-*-nacl*.
437
438 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
439
440         PR ld/13909
441         * ld-i386/i386.exp: Revert the last change.
442         * ld-x86-64/x86-64.exp: Likewise.
443
444         * ld-i386/dummy.s: Removed.
445         * ld-i386/pr13909.d: Likewise.
446         * ld-x86-64/pr13909.d: Likewise.
447
448 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
449
450         PR ld/13909
451         * ld-i386/i386.exp: Run pr13909.
452         * ld-x86-64/x86-64.exp: Likewise.
453
454         * ld-i386/dummy.s: New file.
455         * ld-i386/pr13909.d: Likewise.
456         * ld-x86-64/pr13909.d: Likewise.
457
458 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
459
460         PR ld/14105
461         * ld-elf/eh4.d: Add PLT eh_frame.
462
463         * ld-i386/i386.exp: Run pr12570a and pr12570b.
464         * ld-x86-64/x86-64.exp: Likewise.
465
466         * ld-i386/pr12570a.d: New file.
467         * ld-i386/pr12570a.s: Likewise.
468         * ld-i386/pr12570b.s: Likewise.
469         * ld-i386/pr12570b.s: Likewise.
470         * ld-x86-64/pr12570a.d: Likewise.
471         * ld-x86-64/pr12570a.s: Likewise.
472         * ld-x86-64/pr12570b.d: Likewise.
473         * ld-x86-64/pr12570b.s: Likewise.
474
475 2012-05-19  Alan Modra  <amodra@gmail.com>
476
477         * ld-elf/elf.exp (note-3.so): xfail tic6x due to non-pic warnings.
478
479 2012-05-19  Alan Modra  <amodra@gmail.com>
480
481         * ld-powerpc/vle.ld: New.
482         * ld-powerpc/powerpc.exp (vle reloc tests): Link using vle.ld.
483
484 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
485
486         * ld-i386/tlsdesc-nacl.rd: Update for dynamic sym changes.
487         * ld-i386/tlsdesc.rd: Likewise.
488         * ld-i386/tlsgdesc-nacl.rd: Likewise.
489         * ld-i386/tlsgdesc.rd: Likewise.
490         * ld-i386/tlsnopic-nacl.rd: Likewise.
491         * ld-i386/tlsnopic.rd: Likewise.
492         * ld-i386/tlspic-nacl.rd: Likewise.
493         * ld-i386/tlspic.rd: Likewise.
494         * ld-x86-64/tlsdesc-nacl.rd: Likewise.
495         * ld-x86-64/tlsdesc.rd: Likewise.
496         * ld-x86-64/tlsgdesc-nacl.rd: Likewise.
497         * ld-x86-64/tlsgdesc.rd: Likewise.
498         * ld-x86-64/tlspic-nacl.rd: Likewise.
499         * ld-x86-64/tlspic.rd: Likewise.
500
501 2012-05-18  Alan Modra  <amodra@gmail.com>
502
503         * ld-tic6x/mvk-reloc-local-r.d: Adjust for signed addend.
504         * ld-tic6x/unwind-6.d: Typo fix.
505
506 2012-05-18  Alan Modra  <amodra@gmail.com>
507
508         * ld-elf/init-mixed.c: Include config.h first.
509
510 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
511
512         * ld-arm/emit-relocs1-vxworks.d: Expect addend as signed.
513         * ld-spu/pic.d: Likewise.
514
515 2012-05-17  Hans-Peter Nilsson  <hp@axis.com>
516
517         * lib/ld-lib.exp (run_dump_test): For options "warning" and
518         "error", append to earlier option values without adding a space.
519
520 2012-05-17  Alan Modra  <amodra@gmail.com>
521
522         * ld-m68k/tls-ld-1.d: Update.
523
524 2012-05-17  Alan Modra  <amodra@gmail.com>
525
526         * ld-powerpc/tlsso.r: Update for dynamic sym changes.
527         * ld-powerpc/tlsso32.d: Likewise.
528         * ld-powerpc/tlsso32.r: Likewise.
529         * ld-powerpc/tlstocso.r: Likewise.
530
531 2012-05-16  Meador Inge  <meadori@codesourcery.com>
532
533         * ld-arm/gc-hidden-1.d: Fix disassembly pattern.
534
535 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
536
537         * ld-m68hc11/xgate-link.s: New.
538         * ld-m68hc11/xgate-link.d: New.
539         * ld-m68hc11/xgate-offset.s: New.
540         * ld-m68hc11/xgate-offset.d: New.
541         * ld-m68hc11/xgate1.s: New.
542         * ld-m68hc11/xgate1.d: New.
543         * ld-m68hc11/xgate2.s: New.
544         * ld-m68hc11/m68hc11.exp: Updated.
545         * ld-m68hc11/*.d: Brought in line with changed objdump output.
546         * ld-gc/gc.exp: Update CFLAGS for m68hc11.
547         * ld-plugin/plugin.exp: Likewise.
548         * ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12.
549
550 2012-05-14  David S. Miller  <davem@davemloft.net>
551
552         * ld-sparc/tlssunbin32.rd: Update.
553         * ld-sparc/tlssunbin64.rd: Likewise.
554
555 2012-05-14  James Lemke  <jwlemke@codesourcery.com>
556
557         * ld-powerpc/powerpc.exp: Create ppceabitests.
558         * ld-powerpc/vle-multiseg.s: New.
559         * ld-powerpc/vle-multiseg-1.d: New.
560         * ld-powerpc/vle-multiseg-1.ld: New.
561         * ld-powerpc/vle-multiseg-2.d: New.
562         * ld-powerpc/vle-multiseg-2.ld: New.
563         * ld-powerpc/vle-multiseg-3.d: New.
564         * ld-powerpc/vle-multiseg-3.ld: New.
565         * ld-powerpc/vle-multiseg-4.d: New.
566         * ld-powerpc/vle-multiseg-4.ld: New.
567         * ld-powerpc/vle-multiseg-5.d: New.
568         * ld-powerpc/vle-multiseg-5.ld: New.
569         * ld-powerpc/vle-multiseg-6.d: New.
570         * ld-powerpc/vle-multiseg-6.ld: New.
571         * ld-powerpc/vle-multiseg-6a.s: New.
572         * ld-powerpc/vle-multiseg-6b.s: New.
573         * ld-powerpc/vle-multiseg-6c.s: New.
574         * ld-powerpc/vle-multiseg-6d.s: New.
575         * ld-powerpc/powerpc.exp: Run new tests.
576
577 2012-05-14  Catherine Moore  <clm@codesourcery.com>
578
579         * ld-powerpc/apuinfo.rd: Update for VLE.
580         * ld-powerpc/vle-reloc-1.d: New.
581         * ld-powerpc/vle-reloc-1.s: New.
582         * ld-powerpc/vle-reloc-2.d: New.
583         * ld-powerpc/vle-reloc-2.s: New.
584         * ld-powerpc/vle-reloc-3.d: New.
585         * ld-powerpc/vle-reloc-3.s: New.
586         * ld-powerpc/vle-reloc-def-1.s: New.
587         * ld-powerpc/vle-reloc-def-2.s: New.
588         * ld-powerpc/vle-reloc-def-3.s: New.
589
590 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
591
592         * ld-mips-elf/mips-elf.exp (mips16_call_global_test): Use the
593         no-shared-1.ld linker script.
594         * ld-mips-elf/mips16-call-global-1.s: Add alignment directive.
595         * ld-mips-elf/mips16-call-global-2.s: Likewise.
596         * ld-mips-elf/mips16-call-global-3.s: Likewise.
597         * ld-mips-elf/mips16-call-global.d: Use 50000 as the base address.
598
599 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
600
601         * ld-mips-elf/attr-gnu-4-00.d: Remove assembler options and emulator
602         linker option.
603         * ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d,
604         ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-04.d,
605         ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-10.d,
606         ld-mips-elf/attr-gnu-4-11.d, ld-mips-elf/attr-gnu-4-12.d,
607         ld-mips-elf/attr-gnu-4-13.d, ld-mips-elf/attr-gnu-4-14.d,
608         ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-20.d,
609         ld-mips-elf/attr-gnu-4-21.d, ld-mips-elf/attr-gnu-4-22.d,
610         ld-mips-elf/attr-gnu-4-23.d, ld-mips-elf/attr-gnu-4-24.d,
611         ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-30.d,
612         ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d,
613         ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-34.d,
614         ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-40.d,
615         ld-mips-elf/attr-gnu-4-41.d, ld-mips-elf/attr-gnu-4-42.d,
616         ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
617         ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-51.d: Likewise.
618
619 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
620
621         * ld-mips-elf/eh-frame1.ld (.gcc_compiled_long32): Add KEEP.
622         * ld-mips-elf/eh-frame3.d: Move definition of foo to the link line
623         and change to a 32-bit value.  Expect CIEs to be marged.
624         * ld-mips-elf/eh-frame4.d: Move definition of foo to the link line.
625
626 2012-05-12  H.J. Lu  <hongjiu.lu@intel.com>
627
628         * ld-alpha/tlspic.rd: Updated.
629         * ld-powerpc/tlsso.r: Likewise.
630         * ld-powerpc/tlsso32.r: Likewise.
631         * ld-powerpc/vxworks1-lib.rd: Likewise.
632         * ld-s390/tlspic.rd: Likewise.
633         * ld-s390/tlspic_64.rd: Likewise.
634         * ld-sh/shared-1.d: Likewise.
635         * ld-sh/tlspic-2.d: Likewise.
636         * ld-sparc/tlssunnopic32.rd: Likewise.
637         * ld-sparc/tlssunnopic64.rd: Likewise.
638         * ld-sparc/tlssunpic32.rd: Likewise.
639         * ld-sparc/tlssunpic64.rd: Likewise.
640
641 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
642
643         * ld-cris/hiddef1.d: Updated.
644         * ld-cris/libdso-2.d: Likewise.
645         * ld-cris/tls-js1.d: Likewise.
646         * ld-cris/tls-local-63.d: Likewise.
647         * ld-cris/tls-local-64.d: Likewise.
648
649 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
650
651         PR binutils/14088
652         * ld-ia64/tlspic.rd: Updated.
653         * ld-x86-64/tlsdesc-nacl.rd: Likewise.
654         * ld-x86-64/tlsdesc.rd: Likewise.
655         * ld-x86-64/tlspic-nacl.rd: Likewise.
656         * ld-x86-64/tlspic.rd: Likewise.
657
658 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
659
660         * ld-x86-64/ilp32-11.d: Updated.
661
662 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
663
664         * ld-x86-64/pr13082-1a.d: Check RELACOUNT.
665         * ld-x86-64/pr13082-1b.d: Likewise.
666
667 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
668
669         * ld-x86-64/ilp32-11.d: New file.
670         * ld-x86-64/ilp32-11.s: Likewise.
671
672         * ld-x86-64/x86-64.exp: Run ilp32-11.
673
674 2012-05-05  H.J. Lu  <hongjiu.lu@intel.com>
675
676         PR ld/14052
677         * ld-elf/pr14052.d: New file.
678         * ld-elf/pr14052.t: Likewise.
679
680 2012-05-05  Alan Modra  <amodra@gmail.com>
681
682         PR ld/14052
683         PR ld/13621
684         * ld-elf/warn2.d: Revert 2012-02-13 change.
685         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
686
687 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
688
689         * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32.
690         * ld-elf/eh2.d: Likewise.
691         * ld-elf/eh3.d: Likewise.
692         * ld-elf/eh4.d: Likewise.
693
694         * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32.
695         * ld-shared/shared.exp: Likewise.
696
697         * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
698
699 2012-04-24  Roland McGrath  <mcgrathr@google.com>
700
701         * ld-x86-64/plt-nacl.pd: Fix expected nop padding.
702         * ld-x86-64/tlsdesc-nacl.pd: Likewise.
703
704 2012-04-24  Hans-Peter Nilsson  <hp@axis.com>
705
706         PR ld/13990
707         * ld-arm/arm-elf.exp: Run gc-hidden-1.
708         * ld-arm/gc-hidden-1.d: New test-file.
709         * ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
710         ld-arm/main.s: New files.
711
712 2012-04-23  Andreas Schwab  <schwab@linux-m68k.org>
713
714         * ld-pie/pie.exp: Remove extra braces.
715
716 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
717
718         PR ld/13947
719         * ld-x86-64/x86-64.exp: Run pr13947.
720         * ld-x86-64/pr13947.d: New file.
721         * ld-x86-64/pr13947.s: Likewise.
722
723 2012-04-13  Roland McGrath  <mcgrathr@google.com>
724
725         * ld-arm/arm-elf.exp (armelftests_common): Move cases using
726         mixed-lib.so to ...
727         (armelftests_nonacl): ... here.
728
729 2012-04-12  Roland McGrath  <mcgrathr@google.com>
730
731         * ld-arm/arm-elf.exp (armelftests): Split out into ...
732         (armelftests_common, armelftests_nonacl): ... these two.
733         (armeabitests): Split out into ...
734         (armeabitests_common, armeabitests_nonacl): ... these two.
735         Omit _nonacl sets for arm*-*-nacl* targets.
736
737         * ld-arm/farcall-mix.d: Don't match exact addresses, only symbolic ones.
738         * ld-arm/farcall-mix2.d: Likewise.
739         * ld-arm/farcall-group.d: Likewise.
740
741         * ld-arm/tls-gdesc-got.d: Match variant file formats too.
742         Accept some variation in exact addresses.
743
744         * ld-arm/thumb2-b-interwork.d: Match variant file formats too.
745         Fix regexps not to care about exact addresses where not relevant.
746
747         * ld-arm/thumb2-bl-undefweak.d: Match any hex strings, not any
748         strings of particular exact lengths.
749         * ld-arm/thumb2-bl-undefweak1.d: Likewise.
750
751         * ld-arm/arm-app.r: Match variant file formats too.
752         * ld-arm/arm-app-abs32.r: Likewise.
753         * ld-arm/arm-lib.d: Likewise.
754         * ld-arm/arm-lib.r: Likewise.
755         * ld-arm/arm-static-app.r: Likewise.
756         * ld-arm/armv4-bx.d: Likewise.
757         * ld-arm/data-only-map.d: Likewise.
758         * ld-arm/group-relocs.d: Likewise.
759         * ld-arm/jump19.d: Likewise.
760         * ld-arm/reloc-boundaries.d: Likewise.
761         * ld-arm/thumb1-bl.d: Likewise.
762         * ld-arm/thumb2-bl.d: Likewise.
763         * ld-arm/tls-app.d: Likewise.
764         * ld-arm/tls-app.r: Likewise.
765         * ld-arm/tls-gdierelax.d: Likewise.
766         * ld-arm/tls-gdierelax2.d: Likewise.
767         * ld-arm/tls-gdlerelax.d: Likewise.
768         * ld-arm/tls-lib.d: Likewise.
769         * ld-arm/tls-lib.r: Likewise.
770         * ld-arm/tls-mixed.r: Likewise.
771         * ld-arm/vfp11-fix-none.d: Likewise.
772         * ld-arm/vfp11-fix-scalar.d: Likewise.
773         * ld-arm/vfp11-fix-vector.d: Likewise.
774         * ld-arm/arm-static-app.d: Likewise.
775         Fix regexps not to care about exact number of leading spaces.
776         * ld-arm/arm-app-abs32.d: Likewise.
777         * ld-arm/fix-arm1176-off.d: Likewise.
778         * ld-arm/fix-arm1176-on.d: Likewise.
779
780         * ld-arm/arm-elf.exp: Treat nacl targets like eabi targets.
781
782 2012-04-09  Roland McGrath  <mcgrathr@google.com>
783
784         * ld-elf/eh1.d: Add explicit --64 to as options, and explicit
785         -melf_x86_64 and -Ttext to ld options, so we don't assume every
786         x86_64-*-* target uses --64 (vs --x32) by default or has the
787         same address space layout.
788         * ld-elf/eh2.d: Likewise.
789         * ld-elf/eh3.d: Likewise.
790         * ld-elf/eh4.d: Likewise.
791         * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to
792         map -melf_x86_64 to -melf_x86_64_nacl.
793
794 2012-04-07  David S. Miller  <davem@davemloft.net>
795
796         * ld-sparc/tlssunbin32.rd: Fix regexp.
797         * ld-sparc/tlssunbin64.rd: Likewise.
798
799 2012-04-03  Roland McGrath  <mcgrathr@google.com>
800
801         * ld-x86-64/ilp32-4-nacl.d: New file.
802         * ld-x86-64/x86-64.exp: Run it.
803
804         * ld-discard/discard.exp: Accept nacl targets too.
805         * ld-elf/binutils.exp: Likewise.
806         * ld-elf/comm-data.exp: Likewise.
807         * ld-elf/elf.exp: Likewise.
808         * ld-elf/tls_common.exp: Likewise.
809         * ld-elfvers/vers.exp: Likewise.
810         * ld-elfvsb/elfvsb.exp: Likewise.
811         * ld-elfweak/elfweak.exp: Likewise.
812         * ld-gc/gc.exp: Likewise.
813         * ld-ifunc/binutils.exp: Likewise.
814         * ld-ifunc/ifunc.exp: Likewise.
815         * ld-linkonce/linkonce.exp:Likewise.
816         * ld-pie/pie.exp: Likewise.
817         * ld-shared/shared.exp: Likewise.
818         * ld-undefined/weak-undef.exp: Likewise.
819         * ld-unique/unique.exp: Likewise.
820         * ld-x86-64/dwarfreloc.exp: Likewise.
821         * ld-x86-64/line.exp: Likewise.
822
823         * lib/ld-lib.exp (slurp_options): Support global array
824         options_regsub to apply substitutions to the contents
825         of options lines read from the file.
826         * ld-i386/emit-relocs.d: Renamed to ...
827         * ld-i386/emit-relocs.rd: ... this.
828         * ld-i386/i386.exp: Accept nacl targets too.
829         For them, use options_regsub to replace elf_i386 with
830         elf_i386_nacl in run_dump_test cases; apply the same
831         substitution in $i386tests; replace foo.rd expectations
832         files with foo-nacl.rd in $i386tests.
833         (i386tests): Change emit-relocs.d to emit-relocs.rd here.
834         * ld-i386/emit-relocs-nacl.rd: New file.
835         * ld-i386/plt-nacl.pd: New file.
836         * ld-i386/plt-pic-nacl.pd: New file.
837         * ld-i386/tlsbin-nacl.rd: New file.
838         * ld-i386/tlsbindesc-nacl.rd: New file.
839         * ld-i386/tlsdesc-nacl.rd: New file.
840         * ld-i386/tlsgdesc-nacl.rd: New file.
841         * ld-i386/tlsnopic-nacl.rd: New file.
842         * ld-i386/tlspic-nacl.rd: New file.
843         * ld-x86-64/x86-64.exp: Accept nacl targets too.
844         For them, use options_regsub to replace elf_x86_64 with
845         elf_x86_64_nacl in run_dump_test cases; apply the same
846         substitution in $x86_64tests; replace foo.rd expectations
847         files with foo-nacl.rd in $x86_64tests.
848         Add explicit -melf_x86_64 to ld options in tests that need it,
849         in case the default emulation is x32 (as it is for x86_64-nacl).
850         * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
851         * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
852         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
853         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
854         * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
855         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
856         * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
857         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
858
859         * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
860         and not to depend on exact addresses, displacements, etc. where
861         they are irrelevant.
862         * ld-i386/pcrel16.d: Likewise.
863         * ld-i386/pcrel16abs.d: Likewise.
864         * ld-i386/pr12718.d: Likewise.
865         * ld-i386/pr12921.d: Likewise.
866         * ld-i386/reloc.d: Likewise.
867         * ld-i386/tlsbin.dd: Likewise.
868         * ld-i386/tlsbin.sd: Likewise.
869         * ld-i386/tlsbin.td: Likewise.
870         * ld-i386/tlsbindesc.dd: Likewise.
871         * ld-i386/tlsbindesc.sd: Likewise.
872         * ld-i386/tlsbindesc.td: Likewise.
873         * ld-i386/tlsdesc.dd: Likewise.
874         * ld-i386/tlsdesc.sd: Likewise.
875         * ld-i386/tlsdesc.td: Likewise.
876         * ld-i386/tlsg.sd: Likewise.
877         * ld-i386/tlsgdesc.dd: Likewise.
878         * ld-i386/tlsindntpoff.dd: Likewise.
879         * ld-i386/tlsnopic.dd: Likewise.
880         * ld-i386/tlsnopic.sd: Likewise.
881         * ld-i386/tlspic.dd: Likewise.
882         * ld-i386/tlspic.sd: Likewise.
883         * ld-i386/tlspic.td: Likewise.
884         * ld-i386/tlspie2.d: Likewise.
885         * ld-x86-64/hidden2.d: Likewise.
886         * ld-x86-64/pcrel16.d: Likewise.
887         * ld-x86-64/pr12718.d: Likewise.
888         * ld-x86-64/pr12921.d: Likewise.
889         * ld-x86-64/protected3.d: Likewise.
890         * ld-x86-64/tlsbin.dd: Likewise.
891         * ld-x86-64/tlsbin.sd: Likewise.
892         * ld-x86-64/tlsbin.td: Likewise.
893         * ld-x86-64/tlsbindesc.dd: Likewise.
894         * ld-x86-64/tlsbindesc.sd: Likewise.
895         * ld-x86-64/tlsbindesc.td: Likewise.
896         * ld-x86-64/tlsdesc.dd: Likewise.
897         * ld-x86-64/tlsdesc.sd: Likewise.
898         * ld-x86-64/tlsdesc.td: Likewise.
899         * ld-x86-64/tlsg.sd: Likewise.
900         * ld-x86-64/tlsgd5.dd: Likewise.
901         * ld-x86-64/tlsgd6.dd: Likewise.
902         * ld-x86-64/tlsgdesc.dd: Likewise.
903         * ld-x86-64/tlspic.dd: Likewise.
904         * ld-x86-64/tlspic.sd: Likewise.
905         * ld-x86-64/tlspic.td: Likewise.
906
907         * ld-x86-64/ilp32-8.d: Match any file format variant.
908         Use a -Ttext and adjust expected results, to handle variant layouts.
909         * ld-x86-64/ilp32-9.d: Likewise.
910
911         * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
912         * ld-i386/pr12627.t: Likewise.
913
914         * ld-x86-64/abs-l1om.d: Add target: constraint.
915         * ld-x86-64/protected2-l1om.d: Likewise.
916         * ld-x86-64/protected3-l1om.d: Likewise.
917         * ld-x86-64/ilp32-4.d: Likewise.
918
919         * ld-x86-64/plt.s: New file.
920         * ld-x86-64/pltlib.s: New file.
921         * ld-x86-64/plt.pd: New file.
922         * ld-x86-64/x86-64.exp (x86_64tests): Add them.
923
924         * ld-i386/plt.s: New file.
925         * ld-i386/pltlib.s: New file.
926         * ld-i386/plt.pd: New file.
927         * ld-i386/plt-pic.s: New file.
928         * ld-i386/plt-pic.pd: New file.
929         * ld-i386/i386.exp (i386tests): Add them.
930
931 2012-03-25  Alan Modra  <amodra@gmail.com>
932
933         * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
934         file offset and reloc symbol indices.
935
936 2012-03-21  Hans-Peter Nilsson  <hp@axis.com>
937
938         PR ld/13813
939         * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
940         tests, also specify assembler option -march=mips3.
941
942 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
943
944         PR ld/13880
945         * ld-i386/i386.exp: Run protected4 and protected5.
946         * ld-x86-64/x86-64.exp: Likewise.
947
948         * ld-i386/protected4.d: New.
949         * ld-i386/protected4.s: Likewise.
950         * ld-i386/protected5.d: Likewise.
951         * ld-i386/protected5.s: Likewise.
952         * ld-x86-64/protected4.d: Likewise.
953         * ld-x86-64/protected4.s: Likewise.
954         * ld-x86-64/protected5.d: Likewise.
955         * ld-x86-64/protected5.s: Likewise.
956
957 2012-03-19  Andreas Schwab  <schwab@linux-m68k.org>
958
959         * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
960         --copy-dt-needed-entries.
961
962 2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
963
964         * ld-arm/arm-elf.exp: Add new testcases.
965         * ld-arm/attr-merge-2.attr: Update ouput.
966         * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
967         * ld-arm/attr-merge-2b.s: Likewise.
968         * ld-arm/attr-merge-3.attr: Updated expected output.
969         * ld-arm/attr-merge-4.attr: Likewise.
970         * ld-arm/attr-merge-5.attr: Likewise.
971         * ld-arm/attr-merge-6.attr: Likewise.
972         * ld-arm/attr-merge-7.attr: Likewise.
973         * ld-arm/attr-merge-arch-1.attr: Likewise.
974         * ld-arm/attr-merge-arch-2.attr: Likewise.
975         * ld-arm/attr-merge-unknown-2.d: Likewise.
976         * ld-arm/attr-merge-unknown-2r.d: Likewise.
977         * ld-arm/attr-merge-unknown-3.d: Likewise.
978         * ld-arm/attr-merge-vfp-1.d: Likewise.
979         * ld-arm/attr-merge-vfp-1r.d: Likewise.
980         * ld-arm/attr-merge-vfp-2.d: Likewise.
981         * ld-arm/attr-merge-vfp-2r.d: Likewise.
982         * ld-arm/attr-merge-vfp-3.d: Likewise.
983         * ld-arm/attr-merge-vfp-3r.d: Likewise.
984         * ld-arm/attr-merge-vfp-4.d: Likewise.
985         * ld-arm/attr-merge-vfp-4r.d: Likewise.
986         * ld-arm/attr-merge-vfp-5.d: Likewise.
987         * ld-arm/attr-merge-vfp-5r.d: Likewise.
988         * ld-arm/attr-merge-vfp-6.d: Likewise.
989         * ld-arm/attr-merge-vfp-6r.d: Likewise.
990         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
991         * ld-arm/attr-merge-wchar-00.d: Likewise.
992         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
993         * ld-arm/attr-merge-wchar-02.d: Likewise.
994         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
995         * ld-arm/attr-merge-wchar-04.d: Likewise.
996         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
997         * ld-arm/attr-merge-wchar-20.d: Likewise.
998         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
999         * ld-arm/attr-merge-wchar-22.d: Likewise.
1000         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
1001         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
1002         * ld-arm/attr-merge-wchar-40.d: Likewise.
1003         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
1004         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
1005         * ld-arm/attr-merge-wchar-44.d: Likewise.
1006         * ld-arm/attr-merge.attr: Likewise.
1007         * ld-arm/attr-merge-div-0.s: New testcase.
1008         * ld-arm/attr-merge-div-00.d: Likewise.
1009         * ld-arm/attr-merge-div-01-m3.d: Likewise.
1010         * ld-arm/attr-merge-div-01.d: Likewise.
1011         * ld-arm/attr-merge-div-02.d: Likewise.
1012         * ld-arm/attr-merge-div-1.s: Likewise.
1013         * ld-arm/attr-merge-div-10-m3.d: Likewise.
1014         * ld-arm/attr-merge-div-10.d: Likewise.
1015         * ld-arm/attr-merge-div-11.d: Likewise.
1016         * ld-arm/attr-merge-div-12.d: Likewise.
1017         * ld-arm/attr-merge-div-120.d: Likewise.
1018         * ld-arm/attr-merge-div-2.s: Likewise.
1019         * ld-arm/attr-merge-div-20.d: Likewise.
1020         * ld-arm/attr-merge-div-21.d: Likewise.
1021         * ld-arm/attr-merge-div-22.d: Likewise.
1022
1023 2012-03-16  Alan Modra  <amodra@gmail.com>
1024
1025         * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
1026
1027 2012-03-15  Alan Modra  <amodra@gmail.com>
1028
1029         * config/default.exp: Update copyright date.
1030         * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
1031         shared libs.
1032         * ld-elfvers/vers.exp: Likewise.
1033
1034 2012-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1035
1036         PR ld/13839
1037         * ld-elf/pr13839.d: New.
1038         * ld-elf/pr13839.s: Likewise.
1039         * ld-elf/pr13839.t: Likewise.
1040
1041 2012-03-09  H.J. Lu  <hongjiu.lu@intel.com>
1042
1043         PR ld/13817
1044         * ld-i386/pr13302.d: Updated.
1045         * ld-x86-64/pr13082-5b.d: Likewise.
1046         * ld-x86-64/pr13082-6a.d: Likewise.
1047         * ld-x86-64/pr13082-6b.d: Likewise.
1048
1049 2012-03-06  Alan Modra  <amodra@gmail.com>
1050
1051         PR ld/13683
1052         * ld-gc/pr13683.d: Allow non-zero top address digit.
1053
1054 2012-03-05  Hans-Peter Nilsson  <hp@axis.com>
1055
1056         PR ld/13803
1057         * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
1058         address of func_to_branch_to.
1059
1060 2012-03-01  Hans-Peter Nilsson  <hp@axis.com>
1061
1062         PR ld/13789
1063         * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
1064
1065 2012-02-25  Walter Lee  <walt@tilera.com>
1066
1067         * ld-tilegx/reloc-be.d: New.
1068         * ld-tilegx/reloc-le.d: New.
1069         * ld-tilegx/reloc.d: Delete.
1070         * ld-tilegx/tilegx.exp: Test big and little endian.
1071
1072 2012-02-22  Nick Clifton  <nickc@redhat.com>
1073
1074         PR ld/13683
1075         * ld-gc/pr13683.c: New test source file.
1076         * ld-gc/pr13683.d: New test control and output file.
1077         * ld-gc/gc.exp: Run the pr13683 test.
1078
1079         * ld-cris/tls-gc-68: Update expected symbol table dump.
1080         * ld-cris/tls-gc-69: Likewise.
1081         * ld-cris/tls-gc-70: Likewise.
1082         * ld-cris/tls-gc-71: Likewise.
1083         * ld-cris/tls-gc-75: Likewise.
1084         * ld-cris/tls-gc-76.d: Likewise.
1085         * ld-cris/tls-gc-79.d: Likewise.
1086
1087 2012-02-20  Thomas Schwinge <thomas@schwinge.name>
1088
1089         * ld-elf/comm-data.exp: Run for *-*-gnu*.
1090
1091 2012-02-14  Alan Modra  <amodra@gmail.com>
1092
1093         * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
1094         * ld-elf/pr11304a.s: Always have whitespace before directives.
1095         * ld-elf/pr11304b.s: Likewise.
1096         * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
1097         * lib/ld-lib.exp: Likewise, and vice versa.
1098
1099 2012-02-13  Richard Henderson  <rth@redhat.com>
1100
1101         PR ld/13621
1102         * ld-elf/warn2.d: Expect ABS section for Foo.
1103         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
1104
1105 2012-02-13  Alan Modra  <amodra@gmail.com>
1106
1107         * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
1108         * ld-m68hc11/adj-brset.d: Remove redundant #target line.  Add
1109         -m m68hc11elf to ld invocation.
1110         * ld-m68hc11/adj-jump.d: Likewise.
1111         * ld-m68hc11/bug-1403.d: Likewise.
1112         * ld-m68hc11/bug-1417.d: Likewise.
1113         * ld-m68hc11/bug-3331.d: Likewise.
1114         * ld-m68hc11/relax-direct.d: Likewise.
1115         * ld-m68hc11/relax-group.d: Likewise.
1116         * ld-m68hc11/far-hc11.d: Remove redundant #target line.  Adjust for
1117         changed addresses.
1118         * ld-m68hc11/far-hc12.d: Remove redundant #target line.
1119         * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
1120
1121 2012-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1122
1123         PR ld/13675
1124         * ld-i386/tlsnopic.dd: Update no-op padding.
1125         * ld-i386/tlspic.dd: Likewise.
1126
1127 2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
1128
1129         PR ld/13616
1130         * ld-i386/tlsbindesc.dd: Update no-op padding.
1131         * ld-i386/tlsnopic.dd: Likewise.
1132         * ld-i386/tlspic.dd: Likewise.
1133         * ld-x86-64/tlsbin.dd: Likewise.
1134         * ld-x86-64/tlsbindesc.dd: Likewise.
1135         * ld-x86-64/tlspic.dd: Likewise.
1136
1137 2012-01-17  Alan Modra  <amodra@gmail.com>
1138
1139         * config/default.exp: Provide tmpdir/ld/collect-ld.
1140
1141 2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1142
1143         PR ld/13581
1144         * ld-x86-64/ilp32-4.s: New.
1145         * ld-x86-64/ilp32-10.d: Likewise.
1146         * ld-x86-64/ilp32-10.s: Likewise.
1147
1148         * ld-x86-64/ilp32-4.d: Adjusted.
1149         * ld-x86-64/ilp32-5.d: Likewise.
1150         * ld-x86-64/ilp32-5.s: Likewise.
1151
1152         * ld-x86-64/x86-64.exp: Run ilp32-10.
1153
1154 2012-01-05  Nick Clifton  <nickc@redhat.com>
1155
1156         * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
1157         64-bit objects when the 32-bit object (loaded first) contains 32+
1158         local symbols, all referenced by relocs and the 64-bit object
1159         contains a reloc that uses a symbol in the 32-bit object.
1160         * 32bit.s: New source file.
1161         * 64bit.s: New source file.
1162         * incompatible.l: New expected linker output file.
1163
1164 For older changes see ChangeLog-2011
1165 \f
1166 Local Variables:
1167 mode: change-log
1168 left-margin: 8
1169 fill-column: 74
1170 version-control: never
1171 End: