1 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
3 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
4 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
6 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
9 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
11 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
13 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
15 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
17 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
19 * testsuite/ld-unique/unique.d: New test.
20 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
21 messages for compiled tests.
23 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
25 * testsuite/ld-elf/pr18735.d: Allow other symbols.
26 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
27 * testsuite/ld-gc/pr14265.d: Allow other symbols.
28 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
29 plugin_tests only if check_shared_lib_support is true.
30 * testsuite/ld-selective/selective.exp: Add --section-start
33 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
36 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
38 2016-05-03 Jiong Wang <jiong.wang@arm.com>
40 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
41 * NEWS: Mention --no-apply-dynamic-relocs.
42 * ld.texinfo (ld and the ARM family): Document
43 --no-apply-dynamic-relocs.
44 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
45 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
46 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
47 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
50 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
52 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
53 before running STT_COMMON tests.
55 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
57 * config/default.exp (NOPIE_CFLAGS): Download source only on
59 (NOPIE_LDFLAGS): Likewise.
60 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
61 (check_lto_fat_available): Likewise.
62 (check_lto_shared_available): Likewise.
63 (check_ifunc_available): Likewise.
64 (check_ifunc_attribute_available): Likewise.
66 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
68 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
70 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
73 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
74 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
77 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
79 * testsuite/ld-elf/compressed1b.d: Pass
80 --compress-debug-sections=none to ld.
81 * testsuite/ld-elf/compressed1c.d: Likewise.
83 2016-04-27 Alan Modra <amodra@gmail.com>
86 * configure.tgt: Don't use var+=.
88 2016-04-25 Nick Clifton <nickc@redhat.com>
91 * configure.tgt: Include big endian PPC64 emulations with little
94 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
96 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
98 2016-04-21 Nick Clifton <nickc@redhat.com>
100 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
101 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
102 targets. Do not stop the checks when problems are encountered.
104 2016-04-21 Alan Modra <amodra@gmail.com>
106 * testsuite/ld-scripts/cross3.t: Add commonly used data
107 and text section names to output section statements.
108 * testsuite/ld-scripts/cross4.t: Likewise.
109 * testsuite/ld-scripts/cross5.t: Likewise.
110 * testsuite/ld-scripts/cross6.t: Likewise.
111 * testsuite/ld-scripts/cross7.t: Likewise.
113 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
115 * ldlang.c (lang_check_relocs): New function.
116 (lang_process): Call lang_check_relocs after lang_gc_sections.
117 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
118 call _bfd_elf_link_check_relocs here.
120 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
123 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
124 R_386_NONE or R_X86_64_NONE.
126 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
128 * testsuite/ld-x86-64/pic1.d: New file.
129 * testsuite/ld-x86-64/pic1.s: Likewise.
130 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
132 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
134 * testsuite/ld-x86-64/pie2.d: New file.
135 * testsuite/ld-x86-64/pie2.s: Likewise.
136 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
138 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
141 * testsuite/ld-x86-64/pr19969.d: New file.
142 * testsuite/ld-x86-64/pr19969a.S: Likewise.
143 * testsuite/ld-x86-64/pr19969b.S: Likewise.
144 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
146 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
148 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
150 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
152 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
154 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
156 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
158 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
160 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
162 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
164 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
165 Set check_relocs_after_open_input to TRUE if
166 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
167 (gld${EMULATION_NAME}_after_open): Call
168 _bfd_elf_link_check_relocs on all inputs if
169 check_relocs_after_open_input is TRUE.
171 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
173 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
176 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
178 * emultempl/scoreelf.em: Likewise.
180 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
183 * testsuite/ld-x86-64/pr19719.d: New file.
184 * testsuite/ld-x86-64/pr19719.s: Likewise.
185 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
187 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
189 * ld.texinfo: Document NOCROSSREFS_TO script command.
190 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
191 (lang_add_nocrossref_to): New prototype.
192 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
193 symbols defined in the first section.
194 (check_nocrossref): Likewise.
195 * ldgram.y (NOCROSSREFS_TO): New script command.
196 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
197 (lang_add_nocrossref_to): New function.
198 * ldlex.l (NOCROSSREFS_TO): New token.
199 * NEWS: Mention NOCROSSREFS_TO.
200 * testsuite/ld-scripts/cross4.t: New file.
201 * testsuite/ld-scripts/cross5.t: Likewise.
202 * testsuite/ld-scripts/cross6.t: Likewise.
203 * testsuite/ld-scripts/cross7.t: Likewise.
204 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
207 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
209 * Makefile.in: Regenerated with automake 1.11.6.
210 * aclocal.m4: Likewise.
212 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
214 * testsuite/ld-arc/arc.exp: New file.
215 * testsuite/ld-arc/nps-1.s: New file.
216 * testsuite/ld-arc/nps-1a.d: New file.
217 * testsuite/ld-arc/nps-1b.d: New file.
218 * testsuite/ld-arc/nps-1b.err: New file.
220 2016-04-14 Nick Clifton <nickc@redhat.com>
223 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
224 exceptions for Mingw and Cygwin.
226 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
228 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
231 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
234 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
235 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
238 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
241 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
242 * testsuite/ld-x86-64/x86-64.exp: Likewise.
243 * testsuite/ld-i386/pr19939.s: New file.
244 * testsuite/ld-i386/pr19939a.d: Likewise.
245 * testsuite/ld-i386/pr19939b.d: Likewise.
246 * testsuite/ld-x86-64/pr19939.s: Likewise.
247 * testsuite/ld-x86-64/pr19939a.d: Likewise.
248 * testsuite/ld-x86-64/pr19939b.d: Likewise.
250 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
252 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
254 2016-04-08 Alan Modra <amodra@gmail.com>
257 * ldlang.c (maybe_overlays): Delete.
258 (lang_size_sections_1): Remove code setting maybe_overlays.
259 (lang_check_section_addresses): Instead detect overlays by
260 exact match of section VMAs here. Fix memory leak.
262 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
264 * ldlang.c (print_output_section_statement): Show minfo size
265 in target machine address units.
266 (print_reloc_statement): Likewise.
267 (print_padding_statement): Likewise.
268 (print_data_statement): Likewise. Ensure minimum print_dot
269 increment of one address unit.
271 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
273 * emulparams/arc-endianness.sh: Make little endian default choice.
275 2016-04-07 Nick Clifton <nickc@redhat.com>
277 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
279 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
281 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
283 * emulparams/arc-endianness.sh: New file.
284 * emulparams/arcebelf.sh: Deleted.
285 * emulparams/arcebelf_prof.sh: Deleted.
286 * emulparams/arceblinux.sh: Deleted.
287 * emulparams/arceblinux_prof.sh: Deleted.
288 * emulparams/arcelf.sh: Include arc-endinness.sh.
289 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
290 * emulparams/arclinux.sh: Include arc-endinness.sh.
291 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
292 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
293 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
294 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
295 little endian arc targets.
296 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
297 * testsuite/ld-elf/group1.d: Likewise.
298 * testsuite/ld-elf/group3b.d: Likewise.
299 * testsuite/ld-elf/group8a.d: Likewise.
300 * testsuite/ld-elf/group8b.d: Likewise.
301 * testsuite/ld-elf/group9a.d: Likewise.
302 * testsuite/ld-elf/group9b.d: Likewise.
303 * testsuite/ld-elf/linkonce2.d: Likewise.
304 * testsuite/ld-elf/pr12851.d: Likewise.
305 * testsuite/ld-elf/pr12975.d: Likewise.
306 * testsuite/ld-elf/pr13177.d: Likewise.
307 * testsuite/ld-elf/pr13195.d: Likewise.
308 * testsuite/ld-elf/pr17615.d: Likewise.
309 * testsuite/ld-elf/pr19162.d: Likewise.
310 * testsuite/ld-elf/sec64k.exp: Likewise.
311 * testsuite/lib/ld-lib.exp: Likewise.
313 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
316 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
318 * testsuite/ld-cris/tls-e-20a.d: Likewise.
319 * testsuite/ld-cris/tls-e-21.d: Likewise.
320 * testsuite/ld-cris/tls-e-23.d: Likewise.
321 * testsuite/ld-cris/tls-e-80.d: Likewise.
322 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
323 * testsuite/ld-cris/tls-leie-19.d: Likewise.
324 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
325 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
326 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
327 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
328 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
329 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
330 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
331 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
333 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
335 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
336 * testsuite/ld-discard/start.d: Likewise.
337 * testsuite/ld-discard/static.d: Likewise.
338 * testsuite/ld-elf/group1.d: Likewise.
339 * testsuite/ld-elf/group3b.d: Likewise.
340 * testsuite/ld-elf/orphan-region.d: Likewise.
341 * testsuite/ld-elf/orphan.d: Likewise.
342 * testsuite/ld-elf/orphan3.d: Likewise.
343 * testsuite/ld-elf/pr349.d: Likewise.
344 * testsuite/ld-elf/warn1.d: Likewise.
345 * testsuite/ld-elf/warn2.d: Likewise.
346 * testsuite/ld-elf/warn3.d: Likewise.
347 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
348 through linker flags.
349 * testsuite/ld-srec/srec.exp: Set as xfail.
351 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
354 * testsuite/ld-i386/pr19827-nacl.rd: New file.
355 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
357 2016-04-04 Nick Clifton <nickc@redhat.com>
360 * emultempl/pe.em (change_undef): New function. Encapsulates
361 duplicated code in pe_fixup_stdcalls and adds the newly defined
362 sym to the gc root list.
363 (pe_fixup_stdcall): Use the new function.
364 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
365 symbol to gc root list.
367 2016-03-31 Alan Modra <amodra@gmail.com>
369 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
370 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
371 (print_input_section): Don't use TO_ADDR when printing section
373 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
374 (lang_size_sections): Use TO_ADDR in relro end calculation.
376 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
378 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
379 value from regexp_diff.
380 * testsuite/ld-elf/orphan-5.l: Fix expected output.
381 * testsuite/ld-elf/orphan-6.l: Likewise.
383 2016-03-30 Alan Modra <amodra@gmail.com>
386 * ldlang.c (maybe_overlays): New static var.
387 (lang_size_sections_1): Set it here.
388 (struct check_sec): New.
389 (sort_sections_by_lma): Adjust for array of structs.
390 (sort_sections_by_vma): New function.
391 (lang_check_section_addresses): Check both LMA and VMA for overlap.
392 * testsuite/ld-scripts/rgn-over7.d: Adjust.
394 2016-03-30 Alan Modra <amodra@gmail.com>
396 * ldlang.c (lang_size_sections_1): Correct code detecting a
397 backward non-overlapping move.
399 2016-03-30 Alan Modra <amodra@gmail.com>
401 * ldlang.c (IS_TBSS): New macro, extracted from..
402 (IGNORE_SECTION): ..here.
403 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
404 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
406 2016-03-22 Nick Clifton <nickc@redhat.com>
409 * ldlang.c (lang_add_gc_name): New function. Adds the provided
410 symbol name to the list of gc symbols.
411 (lang_process): Call lang_add_gc_name with entry_symbol_default if
412 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
413 and fini function names.
414 * pe-dll.c (process_def_file_and_drectve): Add exported names to
416 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
417 * testsuite/ld-pe/pr19803.d: Tweak expected output.
419 2016-03-22 Nick Clifton <nickc@redhat.com>
421 * configure: Regenerate.
423 2016-03-21 Nick Clifton <nickc@redhat.com>
425 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
426 * plugin.c: Likewise.
427 * pe-dll.c: Likewise.
429 2016-03-18 Awson <kyrab@mail.ru>
432 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
434 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
436 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
438 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
440 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
443 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
444 * testsuite/ld-x86-64/x86-64.exp: Likewise.
445 * testsuite/ld-i386/pr19827.rd: New file.
446 * testsuite/ld-i386/pr19827a.S: Likewise.
447 * testsuite/ld-i386/pr19827b.S: Likewise.
448 * testsuite/ld-x86-64/pr19827.rd: Likewise.
449 * testsuite/ld-x86-64/pr19827a.S: Likewise.
450 * testsuite/ld-x86-64/pr19827b.S: Likewise.
452 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
455 * Makefile.am (ELF_X86_DEPS): Add
456 $(srcdir)/emulparams/reloc_overflow.sh.
457 * Makefile.in: Regenerated.
458 * NEWS: Mention -z noreloc-overflow.
459 * ld.texinfo: Document -z noreloc-overflow.
460 * emulparams/elf32_x86_64.sh: Source
461 ${srcdir}/emulparams/reloc_overflow.sh.
462 * emulparams/elf_x86_64.sh: Likewise.
463 * emulparams/reloc_overflow.sh: New file.
464 * testsuite/ld-x86-64/pr19807-1.s: New file.
465 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
466 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
467 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
468 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
469 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
470 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
471 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
472 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
473 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
475 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
478 * testsuite/ld-i386/i386.exp: Run pr19539.
479 * testsuite/ld-i386/pr19539.d: New file.
480 * testsuite/ld-i386/pr19539.s: Likewise.
481 * testsuite/ld-i386/pr19539.t: Likewise.
482 * testsuite/ld-x86-64/pr19539.s: Likewise.
483 * testsuite/ld-x86-64/pr19539.t: Likewise.
484 * testsuite/ld-x86-64/pr19539a.d: Likewise.
485 * testsuite/ld-x86-64/pr19539b.d: Likewise.
486 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
488 2016-03-10 Mickael Guene <mickael.guene@st.com>
491 * testsuite/ld-arm/arm-elf.exp: New tests.
492 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
493 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
495 2016-03-10 Nick Clifton <nickc@redhat.com>
497 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
499 2016-03-09 Pedro Alves <palves@redhat.com>
501 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
502 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
504 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
507 * testsuite/ld-elf/pr19789.d: New file.
508 * testsuite/ld-elf/pr19789.s: Likewise.
510 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
513 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
514 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
515 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
516 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
517 * testsuite/ld-ifunc/pass.out: New file.
518 * testsuite/ld-ifunc/pr19784a.c: Likewise.
519 * testsuite/ld-ifunc/pr19784b.c: Likewise.
520 * testsuite/ld-ifunc/pr19784c.c: Likewise.
522 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
525 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
526 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
527 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
528 --as-needed for pr18841c.
530 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
533 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
534 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
535 before tmpdir/got1d.so and test --as-needed.
536 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
537 tmpdir/pr18900.so and test --as-needed.
539 2016-03-07 Jiong Wang <jiong.wang@arm.com>
541 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
542 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
544 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
546 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
548 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
549 before tmpdir/copyreloc-lib.so and test --as-needed.
550 * testsuite/ld-x86-64/x86-64.exp: Likewise.
552 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
555 * testsuite/ld-elf/pr19579a.c: New file.
556 * testsuite/ld-elf/pr19579b.c: Likewise.
557 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
559 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
561 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
563 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
565 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
566 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
568 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
571 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
572 input sections for relocatable link.
573 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
574 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
576 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
579 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
580 merge flags of other input sections for relocatable link.
582 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
584 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
586 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
588 * testsuite/ld-elf/pr19162.d: Skip arc target.
590 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
593 * testsuite/ld-elf/pr19162.d: New file.
594 * testsuite/ld-elf/pr19162a.s: Likwise.
595 * testsuite/ld-elf/pr19162b.s: Likwise.
597 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
599 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
600 * testsuite/ld-elf/merge2.d: Likewise.
601 * testsuite/ld-elf/merge3.d: Likewise.
603 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
605 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
608 2016-02-26 Renlin Li <renlin.li@arm.com>
610 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
611 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
612 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
613 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
614 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
615 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
616 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
617 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
618 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
619 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
621 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
624 * testsuite/ld-i386/got1.dd: Updated.
625 * testsuite/ld-i386/lea1c.d: Likewise.
626 * testsuite/ld-i386/load1-nacl.d: Likewise.
627 * testsuite/ld-i386/load1.d: Likewise.
628 * testsuite/ld-i386/load4b.d: Likewise.
629 * testsuite/ld-i386/load5b.d: Likewise.
630 * testsuite/ld-i386/mov1b.d: Likewise.
631 * testsuite/ld-x86-64/mov1b.d: Likewise.
632 * testsuite/ld-x86-64/mov1d.d: Likewise.
633 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
634 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
635 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
636 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
637 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
638 * testsuite/ld-x86-64/lea1a.d: Likewise.
639 * testsuite/ld-x86-64/lea1b.d: Likewise.
640 * testsuite/ld-x86-64/lea1c.d: Likewise.
641 * testsuite/ld-x86-64/lea1d.d: Likewise.
642 * testsuite/ld-x86-64/lea1e.d: Likewise.
643 * testsuite/ld-x86-64/lea1f.d: Likewise.
644 * testsuite/ld-x86-64/mov1b.d: Likewise.
645 * testsuite/ld-x86-64/mov1d.d: Likewise.
646 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
647 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
648 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
649 * testsuite/ld-i386/pr19609-1.s: New file.
650 * testsuite/ld-i386/pr19609-1a.d: Likewise.
651 * testsuite/ld-i386/pr19609-1b.d: Likewise.
652 * testsuite/ld-i386/pr19609-1c.d: Likewise.
653 * testsuite/ld-i386/pr19609-1d.d: Likewise.
654 * testsuite/ld-i386/pr19609-1e.d: Likewise.
655 * testsuite/ld-i386/pr19609-1f.d: Likewise.
656 * testsuite/ld-i386/pr19609-1g.d: Likewise.
657 * testsuite/ld-i386/pr19609-1h.d: Likewise.
658 * testsuite/ld-i386/pr19609-1i.d: Likewise.
659 * testsuite/ld-i386/pr19609-2.s: Likewise.
660 * testsuite/ld-i386/pr19609-2a.d: Likewise.
661 * testsuite/ld-i386/pr19609-2b.d: Likewise.
662 * testsuite/ld-i386/pr19609-2c.d: Likewise.
663 * testsuite/ld-i386/undefweak.s: Likewise.
664 * testsuite/ld-i386/undefweaka.d: Likewise.
665 * testsuite/ld-i386/undefweakb.d: Likewise.
666 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
667 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
668 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
669 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
670 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
671 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
672 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
673 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
674 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
675 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
676 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
677 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
678 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
679 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
680 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
681 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
682 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
683 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
684 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
685 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
686 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
687 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
688 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
689 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
690 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
691 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
692 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
693 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
694 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
695 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
696 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
697 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
698 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
699 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
700 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
701 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
702 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
703 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
704 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
705 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
706 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
707 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
708 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
709 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
710 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
711 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
712 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
714 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
715 and tests for PR ld/19609.
717 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
720 * NEWS: Mention -z common/-z nocommon for ELF targets.
721 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
722 -z common and -z nocommon.
723 * ld.texinfo: Document -z common/-z nocommon.
724 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
725 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
726 --elf-stt-common=yes with assembler.
727 * testsuite/ld-elfcomm/common-1.s: New file.
728 * testsuite/ld-elfcomm/common-1a.d: Likewise.
729 * testsuite/ld-elfcomm/common-1b.d: Likewise.
730 * testsuite/ld-elfcomm/common-1c.d: Likewise.
731 * testsuite/ld-elfcomm/common-1d.d: Likewise.
732 * testsuite/ld-elfcomm/common-1e.d: Likewise.
733 * testsuite/ld-elfcomm/common-1f.d: Likewise.
734 * testsuite/ld-elfcomm/common-2.s: Likewise.
735 * testsuite/ld-elfcomm/common-2a.d: Likewise.
736 * testsuite/ld-elfcomm/common-2b.d: Likewise.
737 * testsuite/ld-elfcomm/common-2c.d: Likewise.
738 * testsuite/ld-elfcomm/common-2d.d: Likewise.
739 * testsuite/ld-elfcomm/common-2e.d: Likewise.
740 * testsuite/ld-elfcomm/common-2f.d: Likewise.
741 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
742 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
743 * testsuite/ld-i386/pr19645.d: Likewise.
744 * testsuite/ld-i386/pr19645.s: Likewise.
745 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
746 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
747 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
748 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
749 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
750 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
751 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
752 * testsuite/ld-x86-64/pr19645.d: Likewise.
753 * testsuite/ld-x86-64/pr19645.s: Likewise.
754 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
756 (assembler_generates_commons): Removed.
757 Run -z common/-z nocommon tests. Run *.d tests.
758 * testsuite/ld-i386/i386.exp: Run pr19645.
759 * testsuite/ld-x86-64/x86-64.exp: Likewise.
760 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
761 assembler. Test STT_COMMON with readelf.
763 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
768 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
769 * Makefile.in: Regenerated.
770 * NEWS: Mention -z nodynamic-undefined-weak.
771 * ld.texinfo: Document -z nodynamic-undefined-weak.
772 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
773 * emulparams/dynamic_undefined_weak.sh: New file.
774 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
775 * emulparams/elf_i386.sh: Likewise.
776 * emulparams/elf_i386_be.sh: Likewise.
777 * emulparams/elf_i386_chaos.sh: Likewise.
778 * emulparams/elf_i386_ldso.sh: Likewise.
779 * emulparams/elf_i386_vxworks.sh: Likewise.
780 * emulparams/elf_iamcu.sh: Likewise.
781 * emulparams/elf_k1om.sh: Likewise.
782 * emulparams/elf_l1om.sh: Likewise.
783 * emulparams/elf_x86_64.sh: Likewise.
784 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
786 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
787 * testsuite/ld-elf/pr19719a.c: New file.
788 * testsuite/ld-elf/pr19719b.c: Likewise.
789 * testsuite/ld-elf/pr19719c.c: Likewise.
790 * testsuite/ld-elf/pr19719d.c: Likewise.
791 * testsuite/ld-i386/pr19636-1.s: Likewise.
792 * testsuite/ld-i386/pr19636-1a.d: Likewise.
793 * testsuite/ld-i386/pr19636-1b.d: Likewise.
794 * testsuite/ld-i386/pr19636-1c.d: Likewise.
795 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
796 * testsuite/ld-i386/pr19636-1d.d: Likewise.
797 * testsuite/ld-i386/pr19636-1e.d: Likewise.
798 * testsuite/ld-i386/pr19636-1f.d: Likewise.
799 * testsuite/ld-i386/pr19636-1g.d: Likewise.
800 * testsuite/ld-i386/pr19636-1h.d: Likewise.
801 * testsuite/ld-i386/pr19636-1i.d: Likewise.
802 * testsuite/ld-i386/pr19636-2.s: Likewise.
803 * testsuite/ld-i386/pr19636-2a.d: Likewise.
804 * testsuite/ld-i386/pr19636-2b.d: Likewise.
805 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
806 * testsuite/ld-i386/pr19636-2c.d: Likewise.
807 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
808 * testsuite/ld-i386/pr19636-2d.d: Likewise.
809 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
810 * testsuite/ld-i386/pr19636-2e.d: Likewise.
811 * testsuite/ld-i386/pr19636-3.s: Likewise.
812 * testsuite/ld-i386/pr19636-3a.d: Likewise.
813 * testsuite/ld-i386/pr19636-3b.d: Likewise.
814 * testsuite/ld-i386/pr19636-3c.d: Likewise.
815 * testsuite/ld-i386/pr19636-3d.d: Likewise.
816 * testsuite/ld-i386/pr19636-3e.d: Likewise.
817 * testsuite/ld-i386/pr19636-3f.d: Likewise.
818 * testsuite/ld-i386/pr19636-3g.d: Likewise.
819 * testsuite/ld-i386/pr19636-4.s: Likewise.
820 * testsuite/ld-i386/pr19636-4a.d: Likewise.
821 * testsuite/ld-i386/pr19636-4b.d: Likewise.
822 * testsuite/ld-i386/pr19636-4c.d: Likewise.
823 * testsuite/ld-i386/pr19636-4d.d: Likewise.
824 * testsuite/ld-i386/pr19704.out: Likewise.
825 * testsuite/ld-i386/pr19704a.c: Likewise.
826 * testsuite/ld-i386/pr19704b.c: Likewise.
827 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
828 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
829 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
830 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
831 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
832 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
833 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
834 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
835 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
836 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
837 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
838 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
839 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
840 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
841 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
842 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
843 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
844 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
845 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
846 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
847 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
848 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
849 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
850 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
851 * testsuite/ld-x86-64/pr19704.out: Likewise.
852 * testsuite/ld-x86-64/pr19704a.c: Likewise.
853 * testsuite/ld-x86-64/pr19704b.c: Likewise.
854 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
855 Run mix_pic_and_non_pic.
856 * testsuite/ld-i386/i386.exp (undefined_weak): New.
857 Run undefined_weak and PR ld/19636 tests.
858 * testsuite/ld-x86-64/x86-64.exp: Likewise.
859 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
860 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
862 2016-02-25 Nick Clifton <nickc@redhat.com>
864 * ld.h (struct ld_config_type): Remove specified_data_size field.
866 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
869 * testsuite/ld-elf/pr19698.d: New file.
870 * testsuite/ld-elf/pr19698.s: Likewise.
871 * testsuite/ld-elf/pr19698.t: Likewise.
873 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
875 * Makefile.am (ELF_X86_DEPS): New.
876 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
877 (eelf_i386_chaos.c): Likewise.
878 (eelf_i386_fbsd.c): Likewise.
879 (eelf_i386_ldso.c): Likewise.
880 (eelf_i386_nacl.c): Likewise.
881 (eelf_i386_sol2.c): Likewise.
882 (eelf_iamcu.c): Likewise.
883 (eelf32_x86_64.c): Likewise.
884 (eelf32_x86_64_nacl.c): Likewise.
885 (eelf_l1om.c): Likewise.
886 (eelf_l1om_fbsd.c): Likewise.
887 (eelf_k1om.c): Likewise.
888 (eelf_k1om_fbsd.c): Likewise.
889 (eelf_x86_64.c): Likewise.
890 (eelf_x86_64_cloudabi.c): Likewise.
891 (eelf_x86_64_fbsd.c): Likewise.
892 (eelf_x86_64_sol2.c): Likewise.
893 * Makefile.in: Regenerated.
895 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
897 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
898 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
899 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
900 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
902 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
904 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
906 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
908 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
909 *-*-gnu* and *-*-solaris*.
910 * testsuite/ld-elf/pr19617b.d: Likewise.
911 * testsuite/ld-elf/pr19617c.d: Likewise.
913 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
916 * testsuite/ld-elf/pr19617.s: New file.
917 * testsuite/ld-elf/pr19617a.d: Likewise.
918 * testsuite/ld-elf/pr19617b.d: Likewise.
919 * testsuite/ld-elf/pr19617c.d: Likewise.
921 2016-02-18 Nick Clifton <nickc@redhat.com>
923 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
924 in-tree xg++ executable after checking for the presence of an
925 in-tree g++ executable.
926 * Makefile.in: Regenerate.
928 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
930 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
931 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
932 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
934 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
936 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
937 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
938 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
939 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
940 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
941 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
942 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
943 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
944 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
945 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
946 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
947 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
948 * testsuite/ld-x86-64/load1c.d: Likewise.
949 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
950 * testsuite/ld-x86-64/load1d.d: Likewise.
951 * testsuite/ld-x86-64/pr14207.d: Likewise.
952 * testsuite/ld-x86-64/pr19162.d: Likewise.
953 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
954 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
955 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
956 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
957 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
958 * testsuite/ld-x86-64/tlspic.rd: Likewise.
960 2016-02-17 Nick Clifton <nickc@redhat.com>
962 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
964 2016-02-15 Nick Clifton <nickc@redhat.com>
966 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
967 description of the flags produced by readelf.
968 * testsuite/ld-i386/pr12921.d: Likewise.
969 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
970 * testsuite/ld-i386/tlsbin.rd: Likewise.
971 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
972 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
973 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
974 * testsuite/ld-i386/tlsdesc.rd: Likewise.
975 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
976 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
977 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
978 * testsuite/ld-i386/tlsnopic.rd: Likewise.
979 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
980 * testsuite/ld-i386/tlspic.rd: Likewise.
981 * testsuite/ld-s390/tlsbin.rd: Likewise.
982 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
983 * testsuite/ld-s390/tlspic.rd: Likewise.
984 * testsuite/ld-s390/tlspic_64.rd: Likewise.
985 * testsuite/ld-sh/tlsbin-2.d: Likewise.
986 * testsuite/ld-sh/tlspic-2.d: Likewise.
987 * testsuite/ld-tic6x/common.d: Likewise.
988 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
989 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
990 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
991 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
992 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
993 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
994 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
995 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
996 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
997 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
998 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
999 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1000 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1001 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1002 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1003 * testsuite/ld-x86-64/pr12718.d: Likewise.
1004 * testsuite/ld-x86-64/pr12921.d: Likewise.
1005 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1006 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1007 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1008 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1009 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1010 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1011 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1012 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1013 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1014 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1015 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1016 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1017 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1018 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1020 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1023 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1025 * lexsup.c (parse_args): Enable -Bsymbolic and
1026 -Bsymbolic-functions for PIE.
1027 * testsuite/ld-i386/i386.exp: Run pr19615.
1028 * testsuite/ld-i386/pr19615.d: New file.
1029 * testsuite/ld-i386/pr19615.s: Likewise.
1030 * testsuite/ld-x86-64/pr19615.d: Likewise.
1031 * testsuite/ld-x86-64/pr19615.s: Likewise.
1033 2016-02-09 Nick Clifton <nickc@redhat.com>
1035 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1036 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1037 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1038 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1040 2016-02-04 Nick Clifton <nickc@redhat.com>
1042 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1043 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1044 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1045 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1046 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1047 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1048 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1049 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1050 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1052 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1055 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1056 * testsuite/ld-i386/call1.d: Likewise.
1057 * testsuite/ld-i386/call2.d: Likewise.
1058 * testsuite/ld-i386/call3a.d: Likewise.
1059 * testsuite/ld-i386/call3b.d: Likewise.
1060 * testsuite/ld-i386/call3c.d: Likewise.
1061 * testsuite/ld-i386/call3d.d: Likewise.
1062 * testsuite/ld-i386/call3e.d: Likewise.
1063 * testsuite/ld-i386/call3f.d: Likewise.
1064 * testsuite/ld-i386/call3g.d: Likewise.
1065 * testsuite/ld-i386/call3h.d: Likewise.
1066 * testsuite/ld-i386/jmp1.d: Likewise.
1067 * testsuite/ld-i386/jmp2.d: Likewise.
1068 * testsuite/ld-i386/lea1c.d: Likewise.
1069 * testsuite/ld-i386/load1.d: Likewise.
1070 * testsuite/ld-i386/load2.d: Likewise.
1071 * testsuite/ld-i386/load3.d: Likewise.
1072 * testsuite/ld-i386/load4a.d: Likewise.
1073 * testsuite/ld-i386/load5a.d: Likewise.
1074 * testsuite/ld-i386/mov2b.d: Likewise.
1075 * testsuite/ld-i386/mov3.d: Likewise.
1076 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1077 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1078 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1079 * testsuite/ld-x86-64/call1a.d: Likewise.
1080 * testsuite/ld-x86-64/call1b.d: Likewise.
1081 * testsuite/ld-x86-64/call1c.d: Likewise.
1082 * testsuite/ld-x86-64/call1d.d: Likewise.
1083 * testsuite/ld-x86-64/call1e.d: Likewise.
1084 * testsuite/ld-x86-64/call1f.d: Likewise.
1085 * testsuite/ld-x86-64/call1h.d: Likewise.
1086 * testsuite/ld-x86-64/call1i.d: Likewise.
1087 * testsuite/ld-x86-64/load1a.d: Likewise.
1088 * testsuite/ld-x86-64/load1b.d: Likewise.
1089 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1090 * testsuite/ld-i386/got1.dd: Updated.
1091 * testsuite/ld-i386/got1d.S (1): Removed.
1092 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1093 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1095 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1098 * testsuite/ld-x86-64/pr18591.d: New file.
1099 * testsuite/ld-x86-64/pr18591.s: Likewise.
1100 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1102 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1105 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1106 * testsuite/ld-elf/pr19553.map: New file.
1107 * testsuite/ld-elf/pr19553.map: Likewise.
1108 * testsuite/ld-elf/pr19553a.c: Likewise.
1109 * testsuite/ld-elf/pr19553b.c: Likewise.
1110 * testsuite/ld-elf/pr19553b.out: Likewise.
1111 * testsuite/ld-elf/pr19553c.c: Likewise.
1112 * testsuite/ld-elf/pr19553c.out: Likewise.
1113 * testsuite/ld-elf/pr19553d.c: Likewise.
1114 * testsuite/ld-elf/pr19553d.out: Likewise.
1116 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1119 * testsuite/ld-elf/pr19539.d: New file.
1120 * testsuite/ld-elf/pr19539.s: Likewise.
1121 * testsuite/ld-elf/pr19539.t: Likewise.
1123 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1126 * configure.ac (compressed_debug_sections): Replace == with =.
1127 * configure: Regenerated.
1129 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1131 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1132 * scripttempl/avrtiny.sc (.noinit): Likewise.
1134 2016-01-21 Nick Clifton <nickc@redhat.com>
1137 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1138 the arm-netbsdelf target.
1141 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1142 disassmebler output.
1143 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1144 * testsuite/ld-arm/vxworks1.dd: Likewise.
1145 * testsuite/ld-arm/vxworks1.rd: Likewise.
1146 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1148 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1150 * testsuite/ld-aarch64/farcall-section.d: Delete.
1151 * testsuite/ld-aarch64/farcall-section.s: Delete.
1152 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1153 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1154 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1155 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1156 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1158 2016-01-20 Nick Clifton <nickc@redhat.com>
1161 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1162 early for PE based targets.
1163 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1164 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1166 2016-01-20 Mickael Guene <mickael.guene@st.com>
1168 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1169 Add 'y' attribute usage.
1170 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1171 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1172 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1174 2016-01-19 Nick Clifton <nickc@redhat.com>
1176 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1177 foo@FOO and bar@@FOO.
1179 2016-01-18 Alan Modra <amodra@gmail.com>
1181 * configure: Regenerate.
1183 2016-01-18 Nick Clifton <nickc@redhat.com>
1185 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1186 is not configured to support plugins.
1188 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1189 but with 16 byte section alignment.
1190 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1191 test for MIPS targets.
1193 2016-01-17 Alan Modra <amodra@gmail.com>
1195 * configure: Regenerate.
1197 2016-01-17 Alan Modra <amodra@gmail.com>
1199 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1200 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1201 * testsuite/ld-elf/pr14156a.d: Likewise.
1202 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1203 * testsuite/ld-elf/sec64k.exp: Likewise.
1205 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1207 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1208 Set address of .foo section when linking.
1209 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1211 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1212 output to the above changes.
1214 2016-01-13 Nick Clifton <nickc@redhat.com>
1216 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1219 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1220 fail for MIPS targets.
1222 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1225 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1227 * testsuite/ld-arm/arm-elf.exp: New test.
1228 * testsuite/ld-arm/unwind-mix.d: New file.
1229 * testsuite/ld-arm/unwind-mix1.s: New file.
1230 * testsuite/ld-arm/unwind-mix2.s: New file.
1232 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1235 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1236 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1237 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1238 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1239 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1240 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1242 2016-01-05 Nick Clifton <nickc@redhat.com>
1244 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1245 MSP430 hardware multiply address range.
1246 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1247 (__romdatacopysize): Define.
1248 * scripttempl/elf32msp430_3.sc: Likewise.
1250 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1252 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1253 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1255 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1257 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1258 messages expected according to MIPS BFD private data merge
1260 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1261 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1262 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1263 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1264 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1265 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1266 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1267 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1268 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1269 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1270 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1271 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1272 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1274 2016-01-01 Alan Modra <amodra@gmail.com>
1276 Update year range in copyright notice of all files.
1278 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1280 Copyright (C) 2016 Free Software Foundation, Inc.
1282 Copying and distribution of this file, with or without modification,
1283 are permitted in any medium without royalty provided the copyright
1284 notice and this notice are preserved.
1290 version-control: never