Updated Brazillian portuguese and Russian translation
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2018-02-05 Nick Clifton <nickc@redhat.com>
2
3 * po/pt_BR.po: Updated Brazilian Portuguese translation.
4
5 2018-02-04 H.J. Lu <hongjiu.lu@intel.com>
6
7 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
8 * testsuite/ld-i386/lea1e.d: Likewise.
9 * testsuite/ld-i386/lea1f.d: Likewise.
10 * testsuite/ld-x86-64/lea1g.d: Likewise.
11 * testsuite/ld-x86-64/lea1h.d: Likewise.
12 * testsuite/ld-x86-64/lea1i.d: Likewise.
13 * testsuite/ld-x86-64/lea1j.d: Likewise.
14 * testsuite/ld-x86-64/lea1k.d: Likewise.
15 * testsuite/ld-x86-64/lea1l.d: Likewise.
16
17 2018-02-03 Nick Clifton <nickc@redhat.com>
18
19 PR 22762
20 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
21 __DTOR_LIST__ symbols. Add a comment explaining why this is
22 necessary.
23 * scripttemp/pep.sc: Likewise.
24 * ld.texinfo (PROVIDE): Add a note about the effect of common
25 symbols.
26
27 2018-02-03 Sandra Loosemore <sandra@codesourcery.com>
28
29 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
30
31 2018-02-02 Maciej W. Rozycki <macro@mips.com>
32
33 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
34 assembly builds where missing and remove `tic6x-*-*' XFAIL
35 markings accordingly.
36
37 2018-02-01 Simon Marchi <simon.marchi@ericsson.com>
38
39 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
40 on NULL pointer.
41
42 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
43
44 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
45
46 2018-01-31 Maciej W. Rozycki <macro@mips.com>
47
48 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
49
50 2018-01-31 Maciej W. Rozycki <macro@mips.com>
51
52 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
53 involving a shared library for `mips*vr4100*-*-elf*',
54 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
55 * testsuite/ld-elf/provide-hidden.exp: Likewise.
56 * testsuite/ld-elf/shared.exp: Likewise.
57 * testsuite/ld-gc/gc.exp: Likewise.
58 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
59
60 2018-01-31 Maciej W. Rozycki <macro@mips.com>
61
62 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
63 * testsuite/ld-elf/shared.exp: ... here.
64
65 2018-01-31 Michael Matz <matz@suse.de>
66
67 * testsuite/ld-elf/pr21964-5.c: New test.
68 * testsuite/ld-elf/shared.exp: Run it.
69
70 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
71
72 PR ld/21964
73 * testsuite/ld-elf/pr21964-4.c: New file.
74 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
75
76 2018-01-30 Alan Modra <amodra@gmail.com>
77
78 * testsuite/ld-gc/stop.d,
79 * testsuite/ld-gc/stop.s: New test.
80 * testsuite/ld-gc/gc.exp: Run it.
81
82 2018-01-30 Maciej W. Rozycki <macro@mips.com>
83
84 PR ld/22649
85 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
86 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
87 * testsuite/ld-elf/shared.exp: Use the new outputs with
88 `mips*-*-*' targets.
89
90 2018-01-30 Maciej W. Rozycki <macro@mips.com>
91
92 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
93 `PRC[0xff02]' in place of a regular section index.
94 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
95
96 2018-01-29 Alan Modra <amodra@gmail.com>
97
98 * testsuite/ld-elf/pr21964-3a.c: New file.
99 * testsuite/ld-elf/pr21964-3c.c: New file.
100 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
101
102 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
103
104 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
105 (pr22269-1): Pass AFLAGS_PIC to the assembler.
106
107 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
108
109 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
110
111 2018-01-29 Maciej W. Rozycki <macro@mips.com>
112
113 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
114 targets using non-traditional MIPS emulation or having a limited
115 selection of ABIs available. Don't force big endianness, use
116 defaults.
117
118 2018-01-29 H.J. Lu <hongjiu.lu@intel.com>
119
120 PR ld/22732
121 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
122 "-static" if target compiler supports it.
123 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
124 tests if target compiler doesn't support it.
125 * testsuite/ld-ifunc/ifunc.exp: Likewise.
126 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
127 (run_cc_link_tests): Likewise.
128
129 2018-01-27 H.J. Lu <hongjiu.lu@intel.com>
130
131 PR ld/22751
132 * testsuite/config/default.exp (INT128_CFLAGS): New.
133 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
134 Run ld/22751 tests.
135 * testsuite/ld-plugin/pr22751.c: New file.
136 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
137 ld trailing options.
138
139 2018-01-28 Alan Modra <amodra@gmail.com>
140
141 PR 22751
142 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
143 set.
144
145 2018-01-26 Maciej W. Rozycki <macro@mips.com>
146
147 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
148 `mipself'.
149
150 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
151
152 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
153 Link with a version script.
154 (32-bit: TLS -fpie): New test.
155 (64-bit: Helper shared library): Link with a version script.
156 (64-bit: TLS -fpie): New test.
157 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
158 * testsuite/ld-sparc/tlslib.ver: New file.
159 * testsuite/ld-sparc/tlspie32.dd: Likewise.
160 * testsuite/ld-sparc/tlspie32.s: Likewise.
161 * testsuite/ld-sparc/tlspie64.dd: Likewise.
162 * testsuite/ld-sparc/tlspie64.s: Likewise.
163 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
164 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
165 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
166 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
167 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
168 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
169
170 2018-01-24 Renlin Li <renlin.li@arm.com>
171
172 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
173 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
174 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
175 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
176 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
177 * testsuite/ld-aarch64/emit-relocs-288.d: New.
178 * testsuite/ld-aarch64/emit-relocs-288.s: New.
179 * testsuite/ld-aarch64/emit-relocs-289.d: New.
180 * testsuite/ld-aarch64/emit-relocs-289.s: New.
181 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
182 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
183 * testsuite/ld-aarch64/emit-relocs-290.d: New.
184 * testsuite/ld-aarch64/emit-relocs-290.s: New.
185 * testsuite/ld-aarch64/emit-relocs-291.d: New.
186 * testsuite/ld-aarch64/emit-relocs-291.s: New.
187 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
188 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
189 * testsuite/ld-aarch64/emit-relocs-292.d: New.
190 * testsuite/ld-aarch64/emit-relocs-292.s: New.
191 * testsuite/ld-aarch64/emit-relocs-293.d: New.
192 * testsuite/ld-aarch64/emit-relocs-293.s: New.
193
194 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
195
196 PR ld/22721
197 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
198 * testsuite/ld-plugin/pr22721.t: New file.
199 * testsuite/ld-plugin/pr22721a.s: Likewise.
200 * testsuite/ld-plugin/pr22721b.c: Likewise.
201
202 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
203
204 * testsuite/ld-elf/group1.d: Also xfail Solaris.
205
206 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
207
208 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
209 PLT/GOT order/layout for Solaris/x86 targets.
210 * testsuite/ld-elf/linkinfo1b.d: Likewise.
211
212 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
213
214 PR ld/22728
215 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
216 into ...
217 (elf_solaris2_before_allocation): This.
218 (LDEMUL_AFTER_ALLOCATION): Removed.
219
220 2018-01-18 Alan Modra <amodra@gmail.com>
221
222 * emultempl/ppc32elf.em: Support optional --plt-align arg.
223 * emultempl/ppc64elf.em: Support negative --plt-align arg.
224
225 2018-01-17 Alan Modra <amodra@gmail.com>
226
227 * emultempl/ppc32elf.em (params): Init new field.
228 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
229 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
230 (PARSE_AND_LIST_LONGOPTS): Handle new options.
231 (PARSE_AND_LIST_ARGS_CASES): Likewise.
232 (PARSE_AND_LIST_OPTIONS): Likewise.
233 * emultempl/ppc64elf.em (params): Init new field.
234 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
235 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
236 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
237 (PARSE_AND_LIST_OPTIONS): Likewise.
238 (PARSE_AND_LIST_ARGS_CASES): Likewise.
239 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
240 (--speculate-indirect-jumps): Document.
241 * testsuite/ld-powerpc/elfv2exe.d,
242 * testsuite/ld-powerpc/elfv2so.d,
243 * testsuite/ld-powerpc/relbrlt.d,
244 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
245 speculation barriers on various tests.
246
247 2018-01-17 Alan Modra <amodra@gmail.com>
248
249 * emultempl/ppc32elf.em (params): Init new field.
250 (enum ppc32_opt): New enum to define OPTION_* values. Add
251 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
252 (PARSE_AND_LIST_LONGOPTS): Handle new options.
253 (PARSE_AND_LIST_ARGS_CASES): Likewise.
254 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
255 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
256 correctly for negative --plt-stub-align.
257 * testsuite/ld-powerpc/elfv2exe.d,
258 * testsuite/ld-powerpc/elfv2so.d,
259 * testsuite/ld-powerpc/relbrlt.d,
260 * testsuite/ld-powerpc/relbrlt.s,
261 * testsuite/ld-powerpc/tlsexe.d,
262 * testsuite/ld-powerpc/tlsexe.r,
263 * testsuite/ld-powerpc/tlsexe32.d,
264 * testsuite/ld-powerpc/tlsexe32.g,
265 * testsuite/ld-powerpc/tlsexe32.r,
266 * testsuite/ld-powerpc/tlsexetoc.d,
267 * testsuite/ld-powerpc/tlsexetoc.r,
268 * testsuite/ld-powerpc/tlsopt5_32.d,
269 * testsuite/ld-powerpc/tlsso.d,
270 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
271
272 2018-01-16 Nick Clifton <nickc@redhat.com>
273
274 * po/pt_BR.po: Updated Brazilian Portuguese translation.
275
276 2018-01-15 Nick Clifton <nickc@redhat.com>
277
278 * po/uk.po: Updated Ukranian translation.
279
280 2018-01-13 Nick Clifton <nickc@redhat.com>
281
282 * po/ld.pot: Regenerated.
283
284 2018-01-13 Nick Clifton <nickc@redhat.com>
285
286 * configure: Regenerate.
287
288 2018-01-13 Nick Clifton <nickc@redhat.com>
289
290 2.30 branch created.
291 * NEWS: Add marker for 2.30.
292
293 2018-01-12 Alan Modra <amodra@gmail.com>
294
295 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
296 initialization" for currently failing targets.
297
298 2018-01-12 Alan Modra <amodra@gmail.com>
299
300 PR ld/22649
301 * testsuite/ld-elf/pr22649.msg: Allow other messages.
302 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
303 supported before running ld/22649 tests.
304
305 2018-01-12 Nick Clifton <nickc@redhat.com>
306
307 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
308 as the opposite of "-z defs".
309 * ld.texinfo: Document the new option. Update the description of
310 the -z defs option to make it clear that it does generate an error
311 if an undefined symbol reference is found in an object file whilst
312 creating a shared library.
313 * NEWS: Document this new feature.
314
315 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
316
317 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
318 "-z separate-code".
319 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
320 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
321 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
322
323 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
324
325 PR ld/22393
326 * testsuite/ld-x86-64/pr22393-3a.c: New file.
327 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
328 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
329 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
330 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
331 -z max-page-size=0x1000.
332
333 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR ld/22393
336 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
337 * testsuite/ld-elf/pr22393-1.s: New file.
338 * testsuite/ld-elf/pr22393-1a.d: Likewise.
339 * testsuite/ld-elf/pr22393-1b.d: Likewise.
340 * testsuite/ld-elf/pr22393-1c.d: Likewise.
341 * testsuite/ld-elf/pr22393-1d.d: Likewise.
342 * testsuite/ld-elf/pr22393-1e.d: Likewise.
343 * testsuite/ld-elf/pr22393-1f.d: Likewise.
344 * testsuite/ld-elf/pr22393-2a.c: Likewise.
345 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
346 * testsuite/ld-elf/pr22393-2b.c: Likewise.
347 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
348 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
349
350 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
351
352 PR ld/22393
353 * NEWS: Mention "-z separate-code".
354 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
355 builtin linker scripts and return linker scripts from disk for
356 "-z separate-code".
357 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
358 and "-z noseparate-code".
359 * genscripts.sh: Generate linker scripts for "-z separate-code".
360 (LD_FLAG): Set to *textonly for "-z separate-code".
361 * ld.texinfo: Document "-z separate-code".
362 * lexsup.c (elf_shlib_list_options): Add linker help messsages
363 for "-z separate-code" and "-z noseparate-code".
364 * scripttempl/elf.sc (SEPARATE_TEXT): New
365 (TEXT_SEGMENT_ALIGN): Likewise.
366 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
367 ${MAXPAGESIZE}.
368
369 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
370
371 PR ld/22649
372 * testsuite/ld-elf/pr22649-1.s: New file.
373 * testsuite/ld-elf/pr22649-2a.s: Likewise.
374 * testsuite/ld-elf/pr22649-2b.s: Likewise.
375 * testsuite/ld-elf/pr22649.msg: Likewise.
376 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
377
378 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
379
380 PR ld/22677
381 * scripttempl/elf.sc (PREINIT_ARRAY): New.
382 Don't add .preinit_array for ld -r.
383 * testsuite/ld-elf/pr22677.d: New file.
384 * testsuite/ld-elf/pr22677.s: Likewise.
385
386 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * ldexp.h (union etree_union): Remove defsym field.
389 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
390 parameter.
391 (exp_assign): Remove passing of defsym parameter.
392 (exp_defsym): Likewise.
393 (exp_provide): Likewise.
394
395 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
396
397 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
398 nodes are ignored in the tree walk, and move the location at which
399 we change provide nodes into provided nodes.
400 (exp_init_os): Add etree_provided.
401 * testsuite/ld-scripts/provide-6.d: New file.
402 * testsuite/ld-scripts/provide-6.t: New file.
403 * testsuite/ld-scripts/provide-7.d: New file.
404 * testsuite/ld-scripts/provide-7.t: New file.
405 * testsuite/ld-scripts/provide-8.d: New file.
406 * testsuite/ld-scripts/provide-8.t: New file.
407
408 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
411 * testsuite/ld-scripts/provide-4.d: Use new map file name.
412 * testsuite/ld-scripts/provide-5.d: Use new map file name.
413 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
414 * testsuite/ld-scripts/provide-4.map: ...this.
415 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
416 * testsuite/ld-scripts/provide-5.map: ...this.
417 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
418 file, and run tests in a loop.
419
420 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
423 PROVIDE statements.
424 * testsuite/ld-scripts/provide-4.map: Update expected output.
425 * testsuite/ld-scripts/provide-5.map: Likewise.
426
427 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
428
429 PR ld/22696
430 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
431
432 2018-01-09 Jim Wilson <jimw@sifive.com>
433
434 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
435 (#alltargets): Renamed from #target. Add shared.
436 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
437 Document alltargets option. Add support for alltargets option.
438 (istarget): Add support for shared target.
439
440 2018-01-08 Jim Wilson <jimw@sifive.com>
441
442 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
443 instead of .text.
444 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
445 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
446 tests, add call to check_shared_lib_support.
447
448 2018-01-05 Jim Wilson <jimw@sifive.com>
449
450 * testsuite/ld-riscv-elf/disas-jalr.d: New.
451 * testsuite/ld-riscv-elf/disas-jalr.s: New.
452 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
453
454 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
455 case on $target, and don't set for riscv*-elf targets.
456 (GENERATE_PIE_SCRIPT): Likewise.
457
458 2018-01-03 Alan Modra <amodra@gmail.com>
459
460 Update year range in copyright notice of all files.
461
462 For older changes see ChangeLog-2017
463 \f
464 Copyright (C) 2018 Free Software Foundation, Inc.
465
466 Copying and distribution of this file, with or without modification,
467 are permitted in any medium without royalty provided the copyright
468 notice and this notice are preserved.
469
470 Local Variables:
471 mode: change-log
472 left-margin: 8
473 fill-column: 74
474 version-control: never
475 End:
This page took 0.040463 seconds and 4 git commands to generate.