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