1 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
4 Fix long-standing buglet and fallout from now-default initfini-array.
5 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
6 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
8 2017-01-27 Jiong Wang <jiong.wang@arm.com>
10 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
13 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
14 Nick Clifton <nickc@redhat.com>
17 * ld.texinfo (Options): Extend documentation of the --plugin
18 option. Include a description of where the plugins should be
21 2017-01-27 Nick Clifton <nickc@redhat.com>
23 * po/sr.po: New Serbian translation.
24 * configure.ac (ALL_LINGUAS): Add sr.
25 * configure: Regenerate.
27 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
29 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
30 (bfin-*-rtems*): Move to (bfin*-*-elf*).
31 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
32 (m68*-*-rtems*): Move to (m68*-*-elf*).
33 (mips*-*-rtems*): Move to (mips*-*-elf*).
34 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
35 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
36 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
37 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
39 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
41 * configure.tgt (h8300-*-rtemscoff*): Remove.
42 (i960-*-rtems*): Likewise.
43 (m68*-*-rtemscoff*): Likewise.
44 (sh-*-rtemscoff*): Likewise.
46 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
48 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
49 add implicit version nodes if an anonymous version tag is being
52 2017-01-24 Jiong Wang <jiong.wang@arm.com>
54 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
55 "Compile 8a", "Compile 8b"...
56 (lto_compile_elf_tests): ...to here. Always run these tests.
57 (lto_run_elf_tests): Move "LTO 7"...
58 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
59 environment where share library is supported.
61 2017-01-24 Alan Modra <amodra@gmail.com>
63 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
65 * testsuite/ld-powerpc/tlsexe.d: Likewise.
66 * testsuite/ld-powerpc/tlsexe.g: Likewise.
68 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
70 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
71 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
72 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
73 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
74 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
75 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
76 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
77 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
78 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
79 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
80 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
81 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
82 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
84 2017-01-23 Nick Clifton <nickc@redhat.com>
86 * po/ga.po: Updated Irish translation.
88 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
91 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
93 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
96 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
97 `fdata' and `edata' respectively.
98 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
99 * testsuite/ld-elf/pr20828-a.sd: Likewise.
100 * testsuite/ld-elf/pr20828-b.sd: Likewise.
101 * testsuite/ld-elf/pr20828-c.sd: Likewise.
103 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
106 * testsuite/ld-elf/pr20828-1.sd: Remove test.
107 * testsuite/ld-elf/pr20828-a.sd: New test.
108 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
109 * testsuite/ld-elf/pr20828-b.sd: ... this.
110 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
111 * testsuite/ld-elf/pr20828-c.sd: ... this.
112 * testsuite/ld-elf/shared.exp: Adjust accordingly.
114 2017-01-23 Jiong Wang <jiong.wang@arm.com>
116 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
117 board_cflags as gcc is used as linker driver.
118 * testsuite/ld-unique/unique.exp: Likewise
120 2017-01-20 Jiong Wang <jiong.wang@arm.com>
122 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
123 * testsuite/ld-aarch64/func-in-so.s: New test source file.
124 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
125 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
127 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
129 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
131 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
134 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
135 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
137 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
140 * testsuite/ld-elf/pr20828-1.sd: New test.
141 * testsuite/ld-elf/pr20828-2a.sd: New test.
142 * testsuite/ld-elf/pr20828-2b.sd: New test.
143 * testsuite/ld-elf/pr20828.ld: New test linker script.
144 * testsuite/ld-elf/pr20828.ver: New test version script.
145 * testsuite/ld-elf/pr20828.s: New test source.
146 * testsuite/ld-elf/shared.exp: Run the new test.
148 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
151 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
152 relocation pairing link test.
154 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
156 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
157 uniqeue.exp, as not all targets have such support.
159 2017-01-16 Nick Clifton <nickc@redhat.com>
161 * po/sv.po: Updated Swedish translation.
163 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
166 * testsuite/ld-x86-64/pr21038b.d: Updated.
167 * testsuite/ld-x86-64/pr21038c.d: New file.
168 * testsuite/ld-x86-64/pr21038c.s: Likewise.
169 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
171 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
174 * testsuite/ld-x86-64/pr21038a.d: New file.
175 * testsuite/ld-x86-64/pr21038a.s: Likewise.
176 * testsuite/ld-x86-64/pr21038b.d: Likewise.
177 * testsuite/ld-x86-64/pr21038b.s: Likewise.
178 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
180 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
182 * configure.tgt: Add entries for x86-redox and x86_64-redox.
184 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
186 * testsuite/ld-x86-64/pr20830b.d: Updated.
188 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
190 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
191 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
192 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
193 * testsuite/ld-x86-64/pr20830b.d: New file.
194 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
197 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
200 * testsuite/ld-i386/i386.exp: Run pr20830.
201 * testsuite/ld-x86-64/x86-64.exp: Likewise.
202 * testsuite/ld-i386/pr20830.d: New file.
203 * testsuite/ld-i386/pr20830.s: Likewise.
204 * testsuite/ld-x86-64/pr20830.d: Likewise.
205 * testsuite/ld-x86-64/pr20830.s: Likewise.
207 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
209 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
210 -Wl,--as-needed to $CC.
211 * testsuite/ld-i386/tls.exp: Likewise.
213 2017-01-10 Nick Clifton <nickc@redhat.com>
215 * po/sv.po: Updated Swedish translation.
217 2016-12-09 Graham Markall <graham.markall@embecosm.com>
218 Andrew Burgess <andrew.burgess@embecosm.com>
220 * Makefile.am: Add earclinux_nps.c target and add to
221 ALL_EMULATION_SOURCES.
222 * Makefile.in: Likewise, regenerated.
223 * configure.tgt: Add arclinux_nps as an extra emulation for
224 arc*-*-elf* and arc*-*-linux*.
225 * emulparams/arc-nps.sh: New file.
226 * emulparams/arclinux_nps.sh: New file.
227 * testsuite/ld-arc/arclinux-nps.d,
228 * testsuite/ld-arc/arclinux-nps.s: New test.
230 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
233 * ldlex.l (option): Add noyywrap
235 * ldlex.h (yywrap): Delete prototype.
237 2017-01-04 Alan Modra <amodra@gmail.com>
239 * testsuite/ld-elf/audit.exp: Check for shared lib support.
240 * testsuite/ld-elf/compress.exp: Likewise.
241 * testsuite/ld-elf/dwarf.exp: Likewise.
242 * testsuite/ld-elf/shared.exp: Likewise.
243 * testsuite/ld-elf/wrap.exp: Likewise.
244 * testsuite/ld-ifunc/ifunc.exp: Likewise.
245 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
247 2017-01-03 Alan Modra <amodra@gmail.com>
249 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
250 allow test to continue after compilation errors.
251 (run_cc_link_tests): Likewise.
253 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
255 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
256 (epruelf.c): Remove unneeded dependencies.
257 * Makefile.in: Regenerate
259 2017-01-03 Alan Modra <amodra@gmail.com>
261 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
263 * testsuite/ld-elfweak/elfweak.exp: Likewise.
264 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
266 2017-01-03 Alan Modra <amodra@gmail.com>
268 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
269 * testsuite/ld-pie/pie.exp: Likewise.
270 * testsuite/ld-plugin/lto.exp: Likewise.
272 2017-01-02 Alan Modra <amodra@gmail.com>
274 * Makefile.am (bootstrap): Delete rule.
275 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
276 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
277 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
278 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
279 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
280 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
281 * Makefile.in: Regenerate.
282 * configure: Regenerate.
283 * testsuite/config/default.exp (get_link_files): Delete.
284 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
286 (ld_simple_link): Delete.
287 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
288 (default_ld_simple_link): Rename to default_ld_link.
289 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
290 (run_ld_link_tests): Use ld_link, not ld_simple_link.
291 (run_cc_link_tests): Likewise.
292 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
293 Don't run exe when not native, and return unsupported.
294 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
295 Link ld1 etc. using $CC.
296 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
297 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
298 * testsuite/ld-cygwin/exe-export.exp: Likewise.
299 * testsuite/ld-elf/binutils.exp: Likewise.
300 * testsuite/ld-elf/eh-group.exp: Likewise.
301 * testsuite/ld-elf/exclude.exp: Likewise.
302 * testsuite/ld-elf/frame.exp: Likewise.
303 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
304 * testsuite/ld-elf/tls_common.exp: Likewise.
305 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
306 * testsuite/ld-fastcall/fastcall.exp: Likewise.
307 * testsuite/ld-gc/gc.exp: Likewise.
308 * testsuite/ld-ifunc/binutils.exp: Likewise.
309 * testsuite/ld-mep/mep.exp: Likewise.
310 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
311 * testsuite/ld-mn10300/mn10300.exp: Likewise.
312 * testsuite/ld-nios2/nios2.exp: Likewise.
313 * testsuite/ld-pe/pe-compile.exp: Likewise.
314 * testsuite/ld-pe/pe-run.exp: Likewise.
315 * testsuite/ld-pe/pe-run2.exp: Likewise.
316 * testsuite/ld-plugin/plugin.exp: Likewise.
317 * testsuite/ld-scripts/align.exp: Likewise.
318 * testsuite/ld-scripts/alignof.exp: Likewise.
319 * testsuite/ld-scripts/assert.exp: Likewise.
320 * testsuite/ld-scripts/defined.exp: Likewise.
321 * testsuite/ld-scripts/extern.exp: Likewise.
322 * testsuite/ld-scripts/log2.exp: Likewise.
323 * testsuite/ld-scripts/map-address.exp: Likewise.
324 * testsuite/ld-scripts/phdrs.exp: Likewise.
325 * testsuite/ld-scripts/phdrs2.exp: Likewise.
326 * testsuite/ld-scripts/script.exp: Likewise.
327 * testsuite/ld-scripts/section-flags.exp: Likewise.
328 * testsuite/ld-scripts/sizeof.exp: Likewise.
329 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
330 * testsuite/ld-scripts/weak.exp: Likewise.
331 * testsuite/ld-selective/selective.exp: Likewise.
332 * testsuite/ld-sh/sh.exp: Likewise.
333 * testsuite/ld-sh/sh64/relax.exp: Likewise.
334 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
335 * testsuite/ld-srec/srec.exp: Likewise.
336 * testsuite/ld-tic6x/tic6x.exp: Likewise.
337 * testsuite/ld-undefined/weak-undef.exp: Likewise.
338 * testsuite/ld-versados/versados.exp: Likewise.
339 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
340 * testsuite/ld-xtensa/coalesce.exp: Likewise.
341 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
342 * testsuite/ld-xtensa/lcall.exp: Likewise.
343 * testsuite/ld-elf/audit.exp: Run non-native too.
344 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
346 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
347 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
348 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
349 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
350 -Wl,--no-as-needed to most tests.
351 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
352 to simplify quoting. Set run_tests using [list] rather than
353 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
354 to many test. Prefix ld options with -Wl,.
355 (mix_pic_and_non_pic): Don't run exe if not native.
356 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
357 -Wl,--no-as-needed and prefix ld options with -Wl,.
358 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
360 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
361 (visibility_test): Don't run exe if not native.
362 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
364 (build_exec): Don't run exe if not native.
365 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
366 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
367 to some tests and prefix ld options with -Wl,. Expect GNU
368 for hppa-linux even when no ifuncs. Delete cleanup.
369 * testsuite/ld-pie/pie.exp: Run non-native too.
370 * testsuite/ld-plugin/lto.exp: Likewise.
371 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
373 (shared_test): Don't run exe if not native.
374 * testsuite/ld-size/size.exp: Run non-native too. Add
375 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
376 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
377 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
378 to some tests and prefix ld options with -Wl,. Expect GNU
379 for hppa-linux even when no unique syms. Delete cleanup.
380 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
381 tests and prefix ld options with -Wl,.
382 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
383 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
385 2017-01-02 Alan Modra <amodra@gmail.com>
387 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
389 2017-01-02 Alan Modra <amodra@gmail.com>
392 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
393 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
394 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
397 2017-01-02 Alan Modra <amodra@gmail.com>
399 Update year range in copyright notice of all files.
401 For older changes see ChangeLog-2016
403 Copyright (C) 2017 Free Software Foundation, Inc.
405 Copying and distribution of this file, with or without modification,
406 are permitted in any medium without royalty provided the copyright
407 notice and this notice are preserved.
413 version-control: never