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