1 2017-03-07 Alan Modra <amodra@gmail.com>
3 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
4 is not an assert before referencing defsym.
6 2017-03-05 Alan Modra <amodra@gmail.com>
8 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
9 * testsuite/ld-elf/eh6.d: Likewise.
10 * testsuite/ld-alpha/tlsbin.dd: Likewise.
11 * testsuite/ld-alpha/tlsbin.td: Likewise.
12 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
13 * testsuite/ld-alpha/tlspic.dd: Likewise.
14 * testsuite/ld-alpha/tlspic.rd: Likewise.
15 * testsuite/ld-alpha/tlspic.sd: Likewise.
16 * testsuite/ld-alpha/tlspic.td: Likewise.
17 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
18 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
19 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
20 * testsuite/ld-x86-64/pr20830a.d: Likewise.
21 * testsuite/ld-x86-64/pr21038a.d: Likewise.
22 * testsuite/ld-x86-64/pr21038b.d: Likewise.
23 * testsuite/ld-x86-64/pr21038c.d: Likewise.
25 2017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
28 * pe-dll.c (generate_edata): Fail if the input file(s) require too
31 2017-03-02 Alan Modra <amodra@gmail.com>
33 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
36 2017-02-28 Alan Modra <amodra@gmail.com>
38 * testsuite/ld-elf/merge.d: xfail for nios.
40 2017-02-28 Alan Modra <amodra@gmail.com>
42 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
43 limits of addpcis range.
45 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
47 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
49 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
50 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
52 2017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
55 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
56 (.rodata): New section.
57 (.data): Remove .rodata*.
59 2017-02-25 Alan Modra <amodra@gmail.com>
61 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
62 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
63 defining HPUX where necessary. Define HPUX for implib tests.
64 * testsuite/ld-elf/comm-data4.d: Run for hpux.
65 * testsuite/ld-elf/endsym.d: Likewise.
66 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
67 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
68 * testsuite/ld-elf/comm-data5.s: Likewise.
69 * testsuite/ld-elf/endsym.s: Likewise.
70 * testsuite/ld-elf/pr14170c.s: Likewise.
71 * testsuite/ld-elf/symbol3.s: Likewise.
72 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
74 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
75 * testsuite/ld-elf/warn3.d: Run for hpux.
76 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
77 * testsuite/ld-scripts/rgn-at11.d: Likewise.
78 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
80 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
82 * testsuite/ld-elf/ver_def.d: New test.
83 * testsuite/ld-elf/ver_def.ld: New test linker script.
84 * testsuite/ld-elf/ver_def.ver: New test version script.
85 * testsuite/ld-elf/ver_def.s: New test source.
86 * testsuite/ld-elf/readelf.exp: New test script.
88 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
90 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
92 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
93 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
94 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
96 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
98 * testsuite/ld-mips-elf/jalr4.dd: New test.
99 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
101 2017-02-23 Alan Modra <amodra@gmail.com>
104 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
106 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
107 and sdarel reloc fix.
109 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
112 * testsuite/ld-elf/pr20828-d.sd: New test.
113 * testsuite/ld-elf/pr20828-e.sd: New test.
114 * testsuite/ld-elf/pr20828-v.od: New test.
115 * testsuite/ld-elf/pr20828-v.ver: New test version script.
116 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
117 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
119 * testsuite/ld-elf/shared.exp: Run the new tests.
121 2017-02-21 Nick Clifton <nickc@redhat.com>
123 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
124 about non-void function returning without a result.
126 2017-02-17 Alan Modra <amodra@gmail.com>
129 * scripttempl/pe.sc: Don't combine sections for ld -r.
130 * scripttempl/pep.sc: Likewise.
132 2017-02-17 Alan Modra <amodra@gmail.com>
135 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
136 rather than using OTHER_SECTIONS.
137 * emulparams/elf32mt.sh: Likewise.
138 * emulparams/elf32rx.sh: Likewise.
139 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
141 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
142 rather than using OTHER_SECTIONS.
143 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
144 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
145 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
146 * emulparams/shelf_uclinux.sh: Likewise.
147 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
148 to define _stack, not OTHER_SECTIONS.
149 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
150 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
151 * scripttempl/arclinux.sc: Likewise.
152 * scripttempl/elf64hppa.sc: Likewise.
153 * scripttempl/elfxtensa.sc: Likewise.
154 * scripttempl/nds32elf.sc: Likewise.
155 * scripttempl/armbpabi.sc: Move STACK before debug sections.
156 * scripttempl/elf_chaos.sc: Likewise.
157 * scripttempl/elfarc.sc: Delete STACK.
158 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
159 TINY_BSS_SECTION, and .stack before debug sections.
161 2017-02-17 Nick Clifton <nickc@redhat.com>
164 * ld.texinfo (Options): Add missing @item entry for --pop-state.
166 2017-02-17 Alan Modra <amodra@gmail.com>
168 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
169 multiple definition errors.
171 2017-02-17 Alan Modra <amodra@gmail.com>
173 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
174 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
176 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
178 * testsuite/ld-elf/shared.exp: Update expected results.
179 * testsuite/ld-elf/dwarf2.err: Likewise
181 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
183 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
184 * testsuite/ld-elf/dwarf2.err: New file.
185 * testsuite/ld-elf/dwarf2a.c: New file.
186 * testsuite/ld-elf/dwarf2b.c: New file.
187 * testsuite/ld-elf/dwarf3.c: New file.
188 * testsuite/ld-elf/dwarf3.err: New file.
190 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
192 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
193 error, warning_output, and error_output actions. Remove separate
195 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
197 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
199 2017-02-16 Alan Modra <amodra@gmail.com>
201 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
202 from void pointers to function pointers.
203 * testsuite/ld-elf/pr18718.c: Update to suit.
204 * testsuite/ld-elf/pr18720a.c: Update to suit.
206 2017-02-16 Alan Modra <amodra@gmail.com>
209 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
210 * testsuite/ld-elf/loadaddr2.d: Likewise.
211 * testsuite/ld-elf/loadaddr3a.d: Likewise.
212 * testsuite/ld-scripts/rgn-at5.d: Likewise.
214 2017-02-16 Alan Modra <amodra@gmail.com>
216 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
217 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
219 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
222 * testsuite/ld-i386/i386.exp: Run pr21168.
223 * testsuite/ld-i386/pr21168a.c: New file.
224 * testsuite/ld-i386/pr21168b.S: Likewise.
226 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
229 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
231 * testsuite/ld-i386/pr20244-4.s: New file.
232 * testsuite/ld-i386/pr20244-4a.d: Likewise.
233 * testsuite/ld-i386/pr20244-4b.d: Likewise.
234 * testsuite/ld-i386/pr20244-4c.d: Likewise.
236 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
238 * ldmisc.c (vfinfo): Don't print the function name again either
239 if no source file name has been found both now and previously.
240 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
241 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
242 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
243 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
244 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
245 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
246 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
247 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
248 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
249 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
251 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
253 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
255 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
256 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
258 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
260 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
261 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
262 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
263 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
264 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
265 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
266 * testsuite/ld-powerpc/tocopt.out: Likewise.
267 * testsuite/ld-powerpc/tocopt7.out: Likewise.
269 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
271 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
273 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
275 * testsuite/ld-scripts/sysroot-prefix.exp
276 (get_base_dir_for_scripts): New function.
277 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
279 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
281 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
282 _gp to __global_pointer$
284 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
286 * configure.tgt (arc*-*-linux*): Change the default linker
287 emulation based on --with-cpu selection.
288 * NEWS: Mention new configuration option.
290 2017-02-06 Jiong Wang <jiong.wang@arm.com>
292 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
295 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
297 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
299 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
301 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
304 2017-02-02 Jiong Wang <jiong.wang@arm.com>
306 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
307 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
308 dlopen support into "dlopen_run_tests". These tests include dl1*main
310 (dlopen_run_tests): New and only run it when check_libdl_available
311 returns true. XFAIL on *-*-netbsdelf*.
313 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
315 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
316 presentation of relocation addends.
317 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
318 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
319 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
321 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
323 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
325 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
326 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
328 2017-02-01 Jiong Wang <jiong.wang@arm.com>
330 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
331 Append $board_cflags to link commands.
333 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
335 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
336 check for digit in second decimal place.
338 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
341 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
344 2017-01-31 Nick Clifton <nickc@redhat.com>
346 * ldmain.c (add_archive_element): Eliminate string buffer.
347 * ldlang.c (lang_print_asneeded): Likewise.
349 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
351 * emultempl/mipself.em (ignore_branch_isa): New variable.
352 (mips_create_output_section_statements): Rename
353 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
354 add `ignore_branch_isa' argument.
355 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
356 OPTION_NO_IGNORE_BRANCH_ISA enum values.
357 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
358 "no-ignore-branch-isa" options.
359 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
360 `--no-ignore-branch-isa'.
361 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
362 OPTION_NO_IGNORE_BRANCH_ISA.
364 * ld.texinfo (Options specific to MIPS targets): Add
365 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
366 (ld and the MIPS family): Likewise.
368 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
369 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
370 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
371 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
372 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
373 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
375 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
377 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
379 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
382 Fix long-standing buglet and fallout from now-default initfini-array.
383 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
384 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
386 2017-01-27 Jiong Wang <jiong.wang@arm.com>
388 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
391 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
392 Nick Clifton <nickc@redhat.com>
395 * ld.texinfo (Options): Extend documentation of the --plugin
396 option. Include a description of where the plugins should be
399 2017-01-27 Nick Clifton <nickc@redhat.com>
401 * po/sr.po: New Serbian translation.
402 * configure.ac (ALL_LINGUAS): Add sr.
403 * configure: Regenerate.
405 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
407 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
408 (bfin-*-rtems*): Move to (bfin*-*-elf*).
409 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
410 (m68*-*-rtems*): Move to (m68*-*-elf*).
411 (mips*-*-rtems*): Move to (mips*-*-elf*).
412 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
413 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
414 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
415 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
417 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
419 * configure.tgt (h8300-*-rtemscoff*): Remove.
420 (i960-*-rtems*): Likewise.
421 (m68*-*-rtemscoff*): Likewise.
422 (sh-*-rtemscoff*): Likewise.
424 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
426 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
427 add implicit version nodes if an anonymous version tag is being
430 2017-01-24 Jiong Wang <jiong.wang@arm.com>
432 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
433 "Compile 8a", "Compile 8b"...
434 (lto_compile_elf_tests): ...to here. Always run these tests.
435 (lto_run_elf_tests): Move "LTO 7"...
436 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
437 environment where share library is supported.
439 2017-01-24 Alan Modra <amodra@gmail.com>
441 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
443 * testsuite/ld-powerpc/tlsexe.d: Likewise.
444 * testsuite/ld-powerpc/tlsexe.g: Likewise.
446 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
448 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
449 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
450 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
451 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
452 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
453 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
454 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
455 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
456 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
457 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
458 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
459 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
460 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
462 2017-01-23 Nick Clifton <nickc@redhat.com>
464 * po/ga.po: Updated Irish translation.
466 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
469 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
471 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
474 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
475 `fdata' and `edata' respectively.
476 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
477 * testsuite/ld-elf/pr20828-a.sd: Likewise.
478 * testsuite/ld-elf/pr20828-b.sd: Likewise.
479 * testsuite/ld-elf/pr20828-c.sd: Likewise.
481 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
484 * testsuite/ld-elf/pr20828-1.sd: Remove test.
485 * testsuite/ld-elf/pr20828-a.sd: New test.
486 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
487 * testsuite/ld-elf/pr20828-b.sd: ... this.
488 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
489 * testsuite/ld-elf/pr20828-c.sd: ... this.
490 * testsuite/ld-elf/shared.exp: Adjust accordingly.
492 2017-01-23 Jiong Wang <jiong.wang@arm.com>
494 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
495 board_cflags as gcc is used as linker driver.
496 * testsuite/ld-unique/unique.exp: Likewise
498 2017-01-20 Jiong Wang <jiong.wang@arm.com>
500 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
501 * testsuite/ld-aarch64/func-in-so.s: New test source file.
502 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
503 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
505 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
507 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
509 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
512 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
513 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
515 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
518 * testsuite/ld-elf/pr20828-1.sd: New test.
519 * testsuite/ld-elf/pr20828-2a.sd: New test.
520 * testsuite/ld-elf/pr20828-2b.sd: New test.
521 * testsuite/ld-elf/pr20828.ld: New test linker script.
522 * testsuite/ld-elf/pr20828.ver: New test version script.
523 * testsuite/ld-elf/pr20828.s: New test source.
524 * testsuite/ld-elf/shared.exp: Run the new test.
526 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
529 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
530 relocation pairing link test.
532 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
534 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
535 uniqeue.exp, as not all targets have such support.
537 2017-01-16 Nick Clifton <nickc@redhat.com>
539 * po/sv.po: Updated Swedish translation.
541 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
544 * testsuite/ld-x86-64/pr21038b.d: Updated.
545 * testsuite/ld-x86-64/pr21038c.d: New file.
546 * testsuite/ld-x86-64/pr21038c.s: Likewise.
547 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
549 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
552 * testsuite/ld-x86-64/pr21038a.d: New file.
553 * testsuite/ld-x86-64/pr21038a.s: Likewise.
554 * testsuite/ld-x86-64/pr21038b.d: Likewise.
555 * testsuite/ld-x86-64/pr21038b.s: Likewise.
556 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
558 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
560 * configure.tgt: Add entries for x86-redox and x86_64-redox.
562 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
564 * testsuite/ld-x86-64/pr20830b.d: Updated.
566 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
568 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
569 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
570 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
571 * testsuite/ld-x86-64/pr20830b.d: New file.
572 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
575 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
578 * testsuite/ld-i386/i386.exp: Run pr20830.
579 * testsuite/ld-x86-64/x86-64.exp: Likewise.
580 * testsuite/ld-i386/pr20830.d: New file.
581 * testsuite/ld-i386/pr20830.s: Likewise.
582 * testsuite/ld-x86-64/pr20830.d: Likewise.
583 * testsuite/ld-x86-64/pr20830.s: Likewise.
585 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
587 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
588 -Wl,--as-needed to $CC.
589 * testsuite/ld-i386/tls.exp: Likewise.
591 2017-01-10 Nick Clifton <nickc@redhat.com>
593 * po/sv.po: Updated Swedish translation.
595 2016-12-09 Graham Markall <graham.markall@embecosm.com>
596 Andrew Burgess <andrew.burgess@embecosm.com>
598 * Makefile.am: Add earclinux_nps.c target and add to
599 ALL_EMULATION_SOURCES.
600 * Makefile.in: Likewise, regenerated.
601 * configure.tgt: Add arclinux_nps as an extra emulation for
602 arc*-*-elf* and arc*-*-linux*.
603 * emulparams/arc-nps.sh: New file.
604 * emulparams/arclinux_nps.sh: New file.
605 * testsuite/ld-arc/arclinux-nps.d,
606 * testsuite/ld-arc/arclinux-nps.s: New test.
608 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
611 * ldlex.l (option): Add noyywrap
613 * ldlex.h (yywrap): Delete prototype.
615 2017-01-04 Alan Modra <amodra@gmail.com>
617 * testsuite/ld-elf/audit.exp: Check for shared lib support.
618 * testsuite/ld-elf/compress.exp: Likewise.
619 * testsuite/ld-elf/dwarf.exp: Likewise.
620 * testsuite/ld-elf/shared.exp: Likewise.
621 * testsuite/ld-elf/wrap.exp: Likewise.
622 * testsuite/ld-ifunc/ifunc.exp: Likewise.
623 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
625 2017-01-03 Alan Modra <amodra@gmail.com>
627 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
628 allow test to continue after compilation errors.
629 (run_cc_link_tests): Likewise.
631 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
633 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
634 (epruelf.c): Remove unneeded dependencies.
635 * Makefile.in: Regenerate
637 2017-01-03 Alan Modra <amodra@gmail.com>
639 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
641 * testsuite/ld-elfweak/elfweak.exp: Likewise.
642 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
644 2017-01-03 Alan Modra <amodra@gmail.com>
646 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
647 * testsuite/ld-pie/pie.exp: Likewise.
648 * testsuite/ld-plugin/lto.exp: Likewise.
650 2017-01-02 Alan Modra <amodra@gmail.com>
652 * Makefile.am (bootstrap): Delete rule.
653 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
654 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
655 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
656 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
657 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
658 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
659 * Makefile.in: Regenerate.
660 * configure: Regenerate.
661 * testsuite/config/default.exp (get_link_files): Delete.
662 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
664 (ld_simple_link): Delete.
665 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
666 (default_ld_simple_link): Rename to default_ld_link.
667 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
668 (run_ld_link_tests): Use ld_link, not ld_simple_link.
669 (run_cc_link_tests): Likewise.
670 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
671 Don't run exe when not native, and return unsupported.
672 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
673 Link ld1 etc. using $CC.
674 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
675 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
676 * testsuite/ld-cygwin/exe-export.exp: Likewise.
677 * testsuite/ld-elf/binutils.exp: Likewise.
678 * testsuite/ld-elf/eh-group.exp: Likewise.
679 * testsuite/ld-elf/exclude.exp: Likewise.
680 * testsuite/ld-elf/frame.exp: Likewise.
681 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
682 * testsuite/ld-elf/tls_common.exp: Likewise.
683 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
684 * testsuite/ld-fastcall/fastcall.exp: Likewise.
685 * testsuite/ld-gc/gc.exp: Likewise.
686 * testsuite/ld-ifunc/binutils.exp: Likewise.
687 * testsuite/ld-mep/mep.exp: Likewise.
688 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
689 * testsuite/ld-mn10300/mn10300.exp: Likewise.
690 * testsuite/ld-nios2/nios2.exp: Likewise.
691 * testsuite/ld-pe/pe-compile.exp: Likewise.
692 * testsuite/ld-pe/pe-run.exp: Likewise.
693 * testsuite/ld-pe/pe-run2.exp: Likewise.
694 * testsuite/ld-plugin/plugin.exp: Likewise.
695 * testsuite/ld-scripts/align.exp: Likewise.
696 * testsuite/ld-scripts/alignof.exp: Likewise.
697 * testsuite/ld-scripts/assert.exp: Likewise.
698 * testsuite/ld-scripts/defined.exp: Likewise.
699 * testsuite/ld-scripts/extern.exp: Likewise.
700 * testsuite/ld-scripts/log2.exp: Likewise.
701 * testsuite/ld-scripts/map-address.exp: Likewise.
702 * testsuite/ld-scripts/phdrs.exp: Likewise.
703 * testsuite/ld-scripts/phdrs2.exp: Likewise.
704 * testsuite/ld-scripts/script.exp: Likewise.
705 * testsuite/ld-scripts/section-flags.exp: Likewise.
706 * testsuite/ld-scripts/sizeof.exp: Likewise.
707 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
708 * testsuite/ld-scripts/weak.exp: Likewise.
709 * testsuite/ld-selective/selective.exp: Likewise.
710 * testsuite/ld-sh/sh.exp: Likewise.
711 * testsuite/ld-sh/sh64/relax.exp: Likewise.
712 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
713 * testsuite/ld-srec/srec.exp: Likewise.
714 * testsuite/ld-tic6x/tic6x.exp: Likewise.
715 * testsuite/ld-undefined/weak-undef.exp: Likewise.
716 * testsuite/ld-versados/versados.exp: Likewise.
717 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
718 * testsuite/ld-xtensa/coalesce.exp: Likewise.
719 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
720 * testsuite/ld-xtensa/lcall.exp: Likewise.
721 * testsuite/ld-elf/audit.exp: Run non-native too.
722 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
724 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
725 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
726 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
727 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
728 -Wl,--no-as-needed to most tests.
729 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
730 to simplify quoting. Set run_tests using [list] rather than
731 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
732 to many test. Prefix ld options with -Wl,.
733 (mix_pic_and_non_pic): Don't run exe if not native.
734 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
735 -Wl,--no-as-needed and prefix ld options with -Wl,.
736 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
738 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
739 (visibility_test): Don't run exe if not native.
740 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
742 (build_exec): Don't run exe if not native.
743 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
744 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
745 to some tests and prefix ld options with -Wl,. Expect GNU
746 for hppa-linux even when no ifuncs. Delete cleanup.
747 * testsuite/ld-pie/pie.exp: Run non-native too.
748 * testsuite/ld-plugin/lto.exp: Likewise.
749 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
751 (shared_test): Don't run exe if not native.
752 * testsuite/ld-size/size.exp: Run non-native too. Add
753 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
754 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
755 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
756 to some tests and prefix ld options with -Wl,. Expect GNU
757 for hppa-linux even when no unique syms. Delete cleanup.
758 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
759 tests and prefix ld options with -Wl,.
760 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
761 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
763 2017-01-02 Alan Modra <amodra@gmail.com>
765 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
767 2017-01-02 Alan Modra <amodra@gmail.com>
770 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
771 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
772 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
775 2017-01-02 Alan Modra <amodra@gmail.com>
777 Update year range in copyright notice of all files.
779 For older changes see ChangeLog-2016
781 Copyright (C) 2017 Free Software Foundation, Inc.
783 Copying and distribution of this file, with or without modification,
784 are permitted in any medium without royalty provided the copyright
785 notice and this notice are preserved.
791 version-control: never