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