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