[ld, testsuite] Always assemble those intermeidate .o files used later
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2017-01-24 Jiong Wang <jiong.wang@arm.com>
2
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.
9
10 2017-01-24 Alan Modra <amodra@gmail.com>
11
12 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
13 and symbols.
14 * testsuite/ld-powerpc/tlsexe.d: Likewise.
15 * testsuite/ld-powerpc/tlsexe.g: Likewise.
16
17 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
18
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.
32
33 2017-01-23 Nick Clifton <nickc@redhat.com>
34
35 * po/ga.po: Updated Irish translation.
36
37 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
38
39 PR ld/20828
40 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
41
42 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
43
44 PR ld/20828
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.
51
52 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
53
54 PR ld/20828
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.
62
63 2017-01-23 Jiong Wang <jiong.wang@arm.com>
64
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
68
69 2017-01-20 Jiong Wang <jiong.wang@arm.com>
70
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.
75
76 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
77
78 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
79
80 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
81
82 PR ld/20995
83 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
84 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
85
86 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
87
88 PR ld/20828
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.
96
97 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
98
99 PR gas/20649
100 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
101 relocation pairing link test.
102
103 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
104
105 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
106 uniqeue.exp, as not all targets have such support.
107
108 2017-01-16 Nick Clifton <nickc@redhat.com>
109
110 * po/sv.po: Updated Swedish translation.
111
112 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
113
114 PR ld/21038
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.
119
120 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
121
122 PR ld/21038
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.
128
129 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
130
131 * configure.tgt: Add entries for x86-redox and x86_64-redox.
132
133 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
134
135 * testsuite/ld-x86-64/pr20830b.d: Updated.
136
137 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
138
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.
144 Run pr20830b.
145
146 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
147
148 PR ld/20830
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.
155
156 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
157
158 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
159 -Wl,--as-needed to $CC.
160 * testsuite/ld-i386/tls.exp: Likewise.
161
162 2017-01-10 Nick Clifton <nickc@redhat.com>
163
164 * po/sv.po: Updated Swedish translation.
165
166 2016-12-09 Graham Markall <graham.markall@embecosm.com>
167 Andrew Burgess <andrew.burgess@embecosm.com>
168
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.
178
179 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
180
181 PR 20958
182 * ldlex.l (option): Add noyywrap
183 (yywrap): Delete.
184 * ldlex.h (yywrap): Delete prototype.
185
186 2017-01-04 Alan Modra <amodra@gmail.com>
187
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.
195
196 2017-01-03 Alan Modra <amodra@gmail.com>
197
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.
201
202 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
203
204 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
205 (epruelf.c): Remove unneeded dependencies.
206 * Makefile.in: Regenerate
207
208 2017-01-03 Alan Modra <amodra@gmail.com>
209
210 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
211 to various tests.
212 * testsuite/ld-elfweak/elfweak.exp: Likewise.
213 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
214
215 2017-01-03 Alan Modra <amodra@gmail.com>
216
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.
220
221 2017-01-02 Alan Modra <amodra@gmail.com>
222
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
234 define.
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
294 gcc -Wl, options.
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,
308 not ld_simple_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,
312 not ld_simple_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,
321 not ld_simple_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,.
333
334 2017-01-02 Alan Modra <amodra@gmail.com>
335
336 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
337
338 2017-01-02 Alan Modra <amodra@gmail.com>
339
340 PR ld/21000
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
344 is already defined.
345
346 2017-01-02 Alan Modra <amodra@gmail.com>
347
348 Update year range in copyright notice of all files.
349
350 For older changes see ChangeLog-2016
351 \f
352 Copyright (C) 2017 Free Software Foundation, Inc.
353
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.
357
358 Local Variables:
359 mode: change-log
360 left-margin: 8
361 fill-column: 74
362 version-control: never
363 End:
This page took 0.038072 seconds and 5 git commands to generate.