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