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