1 2017-02-16 Alan Modra <amodra@gmail.com>
3 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
4 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
6 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
9 * testsuite/ld-i386/i386.exp: Run pr21168.
10 * testsuite/ld-i386/pr21168a.c: New file.
11 * testsuite/ld-i386/pr21168b.S: Likewise.
13 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
16 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
18 * testsuite/ld-i386/pr20244-4.s: New file.
19 * testsuite/ld-i386/pr20244-4a.d: Likewise.
20 * testsuite/ld-i386/pr20244-4b.d: Likewise.
21 * testsuite/ld-i386/pr20244-4c.d: Likewise.
23 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
25 * ldmisc.c (vfinfo): Don't print the function name again either
26 if no source file name has been found both now and previously.
27 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
28 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
29 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
30 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
31 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
32 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
33 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
34 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
35 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
36 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
38 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
40 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
42 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
43 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
45 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
47 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
48 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
49 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
50 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
51 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
52 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
53 * testsuite/ld-powerpc/tocopt.out: Likewise.
54 * testsuite/ld-powerpc/tocopt7.out: Likewise.
56 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
58 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
60 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
62 * testsuite/ld-scripts/sysroot-prefix.exp
63 (get_base_dir_for_scripts): New function.
64 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
66 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
68 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
69 _gp to __global_pointer$
71 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
73 * configure.tgt (arc*-*-linux*): Change the default linker
74 emulation based on --with-cpu selection.
75 * NEWS: Mention new configuration option.
77 2017-02-06 Jiong Wang <jiong.wang@arm.com>
79 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
82 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
84 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
86 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
88 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
91 2017-02-02 Jiong Wang <jiong.wang@arm.com>
93 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
94 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
95 dlopen support into "dlopen_run_tests". These tests include dl1*main
97 (dlopen_run_tests): New and only run it when check_libdl_available
98 returns true. XFAIL on *-*-netbsdelf*.
100 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
102 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
103 presentation of relocation addends.
104 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
105 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
106 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
108 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
110 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
112 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
113 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
115 2017-02-01 Jiong Wang <jiong.wang@arm.com>
117 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
118 Append $board_cflags to link commands.
120 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
122 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
123 check for digit in second decimal place.
125 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
128 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
131 2017-01-31 Nick Clifton <nickc@redhat.com>
133 * ldmain.c (add_archive_element): Eliminate string buffer.
134 * ldlang.c (lang_print_asneeded): Likewise.
136 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
138 * emultempl/mipself.em (ignore_branch_isa): New variable.
139 (mips_create_output_section_statements): Rename
140 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
141 add `ignore_branch_isa' argument.
142 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
143 OPTION_NO_IGNORE_BRANCH_ISA enum values.
144 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
145 "no-ignore-branch-isa" options.
146 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
147 `--no-ignore-branch-isa'.
148 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
149 OPTION_NO_IGNORE_BRANCH_ISA.
151 * ld.texinfo (Options specific to MIPS targets): Add
152 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
153 (ld and the MIPS family): Likewise.
155 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
156 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
157 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
158 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
159 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
160 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
162 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
164 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
166 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
169 Fix long-standing buglet and fallout from now-default initfini-array.
170 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
171 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
173 2017-01-27 Jiong Wang <jiong.wang@arm.com>
175 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
178 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
179 Nick Clifton <nickc@redhat.com>
182 * ld.texinfo (Options): Extend documentation of the --plugin
183 option. Include a description of where the plugins should be
186 2017-01-27 Nick Clifton <nickc@redhat.com>
188 * po/sr.po: New Serbian translation.
189 * configure.ac (ALL_LINGUAS): Add sr.
190 * configure: Regenerate.
192 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
194 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
195 (bfin-*-rtems*): Move to (bfin*-*-elf*).
196 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
197 (m68*-*-rtems*): Move to (m68*-*-elf*).
198 (mips*-*-rtems*): Move to (mips*-*-elf*).
199 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
200 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
201 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
202 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
204 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
206 * configure.tgt (h8300-*-rtemscoff*): Remove.
207 (i960-*-rtems*): Likewise.
208 (m68*-*-rtemscoff*): Likewise.
209 (sh-*-rtemscoff*): Likewise.
211 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
213 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
214 add implicit version nodes if an anonymous version tag is being
217 2017-01-24 Jiong Wang <jiong.wang@arm.com>
219 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
220 "Compile 8a", "Compile 8b"...
221 (lto_compile_elf_tests): ...to here. Always run these tests.
222 (lto_run_elf_tests): Move "LTO 7"...
223 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
224 environment where share library is supported.
226 2017-01-24 Alan Modra <amodra@gmail.com>
228 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
230 * testsuite/ld-powerpc/tlsexe.d: Likewise.
231 * testsuite/ld-powerpc/tlsexe.g: Likewise.
233 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
235 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
236 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
237 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
238 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
239 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
240 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
241 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
242 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
243 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
244 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
245 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
246 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
247 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
249 2017-01-23 Nick Clifton <nickc@redhat.com>
251 * po/ga.po: Updated Irish translation.
253 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
256 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
258 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
261 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
262 `fdata' and `edata' respectively.
263 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
264 * testsuite/ld-elf/pr20828-a.sd: Likewise.
265 * testsuite/ld-elf/pr20828-b.sd: Likewise.
266 * testsuite/ld-elf/pr20828-c.sd: Likewise.
268 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
271 * testsuite/ld-elf/pr20828-1.sd: Remove test.
272 * testsuite/ld-elf/pr20828-a.sd: New test.
273 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
274 * testsuite/ld-elf/pr20828-b.sd: ... this.
275 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
276 * testsuite/ld-elf/pr20828-c.sd: ... this.
277 * testsuite/ld-elf/shared.exp: Adjust accordingly.
279 2017-01-23 Jiong Wang <jiong.wang@arm.com>
281 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
282 board_cflags as gcc is used as linker driver.
283 * testsuite/ld-unique/unique.exp: Likewise
285 2017-01-20 Jiong Wang <jiong.wang@arm.com>
287 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
288 * testsuite/ld-aarch64/func-in-so.s: New test source file.
289 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
290 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
292 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
294 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
296 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
299 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
300 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
302 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
305 * testsuite/ld-elf/pr20828-1.sd: New test.
306 * testsuite/ld-elf/pr20828-2a.sd: New test.
307 * testsuite/ld-elf/pr20828-2b.sd: New test.
308 * testsuite/ld-elf/pr20828.ld: New test linker script.
309 * testsuite/ld-elf/pr20828.ver: New test version script.
310 * testsuite/ld-elf/pr20828.s: New test source.
311 * testsuite/ld-elf/shared.exp: Run the new test.
313 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
316 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
317 relocation pairing link test.
319 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
321 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
322 uniqeue.exp, as not all targets have such support.
324 2017-01-16 Nick Clifton <nickc@redhat.com>
326 * po/sv.po: Updated Swedish translation.
328 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
331 * testsuite/ld-x86-64/pr21038b.d: Updated.
332 * testsuite/ld-x86-64/pr21038c.d: New file.
333 * testsuite/ld-x86-64/pr21038c.s: Likewise.
334 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
336 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
339 * testsuite/ld-x86-64/pr21038a.d: New file.
340 * testsuite/ld-x86-64/pr21038a.s: Likewise.
341 * testsuite/ld-x86-64/pr21038b.d: Likewise.
342 * testsuite/ld-x86-64/pr21038b.s: Likewise.
343 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
345 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
347 * configure.tgt: Add entries for x86-redox and x86_64-redox.
349 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
351 * testsuite/ld-x86-64/pr20830b.d: Updated.
353 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
355 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
356 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
357 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
358 * testsuite/ld-x86-64/pr20830b.d: New file.
359 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
362 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
365 * testsuite/ld-i386/i386.exp: Run pr20830.
366 * testsuite/ld-x86-64/x86-64.exp: Likewise.
367 * testsuite/ld-i386/pr20830.d: New file.
368 * testsuite/ld-i386/pr20830.s: Likewise.
369 * testsuite/ld-x86-64/pr20830.d: Likewise.
370 * testsuite/ld-x86-64/pr20830.s: Likewise.
372 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
374 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
375 -Wl,--as-needed to $CC.
376 * testsuite/ld-i386/tls.exp: Likewise.
378 2017-01-10 Nick Clifton <nickc@redhat.com>
380 * po/sv.po: Updated Swedish translation.
382 2016-12-09 Graham Markall <graham.markall@embecosm.com>
383 Andrew Burgess <andrew.burgess@embecosm.com>
385 * Makefile.am: Add earclinux_nps.c target and add to
386 ALL_EMULATION_SOURCES.
387 * Makefile.in: Likewise, regenerated.
388 * configure.tgt: Add arclinux_nps as an extra emulation for
389 arc*-*-elf* and arc*-*-linux*.
390 * emulparams/arc-nps.sh: New file.
391 * emulparams/arclinux_nps.sh: New file.
392 * testsuite/ld-arc/arclinux-nps.d,
393 * testsuite/ld-arc/arclinux-nps.s: New test.
395 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
398 * ldlex.l (option): Add noyywrap
400 * ldlex.h (yywrap): Delete prototype.
402 2017-01-04 Alan Modra <amodra@gmail.com>
404 * testsuite/ld-elf/audit.exp: Check for shared lib support.
405 * testsuite/ld-elf/compress.exp: Likewise.
406 * testsuite/ld-elf/dwarf.exp: Likewise.
407 * testsuite/ld-elf/shared.exp: Likewise.
408 * testsuite/ld-elf/wrap.exp: Likewise.
409 * testsuite/ld-ifunc/ifunc.exp: Likewise.
410 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
412 2017-01-03 Alan Modra <amodra@gmail.com>
414 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
415 allow test to continue after compilation errors.
416 (run_cc_link_tests): Likewise.
418 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
420 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
421 (epruelf.c): Remove unneeded dependencies.
422 * Makefile.in: Regenerate
424 2017-01-03 Alan Modra <amodra@gmail.com>
426 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
428 * testsuite/ld-elfweak/elfweak.exp: Likewise.
429 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
431 2017-01-03 Alan Modra <amodra@gmail.com>
433 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
434 * testsuite/ld-pie/pie.exp: Likewise.
435 * testsuite/ld-plugin/lto.exp: Likewise.
437 2017-01-02 Alan Modra <amodra@gmail.com>
439 * Makefile.am (bootstrap): Delete rule.
440 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
441 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
442 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
443 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
444 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
445 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
446 * Makefile.in: Regenerate.
447 * configure: Regenerate.
448 * testsuite/config/default.exp (get_link_files): Delete.
449 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
451 (ld_simple_link): Delete.
452 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
453 (default_ld_simple_link): Rename to default_ld_link.
454 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
455 (run_ld_link_tests): Use ld_link, not ld_simple_link.
456 (run_cc_link_tests): Likewise.
457 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
458 Don't run exe when not native, and return unsupported.
459 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
460 Link ld1 etc. using $CC.
461 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
462 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
463 * testsuite/ld-cygwin/exe-export.exp: Likewise.
464 * testsuite/ld-elf/binutils.exp: Likewise.
465 * testsuite/ld-elf/eh-group.exp: Likewise.
466 * testsuite/ld-elf/exclude.exp: Likewise.
467 * testsuite/ld-elf/frame.exp: Likewise.
468 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
469 * testsuite/ld-elf/tls_common.exp: Likewise.
470 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
471 * testsuite/ld-fastcall/fastcall.exp: Likewise.
472 * testsuite/ld-gc/gc.exp: Likewise.
473 * testsuite/ld-ifunc/binutils.exp: Likewise.
474 * testsuite/ld-mep/mep.exp: Likewise.
475 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
476 * testsuite/ld-mn10300/mn10300.exp: Likewise.
477 * testsuite/ld-nios2/nios2.exp: Likewise.
478 * testsuite/ld-pe/pe-compile.exp: Likewise.
479 * testsuite/ld-pe/pe-run.exp: Likewise.
480 * testsuite/ld-pe/pe-run2.exp: Likewise.
481 * testsuite/ld-plugin/plugin.exp: Likewise.
482 * testsuite/ld-scripts/align.exp: Likewise.
483 * testsuite/ld-scripts/alignof.exp: Likewise.
484 * testsuite/ld-scripts/assert.exp: Likewise.
485 * testsuite/ld-scripts/defined.exp: Likewise.
486 * testsuite/ld-scripts/extern.exp: Likewise.
487 * testsuite/ld-scripts/log2.exp: Likewise.
488 * testsuite/ld-scripts/map-address.exp: Likewise.
489 * testsuite/ld-scripts/phdrs.exp: Likewise.
490 * testsuite/ld-scripts/phdrs2.exp: Likewise.
491 * testsuite/ld-scripts/script.exp: Likewise.
492 * testsuite/ld-scripts/section-flags.exp: Likewise.
493 * testsuite/ld-scripts/sizeof.exp: Likewise.
494 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
495 * testsuite/ld-scripts/weak.exp: Likewise.
496 * testsuite/ld-selective/selective.exp: Likewise.
497 * testsuite/ld-sh/sh.exp: Likewise.
498 * testsuite/ld-sh/sh64/relax.exp: Likewise.
499 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
500 * testsuite/ld-srec/srec.exp: Likewise.
501 * testsuite/ld-tic6x/tic6x.exp: Likewise.
502 * testsuite/ld-undefined/weak-undef.exp: Likewise.
503 * testsuite/ld-versados/versados.exp: Likewise.
504 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
505 * testsuite/ld-xtensa/coalesce.exp: Likewise.
506 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
507 * testsuite/ld-xtensa/lcall.exp: Likewise.
508 * testsuite/ld-elf/audit.exp: Run non-native too.
509 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
511 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
512 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
513 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
514 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
515 -Wl,--no-as-needed to most tests.
516 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
517 to simplify quoting. Set run_tests using [list] rather than
518 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
519 to many test. Prefix ld options with -Wl,.
520 (mix_pic_and_non_pic): Don't run exe if not native.
521 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
522 -Wl,--no-as-needed and prefix ld options with -Wl,.
523 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
525 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
526 (visibility_test): Don't run exe if not native.
527 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
529 (build_exec): Don't run exe if not native.
530 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
531 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
532 to some tests and prefix ld options with -Wl,. Expect GNU
533 for hppa-linux even when no ifuncs. Delete cleanup.
534 * testsuite/ld-pie/pie.exp: Run non-native too.
535 * testsuite/ld-plugin/lto.exp: Likewise.
536 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
538 (shared_test): Don't run exe if not native.
539 * testsuite/ld-size/size.exp: Run non-native too. Add
540 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
541 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
542 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
543 to some tests and prefix ld options with -Wl,. Expect GNU
544 for hppa-linux even when no unique syms. Delete cleanup.
545 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
546 tests and prefix ld options with -Wl,.
547 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
548 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
550 2017-01-02 Alan Modra <amodra@gmail.com>
552 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
554 2017-01-02 Alan Modra <amodra@gmail.com>
557 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
558 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
559 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
562 2017-01-02 Alan Modra <amodra@gmail.com>
564 Update year range in copyright notice of all files.
566 For older changes see ChangeLog-2016
568 Copyright (C) 2017 Free Software Foundation, Inc.
570 Copying and distribution of this file, with or without modification,
571 are permitted in any medium without royalty provided the copyright
572 notice and this notice are preserved.
578 version-control: never