1 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
4 before running STT_COMMON tests.
6 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
8 * config/default.exp (NOPIE_CFLAGS): Download source only on
10 (NOPIE_LDFLAGS): Likewise.
11 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
12 (check_lto_fat_available): Likewise.
13 (check_lto_shared_available): Likewise.
14 (check_ifunc_available): Likewise.
15 (check_ifunc_attribute_available): Likewise.
17 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
19 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
21 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
24 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
25 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
28 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
30 * testsuite/ld-elf/compressed1b.d: Pass
31 --compress-debug-sections=none to ld.
32 * testsuite/ld-elf/compressed1c.d: Likewise.
34 2016-04-27 Alan Modra <amodra@gmail.com>
37 * configure.tgt: Don't use var+=.
39 2016-04-25 Nick Clifton <nickc@redhat.com>
42 * configure.tgt: Include big endian PPC64 emulations with little
45 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
47 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
49 2016-04-21 Nick Clifton <nickc@redhat.com>
51 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
52 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
53 targets. Do not stop the checks when problems are encountered.
55 2016-04-21 Alan Modra <amodra@gmail.com>
57 * testsuite/ld-scripts/cross3.t: Add commonly used data
58 and text section names to output section statements.
59 * testsuite/ld-scripts/cross4.t: Likewise.
60 * testsuite/ld-scripts/cross5.t: Likewise.
61 * testsuite/ld-scripts/cross6.t: Likewise.
62 * testsuite/ld-scripts/cross7.t: Likewise.
64 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
66 * ldlang.c (lang_check_relocs): New function.
67 (lang_process): Call lang_check_relocs after lang_gc_sections.
68 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
69 call _bfd_elf_link_check_relocs here.
71 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
74 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
75 R_386_NONE or R_X86_64_NONE.
77 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
79 * testsuite/ld-x86-64/pic1.d: New file.
80 * testsuite/ld-x86-64/pic1.s: Likewise.
81 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
83 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
85 * testsuite/ld-x86-64/pie2.d: New file.
86 * testsuite/ld-x86-64/pie2.s: Likewise.
87 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
89 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
92 * testsuite/ld-x86-64/pr19969.d: New file.
93 * testsuite/ld-x86-64/pr19969a.S: Likewise.
94 * testsuite/ld-x86-64/pr19969b.S: Likewise.
95 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
97 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
99 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
101 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
103 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
105 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
107 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
109 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
111 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
113 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
115 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
116 Set check_relocs_after_open_input to TRUE if
117 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
118 (gld${EMULATION_NAME}_after_open): Call
119 _bfd_elf_link_check_relocs on all inputs if
120 check_relocs_after_open_input is TRUE.
122 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
124 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
127 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
129 * emultempl/scoreelf.em: Likewise.
131 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
134 * testsuite/ld-x86-64/pr19719.d: New file.
135 * testsuite/ld-x86-64/pr19719.s: Likewise.
136 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
138 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
140 * ld.texinfo: Document NOCROSSREFS_TO script command.
141 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
142 (lang_add_nocrossref_to): New prototype.
143 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
144 symbols defined in the first section.
145 (check_nocrossref): Likewise.
146 * ldgram.y (NOCROSSREFS_TO): New script command.
147 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
148 (lang_add_nocrossref_to): New function.
149 * ldlex.l (NOCROSSREFS_TO): New token.
150 * NEWS: Mention NOCROSSREFS_TO.
151 * testsuite/ld-scripts/cross4.t: New file.
152 * testsuite/ld-scripts/cross5.t: Likewise.
153 * testsuite/ld-scripts/cross6.t: Likewise.
154 * testsuite/ld-scripts/cross7.t: Likewise.
155 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
158 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
160 * Makefile.in: Regenerated with automake 1.11.6.
161 * aclocal.m4: Likewise.
163 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
165 * testsuite/ld-arc/arc.exp: New file.
166 * testsuite/ld-arc/nps-1.s: New file.
167 * testsuite/ld-arc/nps-1a.d: New file.
168 * testsuite/ld-arc/nps-1b.d: New file.
169 * testsuite/ld-arc/nps-1b.err: New file.
171 2016-04-14 Nick Clifton <nickc@redhat.com>
174 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
175 exceptions for Mingw and Cygwin.
177 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
179 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
182 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
185 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
186 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
189 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
192 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
193 * testsuite/ld-x86-64/x86-64.exp: Likewise.
194 * testsuite/ld-i386/pr19939.s: New file.
195 * testsuite/ld-i386/pr19939a.d: Likewise.
196 * testsuite/ld-i386/pr19939b.d: Likewise.
197 * testsuite/ld-x86-64/pr19939.s: Likewise.
198 * testsuite/ld-x86-64/pr19939a.d: Likewise.
199 * testsuite/ld-x86-64/pr19939b.d: Likewise.
201 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
203 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
205 2016-04-08 Alan Modra <amodra@gmail.com>
208 * ldlang.c (maybe_overlays): Delete.
209 (lang_size_sections_1): Remove code setting maybe_overlays.
210 (lang_check_section_addresses): Instead detect overlays by
211 exact match of section VMAs here. Fix memory leak.
213 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
215 * ldlang.c (print_output_section_statement): Show minfo size
216 in target machine address units.
217 (print_reloc_statement): Likewise.
218 (print_padding_statement): Likewise.
219 (print_data_statement): Likewise. Ensure minimum print_dot
220 increment of one address unit.
222 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
224 * emulparams/arc-endianness.sh: Make little endian default choice.
226 2016-04-07 Nick Clifton <nickc@redhat.com>
228 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
230 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
232 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
234 * emulparams/arc-endianness.sh: New file.
235 * emulparams/arcebelf.sh: Deleted.
236 * emulparams/arcebelf_prof.sh: Deleted.
237 * emulparams/arceblinux.sh: Deleted.
238 * emulparams/arceblinux_prof.sh: Deleted.
239 * emulparams/arcelf.sh: Include arc-endinness.sh.
240 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
241 * emulparams/arclinux.sh: Include arc-endinness.sh.
242 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
243 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
244 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
245 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
246 little endian arc targets.
247 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
248 * testsuite/ld-elf/group1.d: Likewise.
249 * testsuite/ld-elf/group3b.d: Likewise.
250 * testsuite/ld-elf/group8a.d: Likewise.
251 * testsuite/ld-elf/group8b.d: Likewise.
252 * testsuite/ld-elf/group9a.d: Likewise.
253 * testsuite/ld-elf/group9b.d: Likewise.
254 * testsuite/ld-elf/linkonce2.d: Likewise.
255 * testsuite/ld-elf/pr12851.d: Likewise.
256 * testsuite/ld-elf/pr12975.d: Likewise.
257 * testsuite/ld-elf/pr13177.d: Likewise.
258 * testsuite/ld-elf/pr13195.d: Likewise.
259 * testsuite/ld-elf/pr17615.d: Likewise.
260 * testsuite/ld-elf/pr19162.d: Likewise.
261 * testsuite/ld-elf/sec64k.exp: Likewise.
262 * testsuite/lib/ld-lib.exp: Likewise.
264 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
267 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
269 * testsuite/ld-cris/tls-e-20a.d: Likewise.
270 * testsuite/ld-cris/tls-e-21.d: Likewise.
271 * testsuite/ld-cris/tls-e-23.d: Likewise.
272 * testsuite/ld-cris/tls-e-80.d: Likewise.
273 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
274 * testsuite/ld-cris/tls-leie-19.d: Likewise.
275 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
276 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
277 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
278 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
279 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
280 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
281 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
282 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
284 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
286 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
287 * testsuite/ld-discard/start.d: Likewise.
288 * testsuite/ld-discard/static.d: Likewise.
289 * testsuite/ld-elf/group1.d: Likewise.
290 * testsuite/ld-elf/group3b.d: Likewise.
291 * testsuite/ld-elf/orphan-region.d: Likewise.
292 * testsuite/ld-elf/orphan.d: Likewise.
293 * testsuite/ld-elf/orphan3.d: Likewise.
294 * testsuite/ld-elf/pr349.d: Likewise.
295 * testsuite/ld-elf/warn1.d: Likewise.
296 * testsuite/ld-elf/warn2.d: Likewise.
297 * testsuite/ld-elf/warn3.d: Likewise.
298 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
299 through linker flags.
300 * testsuite/ld-srec/srec.exp: Set as xfail.
302 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
305 * testsuite/ld-i386/pr19827-nacl.rd: New file.
306 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
308 2016-04-04 Nick Clifton <nickc@redhat.com>
311 * emultempl/pe.em (change_undef): New function. Encapsulates
312 duplicated code in pe_fixup_stdcalls and adds the newly defined
313 sym to the gc root list.
314 (pe_fixup_stdcall): Use the new function.
315 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
316 symbol to gc root list.
318 2016-03-31 Alan Modra <amodra@gmail.com>
320 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
321 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
322 (print_input_section): Don't use TO_ADDR when printing section
324 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
325 (lang_size_sections): Use TO_ADDR in relro end calculation.
327 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
329 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
330 value from regexp_diff.
331 * testsuite/ld-elf/orphan-5.l: Fix expected output.
332 * testsuite/ld-elf/orphan-6.l: Likewise.
334 2016-03-30 Alan Modra <amodra@gmail.com>
337 * ldlang.c (maybe_overlays): New static var.
338 (lang_size_sections_1): Set it here.
339 (struct check_sec): New.
340 (sort_sections_by_lma): Adjust for array of structs.
341 (sort_sections_by_vma): New function.
342 (lang_check_section_addresses): Check both LMA and VMA for overlap.
343 * testsuite/ld-scripts/rgn-over7.d: Adjust.
345 2016-03-30 Alan Modra <amodra@gmail.com>
347 * ldlang.c (lang_size_sections_1): Correct code detecting a
348 backward non-overlapping move.
350 2016-03-30 Alan Modra <amodra@gmail.com>
352 * ldlang.c (IS_TBSS): New macro, extracted from..
353 (IGNORE_SECTION): ..here.
354 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
355 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
357 2016-03-22 Nick Clifton <nickc@redhat.com>
360 * ldlang.c (lang_add_gc_name): New function. Adds the provided
361 symbol name to the list of gc symbols.
362 (lang_process): Call lang_add_gc_name with entry_symbol_default if
363 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
364 and fini function names.
365 * pe-dll.c (process_def_file_and_drectve): Add exported names to
367 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
368 * testsuite/ld-pe/pr19803.d: Tweak expected output.
370 2016-03-22 Nick Clifton <nickc@redhat.com>
372 * configure: Regenerate.
374 2016-03-21 Nick Clifton <nickc@redhat.com>
376 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
377 * plugin.c: Likewise.
378 * pe-dll.c: Likewise.
380 2016-03-18 Awson <kyrab@mail.ru>
383 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
385 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
387 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
389 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
391 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
394 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
395 * testsuite/ld-x86-64/x86-64.exp: Likewise.
396 * testsuite/ld-i386/pr19827.rd: New file.
397 * testsuite/ld-i386/pr19827a.S: Likewise.
398 * testsuite/ld-i386/pr19827b.S: Likewise.
399 * testsuite/ld-x86-64/pr19827.rd: Likewise.
400 * testsuite/ld-x86-64/pr19827a.S: Likewise.
401 * testsuite/ld-x86-64/pr19827b.S: Likewise.
403 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
406 * Makefile.am (ELF_X86_DEPS): Add
407 $(srcdir)/emulparams/reloc_overflow.sh.
408 * Makefile.in: Regenerated.
409 * NEWS: Mention -z noreloc-overflow.
410 * ld.texinfo: Document -z noreloc-overflow.
411 * emulparams/elf32_x86_64.sh: Source
412 ${srcdir}/emulparams/reloc_overflow.sh.
413 * emulparams/elf_x86_64.sh: Likewise.
414 * emulparams/reloc_overflow.sh: New file.
415 * testsuite/ld-x86-64/pr19807-1.s: New file.
416 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
417 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
418 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
419 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
420 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
421 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
422 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
423 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
424 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
426 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
429 * testsuite/ld-i386/i386.exp: Run pr19539.
430 * testsuite/ld-i386/pr19539.d: New file.
431 * testsuite/ld-i386/pr19539.s: Likewise.
432 * testsuite/ld-i386/pr19539.t: Likewise.
433 * testsuite/ld-x86-64/pr19539.s: Likewise.
434 * testsuite/ld-x86-64/pr19539.t: Likewise.
435 * testsuite/ld-x86-64/pr19539a.d: Likewise.
436 * testsuite/ld-x86-64/pr19539b.d: Likewise.
437 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
439 2016-03-10 Mickael Guene <mickael.guene@st.com>
442 * testsuite/ld-arm/arm-elf.exp: New tests.
443 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
444 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
446 2016-03-10 Nick Clifton <nickc@redhat.com>
448 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
450 2016-03-09 Pedro Alves <palves@redhat.com>
452 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
453 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
455 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
458 * testsuite/ld-elf/pr19789.d: New file.
459 * testsuite/ld-elf/pr19789.s: Likewise.
461 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
464 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
465 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
466 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
467 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
468 * testsuite/ld-ifunc/pass.out: New file.
469 * testsuite/ld-ifunc/pr19784a.c: Likewise.
470 * testsuite/ld-ifunc/pr19784b.c: Likewise.
471 * testsuite/ld-ifunc/pr19784c.c: Likewise.
473 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
476 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
477 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
478 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
479 --as-needed for pr18841c.
481 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
484 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
485 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
486 before tmpdir/got1d.so and test --as-needed.
487 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
488 tmpdir/pr18900.so and test --as-needed.
490 2016-03-07 Jiong Wang <jiong.wang@arm.com>
492 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
493 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
495 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
497 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
499 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
500 before tmpdir/copyreloc-lib.so and test --as-needed.
501 * testsuite/ld-x86-64/x86-64.exp: Likewise.
503 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
506 * testsuite/ld-elf/pr19579a.c: New file.
507 * testsuite/ld-elf/pr19579b.c: Likewise.
508 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
510 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
512 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
514 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
516 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
517 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
519 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
522 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
523 input sections for relocatable link.
524 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
525 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
527 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
530 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
531 merge flags of other input sections for relocatable link.
533 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
535 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
537 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
539 * testsuite/ld-elf/pr19162.d: Skip arc target.
541 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
544 * testsuite/ld-elf/pr19162.d: New file.
545 * testsuite/ld-elf/pr19162a.s: Likwise.
546 * testsuite/ld-elf/pr19162b.s: Likwise.
548 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
550 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
551 * testsuite/ld-elf/merge2.d: Likewise.
552 * testsuite/ld-elf/merge3.d: Likewise.
554 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
556 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
559 2016-02-26 Renlin Li <renlin.li@arm.com>
561 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
562 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
563 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
564 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
565 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
566 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
567 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
568 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
569 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
570 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
572 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
575 * testsuite/ld-i386/got1.dd: Updated.
576 * testsuite/ld-i386/lea1c.d: Likewise.
577 * testsuite/ld-i386/load1-nacl.d: Likewise.
578 * testsuite/ld-i386/load1.d: Likewise.
579 * testsuite/ld-i386/load4b.d: Likewise.
580 * testsuite/ld-i386/load5b.d: Likewise.
581 * testsuite/ld-i386/mov1b.d: Likewise.
582 * testsuite/ld-x86-64/mov1b.d: Likewise.
583 * testsuite/ld-x86-64/mov1d.d: Likewise.
584 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
585 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
586 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
587 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
588 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
589 * testsuite/ld-x86-64/lea1a.d: Likewise.
590 * testsuite/ld-x86-64/lea1b.d: Likewise.
591 * testsuite/ld-x86-64/lea1c.d: Likewise.
592 * testsuite/ld-x86-64/lea1d.d: Likewise.
593 * testsuite/ld-x86-64/lea1e.d: Likewise.
594 * testsuite/ld-x86-64/lea1f.d: Likewise.
595 * testsuite/ld-x86-64/mov1b.d: Likewise.
596 * testsuite/ld-x86-64/mov1d.d: Likewise.
597 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
598 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
599 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
600 * testsuite/ld-i386/pr19609-1.s: New file.
601 * testsuite/ld-i386/pr19609-1a.d: Likewise.
602 * testsuite/ld-i386/pr19609-1b.d: Likewise.
603 * testsuite/ld-i386/pr19609-1c.d: Likewise.
604 * testsuite/ld-i386/pr19609-1d.d: Likewise.
605 * testsuite/ld-i386/pr19609-1e.d: Likewise.
606 * testsuite/ld-i386/pr19609-1f.d: Likewise.
607 * testsuite/ld-i386/pr19609-1g.d: Likewise.
608 * testsuite/ld-i386/pr19609-1h.d: Likewise.
609 * testsuite/ld-i386/pr19609-1i.d: Likewise.
610 * testsuite/ld-i386/pr19609-2.s: Likewise.
611 * testsuite/ld-i386/pr19609-2a.d: Likewise.
612 * testsuite/ld-i386/pr19609-2b.d: Likewise.
613 * testsuite/ld-i386/pr19609-2c.d: Likewise.
614 * testsuite/ld-i386/undefweak.s: Likewise.
615 * testsuite/ld-i386/undefweaka.d: Likewise.
616 * testsuite/ld-i386/undefweakb.d: Likewise.
617 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
618 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
619 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
620 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
621 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
622 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
623 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
624 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
625 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
626 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
627 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
628 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
629 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
630 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
631 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
632 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
633 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
634 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
635 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
636 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
637 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
638 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
639 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
640 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
641 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
642 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
643 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
644 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
645 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
646 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
647 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
648 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
649 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
650 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
651 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
652 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
653 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
654 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
655 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
656 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
657 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
658 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
659 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
660 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
661 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
662 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
663 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
665 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
666 and tests for PR ld/19609.
668 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
671 * NEWS: Mention -z common/-z nocommon for ELF targets.
672 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
673 -z common and -z nocommon.
674 * ld.texinfo: Document -z common/-z nocommon.
675 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
676 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
677 --elf-stt-common=yes with assembler.
678 * testsuite/ld-elfcomm/common-1.s: New file.
679 * testsuite/ld-elfcomm/common-1a.d: Likewise.
680 * testsuite/ld-elfcomm/common-1b.d: Likewise.
681 * testsuite/ld-elfcomm/common-1c.d: Likewise.
682 * testsuite/ld-elfcomm/common-1d.d: Likewise.
683 * testsuite/ld-elfcomm/common-1e.d: Likewise.
684 * testsuite/ld-elfcomm/common-1f.d: Likewise.
685 * testsuite/ld-elfcomm/common-2.s: Likewise.
686 * testsuite/ld-elfcomm/common-2a.d: Likewise.
687 * testsuite/ld-elfcomm/common-2b.d: Likewise.
688 * testsuite/ld-elfcomm/common-2c.d: Likewise.
689 * testsuite/ld-elfcomm/common-2d.d: Likewise.
690 * testsuite/ld-elfcomm/common-2e.d: Likewise.
691 * testsuite/ld-elfcomm/common-2f.d: Likewise.
692 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
693 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
694 * testsuite/ld-i386/pr19645.d: Likewise.
695 * testsuite/ld-i386/pr19645.s: Likewise.
696 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
697 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
698 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
699 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
700 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
701 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
702 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
703 * testsuite/ld-x86-64/pr19645.d: Likewise.
704 * testsuite/ld-x86-64/pr19645.s: Likewise.
705 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
707 (assembler_generates_commons): Removed.
708 Run -z common/-z nocommon tests. Run *.d tests.
709 * testsuite/ld-i386/i386.exp: Run pr19645.
710 * testsuite/ld-x86-64/x86-64.exp: Likewise.
711 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
712 assembler. Test STT_COMMON with readelf.
714 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
719 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
720 * Makefile.in: Regenerated.
721 * NEWS: Mention -z nodynamic-undefined-weak.
722 * ld.texinfo: Document -z nodynamic-undefined-weak.
723 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
724 * emulparams/dynamic_undefined_weak.sh: New file.
725 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
726 * emulparams/elf_i386.sh: Likewise.
727 * emulparams/elf_i386_be.sh: Likewise.
728 * emulparams/elf_i386_chaos.sh: Likewise.
729 * emulparams/elf_i386_ldso.sh: Likewise.
730 * emulparams/elf_i386_vxworks.sh: Likewise.
731 * emulparams/elf_iamcu.sh: Likewise.
732 * emulparams/elf_k1om.sh: Likewise.
733 * emulparams/elf_l1om.sh: Likewise.
734 * emulparams/elf_x86_64.sh: Likewise.
735 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
737 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
738 * testsuite/ld-elf/pr19719a.c: New file.
739 * testsuite/ld-elf/pr19719b.c: Likewise.
740 * testsuite/ld-elf/pr19719c.c: Likewise.
741 * testsuite/ld-elf/pr19719d.c: Likewise.
742 * testsuite/ld-i386/pr19636-1.s: Likewise.
743 * testsuite/ld-i386/pr19636-1a.d: Likewise.
744 * testsuite/ld-i386/pr19636-1b.d: Likewise.
745 * testsuite/ld-i386/pr19636-1c.d: Likewise.
746 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
747 * testsuite/ld-i386/pr19636-1d.d: Likewise.
748 * testsuite/ld-i386/pr19636-1e.d: Likewise.
749 * testsuite/ld-i386/pr19636-1f.d: Likewise.
750 * testsuite/ld-i386/pr19636-1g.d: Likewise.
751 * testsuite/ld-i386/pr19636-1h.d: Likewise.
752 * testsuite/ld-i386/pr19636-1i.d: Likewise.
753 * testsuite/ld-i386/pr19636-2.s: Likewise.
754 * testsuite/ld-i386/pr19636-2a.d: Likewise.
755 * testsuite/ld-i386/pr19636-2b.d: Likewise.
756 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
757 * testsuite/ld-i386/pr19636-2c.d: Likewise.
758 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
759 * testsuite/ld-i386/pr19636-2d.d: Likewise.
760 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
761 * testsuite/ld-i386/pr19636-2e.d: Likewise.
762 * testsuite/ld-i386/pr19636-3.s: Likewise.
763 * testsuite/ld-i386/pr19636-3a.d: Likewise.
764 * testsuite/ld-i386/pr19636-3b.d: Likewise.
765 * testsuite/ld-i386/pr19636-3c.d: Likewise.
766 * testsuite/ld-i386/pr19636-3d.d: Likewise.
767 * testsuite/ld-i386/pr19636-3e.d: Likewise.
768 * testsuite/ld-i386/pr19636-3f.d: Likewise.
769 * testsuite/ld-i386/pr19636-3g.d: Likewise.
770 * testsuite/ld-i386/pr19636-4.s: Likewise.
771 * testsuite/ld-i386/pr19636-4a.d: Likewise.
772 * testsuite/ld-i386/pr19636-4b.d: Likewise.
773 * testsuite/ld-i386/pr19636-4c.d: Likewise.
774 * testsuite/ld-i386/pr19636-4d.d: Likewise.
775 * testsuite/ld-i386/pr19704.out: Likewise.
776 * testsuite/ld-i386/pr19704a.c: Likewise.
777 * testsuite/ld-i386/pr19704b.c: Likewise.
778 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
779 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
780 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
781 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
782 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
783 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
784 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
785 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
786 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
787 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
788 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
789 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
790 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
791 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
792 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
793 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
794 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
795 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
796 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
797 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
798 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
799 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
800 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
801 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
802 * testsuite/ld-x86-64/pr19704.out: Likewise.
803 * testsuite/ld-x86-64/pr19704a.c: Likewise.
804 * testsuite/ld-x86-64/pr19704b.c: Likewise.
805 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
806 Run mix_pic_and_non_pic.
807 * testsuite/ld-i386/i386.exp (undefined_weak): New.
808 Run undefined_weak and PR ld/19636 tests.
809 * testsuite/ld-x86-64/x86-64.exp: Likewise.
810 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
811 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
813 2016-02-25 Nick Clifton <nickc@redhat.com>
815 * ld.h (struct ld_config_type): Remove specified_data_size field.
817 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
820 * testsuite/ld-elf/pr19698.d: New file.
821 * testsuite/ld-elf/pr19698.s: Likewise.
822 * testsuite/ld-elf/pr19698.t: Likewise.
824 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
826 * Makefile.am (ELF_X86_DEPS): New.
827 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
828 (eelf_i386_chaos.c): Likewise.
829 (eelf_i386_fbsd.c): Likewise.
830 (eelf_i386_ldso.c): Likewise.
831 (eelf_i386_nacl.c): Likewise.
832 (eelf_i386_sol2.c): Likewise.
833 (eelf_iamcu.c): Likewise.
834 (eelf32_x86_64.c): Likewise.
835 (eelf32_x86_64_nacl.c): Likewise.
836 (eelf_l1om.c): Likewise.
837 (eelf_l1om_fbsd.c): Likewise.
838 (eelf_k1om.c): Likewise.
839 (eelf_k1om_fbsd.c): Likewise.
840 (eelf_x86_64.c): Likewise.
841 (eelf_x86_64_cloudabi.c): Likewise.
842 (eelf_x86_64_fbsd.c): Likewise.
843 (eelf_x86_64_sol2.c): Likewise.
844 * Makefile.in: Regenerated.
846 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
848 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
849 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
850 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
851 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
853 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
855 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
857 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
859 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
860 *-*-gnu* and *-*-solaris*.
861 * testsuite/ld-elf/pr19617b.d: Likewise.
862 * testsuite/ld-elf/pr19617c.d: Likewise.
864 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
867 * testsuite/ld-elf/pr19617.s: New file.
868 * testsuite/ld-elf/pr19617a.d: Likewise.
869 * testsuite/ld-elf/pr19617b.d: Likewise.
870 * testsuite/ld-elf/pr19617c.d: Likewise.
872 2016-02-18 Nick Clifton <nickc@redhat.com>
874 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
875 in-tree xg++ executable after checking for the presence of an
876 in-tree g++ executable.
877 * Makefile.in: Regenerate.
879 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
881 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
882 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
883 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
885 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
887 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
888 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
889 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
890 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
891 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
892 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
893 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
894 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
895 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
896 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
897 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
898 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
899 * testsuite/ld-x86-64/load1c.d: Likewise.
900 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
901 * testsuite/ld-x86-64/load1d.d: Likewise.
902 * testsuite/ld-x86-64/pr14207.d: Likewise.
903 * testsuite/ld-x86-64/pr19162.d: Likewise.
904 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
905 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
906 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
907 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
908 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
909 * testsuite/ld-x86-64/tlspic.rd: Likewise.
911 2016-02-17 Nick Clifton <nickc@redhat.com>
913 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
915 2016-02-15 Nick Clifton <nickc@redhat.com>
917 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
918 description of the flags produced by readelf.
919 * testsuite/ld-i386/pr12921.d: Likewise.
920 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
921 * testsuite/ld-i386/tlsbin.rd: Likewise.
922 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
923 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
924 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
925 * testsuite/ld-i386/tlsdesc.rd: Likewise.
926 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
927 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
928 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
929 * testsuite/ld-i386/tlsnopic.rd: Likewise.
930 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
931 * testsuite/ld-i386/tlspic.rd: Likewise.
932 * testsuite/ld-s390/tlsbin.rd: Likewise.
933 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
934 * testsuite/ld-s390/tlspic.rd: Likewise.
935 * testsuite/ld-s390/tlspic_64.rd: Likewise.
936 * testsuite/ld-sh/tlsbin-2.d: Likewise.
937 * testsuite/ld-sh/tlspic-2.d: Likewise.
938 * testsuite/ld-tic6x/common.d: Likewise.
939 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
940 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
941 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
942 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
943 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
944 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
945 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
946 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
947 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
948 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
949 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
950 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
951 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
952 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
953 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
954 * testsuite/ld-x86-64/pr12718.d: Likewise.
955 * testsuite/ld-x86-64/pr12921.d: Likewise.
956 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
957 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
958 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
959 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
960 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
961 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
962 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
963 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
964 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
965 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
966 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
967 * testsuite/ld-x86-64/tlspic.rd: Likewise.
968 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
969 * testsuite/ld-xtensa/tlspic.rd: Likewise.
971 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
974 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
976 * lexsup.c (parse_args): Enable -Bsymbolic and
977 -Bsymbolic-functions for PIE.
978 * testsuite/ld-i386/i386.exp: Run pr19615.
979 * testsuite/ld-i386/pr19615.d: New file.
980 * testsuite/ld-i386/pr19615.s: Likewise.
981 * testsuite/ld-x86-64/pr19615.d: Likewise.
982 * testsuite/ld-x86-64/pr19615.s: Likewise.
984 2016-02-09 Nick Clifton <nickc@redhat.com>
986 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
987 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
988 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
989 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
991 2016-02-04 Nick Clifton <nickc@redhat.com>
993 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
994 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
995 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
996 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
997 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
998 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
999 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1000 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1001 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1003 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1006 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1007 * testsuite/ld-i386/call1.d: Likewise.
1008 * testsuite/ld-i386/call2.d: Likewise.
1009 * testsuite/ld-i386/call3a.d: Likewise.
1010 * testsuite/ld-i386/call3b.d: Likewise.
1011 * testsuite/ld-i386/call3c.d: Likewise.
1012 * testsuite/ld-i386/call3d.d: Likewise.
1013 * testsuite/ld-i386/call3e.d: Likewise.
1014 * testsuite/ld-i386/call3f.d: Likewise.
1015 * testsuite/ld-i386/call3g.d: Likewise.
1016 * testsuite/ld-i386/call3h.d: Likewise.
1017 * testsuite/ld-i386/jmp1.d: Likewise.
1018 * testsuite/ld-i386/jmp2.d: Likewise.
1019 * testsuite/ld-i386/lea1c.d: Likewise.
1020 * testsuite/ld-i386/load1.d: Likewise.
1021 * testsuite/ld-i386/load2.d: Likewise.
1022 * testsuite/ld-i386/load3.d: Likewise.
1023 * testsuite/ld-i386/load4a.d: Likewise.
1024 * testsuite/ld-i386/load5a.d: Likewise.
1025 * testsuite/ld-i386/mov2b.d: Likewise.
1026 * testsuite/ld-i386/mov3.d: Likewise.
1027 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1028 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1029 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1030 * testsuite/ld-x86-64/call1a.d: Likewise.
1031 * testsuite/ld-x86-64/call1b.d: Likewise.
1032 * testsuite/ld-x86-64/call1c.d: Likewise.
1033 * testsuite/ld-x86-64/call1d.d: Likewise.
1034 * testsuite/ld-x86-64/call1e.d: Likewise.
1035 * testsuite/ld-x86-64/call1f.d: Likewise.
1036 * testsuite/ld-x86-64/call1h.d: Likewise.
1037 * testsuite/ld-x86-64/call1i.d: Likewise.
1038 * testsuite/ld-x86-64/load1a.d: Likewise.
1039 * testsuite/ld-x86-64/load1b.d: Likewise.
1040 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1041 * testsuite/ld-i386/got1.dd: Updated.
1042 * testsuite/ld-i386/got1d.S (1): Removed.
1043 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1044 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1046 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1049 * testsuite/ld-x86-64/pr18591.d: New file.
1050 * testsuite/ld-x86-64/pr18591.s: Likewise.
1051 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1053 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1056 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1057 * testsuite/ld-elf/pr19553.map: New file.
1058 * testsuite/ld-elf/pr19553.map: Likewise.
1059 * testsuite/ld-elf/pr19553a.c: Likewise.
1060 * testsuite/ld-elf/pr19553b.c: Likewise.
1061 * testsuite/ld-elf/pr19553b.out: Likewise.
1062 * testsuite/ld-elf/pr19553c.c: Likewise.
1063 * testsuite/ld-elf/pr19553c.out: Likewise.
1064 * testsuite/ld-elf/pr19553d.c: Likewise.
1065 * testsuite/ld-elf/pr19553d.out: Likewise.
1067 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1070 * testsuite/ld-elf/pr19539.d: New file.
1071 * testsuite/ld-elf/pr19539.s: Likewise.
1072 * testsuite/ld-elf/pr19539.t: Likewise.
1074 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1077 * configure.ac (compressed_debug_sections): Replace == with =.
1078 * configure: Regenerated.
1080 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1082 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1083 * scripttempl/avrtiny.sc (.noinit): Likewise.
1085 2016-01-21 Nick Clifton <nickc@redhat.com>
1088 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1089 the arm-netbsdelf target.
1092 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1093 disassmebler output.
1094 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1095 * testsuite/ld-arm/vxworks1.dd: Likewise.
1096 * testsuite/ld-arm/vxworks1.rd: Likewise.
1097 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1099 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1101 * testsuite/ld-aarch64/farcall-section.d: Delete.
1102 * testsuite/ld-aarch64/farcall-section.s: Delete.
1103 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1104 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1105 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1106 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1107 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1109 2016-01-20 Nick Clifton <nickc@redhat.com>
1112 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1113 early for PE based targets.
1114 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1115 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1117 2016-01-20 Mickael Guene <mickael.guene@st.com>
1119 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1120 Add 'y' attribute usage.
1121 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1122 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1123 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1125 2016-01-19 Nick Clifton <nickc@redhat.com>
1127 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1128 foo@FOO and bar@@FOO.
1130 2016-01-18 Alan Modra <amodra@gmail.com>
1132 * configure: Regenerate.
1134 2016-01-18 Nick Clifton <nickc@redhat.com>
1136 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1137 is not configured to support plugins.
1139 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1140 but with 16 byte section alignment.
1141 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1142 test for MIPS targets.
1144 2016-01-17 Alan Modra <amodra@gmail.com>
1146 * configure: Regenerate.
1148 2016-01-17 Alan Modra <amodra@gmail.com>
1150 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1151 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1152 * testsuite/ld-elf/pr14156a.d: Likewise.
1153 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1154 * testsuite/ld-elf/sec64k.exp: Likewise.
1156 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1158 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1159 Set address of .foo section when linking.
1160 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1162 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1163 output to the above changes.
1165 2016-01-13 Nick Clifton <nickc@redhat.com>
1167 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1170 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1171 fail for MIPS targets.
1173 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1176 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1178 * testsuite/ld-arm/arm-elf.exp: New test.
1179 * testsuite/ld-arm/unwind-mix.d: New file.
1180 * testsuite/ld-arm/unwind-mix1.s: New file.
1181 * testsuite/ld-arm/unwind-mix2.s: New file.
1183 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1186 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1187 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1188 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1189 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1190 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1191 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1193 2016-01-05 Nick Clifton <nickc@redhat.com>
1195 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1196 MSP430 hardware multiply address range.
1197 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1198 (__romdatacopysize): Define.
1199 * scripttempl/elf32msp430_3.sc: Likewise.
1201 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1203 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1204 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1206 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1208 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1209 messages expected according to MIPS BFD private data merge
1211 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1212 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1213 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1214 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1215 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1216 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1217 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1218 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1219 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1220 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1221 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1222 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1223 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1225 2016-01-01 Alan Modra <amodra@gmail.com>
1227 Update year range in copyright notice of all files.
1229 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1231 Copyright (C) 2016 Free Software Foundation, Inc.
1233 Copying and distribution of this file, with or without modification,
1234 are permitted in any medium without royalty provided the copyright
1235 notice and this notice are preserved.
1241 version-control: never