103719804feb2f44a2a9203bead452f5a9aac483
[external/binutils.git] / ld / ChangeLog
1 2016-02-25  Nick Clifton  <nickc@redhat.com>
2
3         * ld.h (struct ld_config_type): Remove specified_data_size field.
4
5 2016-02-24  H.J. Lu  <hongjiu.lu@intel.com>
6
7         PR ld/19698
8         * testsuite/ld-elf/pr19698.d: New file.
9         * testsuite/ld-elf/pr19698.s: Likewise.
10         * testsuite/ld-elf/pr19698.t: Likewise.
11
12 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13
14         * Makefile.am (ELF_X86_DEPS): New.
15         (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
16         (eelf_i386_chaos.c): Likewise.
17         (eelf_i386_fbsd.c): Likewise.
18         (eelf_i386_ldso.c): Likewise.
19         (eelf_i386_nacl.c): Likewise.
20         (eelf_i386_sol2.c): Likewise.
21         (eelf_iamcu.c): Likewise.
22         (eelf32_x86_64.c): Likewise.
23         (eelf32_x86_64_nacl.c): Likewise.
24         (eelf_l1om.c): Likewise.
25         (eelf_l1om_fbsd.c): Likewise.
26         (eelf_k1om.c): Likewise.
27         (eelf_k1om_fbsd.c): Likewise.
28         (eelf_x86_64.c): Likewise.
29         (eelf_x86_64_cloudabi.c): Likewise.
30         (eelf_x86_64_fbsd.c): Likewise.
31         (eelf_x86_64_sol2.c): Likewise.
32         * Makefile.in: Regenerated.
33
34 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35
36         * testsuite/ld-frv/fdpic-pie-6.d: Updated.
37         * testsuite/ld-mips-elf/pie-n32.d: Likewise.
38         * testsuite/ld-mips-elf/pie-n64.d: Likewise.
39         * testsuite/ld-mips-elf/pie-o32.d: Likewise.
40
41 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
42
43         * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
44
45 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
46
47         * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
48         *-*-gnu* and *-*-solaris*.
49         * testsuite/ld-elf/pr19617b.d: Likewise.
50         * testsuite/ld-elf/pr19617c.d: Likewise.
51
52 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
53
54         PR ld/19617
55         * testsuite/ld-elf/pr19617.s: New file.
56         * testsuite/ld-elf/pr19617a.d: Likewise.
57         * testsuite/ld-elf/pr19617b.d: Likewise.
58         * testsuite/ld-elf/pr19617c.d: Likewise.
59
60 2016-02-18  Nick Clifton  <nickc@redhat.com>
61
62         * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
63         in-tree xg++ executable after checking for the presence of an
64         in-tree g++ executable.
65         * Makefile.in: Regenerate.
66
67 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
68
69         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
70         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
71         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
72
73 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
74
75         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
76         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
77         * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
78         * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
79         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
80         * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
81         * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
82         * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
83         * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
84         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
85         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
86         * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
87         * testsuite/ld-x86-64/load1c.d: Likewise.
88         * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
89         * testsuite/ld-x86-64/load1d.d: Likewise.
90         * testsuite/ld-x86-64/pr14207.d: Likewise.
91         * testsuite/ld-x86-64/pr19162.d: Likewise.
92         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
93         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
94         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
95         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
96         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
97         * testsuite/ld-x86-64/tlspic.rd: Likewise.
98
99 2016-02-17  Nick Clifton  <nickc@redhat.com>
100
101         * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
102
103 2016-02-15  Nick Clifton  <nickc@redhat.com>
104
105         * testsuite/ld-i386/pr12718.d: Remove dependency upon the
106         description of the flags produced by readelf.
107         * testsuite/ld-i386/pr12921.d: Likewise.
108         * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
109         * testsuite/ld-i386/tlsbin.rd: Likewise.
110         * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
111         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
112         * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
113         * testsuite/ld-i386/tlsdesc.rd: Likewise.
114         * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
115         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
116         * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
117         * testsuite/ld-i386/tlsnopic.rd: Likewise.
118         * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
119         * testsuite/ld-i386/tlspic.rd: Likewise.
120         * testsuite/ld-s390/tlsbin.rd: Likewise.
121         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
122         * testsuite/ld-s390/tlspic.rd: Likewise.
123         * testsuite/ld-s390/tlspic_64.rd: Likewise.
124         * testsuite/ld-sh/tlsbin-2.d: Likewise.
125         * testsuite/ld-sh/tlspic-2.d: Likewise.
126         * testsuite/ld-tic6x/common.d: Likewise.
127         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
128         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
129         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
130         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
131         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
132         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
133         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
134         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
135         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
136         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
137         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
138         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
139         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
140         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
141         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
142         * testsuite/ld-x86-64/pr12718.d: Likewise.
143         * testsuite/ld-x86-64/pr12921.d: Likewise.
144         * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
145         * testsuite/ld-x86-64/split-by-file.rd: Likewise.
146         * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
147         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
148         * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
149         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
150         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
151         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
152         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
153         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
154         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
155         * testsuite/ld-x86-64/tlspic.rd: Likewise.
156         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
157         * testsuite/ld-xtensa/tlspic.rd: Likewise.
158
159 2016-02-11  H.J. Lu  <hongjiu.lu@intel.com>
160
161         PR ld/19615
162         * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
163         PIE.
164         * lexsup.c (parse_args): Enable -Bsymbolic and
165         -Bsymbolic-functions for PIE.
166         * testsuite/ld-i386/i386.exp: Run pr19615.
167         * testsuite/ld-i386/pr19615.d: New file.
168         * testsuite/ld-i386/pr19615.s: Likewise.
169         * testsuite/ld-x86-64/pr19615.d: Likewise.
170         * testsuite/ld-x86-64/pr19615.s: Likewise.
171
172 2016-02-09  Nick Clifton  <nickc@redhat.com>
173
174         * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
175         * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
176         * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
177         * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
178
179 2016-02-04  Nick Clifton  <nickc@redhat.com>
180
181         * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
182         * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
183         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
184         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
185         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
186         * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
187         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
188         * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
189         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
190
191 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
192
193         PR gas/19520
194         * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
195         * testsuite/ld-i386/call1.d: Likewise.
196         * testsuite/ld-i386/call2.d: Likewise.
197         * testsuite/ld-i386/call3a.d: Likewise.
198         * testsuite/ld-i386/call3b.d: Likewise.
199         * testsuite/ld-i386/call3c.d: Likewise.
200         * testsuite/ld-i386/call3d.d: Likewise.
201         * testsuite/ld-i386/call3e.d: Likewise.
202         * testsuite/ld-i386/call3f.d: Likewise.
203         * testsuite/ld-i386/call3g.d: Likewise.
204         * testsuite/ld-i386/call3h.d: Likewise.
205         * testsuite/ld-i386/jmp1.d: Likewise.
206         * testsuite/ld-i386/jmp2.d: Likewise.
207         * testsuite/ld-i386/lea1c.d: Likewise.
208         * testsuite/ld-i386/load1.d: Likewise.
209         * testsuite/ld-i386/load2.d: Likewise.
210         * testsuite/ld-i386/load3.d: Likewise.
211         * testsuite/ld-i386/load4a.d: Likewise.
212         * testsuite/ld-i386/load5a.d: Likewise.
213         * testsuite/ld-i386/mov2b.d: Likewise.
214         * testsuite/ld-i386/mov3.d: Likewise.
215         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
216         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
217         * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
218         * testsuite/ld-x86-64/call1a.d: Likewise.
219         * testsuite/ld-x86-64/call1b.d: Likewise.
220         * testsuite/ld-x86-64/call1c.d: Likewise.
221         * testsuite/ld-x86-64/call1d.d: Likewise.
222         * testsuite/ld-x86-64/call1e.d: Likewise.
223         * testsuite/ld-x86-64/call1f.d: Likewise.
224         * testsuite/ld-x86-64/call1h.d: Likewise.
225         * testsuite/ld-x86-64/call1i.d: Likewise.
226         * testsuite/ld-x86-64/load1a.d: Likewise.
227         * testsuite/ld-x86-64/load1b.d: Likewise.
228         * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
229         * testsuite/ld-i386/got1.dd: Updated.
230         * testsuite/ld-i386/got1d.S (1): Removed.
231         * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
232         * testsuite/ld-x86-64/x86-64.exp: Likewise.
233
234 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
235
236         PR ld/18591
237         * testsuite/ld-x86-64/pr18591.d: New file.
238         * testsuite/ld-x86-64/pr18591.s: Likewise.
239         * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
240
241 2016-02-01  H.J. Lu  <hongjiu.lu@intel.com>
242
243         PR ld/19553
244         * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
245         * testsuite/ld-elf/pr19553.map: New file.
246         * testsuite/ld-elf/pr19553.map: Likewise.
247         * testsuite/ld-elf/pr19553a.c: Likewise.
248         * testsuite/ld-elf/pr19553b.c: Likewise.
249         * testsuite/ld-elf/pr19553b.out: Likewise.
250         * testsuite/ld-elf/pr19553c.c: Likewise.
251         * testsuite/ld-elf/pr19553c.out: Likewise.
252         * testsuite/ld-elf/pr19553d.c: Likewise.
253         * testsuite/ld-elf/pr19553d.out: Likewise.
254
255 2016-01-30  H.J. Lu  <hongjiu.lu@intel.com>
256
257         PR ld/19539
258         * testsuite/ld-elf/pr19539.d: New file.
259         * testsuite/ld-elf/pr19539.s: Likewise.
260         * testsuite/ld-elf/pr19539.t: Likewise.
261
262 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
263
264         PR ld/19533
265         * configure.ac (compressed_debug_sections): Replace == with =.
266         * configure: Regenerated.
267
268 2016-01-22  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
269
270         * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
271         * scripttempl/avrtiny.sc (.noinit): Likewise.
272
273 2016-01-21  Nick Clifton  <nickc@redhat.com>
274
275         PR ld/19453
276         * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
277         the arm-netbsdelf target.
278
279         PR ld/19455
280         * testsuite/ld-arm/vxworks1-lib.dd: Update for current
281         disassmebler output.
282         * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
283         * testsuite/ld-arm/vxworks1.dd: Likewise.
284         * testsuite/ld-arm/vxworks1.rd: Likewise.
285         * testsuite/ld-arm/vxworks1.ld: Set the output format.
286
287 2016-01-20  Jiong Wang  <jiong.wang@arm.com>
288
289         * testsuite/ld-aarch64/farcall-section.d: Delete.
290         * testsuite/ld-aarch64/farcall-section.s: Delete.
291         * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
292         * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
293         * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
294         * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
295         * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
296
297 2016-01-20  Nick Clifton  <nickc@redhat.com>
298
299         PR 19457
300         * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
301         early for PE based targets.
302         * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
303         * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
304
305 2016-01-20  Mickael Guene  <mickael.guene@st.com>
306
307         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
308         Add 'y' attribute usage.
309         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
310         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
311         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
312
313 2016-01-19  Nick Clifton  <nickc@redhat.com>
314
315         * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
316         foo@FOO and bar@@FOO.
317
318 2016-01-18  Alan Modra  <amodra@gmail.com>
319
320         * configure: Regenerate.
321
322 2016-01-18  Nick Clifton  <nickc@redhat.com>
323
324         * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
325         is not configured to support plugins.
326
327         * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
328         but with 16 byte section alignment.
329         * testsuite/ld-scripts/rgn-at11.d: Use new source file.  Reenable
330         test for MIPS targets.
331
332 2016-01-17  Alan Modra  <amodra@gmail.com>
333
334         * configure: Regenerate.
335
336 2016-01-17  Alan Modra  <amodra@gmail.com>
337
338         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
339         * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
340         * testsuite/ld-elf/pr14156a.d: Likewise.
341         * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
342         * testsuite/ld-elf/sec64k.exp: Likewise.
343
344 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
345
346         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
347         Set address of .foo section when linking.
348         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
349         in .foo section.
350         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
351         output to the above changes.
352
353 2016-01-13  Nick Clifton  <nickc@redhat.com>
354
355         * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
356         for MIPS targets.
357
358         * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
359         fail for MIPS targets.
360
361         * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
362         MIPS targets.
363
364 2016-01-12  Yury Usishchev  <y.usishchev@samsung.com>
365
366         * testsuite/ld-arm/arm-elf.exp: New test.
367         * testsuite/ld-arm/unwind-mix.d: New file.
368         * testsuite/ld-arm/unwind-mix1.s: New file.
369         * testsuite/ld-arm/unwind-mix2.s: New file.
370
371 2016-01-08  Jiong Wang  <jiong.wang@arm.com>
372
373         PR ld/19368
374         * testsuite/ld-arm/ifunc-3.rd: Update expected result.
375         * testsuite/ld-arm/ifunc-4.rd: Likewise.
376         * testsuite/ld-arm/ifunc-9.rd: Likewise.
377         * testsuite/ld-arm/ifunc-10.rd: Likewise.
378         * testsuite/ld-arm/ifunc-12.rd: Likewise.
379         * testsuite/ld-arm/ifunc-13.rd: Likewise.
380
381 2016-01-05  Nick Clifton  <nickc@redhat.com>
382
383         * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
384         MSP430 hardware multiply address range.
385         * scripttempl/elf32msp430.sc (__romdatastart): Define.
386         (__romdatacopysize): Define.
387         * scripttempl/elf32msp430_3.sc: Likewise.
388
389 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
390
391         * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
392         OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
393
394 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
395
396         * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
397         messages expected according to MIPS BFD private data merge
398         changes.
399         * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
400         * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
401         * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
402         * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
403         * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
404         * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
405         * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
406         * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
407         * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
408         * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
409         * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
410         * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
411         * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
412
413 2016-01-01  Alan Modra  <amodra@gmail.com>
414
415         Update year range in copyright notice of all files.
416
417 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
418 \f
419 Copyright (C) 2016 Free Software Foundation, Inc.
420
421 Copying and distribution of this file, with or without modification,
422 are permitted in any medium without royalty provided the copyright
423 notice and this notice are preserved.
424
425 Local Variables:
426 mode: change-log
427 left-margin: 8
428 fill-column: 74
429 version-control: never
430 End: