1 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
4 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
6 2016-05-03 Jiong Wang <jiong.wang@arm.com>
8 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
9 * NEWS: Mention --no-apply-dynamic-relocs.
10 * ld.texinfo (ld and the ARM family): Document
11 --no-apply-dynamic-relocs.
12 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
13 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
14 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
15 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
18 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
20 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
21 before running STT_COMMON tests.
23 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
25 * config/default.exp (NOPIE_CFLAGS): Download source only on
27 (NOPIE_LDFLAGS): Likewise.
28 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
29 (check_lto_fat_available): Likewise.
30 (check_lto_shared_available): Likewise.
31 (check_ifunc_available): Likewise.
32 (check_ifunc_attribute_available): Likewise.
34 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
36 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
38 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
41 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
42 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
45 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
47 * testsuite/ld-elf/compressed1b.d: Pass
48 --compress-debug-sections=none to ld.
49 * testsuite/ld-elf/compressed1c.d: Likewise.
51 2016-04-27 Alan Modra <amodra@gmail.com>
54 * configure.tgt: Don't use var+=.
56 2016-04-25 Nick Clifton <nickc@redhat.com>
59 * configure.tgt: Include big endian PPC64 emulations with little
62 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
64 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
66 2016-04-21 Nick Clifton <nickc@redhat.com>
68 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
69 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
70 targets. Do not stop the checks when problems are encountered.
72 2016-04-21 Alan Modra <amodra@gmail.com>
74 * testsuite/ld-scripts/cross3.t: Add commonly used data
75 and text section names to output section statements.
76 * testsuite/ld-scripts/cross4.t: Likewise.
77 * testsuite/ld-scripts/cross5.t: Likewise.
78 * testsuite/ld-scripts/cross6.t: Likewise.
79 * testsuite/ld-scripts/cross7.t: Likewise.
81 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
83 * ldlang.c (lang_check_relocs): New function.
84 (lang_process): Call lang_check_relocs after lang_gc_sections.
85 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
86 call _bfd_elf_link_check_relocs here.
88 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
91 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
92 R_386_NONE or R_X86_64_NONE.
94 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
96 * testsuite/ld-x86-64/pic1.d: New file.
97 * testsuite/ld-x86-64/pic1.s: Likewise.
98 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
100 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
102 * testsuite/ld-x86-64/pie2.d: New file.
103 * testsuite/ld-x86-64/pie2.s: Likewise.
104 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
106 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
109 * testsuite/ld-x86-64/pr19969.d: New file.
110 * testsuite/ld-x86-64/pr19969a.S: Likewise.
111 * testsuite/ld-x86-64/pr19969b.S: Likewise.
112 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
114 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
116 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
118 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
120 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
122 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
124 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
126 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
128 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
130 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
132 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
133 Set check_relocs_after_open_input to TRUE if
134 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
135 (gld${EMULATION_NAME}_after_open): Call
136 _bfd_elf_link_check_relocs on all inputs if
137 check_relocs_after_open_input is TRUE.
139 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
141 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
144 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
146 * emultempl/scoreelf.em: Likewise.
148 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
151 * testsuite/ld-x86-64/pr19719.d: New file.
152 * testsuite/ld-x86-64/pr19719.s: Likewise.
153 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
155 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
157 * ld.texinfo: Document NOCROSSREFS_TO script command.
158 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
159 (lang_add_nocrossref_to): New prototype.
160 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
161 symbols defined in the first section.
162 (check_nocrossref): Likewise.
163 * ldgram.y (NOCROSSREFS_TO): New script command.
164 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
165 (lang_add_nocrossref_to): New function.
166 * ldlex.l (NOCROSSREFS_TO): New token.
167 * NEWS: Mention NOCROSSREFS_TO.
168 * testsuite/ld-scripts/cross4.t: New file.
169 * testsuite/ld-scripts/cross5.t: Likewise.
170 * testsuite/ld-scripts/cross6.t: Likewise.
171 * testsuite/ld-scripts/cross7.t: Likewise.
172 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
175 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
177 * Makefile.in: Regenerated with automake 1.11.6.
178 * aclocal.m4: Likewise.
180 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
182 * testsuite/ld-arc/arc.exp: New file.
183 * testsuite/ld-arc/nps-1.s: New file.
184 * testsuite/ld-arc/nps-1a.d: New file.
185 * testsuite/ld-arc/nps-1b.d: New file.
186 * testsuite/ld-arc/nps-1b.err: New file.
188 2016-04-14 Nick Clifton <nickc@redhat.com>
191 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
192 exceptions for Mingw and Cygwin.
194 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
196 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
199 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
202 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
203 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
206 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
209 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
210 * testsuite/ld-x86-64/x86-64.exp: Likewise.
211 * testsuite/ld-i386/pr19939.s: New file.
212 * testsuite/ld-i386/pr19939a.d: Likewise.
213 * testsuite/ld-i386/pr19939b.d: Likewise.
214 * testsuite/ld-x86-64/pr19939.s: Likewise.
215 * testsuite/ld-x86-64/pr19939a.d: Likewise.
216 * testsuite/ld-x86-64/pr19939b.d: Likewise.
218 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
220 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
222 2016-04-08 Alan Modra <amodra@gmail.com>
225 * ldlang.c (maybe_overlays): Delete.
226 (lang_size_sections_1): Remove code setting maybe_overlays.
227 (lang_check_section_addresses): Instead detect overlays by
228 exact match of section VMAs here. Fix memory leak.
230 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
232 * ldlang.c (print_output_section_statement): Show minfo size
233 in target machine address units.
234 (print_reloc_statement): Likewise.
235 (print_padding_statement): Likewise.
236 (print_data_statement): Likewise. Ensure minimum print_dot
237 increment of one address unit.
239 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
241 * emulparams/arc-endianness.sh: Make little endian default choice.
243 2016-04-07 Nick Clifton <nickc@redhat.com>
245 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
247 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
249 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
251 * emulparams/arc-endianness.sh: New file.
252 * emulparams/arcebelf.sh: Deleted.
253 * emulparams/arcebelf_prof.sh: Deleted.
254 * emulparams/arceblinux.sh: Deleted.
255 * emulparams/arceblinux_prof.sh: Deleted.
256 * emulparams/arcelf.sh: Include arc-endinness.sh.
257 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
258 * emulparams/arclinux.sh: Include arc-endinness.sh.
259 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
260 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
261 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
262 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
263 little endian arc targets.
264 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
265 * testsuite/ld-elf/group1.d: Likewise.
266 * testsuite/ld-elf/group3b.d: Likewise.
267 * testsuite/ld-elf/group8a.d: Likewise.
268 * testsuite/ld-elf/group8b.d: Likewise.
269 * testsuite/ld-elf/group9a.d: Likewise.
270 * testsuite/ld-elf/group9b.d: Likewise.
271 * testsuite/ld-elf/linkonce2.d: Likewise.
272 * testsuite/ld-elf/pr12851.d: Likewise.
273 * testsuite/ld-elf/pr12975.d: Likewise.
274 * testsuite/ld-elf/pr13177.d: Likewise.
275 * testsuite/ld-elf/pr13195.d: Likewise.
276 * testsuite/ld-elf/pr17615.d: Likewise.
277 * testsuite/ld-elf/pr19162.d: Likewise.
278 * testsuite/ld-elf/sec64k.exp: Likewise.
279 * testsuite/lib/ld-lib.exp: Likewise.
281 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
284 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
286 * testsuite/ld-cris/tls-e-20a.d: Likewise.
287 * testsuite/ld-cris/tls-e-21.d: Likewise.
288 * testsuite/ld-cris/tls-e-23.d: Likewise.
289 * testsuite/ld-cris/tls-e-80.d: Likewise.
290 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
291 * testsuite/ld-cris/tls-leie-19.d: Likewise.
292 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
293 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
294 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
295 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
296 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
297 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
298 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
299 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
301 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
303 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
304 * testsuite/ld-discard/start.d: Likewise.
305 * testsuite/ld-discard/static.d: Likewise.
306 * testsuite/ld-elf/group1.d: Likewise.
307 * testsuite/ld-elf/group3b.d: Likewise.
308 * testsuite/ld-elf/orphan-region.d: Likewise.
309 * testsuite/ld-elf/orphan.d: Likewise.
310 * testsuite/ld-elf/orphan3.d: Likewise.
311 * testsuite/ld-elf/pr349.d: Likewise.
312 * testsuite/ld-elf/warn1.d: Likewise.
313 * testsuite/ld-elf/warn2.d: Likewise.
314 * testsuite/ld-elf/warn3.d: Likewise.
315 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
316 through linker flags.
317 * testsuite/ld-srec/srec.exp: Set as xfail.
319 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
322 * testsuite/ld-i386/pr19827-nacl.rd: New file.
323 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
325 2016-04-04 Nick Clifton <nickc@redhat.com>
328 * emultempl/pe.em (change_undef): New function. Encapsulates
329 duplicated code in pe_fixup_stdcalls and adds the newly defined
330 sym to the gc root list.
331 (pe_fixup_stdcall): Use the new function.
332 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
333 symbol to gc root list.
335 2016-03-31 Alan Modra <amodra@gmail.com>
337 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
338 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
339 (print_input_section): Don't use TO_ADDR when printing section
341 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
342 (lang_size_sections): Use TO_ADDR in relro end calculation.
344 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
346 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
347 value from regexp_diff.
348 * testsuite/ld-elf/orphan-5.l: Fix expected output.
349 * testsuite/ld-elf/orphan-6.l: Likewise.
351 2016-03-30 Alan Modra <amodra@gmail.com>
354 * ldlang.c (maybe_overlays): New static var.
355 (lang_size_sections_1): Set it here.
356 (struct check_sec): New.
357 (sort_sections_by_lma): Adjust for array of structs.
358 (sort_sections_by_vma): New function.
359 (lang_check_section_addresses): Check both LMA and VMA for overlap.
360 * testsuite/ld-scripts/rgn-over7.d: Adjust.
362 2016-03-30 Alan Modra <amodra@gmail.com>
364 * ldlang.c (lang_size_sections_1): Correct code detecting a
365 backward non-overlapping move.
367 2016-03-30 Alan Modra <amodra@gmail.com>
369 * ldlang.c (IS_TBSS): New macro, extracted from..
370 (IGNORE_SECTION): ..here.
371 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
372 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
374 2016-03-22 Nick Clifton <nickc@redhat.com>
377 * ldlang.c (lang_add_gc_name): New function. Adds the provided
378 symbol name to the list of gc symbols.
379 (lang_process): Call lang_add_gc_name with entry_symbol_default if
380 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
381 and fini function names.
382 * pe-dll.c (process_def_file_and_drectve): Add exported names to
384 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
385 * testsuite/ld-pe/pr19803.d: Tweak expected output.
387 2016-03-22 Nick Clifton <nickc@redhat.com>
389 * configure: Regenerate.
391 2016-03-21 Nick Clifton <nickc@redhat.com>
393 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
394 * plugin.c: Likewise.
395 * pe-dll.c: Likewise.
397 2016-03-18 Awson <kyrab@mail.ru>
400 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
402 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
404 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
406 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
408 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
411 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
412 * testsuite/ld-x86-64/x86-64.exp: Likewise.
413 * testsuite/ld-i386/pr19827.rd: New file.
414 * testsuite/ld-i386/pr19827a.S: Likewise.
415 * testsuite/ld-i386/pr19827b.S: Likewise.
416 * testsuite/ld-x86-64/pr19827.rd: Likewise.
417 * testsuite/ld-x86-64/pr19827a.S: Likewise.
418 * testsuite/ld-x86-64/pr19827b.S: Likewise.
420 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
423 * Makefile.am (ELF_X86_DEPS): Add
424 $(srcdir)/emulparams/reloc_overflow.sh.
425 * Makefile.in: Regenerated.
426 * NEWS: Mention -z noreloc-overflow.
427 * ld.texinfo: Document -z noreloc-overflow.
428 * emulparams/elf32_x86_64.sh: Source
429 ${srcdir}/emulparams/reloc_overflow.sh.
430 * emulparams/elf_x86_64.sh: Likewise.
431 * emulparams/reloc_overflow.sh: New file.
432 * testsuite/ld-x86-64/pr19807-1.s: New file.
433 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
434 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
435 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
436 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
437 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
438 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
439 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
440 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
441 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
443 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
446 * testsuite/ld-i386/i386.exp: Run pr19539.
447 * testsuite/ld-i386/pr19539.d: New file.
448 * testsuite/ld-i386/pr19539.s: Likewise.
449 * testsuite/ld-i386/pr19539.t: Likewise.
450 * testsuite/ld-x86-64/pr19539.s: Likewise.
451 * testsuite/ld-x86-64/pr19539.t: Likewise.
452 * testsuite/ld-x86-64/pr19539a.d: Likewise.
453 * testsuite/ld-x86-64/pr19539b.d: Likewise.
454 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
456 2016-03-10 Mickael Guene <mickael.guene@st.com>
459 * testsuite/ld-arm/arm-elf.exp: New tests.
460 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
461 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
463 2016-03-10 Nick Clifton <nickc@redhat.com>
465 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
467 2016-03-09 Pedro Alves <palves@redhat.com>
469 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
470 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
472 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
475 * testsuite/ld-elf/pr19789.d: New file.
476 * testsuite/ld-elf/pr19789.s: Likewise.
478 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
481 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
482 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
483 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
484 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
485 * testsuite/ld-ifunc/pass.out: New file.
486 * testsuite/ld-ifunc/pr19784a.c: Likewise.
487 * testsuite/ld-ifunc/pr19784b.c: Likewise.
488 * testsuite/ld-ifunc/pr19784c.c: Likewise.
490 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
493 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
494 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
495 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
496 --as-needed for pr18841c.
498 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
501 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
502 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
503 before tmpdir/got1d.so and test --as-needed.
504 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
505 tmpdir/pr18900.so and test --as-needed.
507 2016-03-07 Jiong Wang <jiong.wang@arm.com>
509 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
510 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
512 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
514 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
516 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
517 before tmpdir/copyreloc-lib.so and test --as-needed.
518 * testsuite/ld-x86-64/x86-64.exp: Likewise.
520 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
523 * testsuite/ld-elf/pr19579a.c: New file.
524 * testsuite/ld-elf/pr19579b.c: Likewise.
525 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
527 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
529 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
531 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
533 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
534 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
536 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
539 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
540 input sections for relocatable link.
541 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
542 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
544 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
547 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
548 merge flags of other input sections for relocatable link.
550 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
552 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
554 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
556 * testsuite/ld-elf/pr19162.d: Skip arc target.
558 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
561 * testsuite/ld-elf/pr19162.d: New file.
562 * testsuite/ld-elf/pr19162a.s: Likwise.
563 * testsuite/ld-elf/pr19162b.s: Likwise.
565 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
567 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
568 * testsuite/ld-elf/merge2.d: Likewise.
569 * testsuite/ld-elf/merge3.d: Likewise.
571 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
573 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
576 2016-02-26 Renlin Li <renlin.li@arm.com>
578 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
579 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
580 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
581 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
582 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
583 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
584 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
585 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
586 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
587 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
589 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
592 * testsuite/ld-i386/got1.dd: Updated.
593 * testsuite/ld-i386/lea1c.d: Likewise.
594 * testsuite/ld-i386/load1-nacl.d: Likewise.
595 * testsuite/ld-i386/load1.d: Likewise.
596 * testsuite/ld-i386/load4b.d: Likewise.
597 * testsuite/ld-i386/load5b.d: Likewise.
598 * testsuite/ld-i386/mov1b.d: Likewise.
599 * testsuite/ld-x86-64/mov1b.d: Likewise.
600 * testsuite/ld-x86-64/mov1d.d: Likewise.
601 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
602 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
603 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
604 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
605 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
606 * testsuite/ld-x86-64/lea1a.d: Likewise.
607 * testsuite/ld-x86-64/lea1b.d: Likewise.
608 * testsuite/ld-x86-64/lea1c.d: Likewise.
609 * testsuite/ld-x86-64/lea1d.d: Likewise.
610 * testsuite/ld-x86-64/lea1e.d: Likewise.
611 * testsuite/ld-x86-64/lea1f.d: Likewise.
612 * testsuite/ld-x86-64/mov1b.d: Likewise.
613 * testsuite/ld-x86-64/mov1d.d: Likewise.
614 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
615 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
616 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
617 * testsuite/ld-i386/pr19609-1.s: New file.
618 * testsuite/ld-i386/pr19609-1a.d: Likewise.
619 * testsuite/ld-i386/pr19609-1b.d: Likewise.
620 * testsuite/ld-i386/pr19609-1c.d: Likewise.
621 * testsuite/ld-i386/pr19609-1d.d: Likewise.
622 * testsuite/ld-i386/pr19609-1e.d: Likewise.
623 * testsuite/ld-i386/pr19609-1f.d: Likewise.
624 * testsuite/ld-i386/pr19609-1g.d: Likewise.
625 * testsuite/ld-i386/pr19609-1h.d: Likewise.
626 * testsuite/ld-i386/pr19609-1i.d: Likewise.
627 * testsuite/ld-i386/pr19609-2.s: Likewise.
628 * testsuite/ld-i386/pr19609-2a.d: Likewise.
629 * testsuite/ld-i386/pr19609-2b.d: Likewise.
630 * testsuite/ld-i386/pr19609-2c.d: Likewise.
631 * testsuite/ld-i386/undefweak.s: Likewise.
632 * testsuite/ld-i386/undefweaka.d: Likewise.
633 * testsuite/ld-i386/undefweakb.d: Likewise.
634 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
635 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
636 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
637 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
638 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
639 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
640 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
641 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
642 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
643 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
644 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
645 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
646 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
647 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
648 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
649 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
650 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
651 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
652 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
653 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
654 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
655 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
656 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
657 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
658 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
659 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
660 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
661 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
662 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
663 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
664 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
665 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
666 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
667 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
668 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
669 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
670 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
671 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
672 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
673 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
674 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
675 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
676 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
677 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
678 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
679 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
680 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
682 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
683 and tests for PR ld/19609.
685 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
688 * NEWS: Mention -z common/-z nocommon for ELF targets.
689 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
690 -z common and -z nocommon.
691 * ld.texinfo: Document -z common/-z nocommon.
692 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
693 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
694 --elf-stt-common=yes with assembler.
695 * testsuite/ld-elfcomm/common-1.s: New file.
696 * testsuite/ld-elfcomm/common-1a.d: Likewise.
697 * testsuite/ld-elfcomm/common-1b.d: Likewise.
698 * testsuite/ld-elfcomm/common-1c.d: Likewise.
699 * testsuite/ld-elfcomm/common-1d.d: Likewise.
700 * testsuite/ld-elfcomm/common-1e.d: Likewise.
701 * testsuite/ld-elfcomm/common-1f.d: Likewise.
702 * testsuite/ld-elfcomm/common-2.s: Likewise.
703 * testsuite/ld-elfcomm/common-2a.d: Likewise.
704 * testsuite/ld-elfcomm/common-2b.d: Likewise.
705 * testsuite/ld-elfcomm/common-2c.d: Likewise.
706 * testsuite/ld-elfcomm/common-2d.d: Likewise.
707 * testsuite/ld-elfcomm/common-2e.d: Likewise.
708 * testsuite/ld-elfcomm/common-2f.d: Likewise.
709 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
710 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
711 * testsuite/ld-i386/pr19645.d: Likewise.
712 * testsuite/ld-i386/pr19645.s: Likewise.
713 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
714 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
715 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
716 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
717 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
718 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
719 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
720 * testsuite/ld-x86-64/pr19645.d: Likewise.
721 * testsuite/ld-x86-64/pr19645.s: Likewise.
722 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
724 (assembler_generates_commons): Removed.
725 Run -z common/-z nocommon tests. Run *.d tests.
726 * testsuite/ld-i386/i386.exp: Run pr19645.
727 * testsuite/ld-x86-64/x86-64.exp: Likewise.
728 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
729 assembler. Test STT_COMMON with readelf.
731 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
736 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
737 * Makefile.in: Regenerated.
738 * NEWS: Mention -z nodynamic-undefined-weak.
739 * ld.texinfo: Document -z nodynamic-undefined-weak.
740 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
741 * emulparams/dynamic_undefined_weak.sh: New file.
742 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
743 * emulparams/elf_i386.sh: Likewise.
744 * emulparams/elf_i386_be.sh: Likewise.
745 * emulparams/elf_i386_chaos.sh: Likewise.
746 * emulparams/elf_i386_ldso.sh: Likewise.
747 * emulparams/elf_i386_vxworks.sh: Likewise.
748 * emulparams/elf_iamcu.sh: Likewise.
749 * emulparams/elf_k1om.sh: Likewise.
750 * emulparams/elf_l1om.sh: Likewise.
751 * emulparams/elf_x86_64.sh: Likewise.
752 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
754 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
755 * testsuite/ld-elf/pr19719a.c: New file.
756 * testsuite/ld-elf/pr19719b.c: Likewise.
757 * testsuite/ld-elf/pr19719c.c: Likewise.
758 * testsuite/ld-elf/pr19719d.c: Likewise.
759 * testsuite/ld-i386/pr19636-1.s: Likewise.
760 * testsuite/ld-i386/pr19636-1a.d: Likewise.
761 * testsuite/ld-i386/pr19636-1b.d: Likewise.
762 * testsuite/ld-i386/pr19636-1c.d: Likewise.
763 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
764 * testsuite/ld-i386/pr19636-1d.d: Likewise.
765 * testsuite/ld-i386/pr19636-1e.d: Likewise.
766 * testsuite/ld-i386/pr19636-1f.d: Likewise.
767 * testsuite/ld-i386/pr19636-1g.d: Likewise.
768 * testsuite/ld-i386/pr19636-1h.d: Likewise.
769 * testsuite/ld-i386/pr19636-1i.d: Likewise.
770 * testsuite/ld-i386/pr19636-2.s: Likewise.
771 * testsuite/ld-i386/pr19636-2a.d: Likewise.
772 * testsuite/ld-i386/pr19636-2b.d: Likewise.
773 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
774 * testsuite/ld-i386/pr19636-2c.d: Likewise.
775 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
776 * testsuite/ld-i386/pr19636-2d.d: Likewise.
777 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
778 * testsuite/ld-i386/pr19636-2e.d: Likewise.
779 * testsuite/ld-i386/pr19636-3.s: Likewise.
780 * testsuite/ld-i386/pr19636-3a.d: Likewise.
781 * testsuite/ld-i386/pr19636-3b.d: Likewise.
782 * testsuite/ld-i386/pr19636-3c.d: Likewise.
783 * testsuite/ld-i386/pr19636-3d.d: Likewise.
784 * testsuite/ld-i386/pr19636-3e.d: Likewise.
785 * testsuite/ld-i386/pr19636-3f.d: Likewise.
786 * testsuite/ld-i386/pr19636-3g.d: Likewise.
787 * testsuite/ld-i386/pr19636-4.s: Likewise.
788 * testsuite/ld-i386/pr19636-4a.d: Likewise.
789 * testsuite/ld-i386/pr19636-4b.d: Likewise.
790 * testsuite/ld-i386/pr19636-4c.d: Likewise.
791 * testsuite/ld-i386/pr19636-4d.d: Likewise.
792 * testsuite/ld-i386/pr19704.out: Likewise.
793 * testsuite/ld-i386/pr19704a.c: Likewise.
794 * testsuite/ld-i386/pr19704b.c: Likewise.
795 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
796 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
797 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
798 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
799 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
800 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
801 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
802 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
803 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
804 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
805 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
806 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
807 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
808 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
809 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
810 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
811 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
812 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
813 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
814 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
815 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
816 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
817 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
818 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
819 * testsuite/ld-x86-64/pr19704.out: Likewise.
820 * testsuite/ld-x86-64/pr19704a.c: Likewise.
821 * testsuite/ld-x86-64/pr19704b.c: Likewise.
822 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
823 Run mix_pic_and_non_pic.
824 * testsuite/ld-i386/i386.exp (undefined_weak): New.
825 Run undefined_weak and PR ld/19636 tests.
826 * testsuite/ld-x86-64/x86-64.exp: Likewise.
827 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
828 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
830 2016-02-25 Nick Clifton <nickc@redhat.com>
832 * ld.h (struct ld_config_type): Remove specified_data_size field.
834 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
837 * testsuite/ld-elf/pr19698.d: New file.
838 * testsuite/ld-elf/pr19698.s: Likewise.
839 * testsuite/ld-elf/pr19698.t: Likewise.
841 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
843 * Makefile.am (ELF_X86_DEPS): New.
844 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
845 (eelf_i386_chaos.c): Likewise.
846 (eelf_i386_fbsd.c): Likewise.
847 (eelf_i386_ldso.c): Likewise.
848 (eelf_i386_nacl.c): Likewise.
849 (eelf_i386_sol2.c): Likewise.
850 (eelf_iamcu.c): Likewise.
851 (eelf32_x86_64.c): Likewise.
852 (eelf32_x86_64_nacl.c): Likewise.
853 (eelf_l1om.c): Likewise.
854 (eelf_l1om_fbsd.c): Likewise.
855 (eelf_k1om.c): Likewise.
856 (eelf_k1om_fbsd.c): Likewise.
857 (eelf_x86_64.c): Likewise.
858 (eelf_x86_64_cloudabi.c): Likewise.
859 (eelf_x86_64_fbsd.c): Likewise.
860 (eelf_x86_64_sol2.c): Likewise.
861 * Makefile.in: Regenerated.
863 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
865 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
866 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
867 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
868 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
870 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
872 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
874 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
876 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
877 *-*-gnu* and *-*-solaris*.
878 * testsuite/ld-elf/pr19617b.d: Likewise.
879 * testsuite/ld-elf/pr19617c.d: Likewise.
881 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
884 * testsuite/ld-elf/pr19617.s: New file.
885 * testsuite/ld-elf/pr19617a.d: Likewise.
886 * testsuite/ld-elf/pr19617b.d: Likewise.
887 * testsuite/ld-elf/pr19617c.d: Likewise.
889 2016-02-18 Nick Clifton <nickc@redhat.com>
891 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
892 in-tree xg++ executable after checking for the presence of an
893 in-tree g++ executable.
894 * Makefile.in: Regenerate.
896 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
898 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
899 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
900 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
902 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
904 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
905 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
906 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
907 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
908 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
909 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
910 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
911 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
912 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
913 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
914 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
915 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
916 * testsuite/ld-x86-64/load1c.d: Likewise.
917 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
918 * testsuite/ld-x86-64/load1d.d: Likewise.
919 * testsuite/ld-x86-64/pr14207.d: Likewise.
920 * testsuite/ld-x86-64/pr19162.d: Likewise.
921 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
922 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
923 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
924 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
925 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
926 * testsuite/ld-x86-64/tlspic.rd: Likewise.
928 2016-02-17 Nick Clifton <nickc@redhat.com>
930 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
932 2016-02-15 Nick Clifton <nickc@redhat.com>
934 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
935 description of the flags produced by readelf.
936 * testsuite/ld-i386/pr12921.d: Likewise.
937 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
938 * testsuite/ld-i386/tlsbin.rd: Likewise.
939 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
940 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
941 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
942 * testsuite/ld-i386/tlsdesc.rd: Likewise.
943 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
944 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
945 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
946 * testsuite/ld-i386/tlsnopic.rd: Likewise.
947 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
948 * testsuite/ld-i386/tlspic.rd: Likewise.
949 * testsuite/ld-s390/tlsbin.rd: Likewise.
950 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
951 * testsuite/ld-s390/tlspic.rd: Likewise.
952 * testsuite/ld-s390/tlspic_64.rd: Likewise.
953 * testsuite/ld-sh/tlsbin-2.d: Likewise.
954 * testsuite/ld-sh/tlspic-2.d: Likewise.
955 * testsuite/ld-tic6x/common.d: Likewise.
956 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
957 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
958 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
959 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
960 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
961 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
962 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
963 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
964 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
965 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
966 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
967 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
968 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
969 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
970 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
971 * testsuite/ld-x86-64/pr12718.d: Likewise.
972 * testsuite/ld-x86-64/pr12921.d: Likewise.
973 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
974 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
975 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
976 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
977 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
978 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
979 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
980 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
981 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
982 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
983 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
984 * testsuite/ld-x86-64/tlspic.rd: Likewise.
985 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
986 * testsuite/ld-xtensa/tlspic.rd: Likewise.
988 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
991 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
993 * lexsup.c (parse_args): Enable -Bsymbolic and
994 -Bsymbolic-functions for PIE.
995 * testsuite/ld-i386/i386.exp: Run pr19615.
996 * testsuite/ld-i386/pr19615.d: New file.
997 * testsuite/ld-i386/pr19615.s: Likewise.
998 * testsuite/ld-x86-64/pr19615.d: Likewise.
999 * testsuite/ld-x86-64/pr19615.s: Likewise.
1001 2016-02-09 Nick Clifton <nickc@redhat.com>
1003 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1004 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1005 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1006 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1008 2016-02-04 Nick Clifton <nickc@redhat.com>
1010 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1011 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1012 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1013 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1014 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1015 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1016 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1017 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1018 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1020 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1023 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1024 * testsuite/ld-i386/call1.d: Likewise.
1025 * testsuite/ld-i386/call2.d: Likewise.
1026 * testsuite/ld-i386/call3a.d: Likewise.
1027 * testsuite/ld-i386/call3b.d: Likewise.
1028 * testsuite/ld-i386/call3c.d: Likewise.
1029 * testsuite/ld-i386/call3d.d: Likewise.
1030 * testsuite/ld-i386/call3e.d: Likewise.
1031 * testsuite/ld-i386/call3f.d: Likewise.
1032 * testsuite/ld-i386/call3g.d: Likewise.
1033 * testsuite/ld-i386/call3h.d: Likewise.
1034 * testsuite/ld-i386/jmp1.d: Likewise.
1035 * testsuite/ld-i386/jmp2.d: Likewise.
1036 * testsuite/ld-i386/lea1c.d: Likewise.
1037 * testsuite/ld-i386/load1.d: Likewise.
1038 * testsuite/ld-i386/load2.d: Likewise.
1039 * testsuite/ld-i386/load3.d: Likewise.
1040 * testsuite/ld-i386/load4a.d: Likewise.
1041 * testsuite/ld-i386/load5a.d: Likewise.
1042 * testsuite/ld-i386/mov2b.d: Likewise.
1043 * testsuite/ld-i386/mov3.d: Likewise.
1044 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1045 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1046 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1047 * testsuite/ld-x86-64/call1a.d: Likewise.
1048 * testsuite/ld-x86-64/call1b.d: Likewise.
1049 * testsuite/ld-x86-64/call1c.d: Likewise.
1050 * testsuite/ld-x86-64/call1d.d: Likewise.
1051 * testsuite/ld-x86-64/call1e.d: Likewise.
1052 * testsuite/ld-x86-64/call1f.d: Likewise.
1053 * testsuite/ld-x86-64/call1h.d: Likewise.
1054 * testsuite/ld-x86-64/call1i.d: Likewise.
1055 * testsuite/ld-x86-64/load1a.d: Likewise.
1056 * testsuite/ld-x86-64/load1b.d: Likewise.
1057 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1058 * testsuite/ld-i386/got1.dd: Updated.
1059 * testsuite/ld-i386/got1d.S (1): Removed.
1060 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1061 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1063 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1066 * testsuite/ld-x86-64/pr18591.d: New file.
1067 * testsuite/ld-x86-64/pr18591.s: Likewise.
1068 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1070 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1073 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1074 * testsuite/ld-elf/pr19553.map: New file.
1075 * testsuite/ld-elf/pr19553.map: Likewise.
1076 * testsuite/ld-elf/pr19553a.c: Likewise.
1077 * testsuite/ld-elf/pr19553b.c: Likewise.
1078 * testsuite/ld-elf/pr19553b.out: Likewise.
1079 * testsuite/ld-elf/pr19553c.c: Likewise.
1080 * testsuite/ld-elf/pr19553c.out: Likewise.
1081 * testsuite/ld-elf/pr19553d.c: Likewise.
1082 * testsuite/ld-elf/pr19553d.out: Likewise.
1084 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1087 * testsuite/ld-elf/pr19539.d: New file.
1088 * testsuite/ld-elf/pr19539.s: Likewise.
1089 * testsuite/ld-elf/pr19539.t: Likewise.
1091 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1094 * configure.ac (compressed_debug_sections): Replace == with =.
1095 * configure: Regenerated.
1097 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1099 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1100 * scripttempl/avrtiny.sc (.noinit): Likewise.
1102 2016-01-21 Nick Clifton <nickc@redhat.com>
1105 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1106 the arm-netbsdelf target.
1109 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1110 disassmebler output.
1111 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1112 * testsuite/ld-arm/vxworks1.dd: Likewise.
1113 * testsuite/ld-arm/vxworks1.rd: Likewise.
1114 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1116 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1118 * testsuite/ld-aarch64/farcall-section.d: Delete.
1119 * testsuite/ld-aarch64/farcall-section.s: Delete.
1120 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1121 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1122 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1123 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1124 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1126 2016-01-20 Nick Clifton <nickc@redhat.com>
1129 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1130 early for PE based targets.
1131 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1132 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1134 2016-01-20 Mickael Guene <mickael.guene@st.com>
1136 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1137 Add 'y' attribute usage.
1138 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1139 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1140 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1142 2016-01-19 Nick Clifton <nickc@redhat.com>
1144 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1145 foo@FOO and bar@@FOO.
1147 2016-01-18 Alan Modra <amodra@gmail.com>
1149 * configure: Regenerate.
1151 2016-01-18 Nick Clifton <nickc@redhat.com>
1153 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1154 is not configured to support plugins.
1156 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1157 but with 16 byte section alignment.
1158 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1159 test for MIPS targets.
1161 2016-01-17 Alan Modra <amodra@gmail.com>
1163 * configure: Regenerate.
1165 2016-01-17 Alan Modra <amodra@gmail.com>
1167 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1168 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1169 * testsuite/ld-elf/pr14156a.d: Likewise.
1170 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1171 * testsuite/ld-elf/sec64k.exp: Likewise.
1173 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1175 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1176 Set address of .foo section when linking.
1177 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1179 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1180 output to the above changes.
1182 2016-01-13 Nick Clifton <nickc@redhat.com>
1184 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1187 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1188 fail for MIPS targets.
1190 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1193 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1195 * testsuite/ld-arm/arm-elf.exp: New test.
1196 * testsuite/ld-arm/unwind-mix.d: New file.
1197 * testsuite/ld-arm/unwind-mix1.s: New file.
1198 * testsuite/ld-arm/unwind-mix2.s: New file.
1200 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1203 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1204 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1205 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1206 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1207 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1208 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1210 2016-01-05 Nick Clifton <nickc@redhat.com>
1212 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1213 MSP430 hardware multiply address range.
1214 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1215 (__romdatacopysize): Define.
1216 * scripttempl/elf32msp430_3.sc: Likewise.
1218 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1220 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1221 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1223 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1225 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1226 messages expected according to MIPS BFD private data merge
1228 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1229 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1230 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1231 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1232 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1233 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1234 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1235 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1236 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1237 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1238 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1239 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1240 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1242 2016-01-01 Alan Modra <amodra@gmail.com>
1244 Update year range in copyright notice of all files.
1246 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1248 Copyright (C) 2016 Free Software Foundation, Inc.
1250 Copying and distribution of this file, with or without modification,
1251 are permitted in any medium without royalty provided the copyright
1252 notice and this notice are preserved.
1258 version-control: never