1 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
4 * testsuite/ld-elf/pr20828-d.sd: New test.
5 * testsuite/ld-elf/pr20828-e.sd: New test.
6 * testsuite/ld-elf/pr20828-v.od: New test.
7 * testsuite/ld-elf/pr20828-v.ver: New test version script.
8 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
9 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
11 * testsuite/ld-elf/shared.exp: Run the new tests.
13 2017-02-21 Nick Clifton <nickc@redhat.com>
15 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
16 about non-void function returning without a result.
18 2017-02-17 Alan Modra <amodra@gmail.com>
21 * scripttempl/pe.sc: Don't combine sections for ld -r.
22 * scripttempl/pep.sc: Likewise.
24 2017-02-17 Alan Modra <amodra@gmail.com>
27 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
28 rather than using OTHER_SECTIONS.
29 * emulparams/elf32mt.sh: Likewise.
30 * emulparams/elf32rx.sh: Likewise.
31 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
33 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
34 rather than using OTHER_SECTIONS.
35 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
36 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
37 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
38 * emulparams/shelf_uclinux.sh: Likewise.
39 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
40 to define _stack, not OTHER_SECTIONS.
41 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
42 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
43 * scripttempl/arclinux.sc: Likewise.
44 * scripttempl/elf64hppa.sc: Likewise.
45 * scripttempl/elfxtensa.sc: Likewise.
46 * scripttempl/nds32elf.sc: Likewise.
47 * scripttempl/armbpabi.sc: Move STACK before debug sections.
48 * scripttempl/elf_chaos.sc: Likewise.
49 * scripttempl/elfarc.sc: Delete STACK.
50 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
51 TINY_BSS_SECTION, and .stack before debug sections.
53 2017-02-17 Nick Clifton <nickc@redhat.com>
56 * ld.texinfo (Options): Add missing @item entry for --pop-state.
58 2017-02-17 Alan Modra <amodra@gmail.com>
60 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
61 multiple definition errors.
63 2017-02-17 Alan Modra <amodra@gmail.com>
65 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
66 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
68 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
70 * testsuite/ld-elf/shared.exp: Update expected results.
71 * testsuite/ld-elf/dwarf2.err: Likewise
73 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
75 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
76 * testsuite/ld-elf/dwarf2.err: New file.
77 * testsuite/ld-elf/dwarf2a.c: New file.
78 * testsuite/ld-elf/dwarf2b.c: New file.
79 * testsuite/ld-elf/dwarf3.c: New file.
80 * testsuite/ld-elf/dwarf3.err: New file.
82 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
84 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
85 error, warning_output, and error_output actions. Remove separate
87 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
89 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
91 2017-02-16 Alan Modra <amodra@gmail.com>
93 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
94 from void pointers to function pointers.
95 * testsuite/ld-elf/pr18718.c: Update to suit.
96 * testsuite/ld-elf/pr18720a.c: Update to suit.
98 2017-02-16 Alan Modra <amodra@gmail.com>
101 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
102 * testsuite/ld-elf/loadaddr2.d: Likewise.
103 * testsuite/ld-elf/loadaddr3a.d: Likewise.
104 * testsuite/ld-scripts/rgn-at5.d: Likewise.
106 2017-02-16 Alan Modra <amodra@gmail.com>
108 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
109 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
111 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
114 * testsuite/ld-i386/i386.exp: Run pr21168.
115 * testsuite/ld-i386/pr21168a.c: New file.
116 * testsuite/ld-i386/pr21168b.S: Likewise.
118 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
121 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
123 * testsuite/ld-i386/pr20244-4.s: New file.
124 * testsuite/ld-i386/pr20244-4a.d: Likewise.
125 * testsuite/ld-i386/pr20244-4b.d: Likewise.
126 * testsuite/ld-i386/pr20244-4c.d: Likewise.
128 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
130 * ldmisc.c (vfinfo): Don't print the function name again either
131 if no source file name has been found both now and previously.
132 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
133 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
134 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
135 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
136 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
137 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
138 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
139 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
140 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
141 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
143 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
145 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
147 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
148 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
150 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
152 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
153 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
154 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
155 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
156 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
157 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
158 * testsuite/ld-powerpc/tocopt.out: Likewise.
159 * testsuite/ld-powerpc/tocopt7.out: Likewise.
161 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
163 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
165 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
167 * testsuite/ld-scripts/sysroot-prefix.exp
168 (get_base_dir_for_scripts): New function.
169 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
171 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
173 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
174 _gp to __global_pointer$
176 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
178 * configure.tgt (arc*-*-linux*): Change the default linker
179 emulation based on --with-cpu selection.
180 * NEWS: Mention new configuration option.
182 2017-02-06 Jiong Wang <jiong.wang@arm.com>
184 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
187 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
189 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
191 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
193 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
196 2017-02-02 Jiong Wang <jiong.wang@arm.com>
198 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
199 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
200 dlopen support into "dlopen_run_tests". These tests include dl1*main
202 (dlopen_run_tests): New and only run it when check_libdl_available
203 returns true. XFAIL on *-*-netbsdelf*.
205 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
207 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
208 presentation of relocation addends.
209 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
210 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
211 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
213 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
215 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
217 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
218 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
220 2017-02-01 Jiong Wang <jiong.wang@arm.com>
222 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
223 Append $board_cflags to link commands.
225 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
227 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
228 check for digit in second decimal place.
230 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
233 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
236 2017-01-31 Nick Clifton <nickc@redhat.com>
238 * ldmain.c (add_archive_element): Eliminate string buffer.
239 * ldlang.c (lang_print_asneeded): Likewise.
241 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
243 * emultempl/mipself.em (ignore_branch_isa): New variable.
244 (mips_create_output_section_statements): Rename
245 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
246 add `ignore_branch_isa' argument.
247 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
248 OPTION_NO_IGNORE_BRANCH_ISA enum values.
249 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
250 "no-ignore-branch-isa" options.
251 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
252 `--no-ignore-branch-isa'.
253 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
254 OPTION_NO_IGNORE_BRANCH_ISA.
256 * ld.texinfo (Options specific to MIPS targets): Add
257 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
258 (ld and the MIPS family): Likewise.
260 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
261 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
262 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
263 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
264 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
265 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
267 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
269 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
271 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
274 Fix long-standing buglet and fallout from now-default initfini-array.
275 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
276 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
278 2017-01-27 Jiong Wang <jiong.wang@arm.com>
280 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
283 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
284 Nick Clifton <nickc@redhat.com>
287 * ld.texinfo (Options): Extend documentation of the --plugin
288 option. Include a description of where the plugins should be
291 2017-01-27 Nick Clifton <nickc@redhat.com>
293 * po/sr.po: New Serbian translation.
294 * configure.ac (ALL_LINGUAS): Add sr.
295 * configure: Regenerate.
297 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
299 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
300 (bfin-*-rtems*): Move to (bfin*-*-elf*).
301 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
302 (m68*-*-rtems*): Move to (m68*-*-elf*).
303 (mips*-*-rtems*): Move to (mips*-*-elf*).
304 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
305 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
306 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
307 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
309 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
311 * configure.tgt (h8300-*-rtemscoff*): Remove.
312 (i960-*-rtems*): Likewise.
313 (m68*-*-rtemscoff*): Likewise.
314 (sh-*-rtemscoff*): Likewise.
316 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
318 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
319 add implicit version nodes if an anonymous version tag is being
322 2017-01-24 Jiong Wang <jiong.wang@arm.com>
324 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
325 "Compile 8a", "Compile 8b"...
326 (lto_compile_elf_tests): ...to here. Always run these tests.
327 (lto_run_elf_tests): Move "LTO 7"...
328 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
329 environment where share library is supported.
331 2017-01-24 Alan Modra <amodra@gmail.com>
333 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
335 * testsuite/ld-powerpc/tlsexe.d: Likewise.
336 * testsuite/ld-powerpc/tlsexe.g: Likewise.
338 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
340 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
341 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
342 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
343 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
344 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
345 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
346 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
347 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
348 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
349 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
350 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
351 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
352 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
354 2017-01-23 Nick Clifton <nickc@redhat.com>
356 * po/ga.po: Updated Irish translation.
358 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
361 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
363 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
366 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
367 `fdata' and `edata' respectively.
368 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
369 * testsuite/ld-elf/pr20828-a.sd: Likewise.
370 * testsuite/ld-elf/pr20828-b.sd: Likewise.
371 * testsuite/ld-elf/pr20828-c.sd: Likewise.
373 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
376 * testsuite/ld-elf/pr20828-1.sd: Remove test.
377 * testsuite/ld-elf/pr20828-a.sd: New test.
378 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
379 * testsuite/ld-elf/pr20828-b.sd: ... this.
380 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
381 * testsuite/ld-elf/pr20828-c.sd: ... this.
382 * testsuite/ld-elf/shared.exp: Adjust accordingly.
384 2017-01-23 Jiong Wang <jiong.wang@arm.com>
386 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
387 board_cflags as gcc is used as linker driver.
388 * testsuite/ld-unique/unique.exp: Likewise
390 2017-01-20 Jiong Wang <jiong.wang@arm.com>
392 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
393 * testsuite/ld-aarch64/func-in-so.s: New test source file.
394 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
395 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
397 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
399 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
401 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
404 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
405 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
407 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
410 * testsuite/ld-elf/pr20828-1.sd: New test.
411 * testsuite/ld-elf/pr20828-2a.sd: New test.
412 * testsuite/ld-elf/pr20828-2b.sd: New test.
413 * testsuite/ld-elf/pr20828.ld: New test linker script.
414 * testsuite/ld-elf/pr20828.ver: New test version script.
415 * testsuite/ld-elf/pr20828.s: New test source.
416 * testsuite/ld-elf/shared.exp: Run the new test.
418 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
421 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
422 relocation pairing link test.
424 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
426 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
427 uniqeue.exp, as not all targets have such support.
429 2017-01-16 Nick Clifton <nickc@redhat.com>
431 * po/sv.po: Updated Swedish translation.
433 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
436 * testsuite/ld-x86-64/pr21038b.d: Updated.
437 * testsuite/ld-x86-64/pr21038c.d: New file.
438 * testsuite/ld-x86-64/pr21038c.s: Likewise.
439 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
441 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
444 * testsuite/ld-x86-64/pr21038a.d: New file.
445 * testsuite/ld-x86-64/pr21038a.s: Likewise.
446 * testsuite/ld-x86-64/pr21038b.d: Likewise.
447 * testsuite/ld-x86-64/pr21038b.s: Likewise.
448 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
450 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
452 * configure.tgt: Add entries for x86-redox and x86_64-redox.
454 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
456 * testsuite/ld-x86-64/pr20830b.d: Updated.
458 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
460 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
461 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
462 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
463 * testsuite/ld-x86-64/pr20830b.d: New file.
464 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
467 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
470 * testsuite/ld-i386/i386.exp: Run pr20830.
471 * testsuite/ld-x86-64/x86-64.exp: Likewise.
472 * testsuite/ld-i386/pr20830.d: New file.
473 * testsuite/ld-i386/pr20830.s: Likewise.
474 * testsuite/ld-x86-64/pr20830.d: Likewise.
475 * testsuite/ld-x86-64/pr20830.s: Likewise.
477 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
479 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
480 -Wl,--as-needed to $CC.
481 * testsuite/ld-i386/tls.exp: Likewise.
483 2017-01-10 Nick Clifton <nickc@redhat.com>
485 * po/sv.po: Updated Swedish translation.
487 2016-12-09 Graham Markall <graham.markall@embecosm.com>
488 Andrew Burgess <andrew.burgess@embecosm.com>
490 * Makefile.am: Add earclinux_nps.c target and add to
491 ALL_EMULATION_SOURCES.
492 * Makefile.in: Likewise, regenerated.
493 * configure.tgt: Add arclinux_nps as an extra emulation for
494 arc*-*-elf* and arc*-*-linux*.
495 * emulparams/arc-nps.sh: New file.
496 * emulparams/arclinux_nps.sh: New file.
497 * testsuite/ld-arc/arclinux-nps.d,
498 * testsuite/ld-arc/arclinux-nps.s: New test.
500 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
503 * ldlex.l (option): Add noyywrap
505 * ldlex.h (yywrap): Delete prototype.
507 2017-01-04 Alan Modra <amodra@gmail.com>
509 * testsuite/ld-elf/audit.exp: Check for shared lib support.
510 * testsuite/ld-elf/compress.exp: Likewise.
511 * testsuite/ld-elf/dwarf.exp: Likewise.
512 * testsuite/ld-elf/shared.exp: Likewise.
513 * testsuite/ld-elf/wrap.exp: Likewise.
514 * testsuite/ld-ifunc/ifunc.exp: Likewise.
515 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
517 2017-01-03 Alan Modra <amodra@gmail.com>
519 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
520 allow test to continue after compilation errors.
521 (run_cc_link_tests): Likewise.
523 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
525 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
526 (epruelf.c): Remove unneeded dependencies.
527 * Makefile.in: Regenerate
529 2017-01-03 Alan Modra <amodra@gmail.com>
531 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
533 * testsuite/ld-elfweak/elfweak.exp: Likewise.
534 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
536 2017-01-03 Alan Modra <amodra@gmail.com>
538 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
539 * testsuite/ld-pie/pie.exp: Likewise.
540 * testsuite/ld-plugin/lto.exp: Likewise.
542 2017-01-02 Alan Modra <amodra@gmail.com>
544 * Makefile.am (bootstrap): Delete rule.
545 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
546 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
547 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
548 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
549 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
550 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
551 * Makefile.in: Regenerate.
552 * configure: Regenerate.
553 * testsuite/config/default.exp (get_link_files): Delete.
554 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
556 (ld_simple_link): Delete.
557 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
558 (default_ld_simple_link): Rename to default_ld_link.
559 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
560 (run_ld_link_tests): Use ld_link, not ld_simple_link.
561 (run_cc_link_tests): Likewise.
562 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
563 Don't run exe when not native, and return unsupported.
564 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
565 Link ld1 etc. using $CC.
566 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
567 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
568 * testsuite/ld-cygwin/exe-export.exp: Likewise.
569 * testsuite/ld-elf/binutils.exp: Likewise.
570 * testsuite/ld-elf/eh-group.exp: Likewise.
571 * testsuite/ld-elf/exclude.exp: Likewise.
572 * testsuite/ld-elf/frame.exp: Likewise.
573 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
574 * testsuite/ld-elf/tls_common.exp: Likewise.
575 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
576 * testsuite/ld-fastcall/fastcall.exp: Likewise.
577 * testsuite/ld-gc/gc.exp: Likewise.
578 * testsuite/ld-ifunc/binutils.exp: Likewise.
579 * testsuite/ld-mep/mep.exp: Likewise.
580 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
581 * testsuite/ld-mn10300/mn10300.exp: Likewise.
582 * testsuite/ld-nios2/nios2.exp: Likewise.
583 * testsuite/ld-pe/pe-compile.exp: Likewise.
584 * testsuite/ld-pe/pe-run.exp: Likewise.
585 * testsuite/ld-pe/pe-run2.exp: Likewise.
586 * testsuite/ld-plugin/plugin.exp: Likewise.
587 * testsuite/ld-scripts/align.exp: Likewise.
588 * testsuite/ld-scripts/alignof.exp: Likewise.
589 * testsuite/ld-scripts/assert.exp: Likewise.
590 * testsuite/ld-scripts/defined.exp: Likewise.
591 * testsuite/ld-scripts/extern.exp: Likewise.
592 * testsuite/ld-scripts/log2.exp: Likewise.
593 * testsuite/ld-scripts/map-address.exp: Likewise.
594 * testsuite/ld-scripts/phdrs.exp: Likewise.
595 * testsuite/ld-scripts/phdrs2.exp: Likewise.
596 * testsuite/ld-scripts/script.exp: Likewise.
597 * testsuite/ld-scripts/section-flags.exp: Likewise.
598 * testsuite/ld-scripts/sizeof.exp: Likewise.
599 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
600 * testsuite/ld-scripts/weak.exp: Likewise.
601 * testsuite/ld-selective/selective.exp: Likewise.
602 * testsuite/ld-sh/sh.exp: Likewise.
603 * testsuite/ld-sh/sh64/relax.exp: Likewise.
604 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
605 * testsuite/ld-srec/srec.exp: Likewise.
606 * testsuite/ld-tic6x/tic6x.exp: Likewise.
607 * testsuite/ld-undefined/weak-undef.exp: Likewise.
608 * testsuite/ld-versados/versados.exp: Likewise.
609 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
610 * testsuite/ld-xtensa/coalesce.exp: Likewise.
611 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
612 * testsuite/ld-xtensa/lcall.exp: Likewise.
613 * testsuite/ld-elf/audit.exp: Run non-native too.
614 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
616 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
617 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
618 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
619 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
620 -Wl,--no-as-needed to most tests.
621 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
622 to simplify quoting. Set run_tests using [list] rather than
623 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
624 to many test. Prefix ld options with -Wl,.
625 (mix_pic_and_non_pic): Don't run exe if not native.
626 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
627 -Wl,--no-as-needed and prefix ld options with -Wl,.
628 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
630 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
631 (visibility_test): Don't run exe if not native.
632 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
634 (build_exec): Don't run exe if not native.
635 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
636 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
637 to some tests and prefix ld options with -Wl,. Expect GNU
638 for hppa-linux even when no ifuncs. Delete cleanup.
639 * testsuite/ld-pie/pie.exp: Run non-native too.
640 * testsuite/ld-plugin/lto.exp: Likewise.
641 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
643 (shared_test): Don't run exe if not native.
644 * testsuite/ld-size/size.exp: Run non-native too. Add
645 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
646 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
647 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
648 to some tests and prefix ld options with -Wl,. Expect GNU
649 for hppa-linux even when no unique syms. Delete cleanup.
650 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
651 tests and prefix ld options with -Wl,.
652 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
653 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
655 2017-01-02 Alan Modra <amodra@gmail.com>
657 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
659 2017-01-02 Alan Modra <amodra@gmail.com>
662 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
663 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
664 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
667 2017-01-02 Alan Modra <amodra@gmail.com>
669 Update year range in copyright notice of all files.
671 For older changes see ChangeLog-2016
673 Copyright (C) 2017 Free Software Foundation, Inc.
675 Copying and distribution of this file, with or without modification,
676 are permitted in any medium without royalty provided the copyright
677 notice and this notice are preserved.
683 version-control: never