1 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
4 * ldmain.c (add_archive_element): Don't claim new IR symbols
5 after all IR symbols have been claimed.
6 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
8 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
10 * testsuite/ld-plugin/pr20103a.c: New file.
11 * testsuite/ld-plugin/pr20103b.c: Likewise.
12 * testsuite/ld-plugin/pr20103c.c: Likewise.
14 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
16 * testsuite/ld-mips-elf/jalx-local.d: New test.
17 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
18 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
19 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
21 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
23 * Makefile.am: Add earmelf_phoenix.c.
24 * Makefile.in: Regenerate.
25 * configure.tgt: Add entry for arm-phoenix.
26 * emulparams/armelf_phoenix.sh: New file.
28 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
30 * emultempl/armelf.em (arm_elf_before_allocation): Call
31 bfd_elf32_arm_keep_private_stub_output_sections before generic
32 before_allocation function.
34 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
36 * testsuite/ld-mips-elf/jalx-addend.d: New test.
37 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
38 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
39 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
41 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
44 * testsuite/ld-i386/i386.exp: Run pr20117.
45 * testsuite/ld-i386/pr19609-1i.d: Updated.
46 * testsuite/ld-i386/pr20117.d: New file.
47 * testsuite/ld-i386/pr20117.s: Likewise.
49 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
51 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
52 * testsuite/ld-elf/group8a.d: Likewise.
53 * testsuite/ld-elf/group8b.d: Likewise.
54 * testsuite/ld-elf/group9a.d: Likewise.
55 * testsuite/ld-elf/group9b.d: Likewise.
56 * testsuite/ld-elf/pr12851.d: Likewise.
57 * testsuite/ld-elf/pr12975.d: Likewise.
58 * testsuite/ld-elf/pr13177.d: Likewise.
59 * testsuite/ld-elf/pr13195.d: Likewise.
60 * testsuite/ld-elf/pr17615.d: Likewise.
61 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
62 * testsuite/ld-elf/group3b.d: Likewise.
63 * testsuite/ld-srec/srec.exp: Likewise.
64 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
66 (check_shared_lib_support): Mark ARC as supporting.
68 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
70 * emulparams/arcelf.sh: Changed.
71 * emulparams/arclinux.sh: Likewise.
72 * scripttempl/arclinux.sc: Moved to a more standard implementation
75 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
77 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
78 `ft32-*-*' behind `frv-*-*'.
80 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
82 * configure.tgt: Remove `am34-*-linux*' support.
84 2016-05-19 Alan Modra <amodra@gmail.com>
86 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
87 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
88 * testsuite/ld-scripts/cross3.t: Likewise.
89 * testsuite/ld-scripts/cross4.t: Likewise.
90 * testsuite/ld-scripts/cross5.t: Likewise.
91 * testsuite/ld-scripts/cross6.t: Likewise.
92 * testsuite/ld-scripts/cross7.t: Likewise.
94 2016-05-19 Alan Modra <amodra@gmail.com>
96 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
97 exe name rather than constructing testname. Fix typo in
98 sub-test name. Log copying. Use -rpath rather than -R.
100 2016-05-18 Nick Clifton <nickc@redhat.com>
102 * scripttempl/ft32.sc: Use fixed constants for memory region
103 lengths. Include DWARF debug sections.
104 (.data .bss): Do not assign locations during relocatable links.
105 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
106 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
107 * testsuite/ld-elf/sec64k.exp: Likewise.
108 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
109 * testsuite/ld-elf/merge.d: Likewise.
110 * testsuite/ld-elf/orphan-region.d: Likewise.
111 * testsuite/ld-elf/orphan.s: Likewise.
112 * testsuite/ld-elf/orphan3.d: Likewise.
113 * testsuite/ld-elf/pr349.d: Likewise.
114 * testsuite/ld-elf/warn2.d: Likewise.
115 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
116 that the FT32 does not support shared libraries.
118 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
120 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
123 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
125 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
127 * scripttempl/avrtiny.sc (text): Likewise.
129 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
131 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
132 `supports_gnu_unique' to qualify testing.
134 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
136 * testsuite/ld-elf/flags1.d: Update the xfail list.
138 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
140 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
143 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
146 * testplug2.c (onall_symbols_read): Remove redundant sizeof
147 on EXPECTED_VIEW_LENGTH.
148 * testplug4.c (onall_symbols_read): Likewise.
150 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
153 * testsuite/ld-x86-64/pr20093-1.d: New file.
154 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
155 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
156 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
157 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
159 2016-05-13 Alan Modra <amodra@gmail.com>
161 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
162 Use different output file name for static app without .rel.plt.
163 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
164 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
165 * testsuite/ld-arm/arm-no-rel-plt.r: New.
166 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
167 * testsuite/ld-arm/arm-static-app.r: Likewise.
169 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
172 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
173 (libldtestplug4_la_SOURCES): New.
174 (libldtestplug4_la_CFLAGS): Likewise.
175 (libldtestplug4_la_LDFLAGS): Likewise.
176 * Makefile.in: Regenerated.
177 * plugin.c (get_symbols): Return resolution based on IR symbol
178 kinds for symbols defined/referenced only within IR.
179 * testplug4.c: New file.
180 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
181 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
182 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
183 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
184 (plugin4_path): Likewise.
185 Add a test for ld/20070.
187 2016-05-11 Alan Modra <amodra@gmail.com>
189 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
190 Call elf32_hppa_init_stub_bfd.
192 2016-05-11 Alan Modra <amodra@gmail.com>
195 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
196 * testsuite/ld-powerpc/tlsdll.s: New.
197 * testsuite/ld-powerpc/tlsdll.ver: New.
198 * testsuite/ld-powerpc/tlsdll_32.s: New.
199 * testsuite/ld-powerpc/tlsopt5.d: New.
200 * testsuite/ld-powerpc/tlsopt5.s: New.
201 * testsuite/ld-powerpc/tlsopt5_32.d: New.
202 * testsuite/ld-powerpc/tlsopt5_32.s: New.
204 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
206 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
207 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
209 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
211 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
212 parameter and rename input_section parameter to after_input_section.
213 Append input stub section to the output section if after_input_section
216 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
218 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
220 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
221 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
223 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
225 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
227 2016-05-09 Christophe Monat <christophe.monat@st.com>
230 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
231 tests. Fix misnamed stm32l4xx-fix-all.
232 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
233 loads with DP registers.
234 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
235 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
236 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
237 loads with DP registers.
238 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
240 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
242 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
244 (xfail): Remove avr-*-*.
245 Update regex to check the section flags.
246 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
248 2016-05-09 Alan Modra <amodra@gmail.com>
250 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
251 * Makefile.in: Regenerate.
253 2016-05-09 Alan Modra <amodra@gmail.com>
255 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
256 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
257 * testsuite/ld-scripts/section-match-1.t: Likewise.
259 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
262 * testsuite/ld-elf/pr17550-1.s: New file.
263 * testsuite/ld-elf/pr17550-2.s: Likewise.
264 * testsuite/ld-elf/pr17550-3.s: Likewise.
265 * testsuite/ld-elf/pr17550-4.s: Likewise.
266 * testsuite/ld-elf/pr17550a.d: Likewise.
267 * testsuite/ld-elf/pr17550b.d: Likewise.
268 * testsuite/ld-elf/pr17550c.d: Likewise.
269 * testsuite/ld-elf/pr17550d.d: Likewise.
271 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
273 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
275 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
277 * testsuite/ld-i386/i386.exp: Run load7.
278 * testsuite/ld-i386/load7.d: New file.
279 * testsuite/ld-i386/load7.map: Likewise.
280 * testsuite/ld-i386/load7.s: Likewise.
281 * testsuite/ld-x86-64/load2.d: Likewise.
282 * testsuite/ld-x86-64/load2.map: Likewise.
283 * testsuite/ld-x86-64/load2.s: Likewise.
284 * testsuite/ld-x86-64/x86-64.exp: Run load2.
286 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
288 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
289 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
291 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
294 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
296 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
298 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
300 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
302 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
304 * testsuite/ld-unique/unique.d: New test.
305 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
306 messages for compiled tests.
308 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
310 * testsuite/ld-elf/pr18735.d: Allow other symbols.
311 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
312 * testsuite/ld-gc/pr14265.d: Allow other symbols.
313 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
314 plugin_tests only if check_shared_lib_support is true.
315 * testsuite/ld-selective/selective.exp: Add --section-start
318 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
321 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
323 2016-05-03 Jiong Wang <jiong.wang@arm.com>
325 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
326 * NEWS: Mention --no-apply-dynamic-relocs.
327 * ld.texinfo (ld and the ARM family): Document
328 --no-apply-dynamic-relocs.
329 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
330 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
331 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
332 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
335 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
337 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
338 before running STT_COMMON tests.
340 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
342 * config/default.exp (NOPIE_CFLAGS): Download source only on
344 (NOPIE_LDFLAGS): Likewise.
345 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
346 (check_lto_fat_available): Likewise.
347 (check_lto_shared_available): Likewise.
348 (check_ifunc_available): Likewise.
349 (check_ifunc_attribute_available): Likewise.
351 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
353 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
355 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
358 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
359 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
362 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
364 * testsuite/ld-elf/compressed1b.d: Pass
365 --compress-debug-sections=none to ld.
366 * testsuite/ld-elf/compressed1c.d: Likewise.
368 2016-04-27 Alan Modra <amodra@gmail.com>
371 * configure.tgt: Don't use var+=.
373 2016-04-25 Nick Clifton <nickc@redhat.com>
376 * configure.tgt: Include big endian PPC64 emulations with little
377 endian PPC64 targets.
379 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
381 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
383 2016-04-21 Nick Clifton <nickc@redhat.com>
385 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
386 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
387 targets. Do not stop the checks when problems are encountered.
389 2016-04-21 Alan Modra <amodra@gmail.com>
391 * testsuite/ld-scripts/cross3.t: Add commonly used data
392 and text section names to output section statements.
393 * testsuite/ld-scripts/cross4.t: Likewise.
394 * testsuite/ld-scripts/cross5.t: Likewise.
395 * testsuite/ld-scripts/cross6.t: Likewise.
396 * testsuite/ld-scripts/cross7.t: Likewise.
398 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
400 * ldlang.c (lang_check_relocs): New function.
401 (lang_process): Call lang_check_relocs after lang_gc_sections.
402 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
403 call _bfd_elf_link_check_relocs here.
405 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
408 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
409 R_386_NONE or R_X86_64_NONE.
411 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
413 * testsuite/ld-x86-64/pic1.d: New file.
414 * testsuite/ld-x86-64/pic1.s: Likewise.
415 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
417 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
419 * testsuite/ld-x86-64/pie2.d: New file.
420 * testsuite/ld-x86-64/pie2.s: Likewise.
421 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
423 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
426 * testsuite/ld-x86-64/pr19969.d: New file.
427 * testsuite/ld-x86-64/pr19969a.S: Likewise.
428 * testsuite/ld-x86-64/pr19969b.S: Likewise.
429 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
431 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
433 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
435 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
437 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
439 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
441 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
443 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
445 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
447 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
449 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
450 Set check_relocs_after_open_input to TRUE if
451 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
452 (gld${EMULATION_NAME}_after_open): Call
453 _bfd_elf_link_check_relocs on all inputs if
454 check_relocs_after_open_input is TRUE.
456 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
458 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
461 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
463 * emultempl/scoreelf.em: Likewise.
465 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
468 * testsuite/ld-x86-64/pr19719.d: New file.
469 * testsuite/ld-x86-64/pr19719.s: Likewise.
470 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
472 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
474 * ld.texinfo: Document NOCROSSREFS_TO script command.
475 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
476 (lang_add_nocrossref_to): New prototype.
477 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
478 symbols defined in the first section.
479 (check_nocrossref): Likewise.
480 * ldgram.y (NOCROSSREFS_TO): New script command.
481 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
482 (lang_add_nocrossref_to): New function.
483 * ldlex.l (NOCROSSREFS_TO): New token.
484 * NEWS: Mention NOCROSSREFS_TO.
485 * testsuite/ld-scripts/cross4.t: New file.
486 * testsuite/ld-scripts/cross5.t: Likewise.
487 * testsuite/ld-scripts/cross6.t: Likewise.
488 * testsuite/ld-scripts/cross7.t: Likewise.
489 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
492 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
494 * Makefile.in: Regenerated with automake 1.11.6.
495 * aclocal.m4: Likewise.
497 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
499 * testsuite/ld-arc/arc.exp: New file.
500 * testsuite/ld-arc/nps-1.s: New file.
501 * testsuite/ld-arc/nps-1a.d: New file.
502 * testsuite/ld-arc/nps-1b.d: New file.
503 * testsuite/ld-arc/nps-1b.err: New file.
505 2016-04-14 Nick Clifton <nickc@redhat.com>
508 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
509 exceptions for Mingw and Cygwin.
511 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
513 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
516 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
519 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
520 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
523 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
526 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
527 * testsuite/ld-x86-64/x86-64.exp: Likewise.
528 * testsuite/ld-i386/pr19939.s: New file.
529 * testsuite/ld-i386/pr19939a.d: Likewise.
530 * testsuite/ld-i386/pr19939b.d: Likewise.
531 * testsuite/ld-x86-64/pr19939.s: Likewise.
532 * testsuite/ld-x86-64/pr19939a.d: Likewise.
533 * testsuite/ld-x86-64/pr19939b.d: Likewise.
535 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
537 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
539 2016-04-08 Alan Modra <amodra@gmail.com>
542 * ldlang.c (maybe_overlays): Delete.
543 (lang_size_sections_1): Remove code setting maybe_overlays.
544 (lang_check_section_addresses): Instead detect overlays by
545 exact match of section VMAs here. Fix memory leak.
547 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
549 * ldlang.c (print_output_section_statement): Show minfo size
550 in target machine address units.
551 (print_reloc_statement): Likewise.
552 (print_padding_statement): Likewise.
553 (print_data_statement): Likewise. Ensure minimum print_dot
554 increment of one address unit.
556 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
558 * emulparams/arc-endianness.sh: Make little endian default choice.
560 2016-04-07 Nick Clifton <nickc@redhat.com>
562 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
564 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
566 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
568 * emulparams/arc-endianness.sh: New file.
569 * emulparams/arcebelf.sh: Deleted.
570 * emulparams/arcebelf_prof.sh: Deleted.
571 * emulparams/arceblinux.sh: Deleted.
572 * emulparams/arceblinux_prof.sh: Deleted.
573 * emulparams/arcelf.sh: Include arc-endinness.sh.
574 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
575 * emulparams/arclinux.sh: Include arc-endinness.sh.
576 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
577 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
578 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
579 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
580 little endian arc targets.
581 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
582 * testsuite/ld-elf/group1.d: Likewise.
583 * testsuite/ld-elf/group3b.d: Likewise.
584 * testsuite/ld-elf/group8a.d: Likewise.
585 * testsuite/ld-elf/group8b.d: Likewise.
586 * testsuite/ld-elf/group9a.d: Likewise.
587 * testsuite/ld-elf/group9b.d: Likewise.
588 * testsuite/ld-elf/linkonce2.d: Likewise.
589 * testsuite/ld-elf/pr12851.d: Likewise.
590 * testsuite/ld-elf/pr12975.d: Likewise.
591 * testsuite/ld-elf/pr13177.d: Likewise.
592 * testsuite/ld-elf/pr13195.d: Likewise.
593 * testsuite/ld-elf/pr17615.d: Likewise.
594 * testsuite/ld-elf/pr19162.d: Likewise.
595 * testsuite/ld-elf/sec64k.exp: Likewise.
596 * testsuite/lib/ld-lib.exp: Likewise.
598 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
601 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
603 * testsuite/ld-cris/tls-e-20a.d: Likewise.
604 * testsuite/ld-cris/tls-e-21.d: Likewise.
605 * testsuite/ld-cris/tls-e-23.d: Likewise.
606 * testsuite/ld-cris/tls-e-80.d: Likewise.
607 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
608 * testsuite/ld-cris/tls-leie-19.d: Likewise.
609 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
610 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
611 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
612 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
613 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
614 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
615 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
616 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
618 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
620 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
621 * testsuite/ld-discard/start.d: Likewise.
622 * testsuite/ld-discard/static.d: Likewise.
623 * testsuite/ld-elf/group1.d: Likewise.
624 * testsuite/ld-elf/group3b.d: Likewise.
625 * testsuite/ld-elf/orphan-region.d: Likewise.
626 * testsuite/ld-elf/orphan.d: Likewise.
627 * testsuite/ld-elf/orphan3.d: Likewise.
628 * testsuite/ld-elf/pr349.d: Likewise.
629 * testsuite/ld-elf/warn1.d: Likewise.
630 * testsuite/ld-elf/warn2.d: Likewise.
631 * testsuite/ld-elf/warn3.d: Likewise.
632 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
633 through linker flags.
634 * testsuite/ld-srec/srec.exp: Set as xfail.
636 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
639 * testsuite/ld-i386/pr19827-nacl.rd: New file.
640 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
642 2016-04-04 Nick Clifton <nickc@redhat.com>
645 * emultempl/pe.em (change_undef): New function. Encapsulates
646 duplicated code in pe_fixup_stdcalls and adds the newly defined
647 sym to the gc root list.
648 (pe_fixup_stdcall): Use the new function.
649 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
650 symbol to gc root list.
652 2016-03-31 Alan Modra <amodra@gmail.com>
654 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
655 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
656 (print_input_section): Don't use TO_ADDR when printing section
658 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
659 (lang_size_sections): Use TO_ADDR in relro end calculation.
661 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
663 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
664 value from regexp_diff.
665 * testsuite/ld-elf/orphan-5.l: Fix expected output.
666 * testsuite/ld-elf/orphan-6.l: Likewise.
668 2016-03-30 Alan Modra <amodra@gmail.com>
671 * ldlang.c (maybe_overlays): New static var.
672 (lang_size_sections_1): Set it here.
673 (struct check_sec): New.
674 (sort_sections_by_lma): Adjust for array of structs.
675 (sort_sections_by_vma): New function.
676 (lang_check_section_addresses): Check both LMA and VMA for overlap.
677 * testsuite/ld-scripts/rgn-over7.d: Adjust.
679 2016-03-30 Alan Modra <amodra@gmail.com>
681 * ldlang.c (lang_size_sections_1): Correct code detecting a
682 backward non-overlapping move.
684 2016-03-30 Alan Modra <amodra@gmail.com>
686 * ldlang.c (IS_TBSS): New macro, extracted from..
687 (IGNORE_SECTION): ..here.
688 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
689 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
691 2016-03-22 Nick Clifton <nickc@redhat.com>
694 * ldlang.c (lang_add_gc_name): New function. Adds the provided
695 symbol name to the list of gc symbols.
696 (lang_process): Call lang_add_gc_name with entry_symbol_default if
697 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
698 and fini function names.
699 * pe-dll.c (process_def_file_and_drectve): Add exported names to
701 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
702 * testsuite/ld-pe/pr19803.d: Tweak expected output.
704 2016-03-22 Nick Clifton <nickc@redhat.com>
706 * configure: Regenerate.
708 2016-03-21 Nick Clifton <nickc@redhat.com>
710 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
711 * plugin.c: Likewise.
712 * pe-dll.c: Likewise.
714 2016-03-18 Awson <kyrab@mail.ru>
717 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
719 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
721 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
723 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
725 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
728 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
729 * testsuite/ld-x86-64/x86-64.exp: Likewise.
730 * testsuite/ld-i386/pr19827.rd: New file.
731 * testsuite/ld-i386/pr19827a.S: Likewise.
732 * testsuite/ld-i386/pr19827b.S: Likewise.
733 * testsuite/ld-x86-64/pr19827.rd: Likewise.
734 * testsuite/ld-x86-64/pr19827a.S: Likewise.
735 * testsuite/ld-x86-64/pr19827b.S: Likewise.
737 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
740 * Makefile.am (ELF_X86_DEPS): Add
741 $(srcdir)/emulparams/reloc_overflow.sh.
742 * Makefile.in: Regenerated.
743 * NEWS: Mention -z noreloc-overflow.
744 * ld.texinfo: Document -z noreloc-overflow.
745 * emulparams/elf32_x86_64.sh: Source
746 ${srcdir}/emulparams/reloc_overflow.sh.
747 * emulparams/elf_x86_64.sh: Likewise.
748 * emulparams/reloc_overflow.sh: New file.
749 * testsuite/ld-x86-64/pr19807-1.s: New file.
750 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
751 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
752 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
753 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
754 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
755 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
756 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
757 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
758 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
760 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
763 * testsuite/ld-i386/i386.exp: Run pr19539.
764 * testsuite/ld-i386/pr19539.d: New file.
765 * testsuite/ld-i386/pr19539.s: Likewise.
766 * testsuite/ld-i386/pr19539.t: Likewise.
767 * testsuite/ld-x86-64/pr19539.s: Likewise.
768 * testsuite/ld-x86-64/pr19539.t: Likewise.
769 * testsuite/ld-x86-64/pr19539a.d: Likewise.
770 * testsuite/ld-x86-64/pr19539b.d: Likewise.
771 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
773 2016-03-10 Mickael Guene <mickael.guene@st.com>
776 * testsuite/ld-arm/arm-elf.exp: New tests.
777 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
778 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
780 2016-03-10 Nick Clifton <nickc@redhat.com>
782 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
784 2016-03-09 Pedro Alves <palves@redhat.com>
786 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
787 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
789 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
792 * testsuite/ld-elf/pr19789.d: New file.
793 * testsuite/ld-elf/pr19789.s: Likewise.
795 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
798 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
799 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
800 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
801 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
802 * testsuite/ld-ifunc/pass.out: New file.
803 * testsuite/ld-ifunc/pr19784a.c: Likewise.
804 * testsuite/ld-ifunc/pr19784b.c: Likewise.
805 * testsuite/ld-ifunc/pr19784c.c: Likewise.
807 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
810 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
811 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
812 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
813 --as-needed for pr18841c.
815 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
818 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
819 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
820 before tmpdir/got1d.so and test --as-needed.
821 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
822 tmpdir/pr18900.so and test --as-needed.
824 2016-03-07 Jiong Wang <jiong.wang@arm.com>
826 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
827 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
829 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
831 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
833 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
834 before tmpdir/copyreloc-lib.so and test --as-needed.
835 * testsuite/ld-x86-64/x86-64.exp: Likewise.
837 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
840 * testsuite/ld-elf/pr19579a.c: New file.
841 * testsuite/ld-elf/pr19579b.c: Likewise.
842 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
844 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
846 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
848 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
850 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
851 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
853 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
856 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
857 input sections for relocatable link.
858 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
859 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
861 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
864 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
865 merge flags of other input sections for relocatable link.
867 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
869 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
871 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
873 * testsuite/ld-elf/pr19162.d: Skip arc target.
875 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
878 * testsuite/ld-elf/pr19162.d: New file.
879 * testsuite/ld-elf/pr19162a.s: Likwise.
880 * testsuite/ld-elf/pr19162b.s: Likwise.
882 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
884 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
885 * testsuite/ld-elf/merge2.d: Likewise.
886 * testsuite/ld-elf/merge3.d: Likewise.
888 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
890 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
893 2016-02-26 Renlin Li <renlin.li@arm.com>
895 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
896 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
897 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
898 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
899 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
900 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
901 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
902 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
903 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
904 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
906 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
909 * testsuite/ld-i386/got1.dd: Updated.
910 * testsuite/ld-i386/lea1c.d: Likewise.
911 * testsuite/ld-i386/load1-nacl.d: Likewise.
912 * testsuite/ld-i386/load1.d: Likewise.
913 * testsuite/ld-i386/load4b.d: Likewise.
914 * testsuite/ld-i386/load5b.d: Likewise.
915 * testsuite/ld-i386/mov1b.d: Likewise.
916 * testsuite/ld-x86-64/mov1b.d: Likewise.
917 * testsuite/ld-x86-64/mov1d.d: Likewise.
918 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
919 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
920 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
921 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
922 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
923 * testsuite/ld-x86-64/lea1a.d: Likewise.
924 * testsuite/ld-x86-64/lea1b.d: Likewise.
925 * testsuite/ld-x86-64/lea1c.d: Likewise.
926 * testsuite/ld-x86-64/lea1d.d: Likewise.
927 * testsuite/ld-x86-64/lea1e.d: Likewise.
928 * testsuite/ld-x86-64/lea1f.d: Likewise.
929 * testsuite/ld-x86-64/mov1b.d: Likewise.
930 * testsuite/ld-x86-64/mov1d.d: Likewise.
931 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
932 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
933 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
934 * testsuite/ld-i386/pr19609-1.s: New file.
935 * testsuite/ld-i386/pr19609-1a.d: Likewise.
936 * testsuite/ld-i386/pr19609-1b.d: Likewise.
937 * testsuite/ld-i386/pr19609-1c.d: Likewise.
938 * testsuite/ld-i386/pr19609-1d.d: Likewise.
939 * testsuite/ld-i386/pr19609-1e.d: Likewise.
940 * testsuite/ld-i386/pr19609-1f.d: Likewise.
941 * testsuite/ld-i386/pr19609-1g.d: Likewise.
942 * testsuite/ld-i386/pr19609-1h.d: Likewise.
943 * testsuite/ld-i386/pr19609-1i.d: Likewise.
944 * testsuite/ld-i386/pr19609-2.s: Likewise.
945 * testsuite/ld-i386/pr19609-2a.d: Likewise.
946 * testsuite/ld-i386/pr19609-2b.d: Likewise.
947 * testsuite/ld-i386/pr19609-2c.d: Likewise.
948 * testsuite/ld-i386/undefweak.s: Likewise.
949 * testsuite/ld-i386/undefweaka.d: Likewise.
950 * testsuite/ld-i386/undefweakb.d: Likewise.
951 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
952 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
953 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
954 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
955 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
956 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
957 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
958 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
959 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
960 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
961 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
962 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
963 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
964 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
965 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
966 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
967 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
968 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
969 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
970 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
971 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
972 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
973 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
974 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
975 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
976 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
977 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
978 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
979 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
980 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
981 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
982 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
983 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
984 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
985 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
986 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
987 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
988 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
989 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
990 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
991 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
992 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
993 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
994 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
995 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
996 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
997 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
999 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1000 and tests for PR ld/19609.
1002 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1005 * NEWS: Mention -z common/-z nocommon for ELF targets.
1006 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1007 -z common and -z nocommon.
1008 * ld.texinfo: Document -z common/-z nocommon.
1009 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1010 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1011 --elf-stt-common=yes with assembler.
1012 * testsuite/ld-elfcomm/common-1.s: New file.
1013 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1014 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1015 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1016 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1017 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1018 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1019 * testsuite/ld-elfcomm/common-2.s: Likewise.
1020 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1021 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1022 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1023 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1024 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1025 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1026 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1027 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1028 * testsuite/ld-i386/pr19645.d: Likewise.
1029 * testsuite/ld-i386/pr19645.s: Likewise.
1030 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1031 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1032 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1033 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1034 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1035 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1036 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1037 * testsuite/ld-x86-64/pr19645.d: Likewise.
1038 * testsuite/ld-x86-64/pr19645.s: Likewise.
1039 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1041 (assembler_generates_commons): Removed.
1042 Run -z common/-z nocommon tests. Run *.d tests.
1043 * testsuite/ld-i386/i386.exp: Run pr19645.
1044 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1045 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1046 assembler. Test STT_COMMON with readelf.
1048 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1053 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1054 * Makefile.in: Regenerated.
1055 * NEWS: Mention -z nodynamic-undefined-weak.
1056 * ld.texinfo: Document -z nodynamic-undefined-weak.
1057 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1058 * emulparams/dynamic_undefined_weak.sh: New file.
1059 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1060 * emulparams/elf_i386.sh: Likewise.
1061 * emulparams/elf_i386_be.sh: Likewise.
1062 * emulparams/elf_i386_chaos.sh: Likewise.
1063 * emulparams/elf_i386_ldso.sh: Likewise.
1064 * emulparams/elf_i386_vxworks.sh: Likewise.
1065 * emulparams/elf_iamcu.sh: Likewise.
1066 * emulparams/elf_k1om.sh: Likewise.
1067 * emulparams/elf_l1om.sh: Likewise.
1068 * emulparams/elf_x86_64.sh: Likewise.
1069 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1071 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1072 * testsuite/ld-elf/pr19719a.c: New file.
1073 * testsuite/ld-elf/pr19719b.c: Likewise.
1074 * testsuite/ld-elf/pr19719c.c: Likewise.
1075 * testsuite/ld-elf/pr19719d.c: Likewise.
1076 * testsuite/ld-i386/pr19636-1.s: Likewise.
1077 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1078 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1079 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1080 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1081 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1082 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1083 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1084 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1085 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1086 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1087 * testsuite/ld-i386/pr19636-2.s: Likewise.
1088 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1089 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1090 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1091 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1092 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1093 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1094 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1095 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1096 * testsuite/ld-i386/pr19636-3.s: Likewise.
1097 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1098 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1099 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1100 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1101 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1102 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1103 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1104 * testsuite/ld-i386/pr19636-4.s: Likewise.
1105 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1106 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1107 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1108 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1109 * testsuite/ld-i386/pr19704.out: Likewise.
1110 * testsuite/ld-i386/pr19704a.c: Likewise.
1111 * testsuite/ld-i386/pr19704b.c: Likewise.
1112 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1113 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1114 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1115 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1116 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1117 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1118 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1119 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1120 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1121 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1122 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1123 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1124 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1125 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1126 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1127 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1128 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1129 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1130 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1131 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1132 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1133 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1134 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1135 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1136 * testsuite/ld-x86-64/pr19704.out: Likewise.
1137 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1138 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1139 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1140 Run mix_pic_and_non_pic.
1141 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1142 Run undefined_weak and PR ld/19636 tests.
1143 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1144 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1145 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1147 2016-02-25 Nick Clifton <nickc@redhat.com>
1149 * ld.h (struct ld_config_type): Remove specified_data_size field.
1151 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1154 * testsuite/ld-elf/pr19698.d: New file.
1155 * testsuite/ld-elf/pr19698.s: Likewise.
1156 * testsuite/ld-elf/pr19698.t: Likewise.
1158 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1160 * Makefile.am (ELF_X86_DEPS): New.
1161 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1162 (eelf_i386_chaos.c): Likewise.
1163 (eelf_i386_fbsd.c): Likewise.
1164 (eelf_i386_ldso.c): Likewise.
1165 (eelf_i386_nacl.c): Likewise.
1166 (eelf_i386_sol2.c): Likewise.
1167 (eelf_iamcu.c): Likewise.
1168 (eelf32_x86_64.c): Likewise.
1169 (eelf32_x86_64_nacl.c): Likewise.
1170 (eelf_l1om.c): Likewise.
1171 (eelf_l1om_fbsd.c): Likewise.
1172 (eelf_k1om.c): Likewise.
1173 (eelf_k1om_fbsd.c): Likewise.
1174 (eelf_x86_64.c): Likewise.
1175 (eelf_x86_64_cloudabi.c): Likewise.
1176 (eelf_x86_64_fbsd.c): Likewise.
1177 (eelf_x86_64_sol2.c): Likewise.
1178 * Makefile.in: Regenerated.
1180 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1182 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1183 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1184 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1185 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1187 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1189 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1191 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1193 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1194 *-*-gnu* and *-*-solaris*.
1195 * testsuite/ld-elf/pr19617b.d: Likewise.
1196 * testsuite/ld-elf/pr19617c.d: Likewise.
1198 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1201 * testsuite/ld-elf/pr19617.s: New file.
1202 * testsuite/ld-elf/pr19617a.d: Likewise.
1203 * testsuite/ld-elf/pr19617b.d: Likewise.
1204 * testsuite/ld-elf/pr19617c.d: Likewise.
1206 2016-02-18 Nick Clifton <nickc@redhat.com>
1208 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1209 in-tree xg++ executable after checking for the presence of an
1210 in-tree g++ executable.
1211 * Makefile.in: Regenerate.
1213 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1215 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1216 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1217 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1219 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1221 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1222 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1223 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1224 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1225 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1226 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1227 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1228 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1229 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1230 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1231 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1232 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1233 * testsuite/ld-x86-64/load1c.d: Likewise.
1234 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1235 * testsuite/ld-x86-64/load1d.d: Likewise.
1236 * testsuite/ld-x86-64/pr14207.d: Likewise.
1237 * testsuite/ld-x86-64/pr19162.d: Likewise.
1238 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1239 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1240 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1241 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1242 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1243 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1245 2016-02-17 Nick Clifton <nickc@redhat.com>
1247 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1249 2016-02-15 Nick Clifton <nickc@redhat.com>
1251 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1252 description of the flags produced by readelf.
1253 * testsuite/ld-i386/pr12921.d: Likewise.
1254 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1255 * testsuite/ld-i386/tlsbin.rd: Likewise.
1256 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1257 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1258 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1259 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1260 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1261 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1262 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1263 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1264 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1265 * testsuite/ld-i386/tlspic.rd: Likewise.
1266 * testsuite/ld-s390/tlsbin.rd: Likewise.
1267 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1268 * testsuite/ld-s390/tlspic.rd: Likewise.
1269 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1270 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1271 * testsuite/ld-sh/tlspic-2.d: Likewise.
1272 * testsuite/ld-tic6x/common.d: Likewise.
1273 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1274 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1275 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1276 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1277 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1278 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1279 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1280 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1281 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1282 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1283 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1284 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1285 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1286 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1287 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1288 * testsuite/ld-x86-64/pr12718.d: Likewise.
1289 * testsuite/ld-x86-64/pr12921.d: Likewise.
1290 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1291 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1292 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1293 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1294 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1295 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1296 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1297 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1298 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1299 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1300 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1301 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1302 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1303 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1305 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1308 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1310 * lexsup.c (parse_args): Enable -Bsymbolic and
1311 -Bsymbolic-functions for PIE.
1312 * testsuite/ld-i386/i386.exp: Run pr19615.
1313 * testsuite/ld-i386/pr19615.d: New file.
1314 * testsuite/ld-i386/pr19615.s: Likewise.
1315 * testsuite/ld-x86-64/pr19615.d: Likewise.
1316 * testsuite/ld-x86-64/pr19615.s: Likewise.
1318 2016-02-09 Nick Clifton <nickc@redhat.com>
1320 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1321 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1322 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1323 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1325 2016-02-04 Nick Clifton <nickc@redhat.com>
1327 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1328 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1329 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1330 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1331 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1332 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1333 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1334 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1335 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1337 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1340 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1341 * testsuite/ld-i386/call1.d: Likewise.
1342 * testsuite/ld-i386/call2.d: Likewise.
1343 * testsuite/ld-i386/call3a.d: Likewise.
1344 * testsuite/ld-i386/call3b.d: Likewise.
1345 * testsuite/ld-i386/call3c.d: Likewise.
1346 * testsuite/ld-i386/call3d.d: Likewise.
1347 * testsuite/ld-i386/call3e.d: Likewise.
1348 * testsuite/ld-i386/call3f.d: Likewise.
1349 * testsuite/ld-i386/call3g.d: Likewise.
1350 * testsuite/ld-i386/call3h.d: Likewise.
1351 * testsuite/ld-i386/jmp1.d: Likewise.
1352 * testsuite/ld-i386/jmp2.d: Likewise.
1353 * testsuite/ld-i386/lea1c.d: Likewise.
1354 * testsuite/ld-i386/load1.d: Likewise.
1355 * testsuite/ld-i386/load2.d: Likewise.
1356 * testsuite/ld-i386/load3.d: Likewise.
1357 * testsuite/ld-i386/load4a.d: Likewise.
1358 * testsuite/ld-i386/load5a.d: Likewise.
1359 * testsuite/ld-i386/mov2b.d: Likewise.
1360 * testsuite/ld-i386/mov3.d: Likewise.
1361 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1362 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1363 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1364 * testsuite/ld-x86-64/call1a.d: Likewise.
1365 * testsuite/ld-x86-64/call1b.d: Likewise.
1366 * testsuite/ld-x86-64/call1c.d: Likewise.
1367 * testsuite/ld-x86-64/call1d.d: Likewise.
1368 * testsuite/ld-x86-64/call1e.d: Likewise.
1369 * testsuite/ld-x86-64/call1f.d: Likewise.
1370 * testsuite/ld-x86-64/call1h.d: Likewise.
1371 * testsuite/ld-x86-64/call1i.d: Likewise.
1372 * testsuite/ld-x86-64/load1a.d: Likewise.
1373 * testsuite/ld-x86-64/load1b.d: Likewise.
1374 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1375 * testsuite/ld-i386/got1.dd: Updated.
1376 * testsuite/ld-i386/got1d.S (1): Removed.
1377 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1378 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1380 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1383 * testsuite/ld-x86-64/pr18591.d: New file.
1384 * testsuite/ld-x86-64/pr18591.s: Likewise.
1385 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1387 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1390 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1391 * testsuite/ld-elf/pr19553.map: New file.
1392 * testsuite/ld-elf/pr19553.map: Likewise.
1393 * testsuite/ld-elf/pr19553a.c: Likewise.
1394 * testsuite/ld-elf/pr19553b.c: Likewise.
1395 * testsuite/ld-elf/pr19553b.out: Likewise.
1396 * testsuite/ld-elf/pr19553c.c: Likewise.
1397 * testsuite/ld-elf/pr19553c.out: Likewise.
1398 * testsuite/ld-elf/pr19553d.c: Likewise.
1399 * testsuite/ld-elf/pr19553d.out: Likewise.
1401 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1404 * testsuite/ld-elf/pr19539.d: New file.
1405 * testsuite/ld-elf/pr19539.s: Likewise.
1406 * testsuite/ld-elf/pr19539.t: Likewise.
1408 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1411 * configure.ac (compressed_debug_sections): Replace == with =.
1412 * configure: Regenerated.
1414 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1416 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1417 * scripttempl/avrtiny.sc (.noinit): Likewise.
1419 2016-01-21 Nick Clifton <nickc@redhat.com>
1422 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1423 the arm-netbsdelf target.
1426 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1427 disassmebler output.
1428 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1429 * testsuite/ld-arm/vxworks1.dd: Likewise.
1430 * testsuite/ld-arm/vxworks1.rd: Likewise.
1431 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1433 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1435 * testsuite/ld-aarch64/farcall-section.d: Delete.
1436 * testsuite/ld-aarch64/farcall-section.s: Delete.
1437 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1438 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1439 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1440 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1441 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1443 2016-01-20 Nick Clifton <nickc@redhat.com>
1446 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1447 early for PE based targets.
1448 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1449 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1451 2016-01-20 Mickael Guene <mickael.guene@st.com>
1453 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1454 Add 'y' attribute usage.
1455 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1456 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1457 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1459 2016-01-19 Nick Clifton <nickc@redhat.com>
1461 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1462 foo@FOO and bar@@FOO.
1464 2016-01-18 Alan Modra <amodra@gmail.com>
1466 * configure: Regenerate.
1468 2016-01-18 Nick Clifton <nickc@redhat.com>
1470 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1471 is not configured to support plugins.
1473 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1474 but with 16 byte section alignment.
1475 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1476 test for MIPS targets.
1478 2016-01-17 Alan Modra <amodra@gmail.com>
1480 * configure: Regenerate.
1482 2016-01-17 Alan Modra <amodra@gmail.com>
1484 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1485 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1486 * testsuite/ld-elf/pr14156a.d: Likewise.
1487 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1488 * testsuite/ld-elf/sec64k.exp: Likewise.
1490 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1492 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1493 Set address of .foo section when linking.
1494 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1496 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1497 output to the above changes.
1499 2016-01-13 Nick Clifton <nickc@redhat.com>
1501 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1504 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1505 fail for MIPS targets.
1507 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1510 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1512 * testsuite/ld-arm/arm-elf.exp: New test.
1513 * testsuite/ld-arm/unwind-mix.d: New file.
1514 * testsuite/ld-arm/unwind-mix1.s: New file.
1515 * testsuite/ld-arm/unwind-mix2.s: New file.
1517 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1520 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1521 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1522 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1523 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1524 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1525 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1527 2016-01-05 Nick Clifton <nickc@redhat.com>
1529 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1530 MSP430 hardware multiply address range.
1531 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1532 (__romdatacopysize): Define.
1533 * scripttempl/elf32msp430_3.sc: Likewise.
1535 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1537 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1538 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1540 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1542 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1543 messages expected according to MIPS BFD private data merge
1545 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1546 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1547 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1548 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1549 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1550 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1551 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1552 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1553 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1554 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1555 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1556 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1557 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1559 2016-01-01 Alan Modra <amodra@gmail.com>
1561 Update year range in copyright notice of all files.
1563 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1565 Copyright (C) 2016 Free Software Foundation, Inc.
1567 Copying and distribution of this file, with or without modification,
1568 are permitted in any medium without royalty provided the copyright
1569 notice and this notice are preserved.
1575 version-control: never