1 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
5 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
6 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
8 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
10 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
12 2016-05-09 Christophe Monat <christophe.monat@st.com>
15 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
16 tests. Fix misnamed stm32l4xx-fix-all.
17 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
18 loads with DP registers.
19 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
20 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
21 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
22 loads with DP registers.
23 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
25 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
27 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
29 (xfail): Remove avr-*-*.
30 Update regex to check the section flags.
31 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
33 2016-05-09 Alan Modra <amodra@gmail.com>
35 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
36 * Makefile.in: Regenerate.
38 2016-05-09 Alan Modra <amodra@gmail.com>
40 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
41 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
42 * testsuite/ld-scripts/section-match-1.t: Likewise.
44 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
47 * testsuite/ld-elf/pr17550-1.s: New file.
48 * testsuite/ld-elf/pr17550-2.s: Likewise.
49 * testsuite/ld-elf/pr17550-3.s: Likewise.
50 * testsuite/ld-elf/pr17550-4.s: Likewise.
51 * testsuite/ld-elf/pr17550a.d: Likewise.
52 * testsuite/ld-elf/pr17550b.d: Likewise.
53 * testsuite/ld-elf/pr17550c.d: Likewise.
54 * testsuite/ld-elf/pr17550d.d: Likewise.
56 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
58 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
60 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
62 * testsuite/ld-i386/i386.exp: Run load7.
63 * testsuite/ld-i386/load7.d: New file.
64 * testsuite/ld-i386/load7.map: Likewise.
65 * testsuite/ld-i386/load7.s: Likewise.
66 * testsuite/ld-x86-64/load2.d: Likewise.
67 * testsuite/ld-x86-64/load2.map: Likewise.
68 * testsuite/ld-x86-64/load2.s: Likewise.
69 * testsuite/ld-x86-64/x86-64.exp: Run load2.
71 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
73 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
74 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
76 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
79 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
81 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
83 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
85 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
87 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
89 * testsuite/ld-unique/unique.d: New test.
90 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
91 messages for compiled tests.
93 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
95 * testsuite/ld-elf/pr18735.d: Allow other symbols.
96 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
97 * testsuite/ld-gc/pr14265.d: Allow other symbols.
98 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
99 plugin_tests only if check_shared_lib_support is true.
100 * testsuite/ld-selective/selective.exp: Add --section-start
103 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
106 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
108 2016-05-03 Jiong Wang <jiong.wang@arm.com>
110 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
111 * NEWS: Mention --no-apply-dynamic-relocs.
112 * ld.texinfo (ld and the ARM family): Document
113 --no-apply-dynamic-relocs.
114 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
115 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
116 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
117 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
120 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
122 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
123 before running STT_COMMON tests.
125 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
127 * config/default.exp (NOPIE_CFLAGS): Download source only on
129 (NOPIE_LDFLAGS): Likewise.
130 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
131 (check_lto_fat_available): Likewise.
132 (check_lto_shared_available): Likewise.
133 (check_ifunc_available): Likewise.
134 (check_ifunc_attribute_available): Likewise.
136 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
138 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
140 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
143 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
144 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
147 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
149 * testsuite/ld-elf/compressed1b.d: Pass
150 --compress-debug-sections=none to ld.
151 * testsuite/ld-elf/compressed1c.d: Likewise.
153 2016-04-27 Alan Modra <amodra@gmail.com>
156 * configure.tgt: Don't use var+=.
158 2016-04-25 Nick Clifton <nickc@redhat.com>
161 * configure.tgt: Include big endian PPC64 emulations with little
162 endian PPC64 targets.
164 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
166 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
168 2016-04-21 Nick Clifton <nickc@redhat.com>
170 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
171 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
172 targets. Do not stop the checks when problems are encountered.
174 2016-04-21 Alan Modra <amodra@gmail.com>
176 * testsuite/ld-scripts/cross3.t: Add commonly used data
177 and text section names to output section statements.
178 * testsuite/ld-scripts/cross4.t: Likewise.
179 * testsuite/ld-scripts/cross5.t: Likewise.
180 * testsuite/ld-scripts/cross6.t: Likewise.
181 * testsuite/ld-scripts/cross7.t: Likewise.
183 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
185 * ldlang.c (lang_check_relocs): New function.
186 (lang_process): Call lang_check_relocs after lang_gc_sections.
187 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
188 call _bfd_elf_link_check_relocs here.
190 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
193 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
194 R_386_NONE or R_X86_64_NONE.
196 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
198 * testsuite/ld-x86-64/pic1.d: New file.
199 * testsuite/ld-x86-64/pic1.s: Likewise.
200 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
202 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
204 * testsuite/ld-x86-64/pie2.d: New file.
205 * testsuite/ld-x86-64/pie2.s: Likewise.
206 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
208 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
211 * testsuite/ld-x86-64/pr19969.d: New file.
212 * testsuite/ld-x86-64/pr19969a.S: Likewise.
213 * testsuite/ld-x86-64/pr19969b.S: Likewise.
214 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
216 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
218 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
220 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
222 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
224 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
226 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
228 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
230 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
232 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
234 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
235 Set check_relocs_after_open_input to TRUE if
236 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
237 (gld${EMULATION_NAME}_after_open): Call
238 _bfd_elf_link_check_relocs on all inputs if
239 check_relocs_after_open_input is TRUE.
241 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
243 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
246 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
248 * emultempl/scoreelf.em: Likewise.
250 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
253 * testsuite/ld-x86-64/pr19719.d: New file.
254 * testsuite/ld-x86-64/pr19719.s: Likewise.
255 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
257 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
259 * ld.texinfo: Document NOCROSSREFS_TO script command.
260 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
261 (lang_add_nocrossref_to): New prototype.
262 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
263 symbols defined in the first section.
264 (check_nocrossref): Likewise.
265 * ldgram.y (NOCROSSREFS_TO): New script command.
266 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
267 (lang_add_nocrossref_to): New function.
268 * ldlex.l (NOCROSSREFS_TO): New token.
269 * NEWS: Mention NOCROSSREFS_TO.
270 * testsuite/ld-scripts/cross4.t: New file.
271 * testsuite/ld-scripts/cross5.t: Likewise.
272 * testsuite/ld-scripts/cross6.t: Likewise.
273 * testsuite/ld-scripts/cross7.t: Likewise.
274 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
277 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
279 * Makefile.in: Regenerated with automake 1.11.6.
280 * aclocal.m4: Likewise.
282 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
284 * testsuite/ld-arc/arc.exp: New file.
285 * testsuite/ld-arc/nps-1.s: New file.
286 * testsuite/ld-arc/nps-1a.d: New file.
287 * testsuite/ld-arc/nps-1b.d: New file.
288 * testsuite/ld-arc/nps-1b.err: New file.
290 2016-04-14 Nick Clifton <nickc@redhat.com>
293 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
294 exceptions for Mingw and Cygwin.
296 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
298 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
301 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
304 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
305 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
308 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
311 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
312 * testsuite/ld-x86-64/x86-64.exp: Likewise.
313 * testsuite/ld-i386/pr19939.s: New file.
314 * testsuite/ld-i386/pr19939a.d: Likewise.
315 * testsuite/ld-i386/pr19939b.d: Likewise.
316 * testsuite/ld-x86-64/pr19939.s: Likewise.
317 * testsuite/ld-x86-64/pr19939a.d: Likewise.
318 * testsuite/ld-x86-64/pr19939b.d: Likewise.
320 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
322 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
324 2016-04-08 Alan Modra <amodra@gmail.com>
327 * ldlang.c (maybe_overlays): Delete.
328 (lang_size_sections_1): Remove code setting maybe_overlays.
329 (lang_check_section_addresses): Instead detect overlays by
330 exact match of section VMAs here. Fix memory leak.
332 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
334 * ldlang.c (print_output_section_statement): Show minfo size
335 in target machine address units.
336 (print_reloc_statement): Likewise.
337 (print_padding_statement): Likewise.
338 (print_data_statement): Likewise. Ensure minimum print_dot
339 increment of one address unit.
341 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
343 * emulparams/arc-endianness.sh: Make little endian default choice.
345 2016-04-07 Nick Clifton <nickc@redhat.com>
347 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
349 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
351 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
353 * emulparams/arc-endianness.sh: New file.
354 * emulparams/arcebelf.sh: Deleted.
355 * emulparams/arcebelf_prof.sh: Deleted.
356 * emulparams/arceblinux.sh: Deleted.
357 * emulparams/arceblinux_prof.sh: Deleted.
358 * emulparams/arcelf.sh: Include arc-endinness.sh.
359 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
360 * emulparams/arclinux.sh: Include arc-endinness.sh.
361 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
362 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
363 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
364 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
365 little endian arc targets.
366 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
367 * testsuite/ld-elf/group1.d: Likewise.
368 * testsuite/ld-elf/group3b.d: Likewise.
369 * testsuite/ld-elf/group8a.d: Likewise.
370 * testsuite/ld-elf/group8b.d: Likewise.
371 * testsuite/ld-elf/group9a.d: Likewise.
372 * testsuite/ld-elf/group9b.d: Likewise.
373 * testsuite/ld-elf/linkonce2.d: Likewise.
374 * testsuite/ld-elf/pr12851.d: Likewise.
375 * testsuite/ld-elf/pr12975.d: Likewise.
376 * testsuite/ld-elf/pr13177.d: Likewise.
377 * testsuite/ld-elf/pr13195.d: Likewise.
378 * testsuite/ld-elf/pr17615.d: Likewise.
379 * testsuite/ld-elf/pr19162.d: Likewise.
380 * testsuite/ld-elf/sec64k.exp: Likewise.
381 * testsuite/lib/ld-lib.exp: Likewise.
383 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
386 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
388 * testsuite/ld-cris/tls-e-20a.d: Likewise.
389 * testsuite/ld-cris/tls-e-21.d: Likewise.
390 * testsuite/ld-cris/tls-e-23.d: Likewise.
391 * testsuite/ld-cris/tls-e-80.d: Likewise.
392 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
393 * testsuite/ld-cris/tls-leie-19.d: Likewise.
394 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
395 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
396 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
397 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
398 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
399 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
400 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
401 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
403 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
405 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
406 * testsuite/ld-discard/start.d: Likewise.
407 * testsuite/ld-discard/static.d: Likewise.
408 * testsuite/ld-elf/group1.d: Likewise.
409 * testsuite/ld-elf/group3b.d: Likewise.
410 * testsuite/ld-elf/orphan-region.d: Likewise.
411 * testsuite/ld-elf/orphan.d: Likewise.
412 * testsuite/ld-elf/orphan3.d: Likewise.
413 * testsuite/ld-elf/pr349.d: Likewise.
414 * testsuite/ld-elf/warn1.d: Likewise.
415 * testsuite/ld-elf/warn2.d: Likewise.
416 * testsuite/ld-elf/warn3.d: Likewise.
417 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
418 through linker flags.
419 * testsuite/ld-srec/srec.exp: Set as xfail.
421 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
424 * testsuite/ld-i386/pr19827-nacl.rd: New file.
425 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
427 2016-04-04 Nick Clifton <nickc@redhat.com>
430 * emultempl/pe.em (change_undef): New function. Encapsulates
431 duplicated code in pe_fixup_stdcalls and adds the newly defined
432 sym to the gc root list.
433 (pe_fixup_stdcall): Use the new function.
434 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
435 symbol to gc root list.
437 2016-03-31 Alan Modra <amodra@gmail.com>
439 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
440 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
441 (print_input_section): Don't use TO_ADDR when printing section
443 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
444 (lang_size_sections): Use TO_ADDR in relro end calculation.
446 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
448 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
449 value from regexp_diff.
450 * testsuite/ld-elf/orphan-5.l: Fix expected output.
451 * testsuite/ld-elf/orphan-6.l: Likewise.
453 2016-03-30 Alan Modra <amodra@gmail.com>
456 * ldlang.c (maybe_overlays): New static var.
457 (lang_size_sections_1): Set it here.
458 (struct check_sec): New.
459 (sort_sections_by_lma): Adjust for array of structs.
460 (sort_sections_by_vma): New function.
461 (lang_check_section_addresses): Check both LMA and VMA for overlap.
462 * testsuite/ld-scripts/rgn-over7.d: Adjust.
464 2016-03-30 Alan Modra <amodra@gmail.com>
466 * ldlang.c (lang_size_sections_1): Correct code detecting a
467 backward non-overlapping move.
469 2016-03-30 Alan Modra <amodra@gmail.com>
471 * ldlang.c (IS_TBSS): New macro, extracted from..
472 (IGNORE_SECTION): ..here.
473 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
474 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
476 2016-03-22 Nick Clifton <nickc@redhat.com>
479 * ldlang.c (lang_add_gc_name): New function. Adds the provided
480 symbol name to the list of gc symbols.
481 (lang_process): Call lang_add_gc_name with entry_symbol_default if
482 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
483 and fini function names.
484 * pe-dll.c (process_def_file_and_drectve): Add exported names to
486 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
487 * testsuite/ld-pe/pr19803.d: Tweak expected output.
489 2016-03-22 Nick Clifton <nickc@redhat.com>
491 * configure: Regenerate.
493 2016-03-21 Nick Clifton <nickc@redhat.com>
495 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
496 * plugin.c: Likewise.
497 * pe-dll.c: Likewise.
499 2016-03-18 Awson <kyrab@mail.ru>
502 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
504 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
506 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
508 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
510 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
513 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
514 * testsuite/ld-x86-64/x86-64.exp: Likewise.
515 * testsuite/ld-i386/pr19827.rd: New file.
516 * testsuite/ld-i386/pr19827a.S: Likewise.
517 * testsuite/ld-i386/pr19827b.S: Likewise.
518 * testsuite/ld-x86-64/pr19827.rd: Likewise.
519 * testsuite/ld-x86-64/pr19827a.S: Likewise.
520 * testsuite/ld-x86-64/pr19827b.S: Likewise.
522 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
525 * Makefile.am (ELF_X86_DEPS): Add
526 $(srcdir)/emulparams/reloc_overflow.sh.
527 * Makefile.in: Regenerated.
528 * NEWS: Mention -z noreloc-overflow.
529 * ld.texinfo: Document -z noreloc-overflow.
530 * emulparams/elf32_x86_64.sh: Source
531 ${srcdir}/emulparams/reloc_overflow.sh.
532 * emulparams/elf_x86_64.sh: Likewise.
533 * emulparams/reloc_overflow.sh: New file.
534 * testsuite/ld-x86-64/pr19807-1.s: New file.
535 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
536 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
537 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
538 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
539 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
540 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
541 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
542 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
543 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
545 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
548 * testsuite/ld-i386/i386.exp: Run pr19539.
549 * testsuite/ld-i386/pr19539.d: New file.
550 * testsuite/ld-i386/pr19539.s: Likewise.
551 * testsuite/ld-i386/pr19539.t: Likewise.
552 * testsuite/ld-x86-64/pr19539.s: Likewise.
553 * testsuite/ld-x86-64/pr19539.t: Likewise.
554 * testsuite/ld-x86-64/pr19539a.d: Likewise.
555 * testsuite/ld-x86-64/pr19539b.d: Likewise.
556 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
558 2016-03-10 Mickael Guene <mickael.guene@st.com>
561 * testsuite/ld-arm/arm-elf.exp: New tests.
562 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
563 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
565 2016-03-10 Nick Clifton <nickc@redhat.com>
567 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
569 2016-03-09 Pedro Alves <palves@redhat.com>
571 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
572 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
574 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
577 * testsuite/ld-elf/pr19789.d: New file.
578 * testsuite/ld-elf/pr19789.s: Likewise.
580 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
583 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
584 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
585 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
586 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
587 * testsuite/ld-ifunc/pass.out: New file.
588 * testsuite/ld-ifunc/pr19784a.c: Likewise.
589 * testsuite/ld-ifunc/pr19784b.c: Likewise.
590 * testsuite/ld-ifunc/pr19784c.c: Likewise.
592 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
595 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
596 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
597 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
598 --as-needed for pr18841c.
600 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
603 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
604 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
605 before tmpdir/got1d.so and test --as-needed.
606 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
607 tmpdir/pr18900.so and test --as-needed.
609 2016-03-07 Jiong Wang <jiong.wang@arm.com>
611 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
612 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
614 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
616 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
618 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
619 before tmpdir/copyreloc-lib.so and test --as-needed.
620 * testsuite/ld-x86-64/x86-64.exp: Likewise.
622 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
625 * testsuite/ld-elf/pr19579a.c: New file.
626 * testsuite/ld-elf/pr19579b.c: Likewise.
627 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
629 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
631 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
633 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
635 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
636 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
638 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
641 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
642 input sections for relocatable link.
643 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
644 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
646 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
649 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
650 merge flags of other input sections for relocatable link.
652 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
654 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
656 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
658 * testsuite/ld-elf/pr19162.d: Skip arc target.
660 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
663 * testsuite/ld-elf/pr19162.d: New file.
664 * testsuite/ld-elf/pr19162a.s: Likwise.
665 * testsuite/ld-elf/pr19162b.s: Likwise.
667 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
669 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
670 * testsuite/ld-elf/merge2.d: Likewise.
671 * testsuite/ld-elf/merge3.d: Likewise.
673 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
675 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
678 2016-02-26 Renlin Li <renlin.li@arm.com>
680 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
681 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
682 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
683 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
684 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
685 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
686 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
687 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
688 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
689 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
691 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
694 * testsuite/ld-i386/got1.dd: Updated.
695 * testsuite/ld-i386/lea1c.d: Likewise.
696 * testsuite/ld-i386/load1-nacl.d: Likewise.
697 * testsuite/ld-i386/load1.d: Likewise.
698 * testsuite/ld-i386/load4b.d: Likewise.
699 * testsuite/ld-i386/load5b.d: Likewise.
700 * testsuite/ld-i386/mov1b.d: Likewise.
701 * testsuite/ld-x86-64/mov1b.d: Likewise.
702 * testsuite/ld-x86-64/mov1d.d: Likewise.
703 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
704 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
705 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
706 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
707 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
708 * testsuite/ld-x86-64/lea1a.d: Likewise.
709 * testsuite/ld-x86-64/lea1b.d: Likewise.
710 * testsuite/ld-x86-64/lea1c.d: Likewise.
711 * testsuite/ld-x86-64/lea1d.d: Likewise.
712 * testsuite/ld-x86-64/lea1e.d: Likewise.
713 * testsuite/ld-x86-64/lea1f.d: Likewise.
714 * testsuite/ld-x86-64/mov1b.d: Likewise.
715 * testsuite/ld-x86-64/mov1d.d: Likewise.
716 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
717 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
718 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
719 * testsuite/ld-i386/pr19609-1.s: New file.
720 * testsuite/ld-i386/pr19609-1a.d: Likewise.
721 * testsuite/ld-i386/pr19609-1b.d: Likewise.
722 * testsuite/ld-i386/pr19609-1c.d: Likewise.
723 * testsuite/ld-i386/pr19609-1d.d: Likewise.
724 * testsuite/ld-i386/pr19609-1e.d: Likewise.
725 * testsuite/ld-i386/pr19609-1f.d: Likewise.
726 * testsuite/ld-i386/pr19609-1g.d: Likewise.
727 * testsuite/ld-i386/pr19609-1h.d: Likewise.
728 * testsuite/ld-i386/pr19609-1i.d: Likewise.
729 * testsuite/ld-i386/pr19609-2.s: Likewise.
730 * testsuite/ld-i386/pr19609-2a.d: Likewise.
731 * testsuite/ld-i386/pr19609-2b.d: Likewise.
732 * testsuite/ld-i386/pr19609-2c.d: Likewise.
733 * testsuite/ld-i386/undefweak.s: Likewise.
734 * testsuite/ld-i386/undefweaka.d: Likewise.
735 * testsuite/ld-i386/undefweakb.d: Likewise.
736 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
737 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
738 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
739 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
740 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
741 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
742 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
743 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
744 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
745 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
746 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
747 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
748 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
749 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
750 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
751 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
752 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
753 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
754 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
755 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
756 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
757 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
758 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
759 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
760 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
761 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
762 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
763 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
764 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
765 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
766 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
767 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
768 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
769 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
770 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
771 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
772 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
773 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
774 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
775 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
776 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
777 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
778 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
779 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
780 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
781 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
782 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
784 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
785 and tests for PR ld/19609.
787 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
790 * NEWS: Mention -z common/-z nocommon for ELF targets.
791 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
792 -z common and -z nocommon.
793 * ld.texinfo: Document -z common/-z nocommon.
794 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
795 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
796 --elf-stt-common=yes with assembler.
797 * testsuite/ld-elfcomm/common-1.s: New file.
798 * testsuite/ld-elfcomm/common-1a.d: Likewise.
799 * testsuite/ld-elfcomm/common-1b.d: Likewise.
800 * testsuite/ld-elfcomm/common-1c.d: Likewise.
801 * testsuite/ld-elfcomm/common-1d.d: Likewise.
802 * testsuite/ld-elfcomm/common-1e.d: Likewise.
803 * testsuite/ld-elfcomm/common-1f.d: Likewise.
804 * testsuite/ld-elfcomm/common-2.s: Likewise.
805 * testsuite/ld-elfcomm/common-2a.d: Likewise.
806 * testsuite/ld-elfcomm/common-2b.d: Likewise.
807 * testsuite/ld-elfcomm/common-2c.d: Likewise.
808 * testsuite/ld-elfcomm/common-2d.d: Likewise.
809 * testsuite/ld-elfcomm/common-2e.d: Likewise.
810 * testsuite/ld-elfcomm/common-2f.d: Likewise.
811 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
812 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
813 * testsuite/ld-i386/pr19645.d: Likewise.
814 * testsuite/ld-i386/pr19645.s: Likewise.
815 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
816 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
817 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
818 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
819 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
820 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
821 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
822 * testsuite/ld-x86-64/pr19645.d: Likewise.
823 * testsuite/ld-x86-64/pr19645.s: Likewise.
824 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
826 (assembler_generates_commons): Removed.
827 Run -z common/-z nocommon tests. Run *.d tests.
828 * testsuite/ld-i386/i386.exp: Run pr19645.
829 * testsuite/ld-x86-64/x86-64.exp: Likewise.
830 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
831 assembler. Test STT_COMMON with readelf.
833 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
838 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
839 * Makefile.in: Regenerated.
840 * NEWS: Mention -z nodynamic-undefined-weak.
841 * ld.texinfo: Document -z nodynamic-undefined-weak.
842 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
843 * emulparams/dynamic_undefined_weak.sh: New file.
844 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
845 * emulparams/elf_i386.sh: Likewise.
846 * emulparams/elf_i386_be.sh: Likewise.
847 * emulparams/elf_i386_chaos.sh: Likewise.
848 * emulparams/elf_i386_ldso.sh: Likewise.
849 * emulparams/elf_i386_vxworks.sh: Likewise.
850 * emulparams/elf_iamcu.sh: Likewise.
851 * emulparams/elf_k1om.sh: Likewise.
852 * emulparams/elf_l1om.sh: Likewise.
853 * emulparams/elf_x86_64.sh: Likewise.
854 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
856 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
857 * testsuite/ld-elf/pr19719a.c: New file.
858 * testsuite/ld-elf/pr19719b.c: Likewise.
859 * testsuite/ld-elf/pr19719c.c: Likewise.
860 * testsuite/ld-elf/pr19719d.c: Likewise.
861 * testsuite/ld-i386/pr19636-1.s: Likewise.
862 * testsuite/ld-i386/pr19636-1a.d: Likewise.
863 * testsuite/ld-i386/pr19636-1b.d: Likewise.
864 * testsuite/ld-i386/pr19636-1c.d: Likewise.
865 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
866 * testsuite/ld-i386/pr19636-1d.d: Likewise.
867 * testsuite/ld-i386/pr19636-1e.d: Likewise.
868 * testsuite/ld-i386/pr19636-1f.d: Likewise.
869 * testsuite/ld-i386/pr19636-1g.d: Likewise.
870 * testsuite/ld-i386/pr19636-1h.d: Likewise.
871 * testsuite/ld-i386/pr19636-1i.d: Likewise.
872 * testsuite/ld-i386/pr19636-2.s: Likewise.
873 * testsuite/ld-i386/pr19636-2a.d: Likewise.
874 * testsuite/ld-i386/pr19636-2b.d: Likewise.
875 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
876 * testsuite/ld-i386/pr19636-2c.d: Likewise.
877 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
878 * testsuite/ld-i386/pr19636-2d.d: Likewise.
879 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
880 * testsuite/ld-i386/pr19636-2e.d: Likewise.
881 * testsuite/ld-i386/pr19636-3.s: Likewise.
882 * testsuite/ld-i386/pr19636-3a.d: Likewise.
883 * testsuite/ld-i386/pr19636-3b.d: Likewise.
884 * testsuite/ld-i386/pr19636-3c.d: Likewise.
885 * testsuite/ld-i386/pr19636-3d.d: Likewise.
886 * testsuite/ld-i386/pr19636-3e.d: Likewise.
887 * testsuite/ld-i386/pr19636-3f.d: Likewise.
888 * testsuite/ld-i386/pr19636-3g.d: Likewise.
889 * testsuite/ld-i386/pr19636-4.s: Likewise.
890 * testsuite/ld-i386/pr19636-4a.d: Likewise.
891 * testsuite/ld-i386/pr19636-4b.d: Likewise.
892 * testsuite/ld-i386/pr19636-4c.d: Likewise.
893 * testsuite/ld-i386/pr19636-4d.d: Likewise.
894 * testsuite/ld-i386/pr19704.out: Likewise.
895 * testsuite/ld-i386/pr19704a.c: Likewise.
896 * testsuite/ld-i386/pr19704b.c: Likewise.
897 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
898 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
899 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
900 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
901 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
902 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
903 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
904 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
905 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
906 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
907 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
908 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
909 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
910 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
911 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
912 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
913 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
914 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
915 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
916 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
917 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
918 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
919 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
920 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
921 * testsuite/ld-x86-64/pr19704.out: Likewise.
922 * testsuite/ld-x86-64/pr19704a.c: Likewise.
923 * testsuite/ld-x86-64/pr19704b.c: Likewise.
924 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
925 Run mix_pic_and_non_pic.
926 * testsuite/ld-i386/i386.exp (undefined_weak): New.
927 Run undefined_weak and PR ld/19636 tests.
928 * testsuite/ld-x86-64/x86-64.exp: Likewise.
929 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
930 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
932 2016-02-25 Nick Clifton <nickc@redhat.com>
934 * ld.h (struct ld_config_type): Remove specified_data_size field.
936 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
939 * testsuite/ld-elf/pr19698.d: New file.
940 * testsuite/ld-elf/pr19698.s: Likewise.
941 * testsuite/ld-elf/pr19698.t: Likewise.
943 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
945 * Makefile.am (ELF_X86_DEPS): New.
946 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
947 (eelf_i386_chaos.c): Likewise.
948 (eelf_i386_fbsd.c): Likewise.
949 (eelf_i386_ldso.c): Likewise.
950 (eelf_i386_nacl.c): Likewise.
951 (eelf_i386_sol2.c): Likewise.
952 (eelf_iamcu.c): Likewise.
953 (eelf32_x86_64.c): Likewise.
954 (eelf32_x86_64_nacl.c): Likewise.
955 (eelf_l1om.c): Likewise.
956 (eelf_l1om_fbsd.c): Likewise.
957 (eelf_k1om.c): Likewise.
958 (eelf_k1om_fbsd.c): Likewise.
959 (eelf_x86_64.c): Likewise.
960 (eelf_x86_64_cloudabi.c): Likewise.
961 (eelf_x86_64_fbsd.c): Likewise.
962 (eelf_x86_64_sol2.c): Likewise.
963 * Makefile.in: Regenerated.
965 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
967 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
968 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
969 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
970 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
972 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
974 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
976 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
978 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
979 *-*-gnu* and *-*-solaris*.
980 * testsuite/ld-elf/pr19617b.d: Likewise.
981 * testsuite/ld-elf/pr19617c.d: Likewise.
983 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
986 * testsuite/ld-elf/pr19617.s: New file.
987 * testsuite/ld-elf/pr19617a.d: Likewise.
988 * testsuite/ld-elf/pr19617b.d: Likewise.
989 * testsuite/ld-elf/pr19617c.d: Likewise.
991 2016-02-18 Nick Clifton <nickc@redhat.com>
993 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
994 in-tree xg++ executable after checking for the presence of an
995 in-tree g++ executable.
996 * Makefile.in: Regenerate.
998 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1000 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1001 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1002 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1004 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1006 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1007 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1008 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1009 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1010 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1011 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1012 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1013 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1014 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1015 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1016 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1017 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1018 * testsuite/ld-x86-64/load1c.d: Likewise.
1019 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1020 * testsuite/ld-x86-64/load1d.d: Likewise.
1021 * testsuite/ld-x86-64/pr14207.d: Likewise.
1022 * testsuite/ld-x86-64/pr19162.d: Likewise.
1023 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1024 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1025 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1026 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1027 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1028 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1030 2016-02-17 Nick Clifton <nickc@redhat.com>
1032 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1034 2016-02-15 Nick Clifton <nickc@redhat.com>
1036 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1037 description of the flags produced by readelf.
1038 * testsuite/ld-i386/pr12921.d: Likewise.
1039 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1040 * testsuite/ld-i386/tlsbin.rd: Likewise.
1041 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1042 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1043 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1044 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1045 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1046 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1047 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1048 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1049 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1050 * testsuite/ld-i386/tlspic.rd: Likewise.
1051 * testsuite/ld-s390/tlsbin.rd: Likewise.
1052 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1053 * testsuite/ld-s390/tlspic.rd: Likewise.
1054 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1055 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1056 * testsuite/ld-sh/tlspic-2.d: Likewise.
1057 * testsuite/ld-tic6x/common.d: Likewise.
1058 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1059 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1060 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1061 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1062 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1063 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1064 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1065 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1066 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1067 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1068 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1069 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1070 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1071 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1072 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1073 * testsuite/ld-x86-64/pr12718.d: Likewise.
1074 * testsuite/ld-x86-64/pr12921.d: Likewise.
1075 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1076 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1077 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1078 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1079 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1080 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1081 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1082 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1083 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1084 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1085 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1086 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1087 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1088 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1090 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1093 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1095 * lexsup.c (parse_args): Enable -Bsymbolic and
1096 -Bsymbolic-functions for PIE.
1097 * testsuite/ld-i386/i386.exp: Run pr19615.
1098 * testsuite/ld-i386/pr19615.d: New file.
1099 * testsuite/ld-i386/pr19615.s: Likewise.
1100 * testsuite/ld-x86-64/pr19615.d: Likewise.
1101 * testsuite/ld-x86-64/pr19615.s: Likewise.
1103 2016-02-09 Nick Clifton <nickc@redhat.com>
1105 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1106 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1107 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1108 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1110 2016-02-04 Nick Clifton <nickc@redhat.com>
1112 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1113 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1114 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1115 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1116 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1117 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1118 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1119 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1120 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1122 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1125 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1126 * testsuite/ld-i386/call1.d: Likewise.
1127 * testsuite/ld-i386/call2.d: Likewise.
1128 * testsuite/ld-i386/call3a.d: Likewise.
1129 * testsuite/ld-i386/call3b.d: Likewise.
1130 * testsuite/ld-i386/call3c.d: Likewise.
1131 * testsuite/ld-i386/call3d.d: Likewise.
1132 * testsuite/ld-i386/call3e.d: Likewise.
1133 * testsuite/ld-i386/call3f.d: Likewise.
1134 * testsuite/ld-i386/call3g.d: Likewise.
1135 * testsuite/ld-i386/call3h.d: Likewise.
1136 * testsuite/ld-i386/jmp1.d: Likewise.
1137 * testsuite/ld-i386/jmp2.d: Likewise.
1138 * testsuite/ld-i386/lea1c.d: Likewise.
1139 * testsuite/ld-i386/load1.d: Likewise.
1140 * testsuite/ld-i386/load2.d: Likewise.
1141 * testsuite/ld-i386/load3.d: Likewise.
1142 * testsuite/ld-i386/load4a.d: Likewise.
1143 * testsuite/ld-i386/load5a.d: Likewise.
1144 * testsuite/ld-i386/mov2b.d: Likewise.
1145 * testsuite/ld-i386/mov3.d: Likewise.
1146 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1147 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1148 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1149 * testsuite/ld-x86-64/call1a.d: Likewise.
1150 * testsuite/ld-x86-64/call1b.d: Likewise.
1151 * testsuite/ld-x86-64/call1c.d: Likewise.
1152 * testsuite/ld-x86-64/call1d.d: Likewise.
1153 * testsuite/ld-x86-64/call1e.d: Likewise.
1154 * testsuite/ld-x86-64/call1f.d: Likewise.
1155 * testsuite/ld-x86-64/call1h.d: Likewise.
1156 * testsuite/ld-x86-64/call1i.d: Likewise.
1157 * testsuite/ld-x86-64/load1a.d: Likewise.
1158 * testsuite/ld-x86-64/load1b.d: Likewise.
1159 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1160 * testsuite/ld-i386/got1.dd: Updated.
1161 * testsuite/ld-i386/got1d.S (1): Removed.
1162 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1163 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1165 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1168 * testsuite/ld-x86-64/pr18591.d: New file.
1169 * testsuite/ld-x86-64/pr18591.s: Likewise.
1170 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1172 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1175 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1176 * testsuite/ld-elf/pr19553.map: New file.
1177 * testsuite/ld-elf/pr19553.map: Likewise.
1178 * testsuite/ld-elf/pr19553a.c: Likewise.
1179 * testsuite/ld-elf/pr19553b.c: Likewise.
1180 * testsuite/ld-elf/pr19553b.out: Likewise.
1181 * testsuite/ld-elf/pr19553c.c: Likewise.
1182 * testsuite/ld-elf/pr19553c.out: Likewise.
1183 * testsuite/ld-elf/pr19553d.c: Likewise.
1184 * testsuite/ld-elf/pr19553d.out: Likewise.
1186 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1189 * testsuite/ld-elf/pr19539.d: New file.
1190 * testsuite/ld-elf/pr19539.s: Likewise.
1191 * testsuite/ld-elf/pr19539.t: Likewise.
1193 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1196 * configure.ac (compressed_debug_sections): Replace == with =.
1197 * configure: Regenerated.
1199 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1201 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1202 * scripttempl/avrtiny.sc (.noinit): Likewise.
1204 2016-01-21 Nick Clifton <nickc@redhat.com>
1207 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1208 the arm-netbsdelf target.
1211 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1212 disassmebler output.
1213 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1214 * testsuite/ld-arm/vxworks1.dd: Likewise.
1215 * testsuite/ld-arm/vxworks1.rd: Likewise.
1216 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1218 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1220 * testsuite/ld-aarch64/farcall-section.d: Delete.
1221 * testsuite/ld-aarch64/farcall-section.s: Delete.
1222 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1223 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1224 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1225 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1226 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1228 2016-01-20 Nick Clifton <nickc@redhat.com>
1231 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1232 early for PE based targets.
1233 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1234 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1236 2016-01-20 Mickael Guene <mickael.guene@st.com>
1238 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1239 Add 'y' attribute usage.
1240 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1241 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1242 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1244 2016-01-19 Nick Clifton <nickc@redhat.com>
1246 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1247 foo@FOO and bar@@FOO.
1249 2016-01-18 Alan Modra <amodra@gmail.com>
1251 * configure: Regenerate.
1253 2016-01-18 Nick Clifton <nickc@redhat.com>
1255 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1256 is not configured to support plugins.
1258 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1259 but with 16 byte section alignment.
1260 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1261 test for MIPS targets.
1263 2016-01-17 Alan Modra <amodra@gmail.com>
1265 * configure: Regenerate.
1267 2016-01-17 Alan Modra <amodra@gmail.com>
1269 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1270 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1271 * testsuite/ld-elf/pr14156a.d: Likewise.
1272 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1273 * testsuite/ld-elf/sec64k.exp: Likewise.
1275 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1277 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1278 Set address of .foo section when linking.
1279 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1281 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1282 output to the above changes.
1284 2016-01-13 Nick Clifton <nickc@redhat.com>
1286 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1289 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1290 fail for MIPS targets.
1292 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1295 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1297 * testsuite/ld-arm/arm-elf.exp: New test.
1298 * testsuite/ld-arm/unwind-mix.d: New file.
1299 * testsuite/ld-arm/unwind-mix1.s: New file.
1300 * testsuite/ld-arm/unwind-mix2.s: New file.
1302 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1305 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1306 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1307 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1308 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1309 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1310 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1312 2016-01-05 Nick Clifton <nickc@redhat.com>
1314 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1315 MSP430 hardware multiply address range.
1316 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1317 (__romdatacopysize): Define.
1318 * scripttempl/elf32msp430_3.sc: Likewise.
1320 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1322 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1323 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1325 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1327 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1328 messages expected according to MIPS BFD private data merge
1330 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1331 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1332 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1333 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1334 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1335 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1336 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1337 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1338 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1339 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1340 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1341 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1342 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1344 2016-01-01 Alan Modra <amodra@gmail.com>
1346 Update year range in copyright notice of all files.
1348 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1350 Copyright (C) 2016 Free Software Foundation, Inc.
1352 Copying and distribution of this file, with or without modification,
1353 are permitted in any medium without royalty provided the copyright
1354 notice and this notice are preserved.
1360 version-control: never