Fix another typo in the last ChangeLog entry.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
2
3 PR binutils/19935
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.
7
8 2017-01-27 Jiong Wang <jiong.wang@arm.com>
9
10 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
11 arm*-*-eabi*.
12
13 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
14 Nick Clifton <nickc@redhat.com>
15
16 PR 20343
17 * ld.texinfo (Options): Extend documentation of the --plugin
18 option. Include a description of where the plugins should be
19 located.
20
21 2017-01-27 Nick Clifton <nickc@redhat.com>
22
23 * po/sr.po: New Serbian translation.
24 * configure.ac (ALL_LINGUAS): Add sr.
25 * configure: Regenerate.
26
27 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
28
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*).
38
39 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
40
41 * configure.tgt (h8300-*-rtemscoff*): Remove.
42 (i960-*-rtems*): Likewise.
43 (m68*-*-rtemscoff*): Likewise.
44 (sh-*-rtemscoff*): Likewise.
45
46 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
47
48 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
49 add implicit version nodes if an anonymous version tag is being
50 used.
51
52 2017-01-24 Jiong Wang <jiong.wang@arm.com>
53
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.
60
61 2017-01-24 Alan Modra <amodra@gmail.com>
62
63 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
64 and symbols.
65 * testsuite/ld-powerpc/tlsexe.d: Likewise.
66 * testsuite/ld-powerpc/tlsexe.g: Likewise.
67
68 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
69
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.
83
84 2017-01-23 Nick Clifton <nickc@redhat.com>
85
86 * po/ga.po: Updated Irish translation.
87
88 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
89
90 PR ld/20828
91 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
92
93 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
94
95 PR ld/20828
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.
102
103 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
104
105 PR ld/20828
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.
113
114 2017-01-23 Jiong Wang <jiong.wang@arm.com>
115
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
119
120 2017-01-20 Jiong Wang <jiong.wang@arm.com>
121
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.
126
127 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
128
129 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
130
131 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
132
133 PR ld/20995
134 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
135 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
136
137 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
138
139 PR ld/20828
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.
147
148 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
149
150 PR gas/20649
151 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
152 relocation pairing link test.
153
154 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
155
156 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
157 uniqeue.exp, as not all targets have such support.
158
159 2017-01-16 Nick Clifton <nickc@redhat.com>
160
161 * po/sv.po: Updated Swedish translation.
162
163 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR ld/21038
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.
170
171 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR ld/21038
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.
179
180 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
181
182 * configure.tgt: Add entries for x86-redox and x86_64-redox.
183
184 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
185
186 * testsuite/ld-x86-64/pr20830b.d: Updated.
187
188 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
189
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.
195 Run pr20830b.
196
197 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
198
199 PR ld/20830
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.
206
207 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
208
209 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
210 -Wl,--as-needed to $CC.
211 * testsuite/ld-i386/tls.exp: Likewise.
212
213 2017-01-10 Nick Clifton <nickc@redhat.com>
214
215 * po/sv.po: Updated Swedish translation.
216
217 2016-12-09 Graham Markall <graham.markall@embecosm.com>
218 Andrew Burgess <andrew.burgess@embecosm.com>
219
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.
229
230 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
231
232 PR 20958
233 * ldlex.l (option): Add noyywrap
234 (yywrap): Delete.
235 * ldlex.h (yywrap): Delete prototype.
236
237 2017-01-04 Alan Modra <amodra@gmail.com>
238
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.
246
247 2017-01-03 Alan Modra <amodra@gmail.com>
248
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.
252
253 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
254
255 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
256 (epruelf.c): Remove unneeded dependencies.
257 * Makefile.in: Regenerate
258
259 2017-01-03 Alan Modra <amodra@gmail.com>
260
261 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
262 to various tests.
263 * testsuite/ld-elfweak/elfweak.exp: Likewise.
264 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
265
266 2017-01-03 Alan Modra <amodra@gmail.com>
267
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.
271
272 2017-01-02 Alan Modra <amodra@gmail.com>
273
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
285 define.
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
345 gcc -Wl, options.
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,
359 not ld_simple_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,
363 not ld_simple_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,
372 not ld_simple_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,.
384
385 2017-01-02 Alan Modra <amodra@gmail.com>
386
387 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
388
389 2017-01-02 Alan Modra <amodra@gmail.com>
390
391 PR ld/21000
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
395 is already defined.
396
397 2017-01-02 Alan Modra <amodra@gmail.com>
398
399 Update year range in copyright notice of all files.
400
401 For older changes see ChangeLog-2016
402 \f
403 Copyright (C) 2017 Free Software Foundation, Inc.
404
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.
408
409 Local Variables:
410 mode: change-log
411 left-margin: 8
412 fill-column: 74
413 version-control: never
414 End:
This page took 0.067542 seconds and 5 git commands to generate.