463f1a1fc930560e61d90c1aceb9c32b75d0c1e1
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2
3 * configure.tgt: Replace -uclibc with *.
4
5 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
6
7 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
8 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
9 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
10 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
11
12 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
13
14 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
15 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
16 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
17 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
18 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
19 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
20
21 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
22
23 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
24 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
25 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
26 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
27 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
28 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
29 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
30
31 2016-05-28 Alan Modra <amodra@gmail.com>
32
33 * ldmain.c (multiple_definition, multiple_common, add_to_set,
34 constructor_callback, warning_callback, undefined_symbol,
35 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
36 * emultempl/elf32.em: Adjust callback calls.
37
38 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
39
40 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
41 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
42 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
43 test.
44 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
45 test.
46 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
47 test.
48 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
49 test.
50 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
51 source.
52 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
53 source.
54 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
55
56 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
57
58 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
59 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
60 new test.
61 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
62
63 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
64
65 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
66 `unaligned-jalx-2' here.
67 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
68 `unaligned-jalx-mips16-2' here.
69 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
70 `unaligned-jalx-micromips-2' here.
71 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
72 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
73 message.
74 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
75 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
76 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
77 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
78 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
79 test.
80 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
81 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
82 `unaligned-lwpc-3' here.
83 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
84 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
85 `unaligned-lwpc-2' here.
86 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
87 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
88 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
89 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
90 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
91 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
92 `unaligned-ldpc-4' here.
93 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
94 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
95 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
96 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
97 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
98 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
99 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
100 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
101 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
102 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
103 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
104
105 2016-05-26 Nick Clifton <nickc@redhat.com>
106
107 PR target/20134
108 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
109 __bsssize.
110 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
111
112 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
113
114 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
115 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
116 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
117 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
118 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
119 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
120 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
121 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
122 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
123 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
124 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
125 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
126 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
127 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
128 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
129 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
130 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
131 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
132 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
133 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
134 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
135 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
136 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
137 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
138 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
139 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
140 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
141 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
142 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
143 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
144 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
145 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
146 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
147
148 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
149
150 PR ld/20103
151 * ldmain.c (add_archive_element): Don't claim new IR symbols
152 after all IR symbols have been claimed.
153 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
154 check.
155 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
156 Run PR ld/20103 tests.
157 * testsuite/ld-plugin/pr20103a.c: New file.
158 * testsuite/ld-plugin/pr20103b.c: Likewise.
159 * testsuite/ld-plugin/pr20103c.c: Likewise.
160
161 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
162
163 * testsuite/ld-mips-elf/jalx-local.d: New test.
164 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
165 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
166 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
167
168 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
169
170 * Makefile.am: Add earmelf_phoenix.c.
171 * Makefile.in: Regenerate.
172 * configure.tgt: Add entry for arm-phoenix.
173 * emulparams/armelf_phoenix.sh: New file.
174
175 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
176
177 * emultempl/armelf.em (arm_elf_before_allocation): Call
178 bfd_elf32_arm_keep_private_stub_output_sections before generic
179 before_allocation function.
180
181 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
182
183 * testsuite/ld-mips-elf/jalx-addend.d: New test.
184 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
185 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
186 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
187
188 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
189
190 PR ld/20117
191 * testsuite/ld-i386/i386.exp: Run pr20117.
192 * testsuite/ld-i386/pr19609-1i.d: Updated.
193 * testsuite/ld-i386/pr20117.d: New file.
194 * testsuite/ld-i386/pr20117.s: Likewise.
195
196 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
197
198 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
199 * testsuite/ld-elf/group8a.d: Likewise.
200 * testsuite/ld-elf/group8b.d: Likewise.
201 * testsuite/ld-elf/group9a.d: Likewise.
202 * testsuite/ld-elf/group9b.d: Likewise.
203 * testsuite/ld-elf/pr12851.d: Likewise.
204 * testsuite/ld-elf/pr12975.d: Likewise.
205 * testsuite/ld-elf/pr13177.d: Likewise.
206 * testsuite/ld-elf/pr13195.d: Likewise.
207 * testsuite/ld-elf/pr17615.d: Likewise.
208 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
209 * testsuite/ld-elf/group3b.d: Likewise.
210 * testsuite/ld-srec/srec.exp: Likewise.
211 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
212 as supporting gc.
213 (check_shared_lib_support): Mark ARC as supporting.
214
215 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
216
217 * emulparams/arcelf.sh: Changed.
218 * emulparams/arclinux.sh: Likewise.
219 * scripttempl/arclinux.sc: Moved to a more standard implementation
220 similar to elf.sc.
221
222 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
223
224 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
225 `ft32-*-*' behind `frv-*-*'.
226
227 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
228
229 * configure.tgt: Remove `am34-*-linux*' support.
230
231 2016-05-19 Alan Modra <amodra@gmail.com>
232
233 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
234 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
235 * testsuite/ld-scripts/cross3.t: Likewise.
236 * testsuite/ld-scripts/cross4.t: Likewise.
237 * testsuite/ld-scripts/cross5.t: Likewise.
238 * testsuite/ld-scripts/cross6.t: Likewise.
239 * testsuite/ld-scripts/cross7.t: Likewise.
240
241 2016-05-19 Alan Modra <amodra@gmail.com>
242
243 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
244 exe name rather than constructing testname. Fix typo in
245 sub-test name. Log copying. Use -rpath rather than -R.
246
247 2016-05-18 Nick Clifton <nickc@redhat.com>
248
249 * scripttempl/ft32.sc: Use fixed constants for memory region
250 lengths. Include DWARF debug sections.
251 (.data .bss): Do not assign locations during relocatable links.
252 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
253 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
254 * testsuite/ld-elf/sec64k.exp: Likewise.
255 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
256 * testsuite/ld-elf/merge.d: Likewise.
257 * testsuite/ld-elf/orphan-region.d: Likewise.
258 * testsuite/ld-elf/orphan.s: Likewise.
259 * testsuite/ld-elf/orphan3.d: Likewise.
260 * testsuite/ld-elf/pr349.d: Likewise.
261 * testsuite/ld-elf/warn2.d: Likewise.
262 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
263 that the FT32 does not support shared libraries.
264
265 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
266
267 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
268 global CC.
269
270 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
271
272 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
273 above .progmem*.
274 * scripttempl/avrtiny.sc (text): Likewise.
275
276 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
277
278 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
279 `supports_gnu_unique' to qualify testing.
280
281 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
282
283 * testsuite/ld-elf/flags1.d: Update the xfail list.
284
285 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
286
287 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
288 removal.
289
290 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR ld/20097
293 * testplug2.c (onall_symbols_read): Remove redundant sizeof
294 on EXPECTED_VIEW_LENGTH.
295 * testplug4.c (onall_symbols_read): Likewise.
296
297 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
298
299 PR ld/20093
300 * testsuite/ld-x86-64/pr20093-1.d: New file.
301 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
302 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
303 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
304 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
305
306 2016-05-13 Alan Modra <amodra@gmail.com>
307
308 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
309 Use different output file name for static app without .rel.plt.
310 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
311 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
312 * testsuite/ld-arm/arm-no-rel-plt.r: New.
313 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
314 * testsuite/ld-arm/arm-static-app.r: Likewise.
315
316 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
317
318 PR ld/20070
319 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
320 (libldtestplug4_la_SOURCES): New.
321 (libldtestplug4_la_CFLAGS): Likewise.
322 (libldtestplug4_la_LDFLAGS): Likewise.
323 * Makefile.in: Regenerated.
324 * plugin.c (get_symbols): Return resolution based on IR symbol
325 kinds for symbols defined/referenced only within IR.
326 * testplug4.c: New file.
327 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
328 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
329 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
330 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
331 (plugin4_path): Likewise.
332 Add a test for ld/20070.
333
334 2016-05-11 Alan Modra <amodra@gmail.com>
335
336 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
337 Call elf32_hppa_init_stub_bfd.
338
339 2016-05-11 Alan Modra <amodra@gmail.com>
340
341 PR 20060
342 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
343 * testsuite/ld-powerpc/tlsdll.s: New.
344 * testsuite/ld-powerpc/tlsdll.ver: New.
345 * testsuite/ld-powerpc/tlsdll_32.s: New.
346 * testsuite/ld-powerpc/tlsopt5.d: New.
347 * testsuite/ld-powerpc/tlsopt5.s: New.
348 * testsuite/ld-powerpc/tlsopt5_32.d: New.
349 * testsuite/ld-powerpc/tlsopt5_32.s: New.
350
351 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
352
353 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
354 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
355
356 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
357
358 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
359 parameter and rename input_section parameter to after_input_section.
360 Append input stub section to the output section if after_input_section
361 is NULL.
362
363 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
364
365 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
366 test.
367 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
368 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
369
370 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
371
372 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
373
374 2016-05-09 Christophe Monat <christophe.monat@st.com>
375
376 PR ld/20030
377 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
378 tests. Fix misnamed stm32l4xx-fix-all.
379 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
380 loads with DP registers.
381 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
382 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
383 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
384 loads with DP registers.
385 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
386
387 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
388
389 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
390 program headers.
391 (xfail): Remove avr-*-*.
392 Update regex to check the section flags.
393 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
394
395 2016-05-09 Alan Modra <amodra@gmail.com>
396
397 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
398 * Makefile.in: Regenerate.
399
400 2016-05-09 Alan Modra <amodra@gmail.com>
401
402 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
403 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
404 * testsuite/ld-scripts/section-match-1.t: Likewise.
405
406 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
407
408 PR ld/17550
409 * testsuite/ld-elf/pr17550-1.s: New file.
410 * testsuite/ld-elf/pr17550-2.s: Likewise.
411 * testsuite/ld-elf/pr17550-3.s: Likewise.
412 * testsuite/ld-elf/pr17550-4.s: Likewise.
413 * testsuite/ld-elf/pr17550a.d: Likewise.
414 * testsuite/ld-elf/pr17550b.d: Likewise.
415 * testsuite/ld-elf/pr17550c.d: Likewise.
416 * testsuite/ld-elf/pr17550d.d: Likewise.
417
418 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
419
420 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
421
422 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
423
424 * testsuite/ld-i386/i386.exp: Run load7.
425 * testsuite/ld-i386/load7.d: New file.
426 * testsuite/ld-i386/load7.map: Likewise.
427 * testsuite/ld-i386/load7.s: Likewise.
428 * testsuite/ld-x86-64/load2.d: Likewise.
429 * testsuite/ld-x86-64/load2.map: Likewise.
430 * testsuite/ld-x86-64/load2.s: Likewise.
431 * testsuite/ld-x86-64/x86-64.exp: Run load2.
432
433 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
434
435 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
436 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
437 Likewise.
438 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
439 Likewise.
440
441 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
442
443 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
444
445 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
446
447 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
448
449 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
450
451 * testsuite/ld-unique/unique.d: New test.
452 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
453 messages for compiled tests.
454
455 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
456
457 * testsuite/ld-elf/pr18735.d: Allow other symbols.
458 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
459 * testsuite/ld-gc/pr14265.d: Allow other symbols.
460 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
461 plugin_tests only if check_shared_lib_support is true.
462 * testsuite/ld-selective/selective.exp: Add --section-start
463 flag for avr.
464
465 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
466
467 PR 10549
468 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
469
470 2016-05-03 Jiong Wang <jiong.wang@arm.com>
471
472 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
473 * NEWS: Mention --no-apply-dynamic-relocs.
474 * ld.texinfo (ld and the ARM family): Document
475 --no-apply-dynamic-relocs.
476 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
477 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
478 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
479 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
480 option.
481
482 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
483
484 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
485 before running STT_COMMON tests.
486
487 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
488
489 * config/default.exp (NOPIE_CFLAGS): Download source only on
490 remote host.
491 (NOPIE_LDFLAGS): Likewise.
492 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
493 (check_lto_fat_available): Likewise.
494 (check_lto_shared_available): Likewise.
495 (check_ifunc_available): Likewise.
496 (check_ifunc_attribute_available): Likewise.
497
498 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
499
500 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
501
502 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
503
504 PR ld/20006
505 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
506 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
507 ELF targets.
508
509 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
510
511 * testsuite/ld-elf/compressed1b.d: Pass
512 --compress-debug-sections=none to ld.
513 * testsuite/ld-elf/compressed1c.d: Likewise.
514
515 2016-04-27 Alan Modra <amodra@gmail.com>
516
517 PR target/19985
518 * configure.tgt: Don't use var+=.
519
520 2016-04-25 Nick Clifton <nickc@redhat.com>
521
522 PR target/19985
523 * configure.tgt: Include big endian PPC64 emulations with little
524 endian PPC64 targets.
525
526 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
527
528 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
529
530 2016-04-21 Nick Clifton <nickc@redhat.com>
531
532 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
533 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
534 targets. Do not stop the checks when problems are encountered.
535
536 2016-04-21 Alan Modra <amodra@gmail.com>
537
538 * testsuite/ld-scripts/cross3.t: Add commonly used data
539 and text section names to output section statements.
540 * testsuite/ld-scripts/cross4.t: Likewise.
541 * testsuite/ld-scripts/cross5.t: Likewise.
542 * testsuite/ld-scripts/cross6.t: Likewise.
543 * testsuite/ld-scripts/cross7.t: Likewise.
544
545 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
546
547 * ldlang.c (lang_check_relocs): New function.
548 (lang_process): Call lang_check_relocs after lang_gc_sections.
549 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
550 call _bfd_elf_link_check_relocs here.
551
552 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
553
554 PR ld/19972
555 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
556 R_386_NONE or R_X86_64_NONE.
557
558 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
559
560 * testsuite/ld-x86-64/pic1.d: New file.
561 * testsuite/ld-x86-64/pic1.s: Likewise.
562 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
563
564 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
565
566 * testsuite/ld-x86-64/pie2.d: New file.
567 * testsuite/ld-x86-64/pie2.s: Likewise.
568 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
569
570 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
571
572 PR ld/19969
573 * testsuite/ld-x86-64/pr19969.d: New file.
574 * testsuite/ld-x86-64/pr19969a.S: Likewise.
575 * testsuite/ld-x86-64/pr19969b.S: Likewise.
576 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
577
578 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
579
580 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
581 New.
582 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
583 Likewise.
584 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
585 Likewise.
586 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
587 Likewise.
588 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
589 Likewise.
590 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
591 Likewise.
592 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
593 Likewise.
594 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
595 Likewise.
596 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
597 Set check_relocs_after_open_input to TRUE if
598 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
599 (gld${EMULATION_NAME}_after_open): Call
600 _bfd_elf_link_check_relocs on all inputs if
601 check_relocs_after_open_input is TRUE.
602
603 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
604
605 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
606 my_personality_v0.
607
608 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
609
610 * emultempl/scoreelf.em: Likewise.
611
612 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
613
614 PR ld/19719
615 * testsuite/ld-x86-64/pr19719.d: New file.
616 * testsuite/ld-x86-64/pr19719.s: Likewise.
617 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
618
619 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
620
621 * ld.texinfo: Document NOCROSSREFS_TO script command.
622 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
623 (lang_add_nocrossref_to): New prototype.
624 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
625 symbols defined in the first section.
626 (check_nocrossref): Likewise.
627 * ldgram.y (NOCROSSREFS_TO): New script command.
628 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
629 (lang_add_nocrossref_to): New function.
630 * ldlex.l (NOCROSSREFS_TO): New token.
631 * NEWS: Mention NOCROSSREFS_TO.
632 * testsuite/ld-scripts/cross4.t: New file.
633 * testsuite/ld-scripts/cross5.t: Likewise.
634 * testsuite/ld-scripts/cross6.t: Likewise.
635 * testsuite/ld-scripts/cross7.t: Likewise.
636 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
637 tests.
638
639 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
640
641 * Makefile.in: Regenerated with automake 1.11.6.
642 * aclocal.m4: Likewise.
643
644 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * testsuite/ld-arc/arc.exp: New file.
647 * testsuite/ld-arc/nps-1.s: New file.
648 * testsuite/ld-arc/nps-1a.d: New file.
649 * testsuite/ld-arc/nps-1b.d: New file.
650 * testsuite/ld-arc/nps-1b.err: New file.
651
652 2016-04-14 Nick Clifton <nickc@redhat.com>
653
654 PR 19457
655 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
656 exceptions for Mingw and Cygwin.
657
658 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
659
660 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
661 check_ld(terminal).
662
663 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
664
665 PR ld/19774
666 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
667 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
668 tests.
669
670 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
671
672 PR ld/19939
673 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
674 * testsuite/ld-x86-64/x86-64.exp: Likewise.
675 * testsuite/ld-i386/pr19939.s: New file.
676 * testsuite/ld-i386/pr19939a.d: Likewise.
677 * testsuite/ld-i386/pr19939b.d: Likewise.
678 * testsuite/ld-x86-64/pr19939.s: Likewise.
679 * testsuite/ld-x86-64/pr19939a.d: Likewise.
680 * testsuite/ld-x86-64/pr19939b.d: Likewise.
681
682 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
683
684 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
685
686 2016-04-08 Alan Modra <amodra@gmail.com>
687
688 PR 18452
689 * ldlang.c (maybe_overlays): Delete.
690 (lang_size_sections_1): Remove code setting maybe_overlays.
691 (lang_check_section_addresses): Instead detect overlays by
692 exact match of section VMAs here. Fix memory leak.
693
694 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
695
696 * ldlang.c (print_output_section_statement): Show minfo size
697 in target machine address units.
698 (print_reloc_statement): Likewise.
699 (print_padding_statement): Likewise.
700 (print_data_statement): Likewise. Ensure minimum print_dot
701 increment of one address unit.
702
703 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * emulparams/arc-endianness.sh: Make little endian default choice.
706
707 2016-04-07 Nick Clifton <nickc@redhat.com>
708
709 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
710 section name.
711 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
712
713 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
714
715 * emulparams/arc-endianness.sh: New file.
716 * emulparams/arcebelf.sh: Deleted.
717 * emulparams/arcebelf_prof.sh: Deleted.
718 * emulparams/arceblinux.sh: Deleted.
719 * emulparams/arceblinux_prof.sh: Deleted.
720 * emulparams/arcelf.sh: Include arc-endinness.sh.
721 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
722 * emulparams/arclinux.sh: Include arc-endinness.sh.
723 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
724 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
725 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
726 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
727 little endian arc targets.
728 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
729 * testsuite/ld-elf/group1.d: Likewise.
730 * testsuite/ld-elf/group3b.d: Likewise.
731 * testsuite/ld-elf/group8a.d: Likewise.
732 * testsuite/ld-elf/group8b.d: Likewise.
733 * testsuite/ld-elf/group9a.d: Likewise.
734 * testsuite/ld-elf/group9b.d: Likewise.
735 * testsuite/ld-elf/linkonce2.d: Likewise.
736 * testsuite/ld-elf/pr12851.d: Likewise.
737 * testsuite/ld-elf/pr12975.d: Likewise.
738 * testsuite/ld-elf/pr13177.d: Likewise.
739 * testsuite/ld-elf/pr13195.d: Likewise.
740 * testsuite/ld-elf/pr17615.d: Likewise.
741 * testsuite/ld-elf/pr19162.d: Likewise.
742 * testsuite/ld-elf/sec64k.exp: Likewise.
743 * testsuite/lib/ld-lib.exp: Likewise.
744
745 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
746
747 PR ld/19908
748 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
749 handling fix.
750 * testsuite/ld-cris/tls-e-20a.d: Likewise.
751 * testsuite/ld-cris/tls-e-21.d: Likewise.
752 * testsuite/ld-cris/tls-e-23.d: Likewise.
753 * testsuite/ld-cris/tls-e-80.d: Likewise.
754 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
755 * testsuite/ld-cris/tls-leie-19.d: Likewise.
756 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
757 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
758 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
759 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
760 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
761 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
762 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
763 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
764
765 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
766
767 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
768 * testsuite/ld-discard/start.d: Likewise.
769 * testsuite/ld-discard/static.d: Likewise.
770 * testsuite/ld-elf/group1.d: Likewise.
771 * testsuite/ld-elf/group3b.d: Likewise.
772 * testsuite/ld-elf/orphan-region.d: Likewise.
773 * testsuite/ld-elf/orphan.d: Likewise.
774 * testsuite/ld-elf/orphan3.d: Likewise.
775 * testsuite/ld-elf/pr349.d: Likewise.
776 * testsuite/ld-elf/warn1.d: Likewise.
777 * testsuite/ld-elf/warn2.d: Likewise.
778 * testsuite/ld-elf/warn3.d: Likewise.
779 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
780 through linker flags.
781 * testsuite/ld-srec/srec.exp: Set as xfail.
782
783 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
784
785 PR ld/19827
786 * testsuite/ld-i386/pr19827-nacl.rd: New file.
787 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
788
789 2016-04-04 Nick Clifton <nickc@redhat.com>
790
791 PR 19803
792 * emultempl/pe.em (change_undef): New function. Encapsulates
793 duplicated code in pe_fixup_stdcalls and adds the newly defined
794 sym to the gc root list.
795 (pe_fixup_stdcall): Use the new function.
796 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
797 symbol to gc root list.
798
799 2016-03-31 Alan Modra <amodra@gmail.com>
800
801 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
802 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
803 (print_input_section): Don't use TO_ADDR when printing section
804 size.
805 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
806 (lang_size_sections): Use TO_ADDR in relro end calculation.
807
808 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
809
810 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
811 value from regexp_diff.
812 * testsuite/ld-elf/orphan-5.l: Fix expected output.
813 * testsuite/ld-elf/orphan-6.l: Likewise.
814
815 2016-03-30 Alan Modra <amodra@gmail.com>
816
817 PR 18452
818 * ldlang.c (maybe_overlays): New static var.
819 (lang_size_sections_1): Set it here.
820 (struct check_sec): New.
821 (sort_sections_by_lma): Adjust for array of structs.
822 (sort_sections_by_vma): New function.
823 (lang_check_section_addresses): Check both LMA and VMA for overlap.
824 * testsuite/ld-scripts/rgn-over7.d: Adjust.
825
826 2016-03-30 Alan Modra <amodra@gmail.com>
827
828 * ldlang.c (lang_size_sections_1): Correct code detecting a
829 backward non-overlapping move.
830
831 2016-03-30 Alan Modra <amodra@gmail.com>
832
833 * ldlang.c (IS_TBSS): New macro, extracted from..
834 (IGNORE_SECTION): ..here.
835 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
836 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
837
838 2016-03-22 Nick Clifton <nickc@redhat.com>
839
840 PR ld/19803
841 * ldlang.c (lang_add_gc_name): New function. Adds the provided
842 symbol name to the list of gc symbols.
843 (lang_process): Call lang_add_gc_name with entry_symbol_default if
844 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
845 and fini function names.
846 * pe-dll.c (process_def_file_and_drectve): Add exported names to
847 the gc symbol list.
848 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
849 * testsuite/ld-pe/pr19803.d: Tweak expected output.
850
851 2016-03-22 Nick Clifton <nickc@redhat.com>
852
853 * configure: Regenerate.
854
855 2016-03-21 Nick Clifton <nickc@redhat.com>
856
857 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
858 * plugin.c: Likewise.
859 * pe-dll.c: Likewise.
860
861 2016-03-18 Awson <kyrab@mail.ru>
862
863 PR 19531
864 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
865 this section.
866 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
867
868 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
869
870 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
871
872 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
873
874 PR ld/19827
875 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
876 * testsuite/ld-x86-64/x86-64.exp: Likewise.
877 * testsuite/ld-i386/pr19827.rd: New file.
878 * testsuite/ld-i386/pr19827a.S: Likewise.
879 * testsuite/ld-i386/pr19827b.S: Likewise.
880 * testsuite/ld-x86-64/pr19827.rd: Likewise.
881 * testsuite/ld-x86-64/pr19827a.S: Likewise.
882 * testsuite/ld-x86-64/pr19827b.S: Likewise.
883
884 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
885
886 PR ld/19807
887 * Makefile.am (ELF_X86_DEPS): Add
888 $(srcdir)/emulparams/reloc_overflow.sh.
889 * Makefile.in: Regenerated.
890 * NEWS: Mention -z noreloc-overflow.
891 * ld.texinfo: Document -z noreloc-overflow.
892 * emulparams/elf32_x86_64.sh: Source
893 ${srcdir}/emulparams/reloc_overflow.sh.
894 * emulparams/elf_x86_64.sh: Likewise.
895 * emulparams/reloc_overflow.sh: New file.
896 * testsuite/ld-x86-64/pr19807-1.s: New file.
897 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
898 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
899 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
900 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
901 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
902 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
903 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
904 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
905 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
906
907 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
908
909 PR ld/19539
910 * testsuite/ld-i386/i386.exp: Run pr19539.
911 * testsuite/ld-i386/pr19539.d: New file.
912 * testsuite/ld-i386/pr19539.s: Likewise.
913 * testsuite/ld-i386/pr19539.t: Likewise.
914 * testsuite/ld-x86-64/pr19539.s: Likewise.
915 * testsuite/ld-x86-64/pr19539.t: Likewise.
916 * testsuite/ld-x86-64/pr19539a.d: Likewise.
917 * testsuite/ld-x86-64/pr19539b.d: Likewise.
918 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
919
920 2016-03-10 Mickael Guene <mickael.guene@st.com>
921
922 PR gas/19744
923 * testsuite/ld-arm/arm-elf.exp: New tests.
924 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
925 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
926
927 2016-03-10 Nick Clifton <nickc@redhat.com>
928
929 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
930
931 2016-03-09 Pedro Alves <palves@redhat.com>
932
933 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
934 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
935
936 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
937
938 PR ld/19789
939 * testsuite/ld-elf/pr19789.d: New file.
940 * testsuite/ld-elf/pr19789.s: Likewise.
941
942 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
943
944 PR ld/19784
945 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
946 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
947 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
948 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
949 * testsuite/ld-ifunc/pass.out: New file.
950 * testsuite/ld-ifunc/pr19784a.c: Likewise.
951 * testsuite/ld-ifunc/pr19784b.c: Likewise.
952 * testsuite/ld-ifunc/pr19784c.c: Likewise.
953
954 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
955
956 PR ld/19774
957 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
958 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
959 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
960 --as-needed for pr18841c.
961
962 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
963
964 PR ld/19774
965 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
966 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
967 before tmpdir/got1d.so and test --as-needed.
968 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
969 tmpdir/pr18900.so and test --as-needed.
970
971 2016-03-07 Jiong Wang <jiong.wang@arm.com>
972
973 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
974 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
975 result.
976 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
977
978 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
979
980 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
981 before tmpdir/copyreloc-lib.so and test --as-needed.
982 * testsuite/ld-x86-64/x86-64.exp: Likewise.
983
984 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
985
986 PR ld/19579
987 * testsuite/ld-elf/pr19579a.c: New file.
988 * testsuite/ld-elf/pr19579b.c: Likewise.
989 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
990
991 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
992
993 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
994
995 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
996
997 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
998 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
999
1000 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 PR ld/19739
1003 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1004 input sections for relocatable link.
1005 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1006 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1007
1008 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1009
1010 PR ld/19739
1011 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1012 merge flags of other input sections for relocatable link.
1013
1014 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1017
1018 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1019
1020 * testsuite/ld-elf/pr19162.d: Skip arc target.
1021
1022 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 PR ld/19162
1025 * testsuite/ld-elf/pr19162.d: New file.
1026 * testsuite/ld-elf/pr19162a.s: Likwise.
1027 * testsuite/ld-elf/pr19162b.s: Likwise.
1028
1029 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1030
1031 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1032 * testsuite/ld-elf/merge2.d: Likewise.
1033 * testsuite/ld-elf/merge3.d: Likewise.
1034
1035 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1036
1037 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1038 generated.
1039
1040 2016-02-26 Renlin Li <renlin.li@arm.com>
1041
1042 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1043 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1044 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1045 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1046 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1047 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1048 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1049 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1050 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1051 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1052
1053 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1054
1055 PR ld/19609
1056 * testsuite/ld-i386/got1.dd: Updated.
1057 * testsuite/ld-i386/lea1c.d: Likewise.
1058 * testsuite/ld-i386/load1-nacl.d: Likewise.
1059 * testsuite/ld-i386/load1.d: Likewise.
1060 * testsuite/ld-i386/load4b.d: Likewise.
1061 * testsuite/ld-i386/load5b.d: Likewise.
1062 * testsuite/ld-i386/mov1b.d: Likewise.
1063 * testsuite/ld-x86-64/mov1b.d: Likewise.
1064 * testsuite/ld-x86-64/mov1d.d: Likewise.
1065 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1066 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1067 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1068 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1069 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1070 * testsuite/ld-x86-64/lea1a.d: Likewise.
1071 * testsuite/ld-x86-64/lea1b.d: Likewise.
1072 * testsuite/ld-x86-64/lea1c.d: Likewise.
1073 * testsuite/ld-x86-64/lea1d.d: Likewise.
1074 * testsuite/ld-x86-64/lea1e.d: Likewise.
1075 * testsuite/ld-x86-64/lea1f.d: Likewise.
1076 * testsuite/ld-x86-64/mov1b.d: Likewise.
1077 * testsuite/ld-x86-64/mov1d.d: Likewise.
1078 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1079 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1080 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1081 * testsuite/ld-i386/pr19609-1.s: New file.
1082 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1083 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1084 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1085 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1086 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1087 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1088 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1089 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1090 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1091 * testsuite/ld-i386/pr19609-2.s: Likewise.
1092 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1093 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1094 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1095 * testsuite/ld-i386/undefweak.s: Likewise.
1096 * testsuite/ld-i386/undefweaka.d: Likewise.
1097 * testsuite/ld-i386/undefweakb.d: Likewise.
1098 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1099 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1100 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1101 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1102 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1103 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1104 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1105 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1106 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1107 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1108 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1109 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1110 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1111 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1112 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1113 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1114 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1115 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1116 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1117 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1118 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1119 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1120 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1121 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1122 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1123 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1124 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1125 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1126 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1127 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1128 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1129 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1130 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1131 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1132 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1133 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1134 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1135 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1136 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1137 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1138 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1139 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1140 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1141 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1142 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1143 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1144 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1145 PR ld/19609.
1146 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1147 and tests for PR ld/19609.
1148
1149 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 PR ld/19645
1152 * NEWS: Mention -z common/-z nocommon for ELF targets.
1153 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1154 -z common and -z nocommon.
1155 * ld.texinfo: Document -z common/-z nocommon.
1156 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1157 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1158 --elf-stt-common=yes with assembler.
1159 * testsuite/ld-elfcomm/common-1.s: New file.
1160 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1161 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1162 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1163 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1164 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1165 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1166 * testsuite/ld-elfcomm/common-2.s: Likewise.
1167 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1168 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1169 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1170 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1171 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1172 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1173 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1174 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1175 * testsuite/ld-i386/pr19645.d: Likewise.
1176 * testsuite/ld-i386/pr19645.s: Likewise.
1177 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1178 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1179 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1180 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1181 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1182 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1183 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1184 * testsuite/ld-x86-64/pr19645.d: Likewise.
1185 * testsuite/ld-x86-64/pr19645.s: Likewise.
1186 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1187 with assembler.
1188 (assembler_generates_commons): Removed.
1189 Run -z common/-z nocommon tests. Run *.d tests.
1190 * testsuite/ld-i386/i386.exp: Run pr19645.
1191 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1192 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1193 assembler. Test STT_COMMON with readelf.
1194
1195 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1196
1197 PR ld/19636
1198 PR ld/19704
1199 PR ld/19719
1200 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1201 * Makefile.in: Regenerated.
1202 * NEWS: Mention -z nodynamic-undefined-weak.
1203 * ld.texinfo: Document -z nodynamic-undefined-weak.
1204 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1205 * emulparams/dynamic_undefined_weak.sh: New file.
1206 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1207 * emulparams/elf_i386.sh: Likewise.
1208 * emulparams/elf_i386_be.sh: Likewise.
1209 * emulparams/elf_i386_chaos.sh: Likewise.
1210 * emulparams/elf_i386_ldso.sh: Likewise.
1211 * emulparams/elf_i386_vxworks.sh: Likewise.
1212 * emulparams/elf_iamcu.sh: Likewise.
1213 * emulparams/elf_k1om.sh: Likewise.
1214 * emulparams/elf_l1om.sh: Likewise.
1215 * emulparams/elf_x86_64.sh: Likewise.
1216 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1217 Append.
1218 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1219 * testsuite/ld-elf/pr19719a.c: New file.
1220 * testsuite/ld-elf/pr19719b.c: Likewise.
1221 * testsuite/ld-elf/pr19719c.c: Likewise.
1222 * testsuite/ld-elf/pr19719d.c: Likewise.
1223 * testsuite/ld-i386/pr19636-1.s: Likewise.
1224 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1225 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1226 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1227 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1228 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1229 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1230 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1231 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1232 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1233 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1234 * testsuite/ld-i386/pr19636-2.s: Likewise.
1235 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1236 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1237 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1238 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1239 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1240 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1241 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1242 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1243 * testsuite/ld-i386/pr19636-3.s: Likewise.
1244 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1245 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1246 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1247 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1248 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1249 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1250 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1251 * testsuite/ld-i386/pr19636-4.s: Likewise.
1252 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1253 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1254 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1255 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1256 * testsuite/ld-i386/pr19704.out: Likewise.
1257 * testsuite/ld-i386/pr19704a.c: Likewise.
1258 * testsuite/ld-i386/pr19704b.c: Likewise.
1259 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1260 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1261 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1262 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1263 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1264 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1265 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1266 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1267 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1268 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1269 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1270 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1271 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1272 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1273 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1274 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1275 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1276 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1277 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1278 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1279 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1280 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1281 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1282 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1283 * testsuite/ld-x86-64/pr19704.out: Likewise.
1284 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1285 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1286 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1287 Run mix_pic_and_non_pic.
1288 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1289 Run undefined_weak and PR ld/19636 tests.
1290 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1291 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1292 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1293
1294 2016-02-25 Nick Clifton <nickc@redhat.com>
1295
1296 * ld.h (struct ld_config_type): Remove specified_data_size field.
1297
1298 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 PR ld/19698
1301 * testsuite/ld-elf/pr19698.d: New file.
1302 * testsuite/ld-elf/pr19698.s: Likewise.
1303 * testsuite/ld-elf/pr19698.t: Likewise.
1304
1305 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 * Makefile.am (ELF_X86_DEPS): New.
1308 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1309 (eelf_i386_chaos.c): Likewise.
1310 (eelf_i386_fbsd.c): Likewise.
1311 (eelf_i386_ldso.c): Likewise.
1312 (eelf_i386_nacl.c): Likewise.
1313 (eelf_i386_sol2.c): Likewise.
1314 (eelf_iamcu.c): Likewise.
1315 (eelf32_x86_64.c): Likewise.
1316 (eelf32_x86_64_nacl.c): Likewise.
1317 (eelf_l1om.c): Likewise.
1318 (eelf_l1om_fbsd.c): Likewise.
1319 (eelf_k1om.c): Likewise.
1320 (eelf_k1om_fbsd.c): Likewise.
1321 (eelf_x86_64.c): Likewise.
1322 (eelf_x86_64_cloudabi.c): Likewise.
1323 (eelf_x86_64_fbsd.c): Likewise.
1324 (eelf_x86_64_sol2.c): Likewise.
1325 * Makefile.in: Regenerated.
1326
1327 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1330 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1331 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1332 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1333
1334 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1337
1338 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1341 *-*-gnu* and *-*-solaris*.
1342 * testsuite/ld-elf/pr19617b.d: Likewise.
1343 * testsuite/ld-elf/pr19617c.d: Likewise.
1344
1345 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 PR ld/19617
1348 * testsuite/ld-elf/pr19617.s: New file.
1349 * testsuite/ld-elf/pr19617a.d: Likewise.
1350 * testsuite/ld-elf/pr19617b.d: Likewise.
1351 * testsuite/ld-elf/pr19617c.d: Likewise.
1352
1353 2016-02-18 Nick Clifton <nickc@redhat.com>
1354
1355 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1356 in-tree xg++ executable after checking for the presence of an
1357 in-tree g++ executable.
1358 * Makefile.in: Regenerate.
1359
1360 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1363 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1364 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1365
1366 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1367
1368 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1369 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1370 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1371 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1372 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1373 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1374 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1375 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1376 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1377 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1378 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1379 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1380 * testsuite/ld-x86-64/load1c.d: Likewise.
1381 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1382 * testsuite/ld-x86-64/load1d.d: Likewise.
1383 * testsuite/ld-x86-64/pr14207.d: Likewise.
1384 * testsuite/ld-x86-64/pr19162.d: Likewise.
1385 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1386 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1387 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1388 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1389 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1390 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1391
1392 2016-02-17 Nick Clifton <nickc@redhat.com>
1393
1394 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1395
1396 2016-02-15 Nick Clifton <nickc@redhat.com>
1397
1398 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1399 description of the flags produced by readelf.
1400 * testsuite/ld-i386/pr12921.d: Likewise.
1401 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1402 * testsuite/ld-i386/tlsbin.rd: Likewise.
1403 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1404 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1405 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1406 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1407 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1408 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1409 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1410 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1411 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1412 * testsuite/ld-i386/tlspic.rd: Likewise.
1413 * testsuite/ld-s390/tlsbin.rd: Likewise.
1414 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1415 * testsuite/ld-s390/tlspic.rd: Likewise.
1416 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1417 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1418 * testsuite/ld-sh/tlspic-2.d: Likewise.
1419 * testsuite/ld-tic6x/common.d: Likewise.
1420 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1421 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1422 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1423 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1424 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1425 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1426 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1427 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1428 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1429 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1430 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1431 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1432 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1433 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1434 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1435 * testsuite/ld-x86-64/pr12718.d: Likewise.
1436 * testsuite/ld-x86-64/pr12921.d: Likewise.
1437 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1438 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1439 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1440 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1441 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1442 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1443 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1444 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1445 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1446 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1447 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1448 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1449 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1450 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1451
1452 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 PR ld/19615
1455 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1456 PIE.
1457 * lexsup.c (parse_args): Enable -Bsymbolic and
1458 -Bsymbolic-functions for PIE.
1459 * testsuite/ld-i386/i386.exp: Run pr19615.
1460 * testsuite/ld-i386/pr19615.d: New file.
1461 * testsuite/ld-i386/pr19615.s: Likewise.
1462 * testsuite/ld-x86-64/pr19615.d: Likewise.
1463 * testsuite/ld-x86-64/pr19615.s: Likewise.
1464
1465 2016-02-09 Nick Clifton <nickc@redhat.com>
1466
1467 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1468 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1469 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1470 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1471
1472 2016-02-04 Nick Clifton <nickc@redhat.com>
1473
1474 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1475 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1476 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1477 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1478 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1479 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1480 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1481 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1482 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1483
1484 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 PR gas/19520
1487 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1488 * testsuite/ld-i386/call1.d: Likewise.
1489 * testsuite/ld-i386/call2.d: Likewise.
1490 * testsuite/ld-i386/call3a.d: Likewise.
1491 * testsuite/ld-i386/call3b.d: Likewise.
1492 * testsuite/ld-i386/call3c.d: Likewise.
1493 * testsuite/ld-i386/call3d.d: Likewise.
1494 * testsuite/ld-i386/call3e.d: Likewise.
1495 * testsuite/ld-i386/call3f.d: Likewise.
1496 * testsuite/ld-i386/call3g.d: Likewise.
1497 * testsuite/ld-i386/call3h.d: Likewise.
1498 * testsuite/ld-i386/jmp1.d: Likewise.
1499 * testsuite/ld-i386/jmp2.d: Likewise.
1500 * testsuite/ld-i386/lea1c.d: Likewise.
1501 * testsuite/ld-i386/load1.d: Likewise.
1502 * testsuite/ld-i386/load2.d: Likewise.
1503 * testsuite/ld-i386/load3.d: Likewise.
1504 * testsuite/ld-i386/load4a.d: Likewise.
1505 * testsuite/ld-i386/load5a.d: Likewise.
1506 * testsuite/ld-i386/mov2b.d: Likewise.
1507 * testsuite/ld-i386/mov3.d: Likewise.
1508 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1509 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1510 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1511 * testsuite/ld-x86-64/call1a.d: Likewise.
1512 * testsuite/ld-x86-64/call1b.d: Likewise.
1513 * testsuite/ld-x86-64/call1c.d: Likewise.
1514 * testsuite/ld-x86-64/call1d.d: Likewise.
1515 * testsuite/ld-x86-64/call1e.d: Likewise.
1516 * testsuite/ld-x86-64/call1f.d: Likewise.
1517 * testsuite/ld-x86-64/call1h.d: Likewise.
1518 * testsuite/ld-x86-64/call1i.d: Likewise.
1519 * testsuite/ld-x86-64/load1a.d: Likewise.
1520 * testsuite/ld-x86-64/load1b.d: Likewise.
1521 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1522 * testsuite/ld-i386/got1.dd: Updated.
1523 * testsuite/ld-i386/got1d.S (1): Removed.
1524 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1525 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1526
1527 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1528
1529 PR ld/18591
1530 * testsuite/ld-x86-64/pr18591.d: New file.
1531 * testsuite/ld-x86-64/pr18591.s: Likewise.
1532 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1533
1534 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1535
1536 PR ld/19553
1537 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1538 * testsuite/ld-elf/pr19553.map: New file.
1539 * testsuite/ld-elf/pr19553.map: Likewise.
1540 * testsuite/ld-elf/pr19553a.c: Likewise.
1541 * testsuite/ld-elf/pr19553b.c: Likewise.
1542 * testsuite/ld-elf/pr19553b.out: Likewise.
1543 * testsuite/ld-elf/pr19553c.c: Likewise.
1544 * testsuite/ld-elf/pr19553c.out: Likewise.
1545 * testsuite/ld-elf/pr19553d.c: Likewise.
1546 * testsuite/ld-elf/pr19553d.out: Likewise.
1547
1548 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 PR ld/19539
1551 * testsuite/ld-elf/pr19539.d: New file.
1552 * testsuite/ld-elf/pr19539.s: Likewise.
1553 * testsuite/ld-elf/pr19539.t: Likewise.
1554
1555 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 PR ld/19533
1558 * configure.ac (compressed_debug_sections): Replace == with =.
1559 * configure: Regenerated.
1560
1561 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1562
1563 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1564 * scripttempl/avrtiny.sc (.noinit): Likewise.
1565
1566 2016-01-21 Nick Clifton <nickc@redhat.com>
1567
1568 PR ld/19453
1569 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1570 the arm-netbsdelf target.
1571
1572 PR ld/19455
1573 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1574 disassmebler output.
1575 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1576 * testsuite/ld-arm/vxworks1.dd: Likewise.
1577 * testsuite/ld-arm/vxworks1.rd: Likewise.
1578 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1579
1580 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1581
1582 * testsuite/ld-aarch64/farcall-section.d: Delete.
1583 * testsuite/ld-aarch64/farcall-section.s: Delete.
1584 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1585 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1586 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1587 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1588 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1589
1590 2016-01-20 Nick Clifton <nickc@redhat.com>
1591
1592 PR 19457
1593 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1594 early for PE based targets.
1595 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1596 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1597
1598 2016-01-20 Mickael Guene <mickael.guene@st.com>
1599
1600 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1601 Add 'y' attribute usage.
1602 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1603 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1604 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1605
1606 2016-01-19 Nick Clifton <nickc@redhat.com>
1607
1608 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1609 foo@FOO and bar@@FOO.
1610
1611 2016-01-18 Alan Modra <amodra@gmail.com>
1612
1613 * configure: Regenerate.
1614
1615 2016-01-18 Nick Clifton <nickc@redhat.com>
1616
1617 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1618 is not configured to support plugins.
1619
1620 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1621 but with 16 byte section alignment.
1622 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1623 test for MIPS targets.
1624
1625 2016-01-17 Alan Modra <amodra@gmail.com>
1626
1627 * configure: Regenerate.
1628
1629 2016-01-17 Alan Modra <amodra@gmail.com>
1630
1631 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1632 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1633 * testsuite/ld-elf/pr14156a.d: Likewise.
1634 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1635 * testsuite/ld-elf/sec64k.exp: Likewise.
1636
1637 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1638
1639 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1640 Set address of .foo section when linking.
1641 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1642 in .foo section.
1643 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1644 output to the above changes.
1645
1646 2016-01-13 Nick Clifton <nickc@redhat.com>
1647
1648 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1649 for MIPS targets.
1650
1651 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1652 fail for MIPS targets.
1653
1654 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1655 MIPS targets.
1656
1657 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1658
1659 * testsuite/ld-arm/arm-elf.exp: New test.
1660 * testsuite/ld-arm/unwind-mix.d: New file.
1661 * testsuite/ld-arm/unwind-mix1.s: New file.
1662 * testsuite/ld-arm/unwind-mix2.s: New file.
1663
1664 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1665
1666 PR ld/19368
1667 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1668 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1669 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1670 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1671 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1672 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1673
1674 2016-01-05 Nick Clifton <nickc@redhat.com>
1675
1676 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1677 MSP430 hardware multiply address range.
1678 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1679 (__romdatacopysize): Define.
1680 * scripttempl/elf32msp430_3.sc: Likewise.
1681
1682 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1683
1684 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1685 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1686
1687 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1688
1689 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1690 messages expected according to MIPS BFD private data merge
1691 changes.
1692 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1693 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1694 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1695 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1696 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1697 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1698 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1699 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1700 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1701 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1702 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1703 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1704 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1705
1706 2016-01-01 Alan Modra <amodra@gmail.com>
1707
1708 Update year range in copyright notice of all files.
1709
1710 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1711 \f
1712 Copyright (C) 2016 Free Software Foundation, Inc.
1713
1714 Copying and distribution of this file, with or without modification,
1715 are permitted in any medium without royalty provided the copyright
1716 notice and this notice are preserved.
1717
1718 Local Variables:
1719 mode: change-log
1720 left-margin: 8
1721 fill-column: 74
1722 version-control: never
1723 End:
This page took 0.065449 seconds and 3 git commands to generate.