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