1 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
5 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
6 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
8 2017-02-01 Jiong Wang <jiong.wang@arm.com>
10 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
11 Append $board_cflags to link commands.
13 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
15 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
16 check for digit in second decimal place.
18 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
21 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
24 2017-01-31 Nick Clifton <nickc@redhat.com>
26 * ldmain.c (add_archive_element): Eliminate string buffer.
27 * ldlang.c (lang_print_asneeded): Likewise.
29 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
31 * emultempl/mipself.em (ignore_branch_isa): New variable.
32 (mips_create_output_section_statements): Rename
33 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
34 add `ignore_branch_isa' argument.
35 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
36 OPTION_NO_IGNORE_BRANCH_ISA enum values.
37 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
38 "no-ignore-branch-isa" options.
39 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
40 `--no-ignore-branch-isa'.
41 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
42 OPTION_NO_IGNORE_BRANCH_ISA.
44 * ld.texinfo (Options specific to MIPS targets): Add
45 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
46 (ld and the MIPS family): Likewise.
48 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
49 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
50 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
51 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
52 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
53 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
55 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
57 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
59 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
62 Fix long-standing buglet and fallout from now-default initfini-array.
63 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
64 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
66 2017-01-27 Jiong Wang <jiong.wang@arm.com>
68 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
71 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
72 Nick Clifton <nickc@redhat.com>
75 * ld.texinfo (Options): Extend documentation of the --plugin
76 option. Include a description of where the plugins should be
79 2017-01-27 Nick Clifton <nickc@redhat.com>
81 * po/sr.po: New Serbian translation.
82 * configure.ac (ALL_LINGUAS): Add sr.
83 * configure: Regenerate.
85 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
87 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
88 (bfin-*-rtems*): Move to (bfin*-*-elf*).
89 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
90 (m68*-*-rtems*): Move to (m68*-*-elf*).
91 (mips*-*-rtems*): Move to (mips*-*-elf*).
92 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
93 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
94 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
95 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
97 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
99 * configure.tgt (h8300-*-rtemscoff*): Remove.
100 (i960-*-rtems*): Likewise.
101 (m68*-*-rtemscoff*): Likewise.
102 (sh-*-rtemscoff*): Likewise.
104 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
106 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
107 add implicit version nodes if an anonymous version tag is being
110 2017-01-24 Jiong Wang <jiong.wang@arm.com>
112 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
113 "Compile 8a", "Compile 8b"...
114 (lto_compile_elf_tests): ...to here. Always run these tests.
115 (lto_run_elf_tests): Move "LTO 7"...
116 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
117 environment where share library is supported.
119 2017-01-24 Alan Modra <amodra@gmail.com>
121 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
123 * testsuite/ld-powerpc/tlsexe.d: Likewise.
124 * testsuite/ld-powerpc/tlsexe.g: Likewise.
126 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
128 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
129 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
130 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
131 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
132 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
133 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
134 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
135 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
136 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
137 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
138 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
139 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
140 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
142 2017-01-23 Nick Clifton <nickc@redhat.com>
144 * po/ga.po: Updated Irish translation.
146 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
149 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
151 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
154 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
155 `fdata' and `edata' respectively.
156 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
157 * testsuite/ld-elf/pr20828-a.sd: Likewise.
158 * testsuite/ld-elf/pr20828-b.sd: Likewise.
159 * testsuite/ld-elf/pr20828-c.sd: Likewise.
161 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
164 * testsuite/ld-elf/pr20828-1.sd: Remove test.
165 * testsuite/ld-elf/pr20828-a.sd: New test.
166 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
167 * testsuite/ld-elf/pr20828-b.sd: ... this.
168 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
169 * testsuite/ld-elf/pr20828-c.sd: ... this.
170 * testsuite/ld-elf/shared.exp: Adjust accordingly.
172 2017-01-23 Jiong Wang <jiong.wang@arm.com>
174 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
175 board_cflags as gcc is used as linker driver.
176 * testsuite/ld-unique/unique.exp: Likewise
178 2017-01-20 Jiong Wang <jiong.wang@arm.com>
180 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
181 * testsuite/ld-aarch64/func-in-so.s: New test source file.
182 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
183 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
185 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
187 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
189 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
192 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
193 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
195 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
198 * testsuite/ld-elf/pr20828-1.sd: New test.
199 * testsuite/ld-elf/pr20828-2a.sd: New test.
200 * testsuite/ld-elf/pr20828-2b.sd: New test.
201 * testsuite/ld-elf/pr20828.ld: New test linker script.
202 * testsuite/ld-elf/pr20828.ver: New test version script.
203 * testsuite/ld-elf/pr20828.s: New test source.
204 * testsuite/ld-elf/shared.exp: Run the new test.
206 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
209 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
210 relocation pairing link test.
212 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
214 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
215 uniqeue.exp, as not all targets have such support.
217 2017-01-16 Nick Clifton <nickc@redhat.com>
219 * po/sv.po: Updated Swedish translation.
221 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
224 * testsuite/ld-x86-64/pr21038b.d: Updated.
225 * testsuite/ld-x86-64/pr21038c.d: New file.
226 * testsuite/ld-x86-64/pr21038c.s: Likewise.
227 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
229 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
232 * testsuite/ld-x86-64/pr21038a.d: New file.
233 * testsuite/ld-x86-64/pr21038a.s: Likewise.
234 * testsuite/ld-x86-64/pr21038b.d: Likewise.
235 * testsuite/ld-x86-64/pr21038b.s: Likewise.
236 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
238 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
240 * configure.tgt: Add entries for x86-redox and x86_64-redox.
242 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
244 * testsuite/ld-x86-64/pr20830b.d: Updated.
246 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
248 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
249 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
250 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
251 * testsuite/ld-x86-64/pr20830b.d: New file.
252 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
255 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
258 * testsuite/ld-i386/i386.exp: Run pr20830.
259 * testsuite/ld-x86-64/x86-64.exp: Likewise.
260 * testsuite/ld-i386/pr20830.d: New file.
261 * testsuite/ld-i386/pr20830.s: Likewise.
262 * testsuite/ld-x86-64/pr20830.d: Likewise.
263 * testsuite/ld-x86-64/pr20830.s: Likewise.
265 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
267 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
268 -Wl,--as-needed to $CC.
269 * testsuite/ld-i386/tls.exp: Likewise.
271 2017-01-10 Nick Clifton <nickc@redhat.com>
273 * po/sv.po: Updated Swedish translation.
275 2016-12-09 Graham Markall <graham.markall@embecosm.com>
276 Andrew Burgess <andrew.burgess@embecosm.com>
278 * Makefile.am: Add earclinux_nps.c target and add to
279 ALL_EMULATION_SOURCES.
280 * Makefile.in: Likewise, regenerated.
281 * configure.tgt: Add arclinux_nps as an extra emulation for
282 arc*-*-elf* and arc*-*-linux*.
283 * emulparams/arc-nps.sh: New file.
284 * emulparams/arclinux_nps.sh: New file.
285 * testsuite/ld-arc/arclinux-nps.d,
286 * testsuite/ld-arc/arclinux-nps.s: New test.
288 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
291 * ldlex.l (option): Add noyywrap
293 * ldlex.h (yywrap): Delete prototype.
295 2017-01-04 Alan Modra <amodra@gmail.com>
297 * testsuite/ld-elf/audit.exp: Check for shared lib support.
298 * testsuite/ld-elf/compress.exp: Likewise.
299 * testsuite/ld-elf/dwarf.exp: Likewise.
300 * testsuite/ld-elf/shared.exp: Likewise.
301 * testsuite/ld-elf/wrap.exp: Likewise.
302 * testsuite/ld-ifunc/ifunc.exp: Likewise.
303 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
305 2017-01-03 Alan Modra <amodra@gmail.com>
307 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
308 allow test to continue after compilation errors.
309 (run_cc_link_tests): Likewise.
311 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
313 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
314 (epruelf.c): Remove unneeded dependencies.
315 * Makefile.in: Regenerate
317 2017-01-03 Alan Modra <amodra@gmail.com>
319 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
321 * testsuite/ld-elfweak/elfweak.exp: Likewise.
322 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
324 2017-01-03 Alan Modra <amodra@gmail.com>
326 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
327 * testsuite/ld-pie/pie.exp: Likewise.
328 * testsuite/ld-plugin/lto.exp: Likewise.
330 2017-01-02 Alan Modra <amodra@gmail.com>
332 * Makefile.am (bootstrap): Delete rule.
333 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
334 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
335 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
336 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
337 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
338 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
339 * Makefile.in: Regenerate.
340 * configure: Regenerate.
341 * testsuite/config/default.exp (get_link_files): Delete.
342 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
344 (ld_simple_link): Delete.
345 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
346 (default_ld_simple_link): Rename to default_ld_link.
347 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
348 (run_ld_link_tests): Use ld_link, not ld_simple_link.
349 (run_cc_link_tests): Likewise.
350 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
351 Don't run exe when not native, and return unsupported.
352 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
353 Link ld1 etc. using $CC.
354 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
355 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
356 * testsuite/ld-cygwin/exe-export.exp: Likewise.
357 * testsuite/ld-elf/binutils.exp: Likewise.
358 * testsuite/ld-elf/eh-group.exp: Likewise.
359 * testsuite/ld-elf/exclude.exp: Likewise.
360 * testsuite/ld-elf/frame.exp: Likewise.
361 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
362 * testsuite/ld-elf/tls_common.exp: Likewise.
363 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
364 * testsuite/ld-fastcall/fastcall.exp: Likewise.
365 * testsuite/ld-gc/gc.exp: Likewise.
366 * testsuite/ld-ifunc/binutils.exp: Likewise.
367 * testsuite/ld-mep/mep.exp: Likewise.
368 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
369 * testsuite/ld-mn10300/mn10300.exp: Likewise.
370 * testsuite/ld-nios2/nios2.exp: Likewise.
371 * testsuite/ld-pe/pe-compile.exp: Likewise.
372 * testsuite/ld-pe/pe-run.exp: Likewise.
373 * testsuite/ld-pe/pe-run2.exp: Likewise.
374 * testsuite/ld-plugin/plugin.exp: Likewise.
375 * testsuite/ld-scripts/align.exp: Likewise.
376 * testsuite/ld-scripts/alignof.exp: Likewise.
377 * testsuite/ld-scripts/assert.exp: Likewise.
378 * testsuite/ld-scripts/defined.exp: Likewise.
379 * testsuite/ld-scripts/extern.exp: Likewise.
380 * testsuite/ld-scripts/log2.exp: Likewise.
381 * testsuite/ld-scripts/map-address.exp: Likewise.
382 * testsuite/ld-scripts/phdrs.exp: Likewise.
383 * testsuite/ld-scripts/phdrs2.exp: Likewise.
384 * testsuite/ld-scripts/script.exp: Likewise.
385 * testsuite/ld-scripts/section-flags.exp: Likewise.
386 * testsuite/ld-scripts/sizeof.exp: Likewise.
387 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
388 * testsuite/ld-scripts/weak.exp: Likewise.
389 * testsuite/ld-selective/selective.exp: Likewise.
390 * testsuite/ld-sh/sh.exp: Likewise.
391 * testsuite/ld-sh/sh64/relax.exp: Likewise.
392 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
393 * testsuite/ld-srec/srec.exp: Likewise.
394 * testsuite/ld-tic6x/tic6x.exp: Likewise.
395 * testsuite/ld-undefined/weak-undef.exp: Likewise.
396 * testsuite/ld-versados/versados.exp: Likewise.
397 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
398 * testsuite/ld-xtensa/coalesce.exp: Likewise.
399 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
400 * testsuite/ld-xtensa/lcall.exp: Likewise.
401 * testsuite/ld-elf/audit.exp: Run non-native too.
402 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
404 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
405 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
406 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
407 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
408 -Wl,--no-as-needed to most tests.
409 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
410 to simplify quoting. Set run_tests using [list] rather than
411 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
412 to many test. Prefix ld options with -Wl,.
413 (mix_pic_and_non_pic): Don't run exe if not native.
414 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
415 -Wl,--no-as-needed and prefix ld options with -Wl,.
416 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
418 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
419 (visibility_test): Don't run exe if not native.
420 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
422 (build_exec): Don't run exe if not native.
423 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
424 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
425 to some tests and prefix ld options with -Wl,. Expect GNU
426 for hppa-linux even when no ifuncs. Delete cleanup.
427 * testsuite/ld-pie/pie.exp: Run non-native too.
428 * testsuite/ld-plugin/lto.exp: Likewise.
429 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
431 (shared_test): Don't run exe if not native.
432 * testsuite/ld-size/size.exp: Run non-native too. Add
433 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
434 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
435 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
436 to some tests and prefix ld options with -Wl,. Expect GNU
437 for hppa-linux even when no unique syms. Delete cleanup.
438 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
439 tests and prefix ld options with -Wl,.
440 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
441 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
443 2017-01-02 Alan Modra <amodra@gmail.com>
445 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
447 2017-01-02 Alan Modra <amodra@gmail.com>
450 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
451 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
452 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
455 2017-01-02 Alan Modra <amodra@gmail.com>
457 Update year range in copyright notice of all files.
459 For older changes see ChangeLog-2016
461 Copyright (C) 2017 Free Software Foundation, Inc.
463 Copying and distribution of this file, with or without modification,
464 are permitted in any medium without royalty provided the copyright
465 notice and this notice are preserved.
471 version-control: never