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