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