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