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