1 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
4 (bfin-*-rtems*): Move to (bfin*-*-elf*).
5 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
6 (m68*-*-rtems*): Move to (m68*-*-elf*).
7 (mips*-*-rtems*): Move to (mips*-*-elf*).
8 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
9 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
10 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
11 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
13 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
15 * configure.tgt (h8300-*-rtemscoff*): Remove.
16 (i960-*-rtems*): Likewise.
17 (m68*-*-rtemscoff*): Likewise.
18 (sh-*-rtemscoff*): Likewise.
20 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
22 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
23 add implicit version nodes if an anonymous version tag is being
26 2017-01-24 Jiong Wang <jiong.wang@arm.com>
28 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
29 "Compile 8a", "Compile 8b"...
30 (lto_compile_elf_tests): ...to here. Always run these tests.
31 (lto_run_elf_tests): Move "LTO 7"...
32 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
33 environment where share library is supported.
35 2017-01-24 Alan Modra <amodra@gmail.com>
37 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
39 * testsuite/ld-powerpc/tlsexe.d: Likewise.
40 * testsuite/ld-powerpc/tlsexe.g: Likewise.
42 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
44 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
45 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
46 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
47 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
48 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
49 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
50 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
51 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
52 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
53 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
54 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
55 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
56 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
58 2017-01-23 Nick Clifton <nickc@redhat.com>
60 * po/ga.po: Updated Irish translation.
62 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
65 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
67 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
70 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
71 `fdata' and `edata' respectively.
72 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
73 * testsuite/ld-elf/pr20828-a.sd: Likewise.
74 * testsuite/ld-elf/pr20828-b.sd: Likewise.
75 * testsuite/ld-elf/pr20828-c.sd: Likewise.
77 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
80 * testsuite/ld-elf/pr20828-1.sd: Remove test.
81 * testsuite/ld-elf/pr20828-a.sd: New test.
82 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
83 * testsuite/ld-elf/pr20828-b.sd: ... this.
84 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
85 * testsuite/ld-elf/pr20828-c.sd: ... this.
86 * testsuite/ld-elf/shared.exp: Adjust accordingly.
88 2017-01-23 Jiong Wang <jiong.wang@arm.com>
90 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
91 board_cflags as gcc is used as linker driver.
92 * testsuite/ld-unique/unique.exp: Likewise
94 2017-01-20 Jiong Wang <jiong.wang@arm.com>
96 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
97 * testsuite/ld-aarch64/func-in-so.s: New test source file.
98 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
99 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
101 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
103 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
105 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
108 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
109 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
111 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
114 * testsuite/ld-elf/pr20828-1.sd: New test.
115 * testsuite/ld-elf/pr20828-2a.sd: New test.
116 * testsuite/ld-elf/pr20828-2b.sd: New test.
117 * testsuite/ld-elf/pr20828.ld: New test linker script.
118 * testsuite/ld-elf/pr20828.ver: New test version script.
119 * testsuite/ld-elf/pr20828.s: New test source.
120 * testsuite/ld-elf/shared.exp: Run the new test.
122 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
125 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
126 relocation pairing link test.
128 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
130 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
131 uniqeue.exp, as not all targets have such support.
133 2017-01-16 Nick Clifton <nickc@redhat.com>
135 * po/sv.po: Updated Swedish translation.
137 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
140 * testsuite/ld-x86-64/pr21038b.d: Updated.
141 * testsuite/ld-x86-64/pr21038c.d: New file.
142 * testsuite/ld-x86-64/pr21038c.s: Likewise.
143 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
145 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
148 * testsuite/ld-x86-64/pr21038a.d: New file.
149 * testsuite/ld-x86-64/pr21038a.s: Likewise.
150 * testsuite/ld-x86-64/pr21038b.d: Likewise.
151 * testsuite/ld-x86-64/pr21038b.s: Likewise.
152 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
154 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
156 * configure.tgt: Add entries for x86-redox and x86_64-redox.
158 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
160 * testsuite/ld-x86-64/pr20830b.d: Updated.
162 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
164 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
165 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
166 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
167 * testsuite/ld-x86-64/pr20830b.d: New file.
168 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
171 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
174 * testsuite/ld-i386/i386.exp: Run pr20830.
175 * testsuite/ld-x86-64/x86-64.exp: Likewise.
176 * testsuite/ld-i386/pr20830.d: New file.
177 * testsuite/ld-i386/pr20830.s: Likewise.
178 * testsuite/ld-x86-64/pr20830.d: Likewise.
179 * testsuite/ld-x86-64/pr20830.s: Likewise.
181 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
183 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
184 -Wl,--as-needed to $CC.
185 * testsuite/ld-i386/tls.exp: Likewise.
187 2017-01-10 Nick Clifton <nickc@redhat.com>
189 * po/sv.po: Updated Swedish translation.
191 2016-12-09 Graham Markall <graham.markall@embecosm.com>
192 Andrew Burgess <andrew.burgess@embecosm.com>
194 * Makefile.am: Add earclinux_nps.c target and add to
195 ALL_EMULATION_SOURCES.
196 * Makefile.in: Likewise, regenerated.
197 * configure.tgt: Add arclinux_nps as an extra emulation for
198 arc*-*-elf* and arc*-*-linux*.
199 * emulparams/arc-nps.sh: New file.
200 * emulparams/arclinux_nps.sh: New file.
201 * testsuite/ld-arc/arclinux-nps.d,
202 * testsuite/ld-arc/arclinux-nps.s: New test.
204 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
207 * ldlex.l (option): Add noyywrap
209 * ldlex.h (yywrap): Delete prototype.
211 2017-01-04 Alan Modra <amodra@gmail.com>
213 * testsuite/ld-elf/audit.exp: Check for shared lib support.
214 * testsuite/ld-elf/compress.exp: Likewise.
215 * testsuite/ld-elf/dwarf.exp: Likewise.
216 * testsuite/ld-elf/shared.exp: Likewise.
217 * testsuite/ld-elf/wrap.exp: Likewise.
218 * testsuite/ld-ifunc/ifunc.exp: Likewise.
219 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
221 2017-01-03 Alan Modra <amodra@gmail.com>
223 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
224 allow test to continue after compilation errors.
225 (run_cc_link_tests): Likewise.
227 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
229 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
230 (epruelf.c): Remove unneeded dependencies.
231 * Makefile.in: Regenerate
233 2017-01-03 Alan Modra <amodra@gmail.com>
235 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
237 * testsuite/ld-elfweak/elfweak.exp: Likewise.
238 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
240 2017-01-03 Alan Modra <amodra@gmail.com>
242 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
243 * testsuite/ld-pie/pie.exp: Likewise.
244 * testsuite/ld-plugin/lto.exp: Likewise.
246 2017-01-02 Alan Modra <amodra@gmail.com>
248 * Makefile.am (bootstrap): Delete rule.
249 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
250 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
251 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
252 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
253 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
254 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
255 * Makefile.in: Regenerate.
256 * configure: Regenerate.
257 * testsuite/config/default.exp (get_link_files): Delete.
258 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
260 (ld_simple_link): Delete.
261 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
262 (default_ld_simple_link): Rename to default_ld_link.
263 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
264 (run_ld_link_tests): Use ld_link, not ld_simple_link.
265 (run_cc_link_tests): Likewise.
266 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
267 Don't run exe when not native, and return unsupported.
268 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
269 Link ld1 etc. using $CC.
270 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
271 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
272 * testsuite/ld-cygwin/exe-export.exp: Likewise.
273 * testsuite/ld-elf/binutils.exp: Likewise.
274 * testsuite/ld-elf/eh-group.exp: Likewise.
275 * testsuite/ld-elf/exclude.exp: Likewise.
276 * testsuite/ld-elf/frame.exp: Likewise.
277 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
278 * testsuite/ld-elf/tls_common.exp: Likewise.
279 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
280 * testsuite/ld-fastcall/fastcall.exp: Likewise.
281 * testsuite/ld-gc/gc.exp: Likewise.
282 * testsuite/ld-ifunc/binutils.exp: Likewise.
283 * testsuite/ld-mep/mep.exp: Likewise.
284 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
285 * testsuite/ld-mn10300/mn10300.exp: Likewise.
286 * testsuite/ld-nios2/nios2.exp: Likewise.
287 * testsuite/ld-pe/pe-compile.exp: Likewise.
288 * testsuite/ld-pe/pe-run.exp: Likewise.
289 * testsuite/ld-pe/pe-run2.exp: Likewise.
290 * testsuite/ld-plugin/plugin.exp: Likewise.
291 * testsuite/ld-scripts/align.exp: Likewise.
292 * testsuite/ld-scripts/alignof.exp: Likewise.
293 * testsuite/ld-scripts/assert.exp: Likewise.
294 * testsuite/ld-scripts/defined.exp: Likewise.
295 * testsuite/ld-scripts/extern.exp: Likewise.
296 * testsuite/ld-scripts/log2.exp: Likewise.
297 * testsuite/ld-scripts/map-address.exp: Likewise.
298 * testsuite/ld-scripts/phdrs.exp: Likewise.
299 * testsuite/ld-scripts/phdrs2.exp: Likewise.
300 * testsuite/ld-scripts/script.exp: Likewise.
301 * testsuite/ld-scripts/section-flags.exp: Likewise.
302 * testsuite/ld-scripts/sizeof.exp: Likewise.
303 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
304 * testsuite/ld-scripts/weak.exp: Likewise.
305 * testsuite/ld-selective/selective.exp: Likewise.
306 * testsuite/ld-sh/sh.exp: Likewise.
307 * testsuite/ld-sh/sh64/relax.exp: Likewise.
308 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
309 * testsuite/ld-srec/srec.exp: Likewise.
310 * testsuite/ld-tic6x/tic6x.exp: Likewise.
311 * testsuite/ld-undefined/weak-undef.exp: Likewise.
312 * testsuite/ld-versados/versados.exp: Likewise.
313 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
314 * testsuite/ld-xtensa/coalesce.exp: Likewise.
315 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
316 * testsuite/ld-xtensa/lcall.exp: Likewise.
317 * testsuite/ld-elf/audit.exp: Run non-native too.
318 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
320 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
321 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
322 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
323 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
324 -Wl,--no-as-needed to most tests.
325 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
326 to simplify quoting. Set run_tests using [list] rather than
327 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
328 to many test. Prefix ld options with -Wl,.
329 (mix_pic_and_non_pic): Don't run exe if not native.
330 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
331 -Wl,--no-as-needed and prefix ld options with -Wl,.
332 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
334 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
335 (visibility_test): Don't run exe if not native.
336 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
338 (build_exec): Don't run exe if not native.
339 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
340 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
341 to some tests and prefix ld options with -Wl,. Expect GNU
342 for hppa-linux even when no ifuncs. Delete cleanup.
343 * testsuite/ld-pie/pie.exp: Run non-native too.
344 * testsuite/ld-plugin/lto.exp: Likewise.
345 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
347 (shared_test): Don't run exe if not native.
348 * testsuite/ld-size/size.exp: Run non-native too. Add
349 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
350 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
351 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
352 to some tests and prefix ld options with -Wl,. Expect GNU
353 for hppa-linux even when no unique syms. Delete cleanup.
354 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
355 tests and prefix ld options with -Wl,.
356 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
357 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
359 2017-01-02 Alan Modra <amodra@gmail.com>
361 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
363 2017-01-02 Alan Modra <amodra@gmail.com>
366 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
367 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
368 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
371 2017-01-02 Alan Modra <amodra@gmail.com>
373 Update year range in copyright notice of all files.
375 For older changes see ChangeLog-2016
377 Copyright (C) 2017 Free Software Foundation, Inc.
379 Copying and distribution of this file, with or without modification,
380 are permitted in any medium without royalty provided the copyright
381 notice and this notice are preserved.
387 version-control: never