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