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