1 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/ld-elf/pr17550-1.s: New file.
5 * testsuite/ld-elf/pr17550-2.s: Likewise.
6 * testsuite/ld-elf/pr17550-3.s: Likewise.
7 * testsuite/ld-elf/pr17550-4.s: Likewise.
8 * testsuite/ld-elf/pr17550a.d: Likewise.
9 * testsuite/ld-elf/pr17550b.d: Likewise.
10 * testsuite/ld-elf/pr17550c.d: Likewise.
11 * testsuite/ld-elf/pr17550d.d: Likewise.
13 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
15 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
17 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
19 * testsuite/ld-i386/i386.exp: Run load7.
20 * testsuite/ld-i386/load7.d: New file.
21 * testsuite/ld-i386/load7.map: Likewise.
22 * testsuite/ld-i386/load7.s: Likewise.
23 * testsuite/ld-x86-64/load2.d: Likewise.
24 * testsuite/ld-x86-64/load2.map: Likewise.
25 * testsuite/ld-x86-64/load2.s: Likewise.
26 * testsuite/ld-x86-64/x86-64.exp: Run load2.
28 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
30 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
31 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
33 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
36 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
38 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
40 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
42 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
44 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
46 * testsuite/ld-unique/unique.d: New test.
47 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
48 messages for compiled tests.
50 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
52 * testsuite/ld-elf/pr18735.d: Allow other symbols.
53 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
54 * testsuite/ld-gc/pr14265.d: Allow other symbols.
55 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
56 plugin_tests only if check_shared_lib_support is true.
57 * testsuite/ld-selective/selective.exp: Add --section-start
60 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
63 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
65 2016-05-03 Jiong Wang <jiong.wang@arm.com>
67 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
68 * NEWS: Mention --no-apply-dynamic-relocs.
69 * ld.texinfo (ld and the ARM family): Document
70 --no-apply-dynamic-relocs.
71 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
72 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
73 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
74 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
77 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
79 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
80 before running STT_COMMON tests.
82 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
84 * config/default.exp (NOPIE_CFLAGS): Download source only on
86 (NOPIE_LDFLAGS): Likewise.
87 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
88 (check_lto_fat_available): Likewise.
89 (check_lto_shared_available): Likewise.
90 (check_ifunc_available): Likewise.
91 (check_ifunc_attribute_available): Likewise.
93 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
95 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
97 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
100 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
101 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
104 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
106 * testsuite/ld-elf/compressed1b.d: Pass
107 --compress-debug-sections=none to ld.
108 * testsuite/ld-elf/compressed1c.d: Likewise.
110 2016-04-27 Alan Modra <amodra@gmail.com>
113 * configure.tgt: Don't use var+=.
115 2016-04-25 Nick Clifton <nickc@redhat.com>
118 * configure.tgt: Include big endian PPC64 emulations with little
119 endian PPC64 targets.
121 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
123 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
125 2016-04-21 Nick Clifton <nickc@redhat.com>
127 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
128 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
129 targets. Do not stop the checks when problems are encountered.
131 2016-04-21 Alan Modra <amodra@gmail.com>
133 * testsuite/ld-scripts/cross3.t: Add commonly used data
134 and text section names to output section statements.
135 * testsuite/ld-scripts/cross4.t: Likewise.
136 * testsuite/ld-scripts/cross5.t: Likewise.
137 * testsuite/ld-scripts/cross6.t: Likewise.
138 * testsuite/ld-scripts/cross7.t: Likewise.
140 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
142 * ldlang.c (lang_check_relocs): New function.
143 (lang_process): Call lang_check_relocs after lang_gc_sections.
144 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
145 call _bfd_elf_link_check_relocs here.
147 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
150 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
151 R_386_NONE or R_X86_64_NONE.
153 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
155 * testsuite/ld-x86-64/pic1.d: New file.
156 * testsuite/ld-x86-64/pic1.s: Likewise.
157 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
159 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
161 * testsuite/ld-x86-64/pie2.d: New file.
162 * testsuite/ld-x86-64/pie2.s: Likewise.
163 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
165 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
168 * testsuite/ld-x86-64/pr19969.d: New file.
169 * testsuite/ld-x86-64/pr19969a.S: Likewise.
170 * testsuite/ld-x86-64/pr19969b.S: Likewise.
171 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
173 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
175 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
177 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
179 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
181 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
183 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
185 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
187 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
189 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
191 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
192 Set check_relocs_after_open_input to TRUE if
193 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
194 (gld${EMULATION_NAME}_after_open): Call
195 _bfd_elf_link_check_relocs on all inputs if
196 check_relocs_after_open_input is TRUE.
198 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
200 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
203 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
205 * emultempl/scoreelf.em: Likewise.
207 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
210 * testsuite/ld-x86-64/pr19719.d: New file.
211 * testsuite/ld-x86-64/pr19719.s: Likewise.
212 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
214 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
216 * ld.texinfo: Document NOCROSSREFS_TO script command.
217 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
218 (lang_add_nocrossref_to): New prototype.
219 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
220 symbols defined in the first section.
221 (check_nocrossref): Likewise.
222 * ldgram.y (NOCROSSREFS_TO): New script command.
223 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
224 (lang_add_nocrossref_to): New function.
225 * ldlex.l (NOCROSSREFS_TO): New token.
226 * NEWS: Mention NOCROSSREFS_TO.
227 * testsuite/ld-scripts/cross4.t: New file.
228 * testsuite/ld-scripts/cross5.t: Likewise.
229 * testsuite/ld-scripts/cross6.t: Likewise.
230 * testsuite/ld-scripts/cross7.t: Likewise.
231 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
234 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
236 * Makefile.in: Regenerated with automake 1.11.6.
237 * aclocal.m4: Likewise.
239 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
241 * testsuite/ld-arc/arc.exp: New file.
242 * testsuite/ld-arc/nps-1.s: New file.
243 * testsuite/ld-arc/nps-1a.d: New file.
244 * testsuite/ld-arc/nps-1b.d: New file.
245 * testsuite/ld-arc/nps-1b.err: New file.
247 2016-04-14 Nick Clifton <nickc@redhat.com>
250 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
251 exceptions for Mingw and Cygwin.
253 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
255 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
258 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
261 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
262 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
265 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
268 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
269 * testsuite/ld-x86-64/x86-64.exp: Likewise.
270 * testsuite/ld-i386/pr19939.s: New file.
271 * testsuite/ld-i386/pr19939a.d: Likewise.
272 * testsuite/ld-i386/pr19939b.d: Likewise.
273 * testsuite/ld-x86-64/pr19939.s: Likewise.
274 * testsuite/ld-x86-64/pr19939a.d: Likewise.
275 * testsuite/ld-x86-64/pr19939b.d: Likewise.
277 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
279 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
281 2016-04-08 Alan Modra <amodra@gmail.com>
284 * ldlang.c (maybe_overlays): Delete.
285 (lang_size_sections_1): Remove code setting maybe_overlays.
286 (lang_check_section_addresses): Instead detect overlays by
287 exact match of section VMAs here. Fix memory leak.
289 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
291 * ldlang.c (print_output_section_statement): Show minfo size
292 in target machine address units.
293 (print_reloc_statement): Likewise.
294 (print_padding_statement): Likewise.
295 (print_data_statement): Likewise. Ensure minimum print_dot
296 increment of one address unit.
298 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
300 * emulparams/arc-endianness.sh: Make little endian default choice.
302 2016-04-07 Nick Clifton <nickc@redhat.com>
304 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
306 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
308 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
310 * emulparams/arc-endianness.sh: New file.
311 * emulparams/arcebelf.sh: Deleted.
312 * emulparams/arcebelf_prof.sh: Deleted.
313 * emulparams/arceblinux.sh: Deleted.
314 * emulparams/arceblinux_prof.sh: Deleted.
315 * emulparams/arcelf.sh: Include arc-endinness.sh.
316 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
317 * emulparams/arclinux.sh: Include arc-endinness.sh.
318 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
319 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
320 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
321 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
322 little endian arc targets.
323 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
324 * testsuite/ld-elf/group1.d: Likewise.
325 * testsuite/ld-elf/group3b.d: Likewise.
326 * testsuite/ld-elf/group8a.d: Likewise.
327 * testsuite/ld-elf/group8b.d: Likewise.
328 * testsuite/ld-elf/group9a.d: Likewise.
329 * testsuite/ld-elf/group9b.d: Likewise.
330 * testsuite/ld-elf/linkonce2.d: Likewise.
331 * testsuite/ld-elf/pr12851.d: Likewise.
332 * testsuite/ld-elf/pr12975.d: Likewise.
333 * testsuite/ld-elf/pr13177.d: Likewise.
334 * testsuite/ld-elf/pr13195.d: Likewise.
335 * testsuite/ld-elf/pr17615.d: Likewise.
336 * testsuite/ld-elf/pr19162.d: Likewise.
337 * testsuite/ld-elf/sec64k.exp: Likewise.
338 * testsuite/lib/ld-lib.exp: Likewise.
340 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
343 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
345 * testsuite/ld-cris/tls-e-20a.d: Likewise.
346 * testsuite/ld-cris/tls-e-21.d: Likewise.
347 * testsuite/ld-cris/tls-e-23.d: Likewise.
348 * testsuite/ld-cris/tls-e-80.d: Likewise.
349 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
350 * testsuite/ld-cris/tls-leie-19.d: Likewise.
351 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
352 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
353 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
354 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
355 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
356 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
357 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
358 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
360 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
362 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
363 * testsuite/ld-discard/start.d: Likewise.
364 * testsuite/ld-discard/static.d: Likewise.
365 * testsuite/ld-elf/group1.d: Likewise.
366 * testsuite/ld-elf/group3b.d: Likewise.
367 * testsuite/ld-elf/orphan-region.d: Likewise.
368 * testsuite/ld-elf/orphan.d: Likewise.
369 * testsuite/ld-elf/orphan3.d: Likewise.
370 * testsuite/ld-elf/pr349.d: Likewise.
371 * testsuite/ld-elf/warn1.d: Likewise.
372 * testsuite/ld-elf/warn2.d: Likewise.
373 * testsuite/ld-elf/warn3.d: Likewise.
374 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
375 through linker flags.
376 * testsuite/ld-srec/srec.exp: Set as xfail.
378 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
381 * testsuite/ld-i386/pr19827-nacl.rd: New file.
382 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
384 2016-04-04 Nick Clifton <nickc@redhat.com>
387 * emultempl/pe.em (change_undef): New function. Encapsulates
388 duplicated code in pe_fixup_stdcalls and adds the newly defined
389 sym to the gc root list.
390 (pe_fixup_stdcall): Use the new function.
391 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
392 symbol to gc root list.
394 2016-03-31 Alan Modra <amodra@gmail.com>
396 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
397 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
398 (print_input_section): Don't use TO_ADDR when printing section
400 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
401 (lang_size_sections): Use TO_ADDR in relro end calculation.
403 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
405 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
406 value from regexp_diff.
407 * testsuite/ld-elf/orphan-5.l: Fix expected output.
408 * testsuite/ld-elf/orphan-6.l: Likewise.
410 2016-03-30 Alan Modra <amodra@gmail.com>
413 * ldlang.c (maybe_overlays): New static var.
414 (lang_size_sections_1): Set it here.
415 (struct check_sec): New.
416 (sort_sections_by_lma): Adjust for array of structs.
417 (sort_sections_by_vma): New function.
418 (lang_check_section_addresses): Check both LMA and VMA for overlap.
419 * testsuite/ld-scripts/rgn-over7.d: Adjust.
421 2016-03-30 Alan Modra <amodra@gmail.com>
423 * ldlang.c (lang_size_sections_1): Correct code detecting a
424 backward non-overlapping move.
426 2016-03-30 Alan Modra <amodra@gmail.com>
428 * ldlang.c (IS_TBSS): New macro, extracted from..
429 (IGNORE_SECTION): ..here.
430 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
431 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
433 2016-03-22 Nick Clifton <nickc@redhat.com>
436 * ldlang.c (lang_add_gc_name): New function. Adds the provided
437 symbol name to the list of gc symbols.
438 (lang_process): Call lang_add_gc_name with entry_symbol_default if
439 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
440 and fini function names.
441 * pe-dll.c (process_def_file_and_drectve): Add exported names to
443 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
444 * testsuite/ld-pe/pr19803.d: Tweak expected output.
446 2016-03-22 Nick Clifton <nickc@redhat.com>
448 * configure: Regenerate.
450 2016-03-21 Nick Clifton <nickc@redhat.com>
452 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
453 * plugin.c: Likewise.
454 * pe-dll.c: Likewise.
456 2016-03-18 Awson <kyrab@mail.ru>
459 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
461 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
463 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
465 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
467 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
470 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
471 * testsuite/ld-x86-64/x86-64.exp: Likewise.
472 * testsuite/ld-i386/pr19827.rd: New file.
473 * testsuite/ld-i386/pr19827a.S: Likewise.
474 * testsuite/ld-i386/pr19827b.S: Likewise.
475 * testsuite/ld-x86-64/pr19827.rd: Likewise.
476 * testsuite/ld-x86-64/pr19827a.S: Likewise.
477 * testsuite/ld-x86-64/pr19827b.S: Likewise.
479 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
482 * Makefile.am (ELF_X86_DEPS): Add
483 $(srcdir)/emulparams/reloc_overflow.sh.
484 * Makefile.in: Regenerated.
485 * NEWS: Mention -z noreloc-overflow.
486 * ld.texinfo: Document -z noreloc-overflow.
487 * emulparams/elf32_x86_64.sh: Source
488 ${srcdir}/emulparams/reloc_overflow.sh.
489 * emulparams/elf_x86_64.sh: Likewise.
490 * emulparams/reloc_overflow.sh: New file.
491 * testsuite/ld-x86-64/pr19807-1.s: New file.
492 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
493 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
494 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
495 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
496 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
497 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
498 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
499 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
500 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
502 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
505 * testsuite/ld-i386/i386.exp: Run pr19539.
506 * testsuite/ld-i386/pr19539.d: New file.
507 * testsuite/ld-i386/pr19539.s: Likewise.
508 * testsuite/ld-i386/pr19539.t: Likewise.
509 * testsuite/ld-x86-64/pr19539.s: Likewise.
510 * testsuite/ld-x86-64/pr19539.t: Likewise.
511 * testsuite/ld-x86-64/pr19539a.d: Likewise.
512 * testsuite/ld-x86-64/pr19539b.d: Likewise.
513 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
515 2016-03-10 Mickael Guene <mickael.guene@st.com>
518 * testsuite/ld-arm/arm-elf.exp: New tests.
519 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
520 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
522 2016-03-10 Nick Clifton <nickc@redhat.com>
524 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
526 2016-03-09 Pedro Alves <palves@redhat.com>
528 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
529 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
531 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
534 * testsuite/ld-elf/pr19789.d: New file.
535 * testsuite/ld-elf/pr19789.s: Likewise.
537 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
540 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
541 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
542 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
543 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
544 * testsuite/ld-ifunc/pass.out: New file.
545 * testsuite/ld-ifunc/pr19784a.c: Likewise.
546 * testsuite/ld-ifunc/pr19784b.c: Likewise.
547 * testsuite/ld-ifunc/pr19784c.c: Likewise.
549 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
552 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
553 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
554 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
555 --as-needed for pr18841c.
557 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
560 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
561 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
562 before tmpdir/got1d.so and test --as-needed.
563 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
564 tmpdir/pr18900.so and test --as-needed.
566 2016-03-07 Jiong Wang <jiong.wang@arm.com>
568 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
569 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
571 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
573 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
575 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
576 before tmpdir/copyreloc-lib.so and test --as-needed.
577 * testsuite/ld-x86-64/x86-64.exp: Likewise.
579 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
582 * testsuite/ld-elf/pr19579a.c: New file.
583 * testsuite/ld-elf/pr19579b.c: Likewise.
584 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
586 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
588 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
590 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
592 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
593 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
595 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
598 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
599 input sections for relocatable link.
600 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
601 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
603 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
606 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
607 merge flags of other input sections for relocatable link.
609 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
611 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
613 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
615 * testsuite/ld-elf/pr19162.d: Skip arc target.
617 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
620 * testsuite/ld-elf/pr19162.d: New file.
621 * testsuite/ld-elf/pr19162a.s: Likwise.
622 * testsuite/ld-elf/pr19162b.s: Likwise.
624 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
626 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
627 * testsuite/ld-elf/merge2.d: Likewise.
628 * testsuite/ld-elf/merge3.d: Likewise.
630 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
632 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
635 2016-02-26 Renlin Li <renlin.li@arm.com>
637 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
638 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
639 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
640 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
641 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
642 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
643 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
644 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
645 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
646 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
648 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
651 * testsuite/ld-i386/got1.dd: Updated.
652 * testsuite/ld-i386/lea1c.d: Likewise.
653 * testsuite/ld-i386/load1-nacl.d: Likewise.
654 * testsuite/ld-i386/load1.d: Likewise.
655 * testsuite/ld-i386/load4b.d: Likewise.
656 * testsuite/ld-i386/load5b.d: Likewise.
657 * testsuite/ld-i386/mov1b.d: Likewise.
658 * testsuite/ld-x86-64/mov1b.d: Likewise.
659 * testsuite/ld-x86-64/mov1d.d: Likewise.
660 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
661 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
662 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
663 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
664 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
665 * testsuite/ld-x86-64/lea1a.d: Likewise.
666 * testsuite/ld-x86-64/lea1b.d: Likewise.
667 * testsuite/ld-x86-64/lea1c.d: Likewise.
668 * testsuite/ld-x86-64/lea1d.d: Likewise.
669 * testsuite/ld-x86-64/lea1e.d: Likewise.
670 * testsuite/ld-x86-64/lea1f.d: Likewise.
671 * testsuite/ld-x86-64/mov1b.d: Likewise.
672 * testsuite/ld-x86-64/mov1d.d: Likewise.
673 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
674 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
675 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
676 * testsuite/ld-i386/pr19609-1.s: New file.
677 * testsuite/ld-i386/pr19609-1a.d: Likewise.
678 * testsuite/ld-i386/pr19609-1b.d: Likewise.
679 * testsuite/ld-i386/pr19609-1c.d: Likewise.
680 * testsuite/ld-i386/pr19609-1d.d: Likewise.
681 * testsuite/ld-i386/pr19609-1e.d: Likewise.
682 * testsuite/ld-i386/pr19609-1f.d: Likewise.
683 * testsuite/ld-i386/pr19609-1g.d: Likewise.
684 * testsuite/ld-i386/pr19609-1h.d: Likewise.
685 * testsuite/ld-i386/pr19609-1i.d: Likewise.
686 * testsuite/ld-i386/pr19609-2.s: Likewise.
687 * testsuite/ld-i386/pr19609-2a.d: Likewise.
688 * testsuite/ld-i386/pr19609-2b.d: Likewise.
689 * testsuite/ld-i386/pr19609-2c.d: Likewise.
690 * testsuite/ld-i386/undefweak.s: Likewise.
691 * testsuite/ld-i386/undefweaka.d: Likewise.
692 * testsuite/ld-i386/undefweakb.d: Likewise.
693 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
694 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
695 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
696 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
697 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
698 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
699 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
700 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
701 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
702 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
703 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
704 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
705 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
706 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
707 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
708 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
709 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
710 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
711 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
712 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
713 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
714 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
715 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
716 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
717 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
718 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
719 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
720 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
721 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
722 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
723 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
724 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
725 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
726 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
727 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
728 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
729 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
730 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
731 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
732 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
733 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
734 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
735 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
736 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
737 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
738 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
739 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
741 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
742 and tests for PR ld/19609.
744 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
747 * NEWS: Mention -z common/-z nocommon for ELF targets.
748 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
749 -z common and -z nocommon.
750 * ld.texinfo: Document -z common/-z nocommon.
751 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
752 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
753 --elf-stt-common=yes with assembler.
754 * testsuite/ld-elfcomm/common-1.s: New file.
755 * testsuite/ld-elfcomm/common-1a.d: Likewise.
756 * testsuite/ld-elfcomm/common-1b.d: Likewise.
757 * testsuite/ld-elfcomm/common-1c.d: Likewise.
758 * testsuite/ld-elfcomm/common-1d.d: Likewise.
759 * testsuite/ld-elfcomm/common-1e.d: Likewise.
760 * testsuite/ld-elfcomm/common-1f.d: Likewise.
761 * testsuite/ld-elfcomm/common-2.s: Likewise.
762 * testsuite/ld-elfcomm/common-2a.d: Likewise.
763 * testsuite/ld-elfcomm/common-2b.d: Likewise.
764 * testsuite/ld-elfcomm/common-2c.d: Likewise.
765 * testsuite/ld-elfcomm/common-2d.d: Likewise.
766 * testsuite/ld-elfcomm/common-2e.d: Likewise.
767 * testsuite/ld-elfcomm/common-2f.d: Likewise.
768 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
769 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
770 * testsuite/ld-i386/pr19645.d: Likewise.
771 * testsuite/ld-i386/pr19645.s: Likewise.
772 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
773 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
774 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
775 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
776 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
777 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
778 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
779 * testsuite/ld-x86-64/pr19645.d: Likewise.
780 * testsuite/ld-x86-64/pr19645.s: Likewise.
781 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
783 (assembler_generates_commons): Removed.
784 Run -z common/-z nocommon tests. Run *.d tests.
785 * testsuite/ld-i386/i386.exp: Run pr19645.
786 * testsuite/ld-x86-64/x86-64.exp: Likewise.
787 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
788 assembler. Test STT_COMMON with readelf.
790 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
795 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
796 * Makefile.in: Regenerated.
797 * NEWS: Mention -z nodynamic-undefined-weak.
798 * ld.texinfo: Document -z nodynamic-undefined-weak.
799 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
800 * emulparams/dynamic_undefined_weak.sh: New file.
801 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
802 * emulparams/elf_i386.sh: Likewise.
803 * emulparams/elf_i386_be.sh: Likewise.
804 * emulparams/elf_i386_chaos.sh: Likewise.
805 * emulparams/elf_i386_ldso.sh: Likewise.
806 * emulparams/elf_i386_vxworks.sh: Likewise.
807 * emulparams/elf_iamcu.sh: Likewise.
808 * emulparams/elf_k1om.sh: Likewise.
809 * emulparams/elf_l1om.sh: Likewise.
810 * emulparams/elf_x86_64.sh: Likewise.
811 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
813 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
814 * testsuite/ld-elf/pr19719a.c: New file.
815 * testsuite/ld-elf/pr19719b.c: Likewise.
816 * testsuite/ld-elf/pr19719c.c: Likewise.
817 * testsuite/ld-elf/pr19719d.c: Likewise.
818 * testsuite/ld-i386/pr19636-1.s: Likewise.
819 * testsuite/ld-i386/pr19636-1a.d: Likewise.
820 * testsuite/ld-i386/pr19636-1b.d: Likewise.
821 * testsuite/ld-i386/pr19636-1c.d: Likewise.
822 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
823 * testsuite/ld-i386/pr19636-1d.d: Likewise.
824 * testsuite/ld-i386/pr19636-1e.d: Likewise.
825 * testsuite/ld-i386/pr19636-1f.d: Likewise.
826 * testsuite/ld-i386/pr19636-1g.d: Likewise.
827 * testsuite/ld-i386/pr19636-1h.d: Likewise.
828 * testsuite/ld-i386/pr19636-1i.d: Likewise.
829 * testsuite/ld-i386/pr19636-2.s: Likewise.
830 * testsuite/ld-i386/pr19636-2a.d: Likewise.
831 * testsuite/ld-i386/pr19636-2b.d: Likewise.
832 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
833 * testsuite/ld-i386/pr19636-2c.d: Likewise.
834 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
835 * testsuite/ld-i386/pr19636-2d.d: Likewise.
836 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
837 * testsuite/ld-i386/pr19636-2e.d: Likewise.
838 * testsuite/ld-i386/pr19636-3.s: Likewise.
839 * testsuite/ld-i386/pr19636-3a.d: Likewise.
840 * testsuite/ld-i386/pr19636-3b.d: Likewise.
841 * testsuite/ld-i386/pr19636-3c.d: Likewise.
842 * testsuite/ld-i386/pr19636-3d.d: Likewise.
843 * testsuite/ld-i386/pr19636-3e.d: Likewise.
844 * testsuite/ld-i386/pr19636-3f.d: Likewise.
845 * testsuite/ld-i386/pr19636-3g.d: Likewise.
846 * testsuite/ld-i386/pr19636-4.s: Likewise.
847 * testsuite/ld-i386/pr19636-4a.d: Likewise.
848 * testsuite/ld-i386/pr19636-4b.d: Likewise.
849 * testsuite/ld-i386/pr19636-4c.d: Likewise.
850 * testsuite/ld-i386/pr19636-4d.d: Likewise.
851 * testsuite/ld-i386/pr19704.out: Likewise.
852 * testsuite/ld-i386/pr19704a.c: Likewise.
853 * testsuite/ld-i386/pr19704b.c: Likewise.
854 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
855 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
856 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
857 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
858 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
859 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
860 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
861 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
862 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
863 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
864 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
865 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
866 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
867 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
868 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
869 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
870 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
871 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
872 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
873 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
874 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
875 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
876 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
877 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
878 * testsuite/ld-x86-64/pr19704.out: Likewise.
879 * testsuite/ld-x86-64/pr19704a.c: Likewise.
880 * testsuite/ld-x86-64/pr19704b.c: Likewise.
881 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
882 Run mix_pic_and_non_pic.
883 * testsuite/ld-i386/i386.exp (undefined_weak): New.
884 Run undefined_weak and PR ld/19636 tests.
885 * testsuite/ld-x86-64/x86-64.exp: Likewise.
886 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
887 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
889 2016-02-25 Nick Clifton <nickc@redhat.com>
891 * ld.h (struct ld_config_type): Remove specified_data_size field.
893 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
896 * testsuite/ld-elf/pr19698.d: New file.
897 * testsuite/ld-elf/pr19698.s: Likewise.
898 * testsuite/ld-elf/pr19698.t: Likewise.
900 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
902 * Makefile.am (ELF_X86_DEPS): New.
903 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
904 (eelf_i386_chaos.c): Likewise.
905 (eelf_i386_fbsd.c): Likewise.
906 (eelf_i386_ldso.c): Likewise.
907 (eelf_i386_nacl.c): Likewise.
908 (eelf_i386_sol2.c): Likewise.
909 (eelf_iamcu.c): Likewise.
910 (eelf32_x86_64.c): Likewise.
911 (eelf32_x86_64_nacl.c): Likewise.
912 (eelf_l1om.c): Likewise.
913 (eelf_l1om_fbsd.c): Likewise.
914 (eelf_k1om.c): Likewise.
915 (eelf_k1om_fbsd.c): Likewise.
916 (eelf_x86_64.c): Likewise.
917 (eelf_x86_64_cloudabi.c): Likewise.
918 (eelf_x86_64_fbsd.c): Likewise.
919 (eelf_x86_64_sol2.c): Likewise.
920 * Makefile.in: Regenerated.
922 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
924 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
925 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
926 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
927 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
929 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
931 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
933 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
935 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
936 *-*-gnu* and *-*-solaris*.
937 * testsuite/ld-elf/pr19617b.d: Likewise.
938 * testsuite/ld-elf/pr19617c.d: Likewise.
940 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
943 * testsuite/ld-elf/pr19617.s: New file.
944 * testsuite/ld-elf/pr19617a.d: Likewise.
945 * testsuite/ld-elf/pr19617b.d: Likewise.
946 * testsuite/ld-elf/pr19617c.d: Likewise.
948 2016-02-18 Nick Clifton <nickc@redhat.com>
950 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
951 in-tree xg++ executable after checking for the presence of an
952 in-tree g++ executable.
953 * Makefile.in: Regenerate.
955 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
957 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
958 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
959 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
961 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
963 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
964 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
965 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
966 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
967 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
968 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
969 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
970 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
971 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
972 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
973 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
974 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
975 * testsuite/ld-x86-64/load1c.d: Likewise.
976 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
977 * testsuite/ld-x86-64/load1d.d: Likewise.
978 * testsuite/ld-x86-64/pr14207.d: Likewise.
979 * testsuite/ld-x86-64/pr19162.d: Likewise.
980 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
981 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
982 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
983 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
984 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
985 * testsuite/ld-x86-64/tlspic.rd: Likewise.
987 2016-02-17 Nick Clifton <nickc@redhat.com>
989 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
991 2016-02-15 Nick Clifton <nickc@redhat.com>
993 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
994 description of the flags produced by readelf.
995 * testsuite/ld-i386/pr12921.d: Likewise.
996 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
997 * testsuite/ld-i386/tlsbin.rd: Likewise.
998 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
999 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1000 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1001 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1002 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1003 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1004 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1005 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1006 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1007 * testsuite/ld-i386/tlspic.rd: Likewise.
1008 * testsuite/ld-s390/tlsbin.rd: Likewise.
1009 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1010 * testsuite/ld-s390/tlspic.rd: Likewise.
1011 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1012 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1013 * testsuite/ld-sh/tlspic-2.d: Likewise.
1014 * testsuite/ld-tic6x/common.d: Likewise.
1015 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1016 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1017 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1018 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1019 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1020 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1021 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1022 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1023 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1024 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1025 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1026 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1027 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1028 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1029 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1030 * testsuite/ld-x86-64/pr12718.d: Likewise.
1031 * testsuite/ld-x86-64/pr12921.d: Likewise.
1032 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1033 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1034 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1035 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1036 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1037 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1038 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1039 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1040 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1041 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1042 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1043 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1044 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1045 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1047 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1050 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1052 * lexsup.c (parse_args): Enable -Bsymbolic and
1053 -Bsymbolic-functions for PIE.
1054 * testsuite/ld-i386/i386.exp: Run pr19615.
1055 * testsuite/ld-i386/pr19615.d: New file.
1056 * testsuite/ld-i386/pr19615.s: Likewise.
1057 * testsuite/ld-x86-64/pr19615.d: Likewise.
1058 * testsuite/ld-x86-64/pr19615.s: Likewise.
1060 2016-02-09 Nick Clifton <nickc@redhat.com>
1062 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1063 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1064 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1065 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1067 2016-02-04 Nick Clifton <nickc@redhat.com>
1069 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1070 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1071 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1072 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1073 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1074 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1075 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1076 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1077 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1079 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1082 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1083 * testsuite/ld-i386/call1.d: Likewise.
1084 * testsuite/ld-i386/call2.d: Likewise.
1085 * testsuite/ld-i386/call3a.d: Likewise.
1086 * testsuite/ld-i386/call3b.d: Likewise.
1087 * testsuite/ld-i386/call3c.d: Likewise.
1088 * testsuite/ld-i386/call3d.d: Likewise.
1089 * testsuite/ld-i386/call3e.d: Likewise.
1090 * testsuite/ld-i386/call3f.d: Likewise.
1091 * testsuite/ld-i386/call3g.d: Likewise.
1092 * testsuite/ld-i386/call3h.d: Likewise.
1093 * testsuite/ld-i386/jmp1.d: Likewise.
1094 * testsuite/ld-i386/jmp2.d: Likewise.
1095 * testsuite/ld-i386/lea1c.d: Likewise.
1096 * testsuite/ld-i386/load1.d: Likewise.
1097 * testsuite/ld-i386/load2.d: Likewise.
1098 * testsuite/ld-i386/load3.d: Likewise.
1099 * testsuite/ld-i386/load4a.d: Likewise.
1100 * testsuite/ld-i386/load5a.d: Likewise.
1101 * testsuite/ld-i386/mov2b.d: Likewise.
1102 * testsuite/ld-i386/mov3.d: Likewise.
1103 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1104 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1105 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1106 * testsuite/ld-x86-64/call1a.d: Likewise.
1107 * testsuite/ld-x86-64/call1b.d: Likewise.
1108 * testsuite/ld-x86-64/call1c.d: Likewise.
1109 * testsuite/ld-x86-64/call1d.d: Likewise.
1110 * testsuite/ld-x86-64/call1e.d: Likewise.
1111 * testsuite/ld-x86-64/call1f.d: Likewise.
1112 * testsuite/ld-x86-64/call1h.d: Likewise.
1113 * testsuite/ld-x86-64/call1i.d: Likewise.
1114 * testsuite/ld-x86-64/load1a.d: Likewise.
1115 * testsuite/ld-x86-64/load1b.d: Likewise.
1116 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1117 * testsuite/ld-i386/got1.dd: Updated.
1118 * testsuite/ld-i386/got1d.S (1): Removed.
1119 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1120 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1122 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1125 * testsuite/ld-x86-64/pr18591.d: New file.
1126 * testsuite/ld-x86-64/pr18591.s: Likewise.
1127 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1129 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1132 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1133 * testsuite/ld-elf/pr19553.map: New file.
1134 * testsuite/ld-elf/pr19553.map: Likewise.
1135 * testsuite/ld-elf/pr19553a.c: Likewise.
1136 * testsuite/ld-elf/pr19553b.c: Likewise.
1137 * testsuite/ld-elf/pr19553b.out: Likewise.
1138 * testsuite/ld-elf/pr19553c.c: Likewise.
1139 * testsuite/ld-elf/pr19553c.out: Likewise.
1140 * testsuite/ld-elf/pr19553d.c: Likewise.
1141 * testsuite/ld-elf/pr19553d.out: Likewise.
1143 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1146 * testsuite/ld-elf/pr19539.d: New file.
1147 * testsuite/ld-elf/pr19539.s: Likewise.
1148 * testsuite/ld-elf/pr19539.t: Likewise.
1150 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1153 * configure.ac (compressed_debug_sections): Replace == with =.
1154 * configure: Regenerated.
1156 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1158 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1159 * scripttempl/avrtiny.sc (.noinit): Likewise.
1161 2016-01-21 Nick Clifton <nickc@redhat.com>
1164 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1165 the arm-netbsdelf target.
1168 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1169 disassmebler output.
1170 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1171 * testsuite/ld-arm/vxworks1.dd: Likewise.
1172 * testsuite/ld-arm/vxworks1.rd: Likewise.
1173 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1175 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1177 * testsuite/ld-aarch64/farcall-section.d: Delete.
1178 * testsuite/ld-aarch64/farcall-section.s: Delete.
1179 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1180 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1181 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1182 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1183 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1185 2016-01-20 Nick Clifton <nickc@redhat.com>
1188 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1189 early for PE based targets.
1190 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1191 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1193 2016-01-20 Mickael Guene <mickael.guene@st.com>
1195 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1196 Add 'y' attribute usage.
1197 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1198 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1199 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1201 2016-01-19 Nick Clifton <nickc@redhat.com>
1203 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1204 foo@FOO and bar@@FOO.
1206 2016-01-18 Alan Modra <amodra@gmail.com>
1208 * configure: Regenerate.
1210 2016-01-18 Nick Clifton <nickc@redhat.com>
1212 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1213 is not configured to support plugins.
1215 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1216 but with 16 byte section alignment.
1217 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1218 test for MIPS targets.
1220 2016-01-17 Alan Modra <amodra@gmail.com>
1222 * configure: Regenerate.
1224 2016-01-17 Alan Modra <amodra@gmail.com>
1226 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1227 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1228 * testsuite/ld-elf/pr14156a.d: Likewise.
1229 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1230 * testsuite/ld-elf/sec64k.exp: Likewise.
1232 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1234 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1235 Set address of .foo section when linking.
1236 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1238 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1239 output to the above changes.
1241 2016-01-13 Nick Clifton <nickc@redhat.com>
1243 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1246 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1247 fail for MIPS targets.
1249 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1252 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1254 * testsuite/ld-arm/arm-elf.exp: New test.
1255 * testsuite/ld-arm/unwind-mix.d: New file.
1256 * testsuite/ld-arm/unwind-mix1.s: New file.
1257 * testsuite/ld-arm/unwind-mix2.s: New file.
1259 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1262 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1263 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1264 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1265 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1266 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1267 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1269 2016-01-05 Nick Clifton <nickc@redhat.com>
1271 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1272 MSP430 hardware multiply address range.
1273 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1274 (__romdatacopysize): Define.
1275 * scripttempl/elf32msp430_3.sc: Likewise.
1277 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1279 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1280 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1282 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1284 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1285 messages expected according to MIPS BFD private data merge
1287 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1288 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1289 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1290 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1291 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1292 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1293 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1294 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1295 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1296 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1297 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1298 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1299 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1301 2016-01-01 Alan Modra <amodra@gmail.com>
1303 Update year range in copyright notice of all files.
1305 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1307 Copyright (C) 2016 Free Software Foundation, Inc.
1309 Copying and distribution of this file, with or without modification,
1310 are permitted in any medium without royalty provided the copyright
1311 notice and this notice are preserved.
1317 version-control: never