1 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/ld-x86-64/pie2.d: New file.
4 * testsuite/ld-x86-64/pie2.s: Likewise.
5 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
7 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
10 * testsuite/ld-x86-64/pr19969.d: New file.
11 * testsuite/ld-x86-64/pr19969a.S: Likewise.
12 * testsuite/ld-x86-64/pr19969b.S: Likewise.
13 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
15 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
17 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
19 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
21 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
23 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
25 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
27 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
29 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
31 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
33 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
34 Set check_relocs_after_open_input to TRUE if
35 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
36 (gld${EMULATION_NAME}_after_open): Call
37 _bfd_elf_link_check_relocs on all inputs if
38 check_relocs_after_open_input is TRUE.
40 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
42 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
45 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
47 * emultempl/scoreelf.em: Likewise.
49 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
52 * testsuite/ld-x86-64/pr19719.d: New file.
53 * testsuite/ld-x86-64/pr19719.s: Likewise.
54 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
56 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
58 * ld.texinfo: Document NOCROSSREFS_TO script command.
59 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
60 (lang_add_nocrossref_to): New prototype.
61 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
62 symbols defined in the first section.
63 (check_nocrossref): Likewise.
64 * ldgram.y (NOCROSSREFS_TO): New script command.
65 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
66 (lang_add_nocrossref_to): New function.
67 * ldlex.l (NOCROSSREFS_TO): New token.
68 * NEWS: Mention NOCROSSREFS_TO.
69 * testsuite/ld-scripts/cross4.t: New file.
70 * testsuite/ld-scripts/cross5.t: Likewise.
71 * testsuite/ld-scripts/cross6.t: Likewise.
72 * testsuite/ld-scripts/cross7.t: Likewise.
73 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
76 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
78 * Makefile.in: Regenerated with automake 1.11.6.
79 * aclocal.m4: Likewise.
81 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
83 * testsuite/ld-arc/arc.exp: New file.
84 * testsuite/ld-arc/nps-1.s: New file.
85 * testsuite/ld-arc/nps-1a.d: New file.
86 * testsuite/ld-arc/nps-1b.d: New file.
87 * testsuite/ld-arc/nps-1b.err: New file.
89 2016-04-14 Nick Clifton <nickc@redhat.com>
92 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
93 exceptions for Mingw and Cygwin.
95 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
97 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
100 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
103 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
104 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
107 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
110 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
111 * testsuite/ld-x86-64/x86-64.exp: Likewise.
112 * testsuite/ld-i386/pr19939.s: New file.
113 * testsuite/ld-i386/pr19939a.d: Likewise.
114 * testsuite/ld-i386/pr19939b.d: Likewise.
115 * testsuite/ld-x86-64/pr19939.s: Likewise.
116 * testsuite/ld-x86-64/pr19939a.d: Likewise.
117 * testsuite/ld-x86-64/pr19939b.d: Likewise.
119 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
121 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
123 2016-04-08 Alan Modra <amodra@gmail.com>
126 * ldlang.c (maybe_overlays): Delete.
127 (lang_size_sections_1): Remove code setting maybe_overlays.
128 (lang_check_section_addresses): Instead detect overlays by
129 exact match of section VMAs here. Fix memory leak.
131 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
133 * ldlang.c (print_output_section_statement): Show minfo size
134 in target machine address units.
135 (print_reloc_statement): Likewise.
136 (print_padding_statement): Likewise.
137 (print_data_statement): Likewise. Ensure minimum print_dot
138 increment of one address unit.
140 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
142 * emulparams/arc-endianness.sh: Make little endian default choice.
144 2016-04-07 Nick Clifton <nickc@redhat.com>
146 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
148 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
150 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
152 * emulparams/arc-endianness.sh: New file.
153 * emulparams/arcebelf.sh: Deleted.
154 * emulparams/arcebelf_prof.sh: Deleted.
155 * emulparams/arceblinux.sh: Deleted.
156 * emulparams/arceblinux_prof.sh: Deleted.
157 * emulparams/arcelf.sh: Include arc-endinness.sh.
158 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
159 * emulparams/arclinux.sh: Include arc-endinness.sh.
160 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
161 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
162 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
163 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
164 little endian arc targets.
165 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
166 * testsuite/ld-elf/group1.d: Likewise.
167 * testsuite/ld-elf/group3b.d: Likewise.
168 * testsuite/ld-elf/group8a.d: Likewise.
169 * testsuite/ld-elf/group8b.d: Likewise.
170 * testsuite/ld-elf/group9a.d: Likewise.
171 * testsuite/ld-elf/group9b.d: Likewise.
172 * testsuite/ld-elf/linkonce2.d: Likewise.
173 * testsuite/ld-elf/pr12851.d: Likewise.
174 * testsuite/ld-elf/pr12975.d: Likewise.
175 * testsuite/ld-elf/pr13177.d: Likewise.
176 * testsuite/ld-elf/pr13195.d: Likewise.
177 * testsuite/ld-elf/pr17615.d: Likewise.
178 * testsuite/ld-elf/pr19162.d: Likewise.
179 * testsuite/ld-elf/sec64k.exp: Likewise.
180 * testsuite/lib/ld-lib.exp: Likewise.
182 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
185 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
187 * testsuite/ld-cris/tls-e-20a.d: Likewise.
188 * testsuite/ld-cris/tls-e-21.d: Likewise.
189 * testsuite/ld-cris/tls-e-23.d: Likewise.
190 * testsuite/ld-cris/tls-e-80.d: Likewise.
191 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
192 * testsuite/ld-cris/tls-leie-19.d: Likewise.
193 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
194 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
195 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
196 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
197 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
198 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
199 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
200 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
202 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
204 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
205 * testsuite/ld-discard/start.d: Likewise.
206 * testsuite/ld-discard/static.d: Likewise.
207 * testsuite/ld-elf/group1.d: Likewise.
208 * testsuite/ld-elf/group3b.d: Likewise.
209 * testsuite/ld-elf/orphan-region.d: Likewise.
210 * testsuite/ld-elf/orphan.d: Likewise.
211 * testsuite/ld-elf/orphan3.d: Likewise.
212 * testsuite/ld-elf/pr349.d: Likewise.
213 * testsuite/ld-elf/warn1.d: Likewise.
214 * testsuite/ld-elf/warn2.d: Likewise.
215 * testsuite/ld-elf/warn3.d: Likewise.
216 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
217 through linker flags.
218 * testsuite/ld-srec/srec.exp: Set as xfail.
220 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
223 * testsuite/ld-i386/pr19827-nacl.rd: New file.
224 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
226 2016-04-04 Nick Clifton <nickc@redhat.com>
229 * emultempl/pe.em (change_undef): New function. Encapsulates
230 duplicated code in pe_fixup_stdcalls and adds the newly defined
231 sym to the gc root list.
232 (pe_fixup_stdcall): Use the new function.
233 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
234 symbol to gc root list.
236 2016-03-31 Alan Modra <amodra@gmail.com>
238 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
239 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
240 (print_input_section): Don't use TO_ADDR when printing section
242 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
243 (lang_size_sections): Use TO_ADDR in relro end calculation.
245 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
247 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
248 value from regexp_diff.
249 * testsuite/ld-elf/orphan-5.l: Fix expected output.
250 * testsuite/ld-elf/orphan-6.l: Likewise.
252 2016-03-30 Alan Modra <amodra@gmail.com>
255 * ldlang.c (maybe_overlays): New static var.
256 (lang_size_sections_1): Set it here.
257 (struct check_sec): New.
258 (sort_sections_by_lma): Adjust for array of structs.
259 (sort_sections_by_vma): New function.
260 (lang_check_section_addresses): Check both LMA and VMA for overlap.
261 * testsuite/ld-scripts/rgn-over7.d: Adjust.
263 2016-03-30 Alan Modra <amodra@gmail.com>
265 * ldlang.c (lang_size_sections_1): Correct code detecting a
266 backward non-overlapping move.
268 2016-03-30 Alan Modra <amodra@gmail.com>
270 * ldlang.c (IS_TBSS): New macro, extracted from..
271 (IGNORE_SECTION): ..here.
272 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
273 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
275 2016-03-22 Nick Clifton <nickc@redhat.com>
278 * ldlang.c (lang_add_gc_name): New function. Adds the provided
279 symbol name to the list of gc symbols.
280 (lang_process): Call lang_add_gc_name with entry_symbol_default if
281 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
282 and fini function names.
283 * pe-dll.c (process_def_file_and_drectve): Add exported names to
285 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
286 * testsuite/ld-pe/pr19803.d: Tweak expected output.
288 2016-03-22 Nick Clifton <nickc@redhat.com>
290 * configure: Regenerate.
292 2016-03-21 Nick Clifton <nickc@redhat.com>
294 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
295 * plugin.c: Likewise.
296 * pe-dll.c: Likewise.
298 2016-03-18 Awson <kyrab@mail.ru>
301 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
303 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
305 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
307 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
309 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
312 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
313 * testsuite/ld-x86-64/x86-64.exp: Likewise.
314 * testsuite/ld-i386/pr19827.rd: New file.
315 * testsuite/ld-i386/pr19827a.S: Likewise.
316 * testsuite/ld-i386/pr19827b.S: Likewise.
317 * testsuite/ld-x86-64/pr19827.rd: Likewise.
318 * testsuite/ld-x86-64/pr19827a.S: Likewise.
319 * testsuite/ld-x86-64/pr19827b.S: Likewise.
321 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
324 * Makefile.am (ELF_X86_DEPS): Add
325 $(srcdir)/emulparams/reloc_overflow.sh.
326 * Makefile.in: Regenerated.
327 * NEWS: Mention -z noreloc-overflow.
328 * ld.texinfo: Document -z noreloc-overflow.
329 * emulparams/elf32_x86_64.sh: Source
330 ${srcdir}/emulparams/reloc_overflow.sh.
331 * emulparams/elf_x86_64.sh: Likewise.
332 * emulparams/reloc_overflow.sh: New file.
333 * testsuite/ld-x86-64/pr19807-1.s: New file.
334 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
335 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
336 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
337 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
338 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
339 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
340 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
341 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
342 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
344 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
347 * testsuite/ld-i386/i386.exp: Run pr19539.
348 * testsuite/ld-i386/pr19539.d: New file.
349 * testsuite/ld-i386/pr19539.s: Likewise.
350 * testsuite/ld-i386/pr19539.t: Likewise.
351 * testsuite/ld-x86-64/pr19539.s: Likewise.
352 * testsuite/ld-x86-64/pr19539.t: Likewise.
353 * testsuite/ld-x86-64/pr19539a.d: Likewise.
354 * testsuite/ld-x86-64/pr19539b.d: Likewise.
355 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
357 2016-03-10 Mickael Guene <mickael.guene@st.com>
360 * testsuite/ld-arm/arm-elf.exp: New tests.
361 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
362 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
364 2016-03-10 Nick Clifton <nickc@redhat.com>
366 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
368 2016-03-09 Pedro Alves <palves@redhat.com>
370 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
371 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
373 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
376 * testsuite/ld-elf/pr19789.d: New file.
377 * testsuite/ld-elf/pr19789.s: Likewise.
379 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
382 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
383 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
384 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
385 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
386 * testsuite/ld-ifunc/pass.out: New file.
387 * testsuite/ld-ifunc/pr19784a.c: Likewise.
388 * testsuite/ld-ifunc/pr19784b.c: Likewise.
389 * testsuite/ld-ifunc/pr19784c.c: Likewise.
391 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
394 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
395 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
396 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
397 --as-needed for pr18841c.
399 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
402 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
403 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
404 before tmpdir/got1d.so and test --as-needed.
405 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
406 tmpdir/pr18900.so and test --as-needed.
408 2016-03-07 Jiong Wang <jiong.wang@arm.com>
410 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
411 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
413 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
415 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
417 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
418 before tmpdir/copyreloc-lib.so and test --as-needed.
419 * testsuite/ld-x86-64/x86-64.exp: Likewise.
421 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
424 * testsuite/ld-elf/pr19579a.c: New file.
425 * testsuite/ld-elf/pr19579b.c: Likewise.
426 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
428 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
430 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
432 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
434 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
435 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
437 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
440 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
441 input sections for relocatable link.
442 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
443 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
445 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
448 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
449 merge flags of other input sections for relocatable link.
451 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
453 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
455 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
457 * testsuite/ld-elf/pr19162.d: Skip arc target.
459 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
462 * testsuite/ld-elf/pr19162.d: New file.
463 * testsuite/ld-elf/pr19162a.s: Likwise.
464 * testsuite/ld-elf/pr19162b.s: Likwise.
466 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
468 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
469 * testsuite/ld-elf/merge2.d: Likewise.
470 * testsuite/ld-elf/merge3.d: Likewise.
472 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
474 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
477 2016-02-26 Renlin Li <renlin.li@arm.com>
479 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
480 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
481 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
482 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
483 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
484 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
485 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
486 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
487 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
488 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
490 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
493 * testsuite/ld-i386/got1.dd: Updated.
494 * testsuite/ld-i386/lea1c.d: Likewise.
495 * testsuite/ld-i386/load1-nacl.d: Likewise.
496 * testsuite/ld-i386/load1.d: Likewise.
497 * testsuite/ld-i386/load4b.d: Likewise.
498 * testsuite/ld-i386/load5b.d: Likewise.
499 * testsuite/ld-i386/mov1b.d: Likewise.
500 * testsuite/ld-x86-64/mov1b.d: Likewise.
501 * testsuite/ld-x86-64/mov1d.d: Likewise.
502 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
503 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
504 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
505 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
506 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
507 * testsuite/ld-x86-64/lea1a.d: Likewise.
508 * testsuite/ld-x86-64/lea1b.d: Likewise.
509 * testsuite/ld-x86-64/lea1c.d: Likewise.
510 * testsuite/ld-x86-64/lea1d.d: Likewise.
511 * testsuite/ld-x86-64/lea1e.d: Likewise.
512 * testsuite/ld-x86-64/lea1f.d: Likewise.
513 * testsuite/ld-x86-64/mov1b.d: Likewise.
514 * testsuite/ld-x86-64/mov1d.d: Likewise.
515 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
516 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
517 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
518 * testsuite/ld-i386/pr19609-1.s: New file.
519 * testsuite/ld-i386/pr19609-1a.d: Likewise.
520 * testsuite/ld-i386/pr19609-1b.d: Likewise.
521 * testsuite/ld-i386/pr19609-1c.d: Likewise.
522 * testsuite/ld-i386/pr19609-1d.d: Likewise.
523 * testsuite/ld-i386/pr19609-1e.d: Likewise.
524 * testsuite/ld-i386/pr19609-1f.d: Likewise.
525 * testsuite/ld-i386/pr19609-1g.d: Likewise.
526 * testsuite/ld-i386/pr19609-1h.d: Likewise.
527 * testsuite/ld-i386/pr19609-1i.d: Likewise.
528 * testsuite/ld-i386/pr19609-2.s: Likewise.
529 * testsuite/ld-i386/pr19609-2a.d: Likewise.
530 * testsuite/ld-i386/pr19609-2b.d: Likewise.
531 * testsuite/ld-i386/pr19609-2c.d: Likewise.
532 * testsuite/ld-i386/undefweak.s: Likewise.
533 * testsuite/ld-i386/undefweaka.d: Likewise.
534 * testsuite/ld-i386/undefweakb.d: Likewise.
535 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
536 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
537 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
538 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
539 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
540 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
541 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
542 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
543 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
544 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
545 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
546 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
547 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
548 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
549 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
550 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
551 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
552 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
553 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
554 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
555 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
556 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
557 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
558 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
559 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
560 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
561 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
562 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
563 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
564 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
565 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
566 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
567 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
568 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
569 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
570 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
571 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
572 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
573 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
574 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
575 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
576 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
577 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
578 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
579 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
580 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
581 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
583 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
584 and tests for PR ld/19609.
586 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
589 * NEWS: Mention -z common/-z nocommon for ELF targets.
590 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
591 -z common and -z nocommon.
592 * ld.texinfo: Document -z common/-z nocommon.
593 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
594 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
595 --elf-stt-common=yes with assembler.
596 * testsuite/ld-elfcomm/common-1.s: New file.
597 * testsuite/ld-elfcomm/common-1a.d: Likewise.
598 * testsuite/ld-elfcomm/common-1b.d: Likewise.
599 * testsuite/ld-elfcomm/common-1c.d: Likewise.
600 * testsuite/ld-elfcomm/common-1d.d: Likewise.
601 * testsuite/ld-elfcomm/common-1e.d: Likewise.
602 * testsuite/ld-elfcomm/common-1f.d: Likewise.
603 * testsuite/ld-elfcomm/common-2.s: Likewise.
604 * testsuite/ld-elfcomm/common-2a.d: Likewise.
605 * testsuite/ld-elfcomm/common-2b.d: Likewise.
606 * testsuite/ld-elfcomm/common-2c.d: Likewise.
607 * testsuite/ld-elfcomm/common-2d.d: Likewise.
608 * testsuite/ld-elfcomm/common-2e.d: Likewise.
609 * testsuite/ld-elfcomm/common-2f.d: Likewise.
610 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
611 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
612 * testsuite/ld-i386/pr19645.d: Likewise.
613 * testsuite/ld-i386/pr19645.s: Likewise.
614 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
615 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
616 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
617 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
618 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
619 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
620 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
621 * testsuite/ld-x86-64/pr19645.d: Likewise.
622 * testsuite/ld-x86-64/pr19645.s: Likewise.
623 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
625 (assembler_generates_commons): Removed.
626 Run -z common/-z nocommon tests. Run *.d tests.
627 * testsuite/ld-i386/i386.exp: Run pr19645.
628 * testsuite/ld-x86-64/x86-64.exp: Likewise.
629 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
630 assembler. Test STT_COMMON with readelf.
632 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
637 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
638 * Makefile.in: Regenerated.
639 * NEWS: Mention -z nodynamic-undefined-weak.
640 * ld.texinfo: Document -z nodynamic-undefined-weak.
641 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
642 * emulparams/dynamic_undefined_weak.sh: New file.
643 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
644 * emulparams/elf_i386.sh: Likewise.
645 * emulparams/elf_i386_be.sh: Likewise.
646 * emulparams/elf_i386_chaos.sh: Likewise.
647 * emulparams/elf_i386_ldso.sh: Likewise.
648 * emulparams/elf_i386_vxworks.sh: Likewise.
649 * emulparams/elf_iamcu.sh: Likewise.
650 * emulparams/elf_k1om.sh: Likewise.
651 * emulparams/elf_l1om.sh: Likewise.
652 * emulparams/elf_x86_64.sh: Likewise.
653 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
655 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
656 * testsuite/ld-elf/pr19719a.c: New file.
657 * testsuite/ld-elf/pr19719b.c: Likewise.
658 * testsuite/ld-elf/pr19719c.c: Likewise.
659 * testsuite/ld-elf/pr19719d.c: Likewise.
660 * testsuite/ld-i386/pr19636-1.s: Likewise.
661 * testsuite/ld-i386/pr19636-1a.d: Likewise.
662 * testsuite/ld-i386/pr19636-1b.d: Likewise.
663 * testsuite/ld-i386/pr19636-1c.d: Likewise.
664 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
665 * testsuite/ld-i386/pr19636-1d.d: Likewise.
666 * testsuite/ld-i386/pr19636-1e.d: Likewise.
667 * testsuite/ld-i386/pr19636-1f.d: Likewise.
668 * testsuite/ld-i386/pr19636-1g.d: Likewise.
669 * testsuite/ld-i386/pr19636-1h.d: Likewise.
670 * testsuite/ld-i386/pr19636-1i.d: Likewise.
671 * testsuite/ld-i386/pr19636-2.s: Likewise.
672 * testsuite/ld-i386/pr19636-2a.d: Likewise.
673 * testsuite/ld-i386/pr19636-2b.d: Likewise.
674 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
675 * testsuite/ld-i386/pr19636-2c.d: Likewise.
676 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
677 * testsuite/ld-i386/pr19636-2d.d: Likewise.
678 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
679 * testsuite/ld-i386/pr19636-2e.d: Likewise.
680 * testsuite/ld-i386/pr19636-3.s: Likewise.
681 * testsuite/ld-i386/pr19636-3a.d: Likewise.
682 * testsuite/ld-i386/pr19636-3b.d: Likewise.
683 * testsuite/ld-i386/pr19636-3c.d: Likewise.
684 * testsuite/ld-i386/pr19636-3d.d: Likewise.
685 * testsuite/ld-i386/pr19636-3e.d: Likewise.
686 * testsuite/ld-i386/pr19636-3f.d: Likewise.
687 * testsuite/ld-i386/pr19636-3g.d: Likewise.
688 * testsuite/ld-i386/pr19636-4.s: Likewise.
689 * testsuite/ld-i386/pr19636-4a.d: Likewise.
690 * testsuite/ld-i386/pr19636-4b.d: Likewise.
691 * testsuite/ld-i386/pr19636-4c.d: Likewise.
692 * testsuite/ld-i386/pr19636-4d.d: Likewise.
693 * testsuite/ld-i386/pr19704.out: Likewise.
694 * testsuite/ld-i386/pr19704a.c: Likewise.
695 * testsuite/ld-i386/pr19704b.c: Likewise.
696 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
697 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
698 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
699 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
700 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
701 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
702 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
703 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
704 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
705 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
706 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
707 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
708 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
709 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
710 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
711 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
712 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
713 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
714 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
715 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
716 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
717 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
718 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
719 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
720 * testsuite/ld-x86-64/pr19704.out: Likewise.
721 * testsuite/ld-x86-64/pr19704a.c: Likewise.
722 * testsuite/ld-x86-64/pr19704b.c: Likewise.
723 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
724 Run mix_pic_and_non_pic.
725 * testsuite/ld-i386/i386.exp (undefined_weak): New.
726 Run undefined_weak and PR ld/19636 tests.
727 * testsuite/ld-x86-64/x86-64.exp: Likewise.
728 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
729 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
731 2016-02-25 Nick Clifton <nickc@redhat.com>
733 * ld.h (struct ld_config_type): Remove specified_data_size field.
735 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
738 * testsuite/ld-elf/pr19698.d: New file.
739 * testsuite/ld-elf/pr19698.s: Likewise.
740 * testsuite/ld-elf/pr19698.t: Likewise.
742 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
744 * Makefile.am (ELF_X86_DEPS): New.
745 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
746 (eelf_i386_chaos.c): Likewise.
747 (eelf_i386_fbsd.c): Likewise.
748 (eelf_i386_ldso.c): Likewise.
749 (eelf_i386_nacl.c): Likewise.
750 (eelf_i386_sol2.c): Likewise.
751 (eelf_iamcu.c): Likewise.
752 (eelf32_x86_64.c): Likewise.
753 (eelf32_x86_64_nacl.c): Likewise.
754 (eelf_l1om.c): Likewise.
755 (eelf_l1om_fbsd.c): Likewise.
756 (eelf_k1om.c): Likewise.
757 (eelf_k1om_fbsd.c): Likewise.
758 (eelf_x86_64.c): Likewise.
759 (eelf_x86_64_cloudabi.c): Likewise.
760 (eelf_x86_64_fbsd.c): Likewise.
761 (eelf_x86_64_sol2.c): Likewise.
762 * Makefile.in: Regenerated.
764 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
766 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
767 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
768 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
769 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
771 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
773 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
775 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
777 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
778 *-*-gnu* and *-*-solaris*.
779 * testsuite/ld-elf/pr19617b.d: Likewise.
780 * testsuite/ld-elf/pr19617c.d: Likewise.
782 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
785 * testsuite/ld-elf/pr19617.s: New file.
786 * testsuite/ld-elf/pr19617a.d: Likewise.
787 * testsuite/ld-elf/pr19617b.d: Likewise.
788 * testsuite/ld-elf/pr19617c.d: Likewise.
790 2016-02-18 Nick Clifton <nickc@redhat.com>
792 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
793 in-tree xg++ executable after checking for the presence of an
794 in-tree g++ executable.
795 * Makefile.in: Regenerate.
797 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
799 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
800 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
801 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
803 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
805 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
806 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
807 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
808 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
809 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
810 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
811 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
812 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
813 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
814 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
815 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
816 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
817 * testsuite/ld-x86-64/load1c.d: Likewise.
818 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
819 * testsuite/ld-x86-64/load1d.d: Likewise.
820 * testsuite/ld-x86-64/pr14207.d: Likewise.
821 * testsuite/ld-x86-64/pr19162.d: Likewise.
822 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
823 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
824 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
825 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
826 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
827 * testsuite/ld-x86-64/tlspic.rd: Likewise.
829 2016-02-17 Nick Clifton <nickc@redhat.com>
831 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
833 2016-02-15 Nick Clifton <nickc@redhat.com>
835 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
836 description of the flags produced by readelf.
837 * testsuite/ld-i386/pr12921.d: Likewise.
838 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
839 * testsuite/ld-i386/tlsbin.rd: Likewise.
840 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
841 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
842 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
843 * testsuite/ld-i386/tlsdesc.rd: Likewise.
844 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
845 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
846 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
847 * testsuite/ld-i386/tlsnopic.rd: Likewise.
848 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
849 * testsuite/ld-i386/tlspic.rd: Likewise.
850 * testsuite/ld-s390/tlsbin.rd: Likewise.
851 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
852 * testsuite/ld-s390/tlspic.rd: Likewise.
853 * testsuite/ld-s390/tlspic_64.rd: Likewise.
854 * testsuite/ld-sh/tlsbin-2.d: Likewise.
855 * testsuite/ld-sh/tlspic-2.d: Likewise.
856 * testsuite/ld-tic6x/common.d: Likewise.
857 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
858 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
859 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
860 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
861 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
862 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
863 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
864 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
865 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
866 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
867 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
868 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
869 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
870 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
871 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
872 * testsuite/ld-x86-64/pr12718.d: Likewise.
873 * testsuite/ld-x86-64/pr12921.d: Likewise.
874 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
875 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
876 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
877 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
878 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
879 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
880 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
881 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
882 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
883 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
884 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
885 * testsuite/ld-x86-64/tlspic.rd: Likewise.
886 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
887 * testsuite/ld-xtensa/tlspic.rd: Likewise.
889 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
892 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
894 * lexsup.c (parse_args): Enable -Bsymbolic and
895 -Bsymbolic-functions for PIE.
896 * testsuite/ld-i386/i386.exp: Run pr19615.
897 * testsuite/ld-i386/pr19615.d: New file.
898 * testsuite/ld-i386/pr19615.s: Likewise.
899 * testsuite/ld-x86-64/pr19615.d: Likewise.
900 * testsuite/ld-x86-64/pr19615.s: Likewise.
902 2016-02-09 Nick Clifton <nickc@redhat.com>
904 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
905 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
906 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
907 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
909 2016-02-04 Nick Clifton <nickc@redhat.com>
911 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
912 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
913 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
914 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
915 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
916 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
917 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
918 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
919 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
921 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
924 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
925 * testsuite/ld-i386/call1.d: Likewise.
926 * testsuite/ld-i386/call2.d: Likewise.
927 * testsuite/ld-i386/call3a.d: Likewise.
928 * testsuite/ld-i386/call3b.d: Likewise.
929 * testsuite/ld-i386/call3c.d: Likewise.
930 * testsuite/ld-i386/call3d.d: Likewise.
931 * testsuite/ld-i386/call3e.d: Likewise.
932 * testsuite/ld-i386/call3f.d: Likewise.
933 * testsuite/ld-i386/call3g.d: Likewise.
934 * testsuite/ld-i386/call3h.d: Likewise.
935 * testsuite/ld-i386/jmp1.d: Likewise.
936 * testsuite/ld-i386/jmp2.d: Likewise.
937 * testsuite/ld-i386/lea1c.d: Likewise.
938 * testsuite/ld-i386/load1.d: Likewise.
939 * testsuite/ld-i386/load2.d: Likewise.
940 * testsuite/ld-i386/load3.d: Likewise.
941 * testsuite/ld-i386/load4a.d: Likewise.
942 * testsuite/ld-i386/load5a.d: Likewise.
943 * testsuite/ld-i386/mov2b.d: Likewise.
944 * testsuite/ld-i386/mov3.d: Likewise.
945 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
946 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
947 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
948 * testsuite/ld-x86-64/call1a.d: Likewise.
949 * testsuite/ld-x86-64/call1b.d: Likewise.
950 * testsuite/ld-x86-64/call1c.d: Likewise.
951 * testsuite/ld-x86-64/call1d.d: Likewise.
952 * testsuite/ld-x86-64/call1e.d: Likewise.
953 * testsuite/ld-x86-64/call1f.d: Likewise.
954 * testsuite/ld-x86-64/call1h.d: Likewise.
955 * testsuite/ld-x86-64/call1i.d: Likewise.
956 * testsuite/ld-x86-64/load1a.d: Likewise.
957 * testsuite/ld-x86-64/load1b.d: Likewise.
958 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
959 * testsuite/ld-i386/got1.dd: Updated.
960 * testsuite/ld-i386/got1d.S (1): Removed.
961 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
962 * testsuite/ld-x86-64/x86-64.exp: Likewise.
964 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
967 * testsuite/ld-x86-64/pr18591.d: New file.
968 * testsuite/ld-x86-64/pr18591.s: Likewise.
969 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
971 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
974 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
975 * testsuite/ld-elf/pr19553.map: New file.
976 * testsuite/ld-elf/pr19553.map: Likewise.
977 * testsuite/ld-elf/pr19553a.c: Likewise.
978 * testsuite/ld-elf/pr19553b.c: Likewise.
979 * testsuite/ld-elf/pr19553b.out: Likewise.
980 * testsuite/ld-elf/pr19553c.c: Likewise.
981 * testsuite/ld-elf/pr19553c.out: Likewise.
982 * testsuite/ld-elf/pr19553d.c: Likewise.
983 * testsuite/ld-elf/pr19553d.out: Likewise.
985 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
988 * testsuite/ld-elf/pr19539.d: New file.
989 * testsuite/ld-elf/pr19539.s: Likewise.
990 * testsuite/ld-elf/pr19539.t: Likewise.
992 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
995 * configure.ac (compressed_debug_sections): Replace == with =.
996 * configure: Regenerated.
998 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1000 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1001 * scripttempl/avrtiny.sc (.noinit): Likewise.
1003 2016-01-21 Nick Clifton <nickc@redhat.com>
1006 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1007 the arm-netbsdelf target.
1010 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1011 disassmebler output.
1012 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1013 * testsuite/ld-arm/vxworks1.dd: Likewise.
1014 * testsuite/ld-arm/vxworks1.rd: Likewise.
1015 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1017 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1019 * testsuite/ld-aarch64/farcall-section.d: Delete.
1020 * testsuite/ld-aarch64/farcall-section.s: Delete.
1021 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1022 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1023 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1024 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1025 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1027 2016-01-20 Nick Clifton <nickc@redhat.com>
1030 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1031 early for PE based targets.
1032 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1033 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1035 2016-01-20 Mickael Guene <mickael.guene@st.com>
1037 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1038 Add 'y' attribute usage.
1039 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1040 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1041 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1043 2016-01-19 Nick Clifton <nickc@redhat.com>
1045 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1046 foo@FOO and bar@@FOO.
1048 2016-01-18 Alan Modra <amodra@gmail.com>
1050 * configure: Regenerate.
1052 2016-01-18 Nick Clifton <nickc@redhat.com>
1054 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1055 is not configured to support plugins.
1057 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1058 but with 16 byte section alignment.
1059 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1060 test for MIPS targets.
1062 2016-01-17 Alan Modra <amodra@gmail.com>
1064 * configure: Regenerate.
1066 2016-01-17 Alan Modra <amodra@gmail.com>
1068 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1069 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1070 * testsuite/ld-elf/pr14156a.d: Likewise.
1071 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1072 * testsuite/ld-elf/sec64k.exp: Likewise.
1074 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1076 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1077 Set address of .foo section when linking.
1078 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1080 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1081 output to the above changes.
1083 2016-01-13 Nick Clifton <nickc@redhat.com>
1085 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1088 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1089 fail for MIPS targets.
1091 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1094 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1096 * testsuite/ld-arm/arm-elf.exp: New test.
1097 * testsuite/ld-arm/unwind-mix.d: New file.
1098 * testsuite/ld-arm/unwind-mix1.s: New file.
1099 * testsuite/ld-arm/unwind-mix2.s: New file.
1101 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1104 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1105 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1106 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1107 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1108 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1109 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1111 2016-01-05 Nick Clifton <nickc@redhat.com>
1113 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1114 MSP430 hardware multiply address range.
1115 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1116 (__romdatacopysize): Define.
1117 * scripttempl/elf32msp430_3.sc: Likewise.
1119 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1121 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1122 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1124 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1126 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1127 messages expected according to MIPS BFD private data merge
1129 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1130 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1131 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1132 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1133 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1134 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1135 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1136 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1137 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1138 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1139 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1140 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1141 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1143 2016-01-01 Alan Modra <amodra@gmail.com>
1145 Update year range in copyright notice of all files.
1147 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1149 Copyright (C) 2016 Free Software Foundation, Inc.
1151 Copying and distribution of this file, with or without modification,
1152 are permitted in any medium without royalty provided the copyright
1153 notice and this notice are preserved.
1159 version-control: never