1 2017-02-25 Alan Modra <amodra@gmail.com>
3 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
4 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
5 defining HPUX where necessary. Define HPUX for implib tests.
6 * testsuite/ld-elf/comm-data4.d: Run for hpux.
7 * testsuite/ld-elf/endsym.d: Likewise.
8 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
9 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
10 * testsuite/ld-elf/comm-data5.s: Likewise.
11 * testsuite/ld-elf/endsym.s: Likewise.
12 * testsuite/ld-elf/pr14170c.s: Likewise.
13 * testsuite/ld-elf/symbol3.s: Likewise.
14 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
16 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
17 * testsuite/ld-elf/warn3.d: Run for hpux.
18 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
19 * testsuite/ld-scripts/rgn-at11.d: Likewise.
20 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
22 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
24 * testsuite/ld-elf/ver_def.d: New test.
25 * testsuite/ld-elf/ver_def.ld: New test linker script.
26 * testsuite/ld-elf/ver_def.ver: New test version script.
27 * testsuite/ld-elf/ver_def.s: New test source.
28 * testsuite/ld-elf/readelf.exp: New test script.
30 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
32 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
34 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
35 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
36 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
38 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
40 * testsuite/ld-mips-elf/jalr4.dd: New test.
41 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
43 2017-02-23 Alan Modra <amodra@gmail.com>
46 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
48 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
51 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
54 * testsuite/ld-elf/pr20828-d.sd: New test.
55 * testsuite/ld-elf/pr20828-e.sd: New test.
56 * testsuite/ld-elf/pr20828-v.od: New test.
57 * testsuite/ld-elf/pr20828-v.ver: New test version script.
58 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
59 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
61 * testsuite/ld-elf/shared.exp: Run the new tests.
63 2017-02-21 Nick Clifton <nickc@redhat.com>
65 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
66 about non-void function returning without a result.
68 2017-02-17 Alan Modra <amodra@gmail.com>
71 * scripttempl/pe.sc: Don't combine sections for ld -r.
72 * scripttempl/pep.sc: Likewise.
74 2017-02-17 Alan Modra <amodra@gmail.com>
77 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
78 rather than using OTHER_SECTIONS.
79 * emulparams/elf32mt.sh: Likewise.
80 * emulparams/elf32rx.sh: Likewise.
81 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
83 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
84 rather than using OTHER_SECTIONS.
85 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
86 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
87 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
88 * emulparams/shelf_uclinux.sh: Likewise.
89 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
90 to define _stack, not OTHER_SECTIONS.
91 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
92 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
93 * scripttempl/arclinux.sc: Likewise.
94 * scripttempl/elf64hppa.sc: Likewise.
95 * scripttempl/elfxtensa.sc: Likewise.
96 * scripttempl/nds32elf.sc: Likewise.
97 * scripttempl/armbpabi.sc: Move STACK before debug sections.
98 * scripttempl/elf_chaos.sc: Likewise.
99 * scripttempl/elfarc.sc: Delete STACK.
100 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
101 TINY_BSS_SECTION, and .stack before debug sections.
103 2017-02-17 Nick Clifton <nickc@redhat.com>
106 * ld.texinfo (Options): Add missing @item entry for --pop-state.
108 2017-02-17 Alan Modra <amodra@gmail.com>
110 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
111 multiple definition errors.
113 2017-02-17 Alan Modra <amodra@gmail.com>
115 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
116 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
118 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
120 * testsuite/ld-elf/shared.exp: Update expected results.
121 * testsuite/ld-elf/dwarf2.err: Likewise
123 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
125 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
126 * testsuite/ld-elf/dwarf2.err: New file.
127 * testsuite/ld-elf/dwarf2a.c: New file.
128 * testsuite/ld-elf/dwarf2b.c: New file.
129 * testsuite/ld-elf/dwarf3.c: New file.
130 * testsuite/ld-elf/dwarf3.err: New file.
132 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
134 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
135 error, warning_output, and error_output actions. Remove separate
137 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
139 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
141 2017-02-16 Alan Modra <amodra@gmail.com>
143 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
144 from void pointers to function pointers.
145 * testsuite/ld-elf/pr18718.c: Update to suit.
146 * testsuite/ld-elf/pr18720a.c: Update to suit.
148 2017-02-16 Alan Modra <amodra@gmail.com>
151 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
152 * testsuite/ld-elf/loadaddr2.d: Likewise.
153 * testsuite/ld-elf/loadaddr3a.d: Likewise.
154 * testsuite/ld-scripts/rgn-at5.d: Likewise.
156 2017-02-16 Alan Modra <amodra@gmail.com>
158 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
159 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
161 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
164 * testsuite/ld-i386/i386.exp: Run pr21168.
165 * testsuite/ld-i386/pr21168a.c: New file.
166 * testsuite/ld-i386/pr21168b.S: Likewise.
168 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
171 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
173 * testsuite/ld-i386/pr20244-4.s: New file.
174 * testsuite/ld-i386/pr20244-4a.d: Likewise.
175 * testsuite/ld-i386/pr20244-4b.d: Likewise.
176 * testsuite/ld-i386/pr20244-4c.d: Likewise.
178 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
180 * ldmisc.c (vfinfo): Don't print the function name again either
181 if no source file name has been found both now and previously.
182 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
183 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
184 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
185 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
186 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
187 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
188 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
189 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
190 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
191 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
193 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
195 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
197 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
198 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
200 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
202 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
203 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
204 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
205 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
206 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
207 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
208 * testsuite/ld-powerpc/tocopt.out: Likewise.
209 * testsuite/ld-powerpc/tocopt7.out: Likewise.
211 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
213 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
215 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
217 * testsuite/ld-scripts/sysroot-prefix.exp
218 (get_base_dir_for_scripts): New function.
219 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
221 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
223 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
224 _gp to __global_pointer$
226 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
228 * configure.tgt (arc*-*-linux*): Change the default linker
229 emulation based on --with-cpu selection.
230 * NEWS: Mention new configuration option.
232 2017-02-06 Jiong Wang <jiong.wang@arm.com>
234 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
237 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
239 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
241 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
243 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
246 2017-02-02 Jiong Wang <jiong.wang@arm.com>
248 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
249 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
250 dlopen support into "dlopen_run_tests". These tests include dl1*main
252 (dlopen_run_tests): New and only run it when check_libdl_available
253 returns true. XFAIL on *-*-netbsdelf*.
255 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
257 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
258 presentation of relocation addends.
259 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
260 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
261 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
263 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
265 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
267 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
268 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
270 2017-02-01 Jiong Wang <jiong.wang@arm.com>
272 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
273 Append $board_cflags to link commands.
275 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
277 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
278 check for digit in second decimal place.
280 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
283 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
286 2017-01-31 Nick Clifton <nickc@redhat.com>
288 * ldmain.c (add_archive_element): Eliminate string buffer.
289 * ldlang.c (lang_print_asneeded): Likewise.
291 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
293 * emultempl/mipself.em (ignore_branch_isa): New variable.
294 (mips_create_output_section_statements): Rename
295 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
296 add `ignore_branch_isa' argument.
297 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
298 OPTION_NO_IGNORE_BRANCH_ISA enum values.
299 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
300 "no-ignore-branch-isa" options.
301 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
302 `--no-ignore-branch-isa'.
303 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
304 OPTION_NO_IGNORE_BRANCH_ISA.
306 * ld.texinfo (Options specific to MIPS targets): Add
307 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
308 (ld and the MIPS family): Likewise.
310 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
311 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
312 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
313 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
314 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
315 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
317 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
319 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
321 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
324 Fix long-standing buglet and fallout from now-default initfini-array.
325 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
326 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
328 2017-01-27 Jiong Wang <jiong.wang@arm.com>
330 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
333 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
334 Nick Clifton <nickc@redhat.com>
337 * ld.texinfo (Options): Extend documentation of the --plugin
338 option. Include a description of where the plugins should be
341 2017-01-27 Nick Clifton <nickc@redhat.com>
343 * po/sr.po: New Serbian translation.
344 * configure.ac (ALL_LINGUAS): Add sr.
345 * configure: Regenerate.
347 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
349 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
350 (bfin-*-rtems*): Move to (bfin*-*-elf*).
351 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
352 (m68*-*-rtems*): Move to (m68*-*-elf*).
353 (mips*-*-rtems*): Move to (mips*-*-elf*).
354 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
355 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
356 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
357 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
359 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
361 * configure.tgt (h8300-*-rtemscoff*): Remove.
362 (i960-*-rtems*): Likewise.
363 (m68*-*-rtemscoff*): Likewise.
364 (sh-*-rtemscoff*): Likewise.
366 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
368 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
369 add implicit version nodes if an anonymous version tag is being
372 2017-01-24 Jiong Wang <jiong.wang@arm.com>
374 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
375 "Compile 8a", "Compile 8b"...
376 (lto_compile_elf_tests): ...to here. Always run these tests.
377 (lto_run_elf_tests): Move "LTO 7"...
378 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
379 environment where share library is supported.
381 2017-01-24 Alan Modra <amodra@gmail.com>
383 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
385 * testsuite/ld-powerpc/tlsexe.d: Likewise.
386 * testsuite/ld-powerpc/tlsexe.g: Likewise.
388 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
390 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
391 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
392 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
393 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
394 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
395 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
396 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
397 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
398 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
399 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
400 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
401 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
402 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
404 2017-01-23 Nick Clifton <nickc@redhat.com>
406 * po/ga.po: Updated Irish translation.
408 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
411 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
413 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
416 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
417 `fdata' and `edata' respectively.
418 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
419 * testsuite/ld-elf/pr20828-a.sd: Likewise.
420 * testsuite/ld-elf/pr20828-b.sd: Likewise.
421 * testsuite/ld-elf/pr20828-c.sd: Likewise.
423 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
426 * testsuite/ld-elf/pr20828-1.sd: Remove test.
427 * testsuite/ld-elf/pr20828-a.sd: New test.
428 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
429 * testsuite/ld-elf/pr20828-b.sd: ... this.
430 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
431 * testsuite/ld-elf/pr20828-c.sd: ... this.
432 * testsuite/ld-elf/shared.exp: Adjust accordingly.
434 2017-01-23 Jiong Wang <jiong.wang@arm.com>
436 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
437 board_cflags as gcc is used as linker driver.
438 * testsuite/ld-unique/unique.exp: Likewise
440 2017-01-20 Jiong Wang <jiong.wang@arm.com>
442 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
443 * testsuite/ld-aarch64/func-in-so.s: New test source file.
444 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
445 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
447 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
449 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
451 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
454 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
455 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
457 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
460 * testsuite/ld-elf/pr20828-1.sd: New test.
461 * testsuite/ld-elf/pr20828-2a.sd: New test.
462 * testsuite/ld-elf/pr20828-2b.sd: New test.
463 * testsuite/ld-elf/pr20828.ld: New test linker script.
464 * testsuite/ld-elf/pr20828.ver: New test version script.
465 * testsuite/ld-elf/pr20828.s: New test source.
466 * testsuite/ld-elf/shared.exp: Run the new test.
468 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
471 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
472 relocation pairing link test.
474 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
476 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
477 uniqeue.exp, as not all targets have such support.
479 2017-01-16 Nick Clifton <nickc@redhat.com>
481 * po/sv.po: Updated Swedish translation.
483 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
486 * testsuite/ld-x86-64/pr21038b.d: Updated.
487 * testsuite/ld-x86-64/pr21038c.d: New file.
488 * testsuite/ld-x86-64/pr21038c.s: Likewise.
489 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
491 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
494 * testsuite/ld-x86-64/pr21038a.d: New file.
495 * testsuite/ld-x86-64/pr21038a.s: Likewise.
496 * testsuite/ld-x86-64/pr21038b.d: Likewise.
497 * testsuite/ld-x86-64/pr21038b.s: Likewise.
498 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
500 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
502 * configure.tgt: Add entries for x86-redox and x86_64-redox.
504 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
506 * testsuite/ld-x86-64/pr20830b.d: Updated.
508 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
510 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
511 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
512 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
513 * testsuite/ld-x86-64/pr20830b.d: New file.
514 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
517 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
520 * testsuite/ld-i386/i386.exp: Run pr20830.
521 * testsuite/ld-x86-64/x86-64.exp: Likewise.
522 * testsuite/ld-i386/pr20830.d: New file.
523 * testsuite/ld-i386/pr20830.s: Likewise.
524 * testsuite/ld-x86-64/pr20830.d: Likewise.
525 * testsuite/ld-x86-64/pr20830.s: Likewise.
527 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
529 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
530 -Wl,--as-needed to $CC.
531 * testsuite/ld-i386/tls.exp: Likewise.
533 2017-01-10 Nick Clifton <nickc@redhat.com>
535 * po/sv.po: Updated Swedish translation.
537 2016-12-09 Graham Markall <graham.markall@embecosm.com>
538 Andrew Burgess <andrew.burgess@embecosm.com>
540 * Makefile.am: Add earclinux_nps.c target and add to
541 ALL_EMULATION_SOURCES.
542 * Makefile.in: Likewise, regenerated.
543 * configure.tgt: Add arclinux_nps as an extra emulation for
544 arc*-*-elf* and arc*-*-linux*.
545 * emulparams/arc-nps.sh: New file.
546 * emulparams/arclinux_nps.sh: New file.
547 * testsuite/ld-arc/arclinux-nps.d,
548 * testsuite/ld-arc/arclinux-nps.s: New test.
550 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
553 * ldlex.l (option): Add noyywrap
555 * ldlex.h (yywrap): Delete prototype.
557 2017-01-04 Alan Modra <amodra@gmail.com>
559 * testsuite/ld-elf/audit.exp: Check for shared lib support.
560 * testsuite/ld-elf/compress.exp: Likewise.
561 * testsuite/ld-elf/dwarf.exp: Likewise.
562 * testsuite/ld-elf/shared.exp: Likewise.
563 * testsuite/ld-elf/wrap.exp: Likewise.
564 * testsuite/ld-ifunc/ifunc.exp: Likewise.
565 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
567 2017-01-03 Alan Modra <amodra@gmail.com>
569 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
570 allow test to continue after compilation errors.
571 (run_cc_link_tests): Likewise.
573 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
575 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
576 (epruelf.c): Remove unneeded dependencies.
577 * Makefile.in: Regenerate
579 2017-01-03 Alan Modra <amodra@gmail.com>
581 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
583 * testsuite/ld-elfweak/elfweak.exp: Likewise.
584 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
586 2017-01-03 Alan Modra <amodra@gmail.com>
588 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
589 * testsuite/ld-pie/pie.exp: Likewise.
590 * testsuite/ld-plugin/lto.exp: Likewise.
592 2017-01-02 Alan Modra <amodra@gmail.com>
594 * Makefile.am (bootstrap): Delete rule.
595 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
596 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
597 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
598 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
599 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
600 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
601 * Makefile.in: Regenerate.
602 * configure: Regenerate.
603 * testsuite/config/default.exp (get_link_files): Delete.
604 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
606 (ld_simple_link): Delete.
607 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
608 (default_ld_simple_link): Rename to default_ld_link.
609 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
610 (run_ld_link_tests): Use ld_link, not ld_simple_link.
611 (run_cc_link_tests): Likewise.
612 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
613 Don't run exe when not native, and return unsupported.
614 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
615 Link ld1 etc. using $CC.
616 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
617 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
618 * testsuite/ld-cygwin/exe-export.exp: Likewise.
619 * testsuite/ld-elf/binutils.exp: Likewise.
620 * testsuite/ld-elf/eh-group.exp: Likewise.
621 * testsuite/ld-elf/exclude.exp: Likewise.
622 * testsuite/ld-elf/frame.exp: Likewise.
623 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
624 * testsuite/ld-elf/tls_common.exp: Likewise.
625 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
626 * testsuite/ld-fastcall/fastcall.exp: Likewise.
627 * testsuite/ld-gc/gc.exp: Likewise.
628 * testsuite/ld-ifunc/binutils.exp: Likewise.
629 * testsuite/ld-mep/mep.exp: Likewise.
630 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
631 * testsuite/ld-mn10300/mn10300.exp: Likewise.
632 * testsuite/ld-nios2/nios2.exp: Likewise.
633 * testsuite/ld-pe/pe-compile.exp: Likewise.
634 * testsuite/ld-pe/pe-run.exp: Likewise.
635 * testsuite/ld-pe/pe-run2.exp: Likewise.
636 * testsuite/ld-plugin/plugin.exp: Likewise.
637 * testsuite/ld-scripts/align.exp: Likewise.
638 * testsuite/ld-scripts/alignof.exp: Likewise.
639 * testsuite/ld-scripts/assert.exp: Likewise.
640 * testsuite/ld-scripts/defined.exp: Likewise.
641 * testsuite/ld-scripts/extern.exp: Likewise.
642 * testsuite/ld-scripts/log2.exp: Likewise.
643 * testsuite/ld-scripts/map-address.exp: Likewise.
644 * testsuite/ld-scripts/phdrs.exp: Likewise.
645 * testsuite/ld-scripts/phdrs2.exp: Likewise.
646 * testsuite/ld-scripts/script.exp: Likewise.
647 * testsuite/ld-scripts/section-flags.exp: Likewise.
648 * testsuite/ld-scripts/sizeof.exp: Likewise.
649 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
650 * testsuite/ld-scripts/weak.exp: Likewise.
651 * testsuite/ld-selective/selective.exp: Likewise.
652 * testsuite/ld-sh/sh.exp: Likewise.
653 * testsuite/ld-sh/sh64/relax.exp: Likewise.
654 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
655 * testsuite/ld-srec/srec.exp: Likewise.
656 * testsuite/ld-tic6x/tic6x.exp: Likewise.
657 * testsuite/ld-undefined/weak-undef.exp: Likewise.
658 * testsuite/ld-versados/versados.exp: Likewise.
659 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
660 * testsuite/ld-xtensa/coalesce.exp: Likewise.
661 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
662 * testsuite/ld-xtensa/lcall.exp: Likewise.
663 * testsuite/ld-elf/audit.exp: Run non-native too.
664 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
666 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
667 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
668 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
669 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
670 -Wl,--no-as-needed to most tests.
671 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
672 to simplify quoting. Set run_tests using [list] rather than
673 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
674 to many test. Prefix ld options with -Wl,.
675 (mix_pic_and_non_pic): Don't run exe if not native.
676 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
677 -Wl,--no-as-needed and prefix ld options with -Wl,.
678 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
680 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
681 (visibility_test): Don't run exe if not native.
682 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
684 (build_exec): Don't run exe if not native.
685 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
686 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
687 to some tests and prefix ld options with -Wl,. Expect GNU
688 for hppa-linux even when no ifuncs. Delete cleanup.
689 * testsuite/ld-pie/pie.exp: Run non-native too.
690 * testsuite/ld-plugin/lto.exp: Likewise.
691 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
693 (shared_test): Don't run exe if not native.
694 * testsuite/ld-size/size.exp: Run non-native too. Add
695 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
696 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
697 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
698 to some tests and prefix ld options with -Wl,. Expect GNU
699 for hppa-linux even when no unique syms. Delete cleanup.
700 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
701 tests and prefix ld options with -Wl,.
702 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
703 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
705 2017-01-02 Alan Modra <amodra@gmail.com>
707 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
709 2017-01-02 Alan Modra <amodra@gmail.com>
712 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
713 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
714 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
717 2017-01-02 Alan Modra <amodra@gmail.com>
719 Update year range in copyright notice of all files.
721 For older changes see ChangeLog-2016
723 Copyright (C) 2017 Free Software Foundation, Inc.
725 Copying and distribution of this file, with or without modification,
726 are permitted in any medium without royalty provided the copyright
727 notice and this notice are preserved.
733 version-control: never