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