1 2017-03-13 Tristan Gingold <gingold@adacore.com>
3 * ldlang.c (lang_check_section_addresses): Check for address space
5 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
6 * testsuite/ld-checks/over.s: New test source.
7 * testsuite/ld-checks/over.d: New test.
8 * testsuite/ld-checks/over2.s: New test source.
9 * testsuite/ld-checks/over2.d: New test.
11 2017-03-13 Alexey Neyman <stilor@att.net>
13 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
16 2017-03-11 Alan Modra <amodra@gmail.com>
18 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
19 sysroot for -rpath search.
21 2017-03-11 Alan Modra <amodra@gmail.com>
23 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
24 Only prefix absolute paths with sysroot. Handle DOS paths.
25 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
26 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
27 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
28 searches. Rename variable. Simplify get_runpath search.
30 2017-03-11 Alan Modra <amodra@gmail.com>
32 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
35 2017-03-11 Alan Modra <amodra@gmail.com>
37 * ld.texinfo (Orphan Sections): Mention that not all targets
39 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
40 * testsuite/ld-elf/orphan-10.d: Likewise.
42 2017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
44 * ldlang.c (lang_size_sections_1): Shortcut loop only after
45 tracking changes to the default regions LMA.
46 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
47 * testsuite/ld-elf/orphan-10.d: New file.
48 * testsuite/ld-elf/orphan-10.s: New file.
49 * NEWS: Mention change in behaviour.
51 2017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
53 * ldlang.c (lang_leave_output_section_statement): Move lma_region
55 (lang_propagate_lma_regions): ...this new function.
56 (lang_process): Call new function.
57 * testsuite/ld-elf/orphan-9.d: New file.
58 * testsuite/ld-elf/orphan-9.ld: New file.
59 * testsuite/ld-elf/orphan-9.s: New file.
60 * NEWS: Mention change in behaviour.
62 2017-03-07 Alan Modra <amodra@gmail.com>
64 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
65 is not an assert before referencing defsym.
67 2017-03-05 Alan Modra <amodra@gmail.com>
69 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
70 * testsuite/ld-elf/eh6.d: Likewise.
71 * testsuite/ld-alpha/tlsbin.dd: Likewise.
72 * testsuite/ld-alpha/tlsbin.td: Likewise.
73 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
74 * testsuite/ld-alpha/tlspic.dd: Likewise.
75 * testsuite/ld-alpha/tlspic.rd: Likewise.
76 * testsuite/ld-alpha/tlspic.sd: Likewise.
77 * testsuite/ld-alpha/tlspic.td: Likewise.
78 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
79 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
80 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
81 * testsuite/ld-x86-64/pr20830a.d: Likewise.
82 * testsuite/ld-x86-64/pr21038a.d: Likewise.
83 * testsuite/ld-x86-64/pr21038b.d: Likewise.
84 * testsuite/ld-x86-64/pr21038c.d: Likewise.
86 2017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
89 * pe-dll.c (generate_edata): Fail if the input file(s) require too
92 2017-03-02 Alan Modra <amodra@gmail.com>
94 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
97 2017-02-28 Alan Modra <amodra@gmail.com>
99 * testsuite/ld-elf/merge.d: xfail for nios.
101 2017-02-28 Alan Modra <amodra@gmail.com>
103 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
104 limits of addpcis range.
106 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
108 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
110 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
111 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
113 2017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
116 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
117 (.rodata): New section.
118 (.data): Remove .rodata*.
120 2017-02-25 Alan Modra <amodra@gmail.com>
122 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
123 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
124 defining HPUX where necessary. Define HPUX for implib tests.
125 * testsuite/ld-elf/comm-data4.d: Run for hpux.
126 * testsuite/ld-elf/endsym.d: Likewise.
127 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
128 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
129 * testsuite/ld-elf/comm-data5.s: Likewise.
130 * testsuite/ld-elf/endsym.s: Likewise.
131 * testsuite/ld-elf/pr14170c.s: Likewise.
132 * testsuite/ld-elf/symbol3.s: Likewise.
133 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
135 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
136 * testsuite/ld-elf/warn3.d: Run for hpux.
137 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
138 * testsuite/ld-scripts/rgn-at11.d: Likewise.
139 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
141 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
143 * testsuite/ld-elf/ver_def.d: New test.
144 * testsuite/ld-elf/ver_def.ld: New test linker script.
145 * testsuite/ld-elf/ver_def.ver: New test version script.
146 * testsuite/ld-elf/ver_def.s: New test source.
147 * testsuite/ld-elf/readelf.exp: New test script.
149 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
151 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
153 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
154 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
155 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
157 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
159 * testsuite/ld-mips-elf/jalr4.dd: New test.
160 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
162 2017-02-23 Alan Modra <amodra@gmail.com>
165 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
167 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
168 and sdarel reloc fix.
170 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
173 * testsuite/ld-elf/pr20828-d.sd: New test.
174 * testsuite/ld-elf/pr20828-e.sd: New test.
175 * testsuite/ld-elf/pr20828-v.od: New test.
176 * testsuite/ld-elf/pr20828-v.ver: New test version script.
177 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
178 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
180 * testsuite/ld-elf/shared.exp: Run the new tests.
182 2017-02-21 Nick Clifton <nickc@redhat.com>
184 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
185 about non-void function returning without a result.
187 2017-02-17 Alan Modra <amodra@gmail.com>
190 * scripttempl/pe.sc: Don't combine sections for ld -r.
191 * scripttempl/pep.sc: Likewise.
193 2017-02-17 Alan Modra <amodra@gmail.com>
196 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
197 rather than using OTHER_SECTIONS.
198 * emulparams/elf32mt.sh: Likewise.
199 * emulparams/elf32rx.sh: Likewise.
200 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
202 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
203 rather than using OTHER_SECTIONS.
204 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
205 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
206 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
207 * emulparams/shelf_uclinux.sh: Likewise.
208 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
209 to define _stack, not OTHER_SECTIONS.
210 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
211 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
212 * scripttempl/arclinux.sc: Likewise.
213 * scripttempl/elf64hppa.sc: Likewise.
214 * scripttempl/elfxtensa.sc: Likewise.
215 * scripttempl/nds32elf.sc: Likewise.
216 * scripttempl/armbpabi.sc: Move STACK before debug sections.
217 * scripttempl/elf_chaos.sc: Likewise.
218 * scripttempl/elfarc.sc: Delete STACK.
219 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
220 TINY_BSS_SECTION, and .stack before debug sections.
222 2017-02-17 Nick Clifton <nickc@redhat.com>
225 * ld.texinfo (Options): Add missing @item entry for --pop-state.
227 2017-02-17 Alan Modra <amodra@gmail.com>
229 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
230 multiple definition errors.
232 2017-02-17 Alan Modra <amodra@gmail.com>
234 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
235 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
237 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
239 * testsuite/ld-elf/shared.exp: Update expected results.
240 * testsuite/ld-elf/dwarf2.err: Likewise
242 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
244 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
245 * testsuite/ld-elf/dwarf2.err: New file.
246 * testsuite/ld-elf/dwarf2a.c: New file.
247 * testsuite/ld-elf/dwarf2b.c: New file.
248 * testsuite/ld-elf/dwarf3.c: New file.
249 * testsuite/ld-elf/dwarf3.err: New file.
251 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
253 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
254 error, warning_output, and error_output actions. Remove separate
256 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
258 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
260 2017-02-16 Alan Modra <amodra@gmail.com>
262 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
263 from void pointers to function pointers.
264 * testsuite/ld-elf/pr18718.c: Update to suit.
265 * testsuite/ld-elf/pr18720a.c: Update to suit.
267 2017-02-16 Alan Modra <amodra@gmail.com>
270 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
271 * testsuite/ld-elf/loadaddr2.d: Likewise.
272 * testsuite/ld-elf/loadaddr3a.d: Likewise.
273 * testsuite/ld-scripts/rgn-at5.d: Likewise.
275 2017-02-16 Alan Modra <amodra@gmail.com>
277 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
278 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
280 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
283 * testsuite/ld-i386/i386.exp: Run pr21168.
284 * testsuite/ld-i386/pr21168a.c: New file.
285 * testsuite/ld-i386/pr21168b.S: Likewise.
287 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
290 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
292 * testsuite/ld-i386/pr20244-4.s: New file.
293 * testsuite/ld-i386/pr20244-4a.d: Likewise.
294 * testsuite/ld-i386/pr20244-4b.d: Likewise.
295 * testsuite/ld-i386/pr20244-4c.d: Likewise.
297 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
299 * ldmisc.c (vfinfo): Don't print the function name again either
300 if no source file name has been found both now and previously.
301 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
302 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
303 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
304 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
305 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
306 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
307 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
308 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
309 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
310 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
312 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
314 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
316 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
317 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
319 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
321 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
322 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
323 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
324 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
325 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
326 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
327 * testsuite/ld-powerpc/tocopt.out: Likewise.
328 * testsuite/ld-powerpc/tocopt7.out: Likewise.
330 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
332 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
334 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
336 * testsuite/ld-scripts/sysroot-prefix.exp
337 (get_base_dir_for_scripts): New function.
338 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
340 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
342 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
343 _gp to __global_pointer$
345 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
347 * configure.tgt (arc*-*-linux*): Change the default linker
348 emulation based on --with-cpu selection.
349 * NEWS: Mention new configuration option.
351 2017-02-06 Jiong Wang <jiong.wang@arm.com>
353 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
356 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
358 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
360 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
362 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
365 2017-02-02 Jiong Wang <jiong.wang@arm.com>
367 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
368 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
369 dlopen support into "dlopen_run_tests". These tests include dl1*main
371 (dlopen_run_tests): New and only run it when check_libdl_available
372 returns true. XFAIL on *-*-netbsdelf*.
374 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
376 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
377 presentation of relocation addends.
378 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
379 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
380 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
382 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
384 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
386 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
387 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
389 2017-02-01 Jiong Wang <jiong.wang@arm.com>
391 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
392 Append $board_cflags to link commands.
394 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
396 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
397 check for digit in second decimal place.
399 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
402 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
405 2017-01-31 Nick Clifton <nickc@redhat.com>
407 * ldmain.c (add_archive_element): Eliminate string buffer.
408 * ldlang.c (lang_print_asneeded): Likewise.
410 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
412 * emultempl/mipself.em (ignore_branch_isa): New variable.
413 (mips_create_output_section_statements): Rename
414 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
415 add `ignore_branch_isa' argument.
416 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
417 OPTION_NO_IGNORE_BRANCH_ISA enum values.
418 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
419 "no-ignore-branch-isa" options.
420 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
421 `--no-ignore-branch-isa'.
422 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
423 OPTION_NO_IGNORE_BRANCH_ISA.
425 * ld.texinfo (Options specific to MIPS targets): Add
426 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
427 (ld and the MIPS family): Likewise.
429 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
430 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
431 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
432 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
433 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
434 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
436 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
438 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
440 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
443 Fix long-standing buglet and fallout from now-default initfini-array.
444 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
445 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
447 2017-01-27 Jiong Wang <jiong.wang@arm.com>
449 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
452 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
453 Nick Clifton <nickc@redhat.com>
456 * ld.texinfo (Options): Extend documentation of the --plugin
457 option. Include a description of where the plugins should be
460 2017-01-27 Nick Clifton <nickc@redhat.com>
462 * po/sr.po: New Serbian translation.
463 * configure.ac (ALL_LINGUAS): Add sr.
464 * configure: Regenerate.
466 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
468 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
469 (bfin-*-rtems*): Move to (bfin*-*-elf*).
470 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
471 (m68*-*-rtems*): Move to (m68*-*-elf*).
472 (mips*-*-rtems*): Move to (mips*-*-elf*).
473 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
474 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
475 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
476 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
478 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
480 * configure.tgt (h8300-*-rtemscoff*): Remove.
481 (i960-*-rtems*): Likewise.
482 (m68*-*-rtemscoff*): Likewise.
483 (sh-*-rtemscoff*): Likewise.
485 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
487 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
488 add implicit version nodes if an anonymous version tag is being
491 2017-01-24 Jiong Wang <jiong.wang@arm.com>
493 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
494 "Compile 8a", "Compile 8b"...
495 (lto_compile_elf_tests): ...to here. Always run these tests.
496 (lto_run_elf_tests): Move "LTO 7"...
497 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
498 environment where share library is supported.
500 2017-01-24 Alan Modra <amodra@gmail.com>
502 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
504 * testsuite/ld-powerpc/tlsexe.d: Likewise.
505 * testsuite/ld-powerpc/tlsexe.g: Likewise.
507 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
509 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
510 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
511 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
512 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
513 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
514 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
515 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
516 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
517 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
518 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
519 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
520 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
521 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
523 2017-01-23 Nick Clifton <nickc@redhat.com>
525 * po/ga.po: Updated Irish translation.
527 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
530 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
532 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
535 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
536 `fdata' and `edata' respectively.
537 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
538 * testsuite/ld-elf/pr20828-a.sd: Likewise.
539 * testsuite/ld-elf/pr20828-b.sd: Likewise.
540 * testsuite/ld-elf/pr20828-c.sd: Likewise.
542 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
545 * testsuite/ld-elf/pr20828-1.sd: Remove test.
546 * testsuite/ld-elf/pr20828-a.sd: New test.
547 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
548 * testsuite/ld-elf/pr20828-b.sd: ... this.
549 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
550 * testsuite/ld-elf/pr20828-c.sd: ... this.
551 * testsuite/ld-elf/shared.exp: Adjust accordingly.
553 2017-01-23 Jiong Wang <jiong.wang@arm.com>
555 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
556 board_cflags as gcc is used as linker driver.
557 * testsuite/ld-unique/unique.exp: Likewise
559 2017-01-20 Jiong Wang <jiong.wang@arm.com>
561 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
562 * testsuite/ld-aarch64/func-in-so.s: New test source file.
563 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
564 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
566 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
568 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
570 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
573 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
574 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
576 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
579 * testsuite/ld-elf/pr20828-1.sd: New test.
580 * testsuite/ld-elf/pr20828-2a.sd: New test.
581 * testsuite/ld-elf/pr20828-2b.sd: New test.
582 * testsuite/ld-elf/pr20828.ld: New test linker script.
583 * testsuite/ld-elf/pr20828.ver: New test version script.
584 * testsuite/ld-elf/pr20828.s: New test source.
585 * testsuite/ld-elf/shared.exp: Run the new test.
587 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
590 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
591 relocation pairing link test.
593 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
595 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
596 uniqeue.exp, as not all targets have such support.
598 2017-01-16 Nick Clifton <nickc@redhat.com>
600 * po/sv.po: Updated Swedish translation.
602 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
605 * testsuite/ld-x86-64/pr21038b.d: Updated.
606 * testsuite/ld-x86-64/pr21038c.d: New file.
607 * testsuite/ld-x86-64/pr21038c.s: Likewise.
608 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
610 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
613 * testsuite/ld-x86-64/pr21038a.d: New file.
614 * testsuite/ld-x86-64/pr21038a.s: Likewise.
615 * testsuite/ld-x86-64/pr21038b.d: Likewise.
616 * testsuite/ld-x86-64/pr21038b.s: Likewise.
617 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
619 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
621 * configure.tgt: Add entries for x86-redox and x86_64-redox.
623 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
625 * testsuite/ld-x86-64/pr20830b.d: Updated.
627 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
629 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
630 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
631 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
632 * testsuite/ld-x86-64/pr20830b.d: New file.
633 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
636 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
639 * testsuite/ld-i386/i386.exp: Run pr20830.
640 * testsuite/ld-x86-64/x86-64.exp: Likewise.
641 * testsuite/ld-i386/pr20830.d: New file.
642 * testsuite/ld-i386/pr20830.s: Likewise.
643 * testsuite/ld-x86-64/pr20830.d: Likewise.
644 * testsuite/ld-x86-64/pr20830.s: Likewise.
646 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
648 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
649 -Wl,--as-needed to $CC.
650 * testsuite/ld-i386/tls.exp: Likewise.
652 2017-01-10 Nick Clifton <nickc@redhat.com>
654 * po/sv.po: Updated Swedish translation.
656 2016-12-09 Graham Markall <graham.markall@embecosm.com>
657 Andrew Burgess <andrew.burgess@embecosm.com>
659 * Makefile.am: Add earclinux_nps.c target and add to
660 ALL_EMULATION_SOURCES.
661 * Makefile.in: Likewise, regenerated.
662 * configure.tgt: Add arclinux_nps as an extra emulation for
663 arc*-*-elf* and arc*-*-linux*.
664 * emulparams/arc-nps.sh: New file.
665 * emulparams/arclinux_nps.sh: New file.
666 * testsuite/ld-arc/arclinux-nps.d,
667 * testsuite/ld-arc/arclinux-nps.s: New test.
669 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
672 * ldlex.l (option): Add noyywrap
674 * ldlex.h (yywrap): Delete prototype.
676 2017-01-04 Alan Modra <amodra@gmail.com>
678 * testsuite/ld-elf/audit.exp: Check for shared lib support.
679 * testsuite/ld-elf/compress.exp: Likewise.
680 * testsuite/ld-elf/dwarf.exp: Likewise.
681 * testsuite/ld-elf/shared.exp: Likewise.
682 * testsuite/ld-elf/wrap.exp: Likewise.
683 * testsuite/ld-ifunc/ifunc.exp: Likewise.
684 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
686 2017-01-03 Alan Modra <amodra@gmail.com>
688 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
689 allow test to continue after compilation errors.
690 (run_cc_link_tests): Likewise.
692 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
694 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
695 (epruelf.c): Remove unneeded dependencies.
696 * Makefile.in: Regenerate
698 2017-01-03 Alan Modra <amodra@gmail.com>
700 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
702 * testsuite/ld-elfweak/elfweak.exp: Likewise.
703 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
705 2017-01-03 Alan Modra <amodra@gmail.com>
707 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
708 * testsuite/ld-pie/pie.exp: Likewise.
709 * testsuite/ld-plugin/lto.exp: Likewise.
711 2017-01-02 Alan Modra <amodra@gmail.com>
713 * Makefile.am (bootstrap): Delete rule.
714 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
715 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
716 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
717 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
718 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
719 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
720 * Makefile.in: Regenerate.
721 * configure: Regenerate.
722 * testsuite/config/default.exp (get_link_files): Delete.
723 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
725 (ld_simple_link): Delete.
726 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
727 (default_ld_simple_link): Rename to default_ld_link.
728 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
729 (run_ld_link_tests): Use ld_link, not ld_simple_link.
730 (run_cc_link_tests): Likewise.
731 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
732 Don't run exe when not native, and return unsupported.
733 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
734 Link ld1 etc. using $CC.
735 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
736 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
737 * testsuite/ld-cygwin/exe-export.exp: Likewise.
738 * testsuite/ld-elf/binutils.exp: Likewise.
739 * testsuite/ld-elf/eh-group.exp: Likewise.
740 * testsuite/ld-elf/exclude.exp: Likewise.
741 * testsuite/ld-elf/frame.exp: Likewise.
742 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
743 * testsuite/ld-elf/tls_common.exp: Likewise.
744 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
745 * testsuite/ld-fastcall/fastcall.exp: Likewise.
746 * testsuite/ld-gc/gc.exp: Likewise.
747 * testsuite/ld-ifunc/binutils.exp: Likewise.
748 * testsuite/ld-mep/mep.exp: Likewise.
749 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
750 * testsuite/ld-mn10300/mn10300.exp: Likewise.
751 * testsuite/ld-nios2/nios2.exp: Likewise.
752 * testsuite/ld-pe/pe-compile.exp: Likewise.
753 * testsuite/ld-pe/pe-run.exp: Likewise.
754 * testsuite/ld-pe/pe-run2.exp: Likewise.
755 * testsuite/ld-plugin/plugin.exp: Likewise.
756 * testsuite/ld-scripts/align.exp: Likewise.
757 * testsuite/ld-scripts/alignof.exp: Likewise.
758 * testsuite/ld-scripts/assert.exp: Likewise.
759 * testsuite/ld-scripts/defined.exp: Likewise.
760 * testsuite/ld-scripts/extern.exp: Likewise.
761 * testsuite/ld-scripts/log2.exp: Likewise.
762 * testsuite/ld-scripts/map-address.exp: Likewise.
763 * testsuite/ld-scripts/phdrs.exp: Likewise.
764 * testsuite/ld-scripts/phdrs2.exp: Likewise.
765 * testsuite/ld-scripts/script.exp: Likewise.
766 * testsuite/ld-scripts/section-flags.exp: Likewise.
767 * testsuite/ld-scripts/sizeof.exp: Likewise.
768 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
769 * testsuite/ld-scripts/weak.exp: Likewise.
770 * testsuite/ld-selective/selective.exp: Likewise.
771 * testsuite/ld-sh/sh.exp: Likewise.
772 * testsuite/ld-sh/sh64/relax.exp: Likewise.
773 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
774 * testsuite/ld-srec/srec.exp: Likewise.
775 * testsuite/ld-tic6x/tic6x.exp: Likewise.
776 * testsuite/ld-undefined/weak-undef.exp: Likewise.
777 * testsuite/ld-versados/versados.exp: Likewise.
778 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
779 * testsuite/ld-xtensa/coalesce.exp: Likewise.
780 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
781 * testsuite/ld-xtensa/lcall.exp: Likewise.
782 * testsuite/ld-elf/audit.exp: Run non-native too.
783 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
785 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
786 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
787 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
788 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
789 -Wl,--no-as-needed to most tests.
790 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
791 to simplify quoting. Set run_tests using [list] rather than
792 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
793 to many test. Prefix ld options with -Wl,.
794 (mix_pic_and_non_pic): Don't run exe if not native.
795 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
796 -Wl,--no-as-needed and prefix ld options with -Wl,.
797 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
799 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
800 (visibility_test): Don't run exe if not native.
801 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
803 (build_exec): Don't run exe if not native.
804 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
805 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
806 to some tests and prefix ld options with -Wl,. Expect GNU
807 for hppa-linux even when no ifuncs. Delete cleanup.
808 * testsuite/ld-pie/pie.exp: Run non-native too.
809 * testsuite/ld-plugin/lto.exp: Likewise.
810 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
812 (shared_test): Don't run exe if not native.
813 * testsuite/ld-size/size.exp: Run non-native too. Add
814 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
815 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
816 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
817 to some tests and prefix ld options with -Wl,. Expect GNU
818 for hppa-linux even when no unique syms. Delete cleanup.
819 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
820 tests and prefix ld options with -Wl,.
821 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
822 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
824 2017-01-02 Alan Modra <amodra@gmail.com>
826 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
828 2017-01-02 Alan Modra <amodra@gmail.com>
831 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
832 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
833 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
836 2017-01-02 Alan Modra <amodra@gmail.com>
838 Update year range in copyright notice of all files.
840 For older changes see ChangeLog-2016
842 Copyright (C) 2017 Free Software Foundation, Inc.
844 Copying and distribution of this file, with or without modification,
845 are permitted in any medium without royalty provided the copyright
846 notice and this notice are preserved.
852 version-control: never