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