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