1 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
3 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
4 * testsuite/ld-elf/dwarf2.err: New file.
5 * testsuite/ld-elf/dwarf2a.c: New file.
6 * testsuite/ld-elf/dwarf2b.c: New file.
7 * testsuite/ld-elf/dwarf3.c: New file.
8 * testsuite/ld-elf/dwarf3.err: New file.
10 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
12 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
13 error, warning_output, and error_output actions. Remove separate
15 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
17 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
19 2017-02-16 Alan Modra <amodra@gmail.com>
21 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
22 from void pointers to function pointers.
23 * testsuite/ld-elf/pr18718.c: Update to suit.
24 * testsuite/ld-elf/pr18720a.c: Update to suit.
26 2017-02-16 Alan Modra <amodra@gmail.com>
29 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
30 * testsuite/ld-elf/loadaddr2.d: Likewise.
31 * testsuite/ld-elf/loadaddr3a.d: Likewise.
32 * testsuite/ld-scripts/rgn-at5.d: Likewise.
34 2017-02-16 Alan Modra <amodra@gmail.com>
36 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
37 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
39 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
42 * testsuite/ld-i386/i386.exp: Run pr21168.
43 * testsuite/ld-i386/pr21168a.c: New file.
44 * testsuite/ld-i386/pr21168b.S: Likewise.
46 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
49 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
51 * testsuite/ld-i386/pr20244-4.s: New file.
52 * testsuite/ld-i386/pr20244-4a.d: Likewise.
53 * testsuite/ld-i386/pr20244-4b.d: Likewise.
54 * testsuite/ld-i386/pr20244-4c.d: Likewise.
56 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
58 * ldmisc.c (vfinfo): Don't print the function name again either
59 if no source file name has been found both now and previously.
60 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
61 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
62 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
63 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
64 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
65 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
66 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
67 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
68 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
69 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
71 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
73 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
75 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
76 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
78 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
80 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
81 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
82 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
83 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
84 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
85 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
86 * testsuite/ld-powerpc/tocopt.out: Likewise.
87 * testsuite/ld-powerpc/tocopt7.out: Likewise.
89 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
91 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
93 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
95 * testsuite/ld-scripts/sysroot-prefix.exp
96 (get_base_dir_for_scripts): New function.
97 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
99 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
101 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
102 _gp to __global_pointer$
104 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
106 * configure.tgt (arc*-*-linux*): Change the default linker
107 emulation based on --with-cpu selection.
108 * NEWS: Mention new configuration option.
110 2017-02-06 Jiong Wang <jiong.wang@arm.com>
112 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
115 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
117 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
119 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
121 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
124 2017-02-02 Jiong Wang <jiong.wang@arm.com>
126 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
127 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
128 dlopen support into "dlopen_run_tests". These tests include dl1*main
130 (dlopen_run_tests): New and only run it when check_libdl_available
131 returns true. XFAIL on *-*-netbsdelf*.
133 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
135 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
136 presentation of relocation addends.
137 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
138 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
139 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
141 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
143 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
145 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
146 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
148 2017-02-01 Jiong Wang <jiong.wang@arm.com>
150 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
151 Append $board_cflags to link commands.
153 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
155 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
156 check for digit in second decimal place.
158 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
161 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
164 2017-01-31 Nick Clifton <nickc@redhat.com>
166 * ldmain.c (add_archive_element): Eliminate string buffer.
167 * ldlang.c (lang_print_asneeded): Likewise.
169 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
171 * emultempl/mipself.em (ignore_branch_isa): New variable.
172 (mips_create_output_section_statements): Rename
173 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
174 add `ignore_branch_isa' argument.
175 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
176 OPTION_NO_IGNORE_BRANCH_ISA enum values.
177 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
178 "no-ignore-branch-isa" options.
179 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
180 `--no-ignore-branch-isa'.
181 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
182 OPTION_NO_IGNORE_BRANCH_ISA.
184 * ld.texinfo (Options specific to MIPS targets): Add
185 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
186 (ld and the MIPS family): Likewise.
188 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
189 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
190 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
191 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
192 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
193 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
195 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
197 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
199 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
202 Fix long-standing buglet and fallout from now-default initfini-array.
203 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
204 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
206 2017-01-27 Jiong Wang <jiong.wang@arm.com>
208 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
211 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
212 Nick Clifton <nickc@redhat.com>
215 * ld.texinfo (Options): Extend documentation of the --plugin
216 option. Include a description of where the plugins should be
219 2017-01-27 Nick Clifton <nickc@redhat.com>
221 * po/sr.po: New Serbian translation.
222 * configure.ac (ALL_LINGUAS): Add sr.
223 * configure: Regenerate.
225 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
227 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
228 (bfin-*-rtems*): Move to (bfin*-*-elf*).
229 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
230 (m68*-*-rtems*): Move to (m68*-*-elf*).
231 (mips*-*-rtems*): Move to (mips*-*-elf*).
232 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
233 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
234 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
235 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
237 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
239 * configure.tgt (h8300-*-rtemscoff*): Remove.
240 (i960-*-rtems*): Likewise.
241 (m68*-*-rtemscoff*): Likewise.
242 (sh-*-rtemscoff*): Likewise.
244 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
246 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
247 add implicit version nodes if an anonymous version tag is being
250 2017-01-24 Jiong Wang <jiong.wang@arm.com>
252 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
253 "Compile 8a", "Compile 8b"...
254 (lto_compile_elf_tests): ...to here. Always run these tests.
255 (lto_run_elf_tests): Move "LTO 7"...
256 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
257 environment where share library is supported.
259 2017-01-24 Alan Modra <amodra@gmail.com>
261 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
263 * testsuite/ld-powerpc/tlsexe.d: Likewise.
264 * testsuite/ld-powerpc/tlsexe.g: Likewise.
266 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
268 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
269 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
270 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
271 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
272 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
273 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
274 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
275 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
276 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
277 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
278 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
279 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
280 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
282 2017-01-23 Nick Clifton <nickc@redhat.com>
284 * po/ga.po: Updated Irish translation.
286 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
289 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
291 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
294 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
295 `fdata' and `edata' respectively.
296 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
297 * testsuite/ld-elf/pr20828-a.sd: Likewise.
298 * testsuite/ld-elf/pr20828-b.sd: Likewise.
299 * testsuite/ld-elf/pr20828-c.sd: Likewise.
301 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
304 * testsuite/ld-elf/pr20828-1.sd: Remove test.
305 * testsuite/ld-elf/pr20828-a.sd: New test.
306 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
307 * testsuite/ld-elf/pr20828-b.sd: ... this.
308 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
309 * testsuite/ld-elf/pr20828-c.sd: ... this.
310 * testsuite/ld-elf/shared.exp: Adjust accordingly.
312 2017-01-23 Jiong Wang <jiong.wang@arm.com>
314 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
315 board_cflags as gcc is used as linker driver.
316 * testsuite/ld-unique/unique.exp: Likewise
318 2017-01-20 Jiong Wang <jiong.wang@arm.com>
320 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
321 * testsuite/ld-aarch64/func-in-so.s: New test source file.
322 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
323 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
325 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
327 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
329 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
332 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
333 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
335 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
338 * testsuite/ld-elf/pr20828-1.sd: New test.
339 * testsuite/ld-elf/pr20828-2a.sd: New test.
340 * testsuite/ld-elf/pr20828-2b.sd: New test.
341 * testsuite/ld-elf/pr20828.ld: New test linker script.
342 * testsuite/ld-elf/pr20828.ver: New test version script.
343 * testsuite/ld-elf/pr20828.s: New test source.
344 * testsuite/ld-elf/shared.exp: Run the new test.
346 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
349 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
350 relocation pairing link test.
352 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
354 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
355 uniqeue.exp, as not all targets have such support.
357 2017-01-16 Nick Clifton <nickc@redhat.com>
359 * po/sv.po: Updated Swedish translation.
361 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
364 * testsuite/ld-x86-64/pr21038b.d: Updated.
365 * testsuite/ld-x86-64/pr21038c.d: New file.
366 * testsuite/ld-x86-64/pr21038c.s: Likewise.
367 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
369 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
372 * testsuite/ld-x86-64/pr21038a.d: New file.
373 * testsuite/ld-x86-64/pr21038a.s: Likewise.
374 * testsuite/ld-x86-64/pr21038b.d: Likewise.
375 * testsuite/ld-x86-64/pr21038b.s: Likewise.
376 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
378 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
380 * configure.tgt: Add entries for x86-redox and x86_64-redox.
382 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
384 * testsuite/ld-x86-64/pr20830b.d: Updated.
386 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
388 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
389 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
390 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
391 * testsuite/ld-x86-64/pr20830b.d: New file.
392 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
395 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
398 * testsuite/ld-i386/i386.exp: Run pr20830.
399 * testsuite/ld-x86-64/x86-64.exp: Likewise.
400 * testsuite/ld-i386/pr20830.d: New file.
401 * testsuite/ld-i386/pr20830.s: Likewise.
402 * testsuite/ld-x86-64/pr20830.d: Likewise.
403 * testsuite/ld-x86-64/pr20830.s: Likewise.
405 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
407 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
408 -Wl,--as-needed to $CC.
409 * testsuite/ld-i386/tls.exp: Likewise.
411 2017-01-10 Nick Clifton <nickc@redhat.com>
413 * po/sv.po: Updated Swedish translation.
415 2016-12-09 Graham Markall <graham.markall@embecosm.com>
416 Andrew Burgess <andrew.burgess@embecosm.com>
418 * Makefile.am: Add earclinux_nps.c target and add to
419 ALL_EMULATION_SOURCES.
420 * Makefile.in: Likewise, regenerated.
421 * configure.tgt: Add arclinux_nps as an extra emulation for
422 arc*-*-elf* and arc*-*-linux*.
423 * emulparams/arc-nps.sh: New file.
424 * emulparams/arclinux_nps.sh: New file.
425 * testsuite/ld-arc/arclinux-nps.d,
426 * testsuite/ld-arc/arclinux-nps.s: New test.
428 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
431 * ldlex.l (option): Add noyywrap
433 * ldlex.h (yywrap): Delete prototype.
435 2017-01-04 Alan Modra <amodra@gmail.com>
437 * testsuite/ld-elf/audit.exp: Check for shared lib support.
438 * testsuite/ld-elf/compress.exp: Likewise.
439 * testsuite/ld-elf/dwarf.exp: Likewise.
440 * testsuite/ld-elf/shared.exp: Likewise.
441 * testsuite/ld-elf/wrap.exp: Likewise.
442 * testsuite/ld-ifunc/ifunc.exp: Likewise.
443 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
445 2017-01-03 Alan Modra <amodra@gmail.com>
447 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
448 allow test to continue after compilation errors.
449 (run_cc_link_tests): Likewise.
451 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
453 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
454 (epruelf.c): Remove unneeded dependencies.
455 * Makefile.in: Regenerate
457 2017-01-03 Alan Modra <amodra@gmail.com>
459 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
461 * testsuite/ld-elfweak/elfweak.exp: Likewise.
462 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
464 2017-01-03 Alan Modra <amodra@gmail.com>
466 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
467 * testsuite/ld-pie/pie.exp: Likewise.
468 * testsuite/ld-plugin/lto.exp: Likewise.
470 2017-01-02 Alan Modra <amodra@gmail.com>
472 * Makefile.am (bootstrap): Delete rule.
473 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
474 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
475 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
476 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
477 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
478 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
479 * Makefile.in: Regenerate.
480 * configure: Regenerate.
481 * testsuite/config/default.exp (get_link_files): Delete.
482 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
484 (ld_simple_link): Delete.
485 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
486 (default_ld_simple_link): Rename to default_ld_link.
487 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
488 (run_ld_link_tests): Use ld_link, not ld_simple_link.
489 (run_cc_link_tests): Likewise.
490 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
491 Don't run exe when not native, and return unsupported.
492 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
493 Link ld1 etc. using $CC.
494 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
495 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
496 * testsuite/ld-cygwin/exe-export.exp: Likewise.
497 * testsuite/ld-elf/binutils.exp: Likewise.
498 * testsuite/ld-elf/eh-group.exp: Likewise.
499 * testsuite/ld-elf/exclude.exp: Likewise.
500 * testsuite/ld-elf/frame.exp: Likewise.
501 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
502 * testsuite/ld-elf/tls_common.exp: Likewise.
503 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
504 * testsuite/ld-fastcall/fastcall.exp: Likewise.
505 * testsuite/ld-gc/gc.exp: Likewise.
506 * testsuite/ld-ifunc/binutils.exp: Likewise.
507 * testsuite/ld-mep/mep.exp: Likewise.
508 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
509 * testsuite/ld-mn10300/mn10300.exp: Likewise.
510 * testsuite/ld-nios2/nios2.exp: Likewise.
511 * testsuite/ld-pe/pe-compile.exp: Likewise.
512 * testsuite/ld-pe/pe-run.exp: Likewise.
513 * testsuite/ld-pe/pe-run2.exp: Likewise.
514 * testsuite/ld-plugin/plugin.exp: Likewise.
515 * testsuite/ld-scripts/align.exp: Likewise.
516 * testsuite/ld-scripts/alignof.exp: Likewise.
517 * testsuite/ld-scripts/assert.exp: Likewise.
518 * testsuite/ld-scripts/defined.exp: Likewise.
519 * testsuite/ld-scripts/extern.exp: Likewise.
520 * testsuite/ld-scripts/log2.exp: Likewise.
521 * testsuite/ld-scripts/map-address.exp: Likewise.
522 * testsuite/ld-scripts/phdrs.exp: Likewise.
523 * testsuite/ld-scripts/phdrs2.exp: Likewise.
524 * testsuite/ld-scripts/script.exp: Likewise.
525 * testsuite/ld-scripts/section-flags.exp: Likewise.
526 * testsuite/ld-scripts/sizeof.exp: Likewise.
527 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
528 * testsuite/ld-scripts/weak.exp: Likewise.
529 * testsuite/ld-selective/selective.exp: Likewise.
530 * testsuite/ld-sh/sh.exp: Likewise.
531 * testsuite/ld-sh/sh64/relax.exp: Likewise.
532 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
533 * testsuite/ld-srec/srec.exp: Likewise.
534 * testsuite/ld-tic6x/tic6x.exp: Likewise.
535 * testsuite/ld-undefined/weak-undef.exp: Likewise.
536 * testsuite/ld-versados/versados.exp: Likewise.
537 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
538 * testsuite/ld-xtensa/coalesce.exp: Likewise.
539 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
540 * testsuite/ld-xtensa/lcall.exp: Likewise.
541 * testsuite/ld-elf/audit.exp: Run non-native too.
542 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
544 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
545 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
546 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
547 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
548 -Wl,--no-as-needed to most tests.
549 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
550 to simplify quoting. Set run_tests using [list] rather than
551 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
552 to many test. Prefix ld options with -Wl,.
553 (mix_pic_and_non_pic): Don't run exe if not native.
554 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
555 -Wl,--no-as-needed and prefix ld options with -Wl,.
556 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
558 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
559 (visibility_test): Don't run exe if not native.
560 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
562 (build_exec): Don't run exe if not native.
563 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
564 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
565 to some tests and prefix ld options with -Wl,. Expect GNU
566 for hppa-linux even when no ifuncs. Delete cleanup.
567 * testsuite/ld-pie/pie.exp: Run non-native too.
568 * testsuite/ld-plugin/lto.exp: Likewise.
569 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
571 (shared_test): Don't run exe if not native.
572 * testsuite/ld-size/size.exp: Run non-native too. Add
573 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
574 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
575 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
576 to some tests and prefix ld options with -Wl,. Expect GNU
577 for hppa-linux even when no unique syms. Delete cleanup.
578 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
579 tests and prefix ld options with -Wl,.
580 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
581 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
583 2017-01-02 Alan Modra <amodra@gmail.com>
585 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
587 2017-01-02 Alan Modra <amodra@gmail.com>
590 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
591 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
592 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
595 2017-01-02 Alan Modra <amodra@gmail.com>
597 Update year range in copyright notice of all files.
599 For older changes see ChangeLog-2016
601 Copyright (C) 2017 Free Software Foundation, Inc.
603 Copying and distribution of this file, with or without modification,
604 are permitted in any medium without royalty provided the copyright
605 notice and this notice are preserved.
611 version-control: never