]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
(Ada) Add gdb-mi support for stopping at start of exception handler.
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
040b4a9e
AM
12018-01-30 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-gc/stop.d,
4 * testsuite/ld-gc/stop.s: New test.
5 * testsuite/ld-gc/gc.exp: Run it.
6
af667f22
MR
72018-01-30 Maciej W. Rozycki <macro@mips.com>
8
9 PR ld/22649
10 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
11 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
12 * testsuite/ld-elf/shared.exp: Use the new outputs with
13 `mips*-*-*' targets.
14
82252033
MR
152018-01-30 Maciej W. Rozycki <macro@mips.com>
16
17 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
18 `PRC[0xff02]' in place of a regular section index.
19 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
20
36b8fda5
AM
212018-01-29 Alan Modra <amodra@gmail.com>
22
23 * testsuite/ld-elf/pr21964-3a.c: New file.
24 * testsuite/ld-elf/pr21964-3c.c: New file.
25 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
26
185cdb8c
EB
272018-01-29 Eric Botcazou <ebotcazou@adacore.com>
28
29 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
30 (pr22269-1): Pass AFLAGS_PIC to the assembler.
31
d85815e2
EB
322018-01-29 Eric Botcazou <ebotcazou@adacore.com>
33
34 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
35
86b24e15
MR
362018-01-29 Maciej W. Rozycki <macro@mips.com>
37
38 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
39 targets using non-traditional MIPS emulation or having a limited
40 selection of ABIs available. Don't force big endianness, use
41 defaults.
42
98d72909
L
432018-01-29 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR ld/22732
46 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
47 "-static" if target compiler supports it.
48 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
49 tests if target compiler doesn't support it.
50 * testsuite/ld-ifunc/ifunc.exp: Likewise.
51 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
52 (run_cc_link_tests): Likewise.
53
fef75122
L
542018-01-27 H.J. Lu <hongjiu.lu@intel.com>
55
56 PR ld/22751
57 * testsuite/config/default.exp (INT128_CFLAGS): New.
58 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
59 Run ld/22751 tests.
60 * testsuite/ld-plugin/pr22751.c: New file.
61 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
62 ld trailing options.
63
d580dcc7
AM
642018-01-28 Alan Modra <amodra@gmail.com>
65
66 PR 22751
67 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
68 set.
69
2ebd05b8
MR
702018-01-26 Maciej W. Rozycki <macro@mips.com>
71
72 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
73 `mipself'.
74
bb363086
EB
752018-01-25 Eric Botcazou <ebotcazou@adacore.com>
76
77 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
78 Link with a version script.
79 (32-bit: TLS -fpie): New test.
80 (64-bit: Helper shared library): Link with a version script.
81 (64-bit: TLS -fpie): New test.
82 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
83 * testsuite/ld-sparc/tlslib.ver: New file.
84 * testsuite/ld-sparc/tlspie32.dd: Likewise.
85 * testsuite/ld-sparc/tlspie32.s: Likewise.
86 * testsuite/ld-sparc/tlspie64.dd: Likewise.
87 * testsuite/ld-sparc/tlspie64.s: Likewise.
88 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
89 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
90 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
91 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
92 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
93 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
94
1daf502a
RL
952018-01-24 Renlin Li <renlin.li@arm.com>
96
97 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
98 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
99 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
100 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
101 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
102 * testsuite/ld-aarch64/emit-relocs-288.d: New.
103 * testsuite/ld-aarch64/emit-relocs-288.s: New.
104 * testsuite/ld-aarch64/emit-relocs-289.d: New.
105 * testsuite/ld-aarch64/emit-relocs-289.s: New.
106 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
107 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
108 * testsuite/ld-aarch64/emit-relocs-290.d: New.
109 * testsuite/ld-aarch64/emit-relocs-290.s: New.
110 * testsuite/ld-aarch64/emit-relocs-291.d: New.
111 * testsuite/ld-aarch64/emit-relocs-291.s: New.
112 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
113 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
114 * testsuite/ld-aarch64/emit-relocs-292.d: New.
115 * testsuite/ld-aarch64/emit-relocs-292.s: New.
116 * testsuite/ld-aarch64/emit-relocs-293.d: New.
117 * testsuite/ld-aarch64/emit-relocs-293.s: New.
118
8a1b824a
L
1192018-01-20 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR ld/22721
122 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
123 * testsuite/ld-plugin/pr22721.t: New file.
124 * testsuite/ld-plugin/pr22721a.s: Likewise.
125 * testsuite/ld-plugin/pr22721b.c: Likewise.
126
1ebfa86a
L
1272018-01-18 H.J. Lu <hongjiu.lu@intel.com>
128
129 * testsuite/ld-elf/group1.d: Also xfail Solaris.
130
f7968f08
L
1312018-01-18 H.J. Lu <hongjiu.lu@intel.com>
132
133 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
134 PLT/GOT order/layout for Solaris/x86 targets.
135 * testsuite/ld-elf/linkinfo1b.d: Likewise.
136
c5bdb022
L
1372018-01-18 H.J. Lu <hongjiu.lu@intel.com>
138
139 PR ld/22728
140 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
141 into ...
142 (elf_solaris2_before_allocation): This.
143 (LDEMUL_AFTER_ALLOCATION): Removed.
144
691d2e9a
AM
1452018-01-18 Alan Modra <amodra@gmail.com>
146
147 * emultempl/ppc32elf.em: Support optional --plt-align arg.
148 * emultempl/ppc64elf.em: Support negative --plt-align arg.
149
1be5d8d3
AM
1502018-01-17 Alan Modra <amodra@gmail.com>
151
152 * emultempl/ppc32elf.em (params): Init new field.
153 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
154 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
155 (PARSE_AND_LIST_LONGOPTS): Handle new options.
156 (PARSE_AND_LIST_ARGS_CASES): Likewise.
157 (PARSE_AND_LIST_OPTIONS): Likewise.
158 * emultempl/ppc64elf.em (params): Init new field.
159 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
160 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
161 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
162 (PARSE_AND_LIST_OPTIONS): Likewise.
163 (PARSE_AND_LIST_ARGS_CASES): Likewise.
164 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
165 (--speculate-indirect-jumps): Document.
166 * testsuite/ld-powerpc/elfv2exe.d,
167 * testsuite/ld-powerpc/elfv2so.d,
168 * testsuite/ld-powerpc/relbrlt.d,
169 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
170 speculation barriers on various tests.
171
9e390558
AM
1722018-01-17 Alan Modra <amodra@gmail.com>
173
174 * emultempl/ppc32elf.em (params): Init new field.
175 (enum ppc32_opt): New enum to define OPTION_* values. Add
176 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
177 (PARSE_AND_LIST_LONGOPTS): Handle new options.
178 (PARSE_AND_LIST_ARGS_CASES): Likewise.
179 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
180 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
181 correctly for negative --plt-stub-align.
182 * testsuite/ld-powerpc/elfv2exe.d,
183 * testsuite/ld-powerpc/elfv2so.d,
184 * testsuite/ld-powerpc/relbrlt.d,
185 * testsuite/ld-powerpc/relbrlt.s,
186 * testsuite/ld-powerpc/tlsexe.d,
187 * testsuite/ld-powerpc/tlsexe.r,
188 * testsuite/ld-powerpc/tlsexe32.d,
189 * testsuite/ld-powerpc/tlsexe32.g,
190 * testsuite/ld-powerpc/tlsexe32.r,
191 * testsuite/ld-powerpc/tlsexetoc.d,
192 * testsuite/ld-powerpc/tlsexetoc.r,
193 * testsuite/ld-powerpc/tlsopt5_32.d,
194 * testsuite/ld-powerpc/tlsso.d,
195 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
196
f6efed01
NC
1972018-01-16 Nick Clifton <nickc@redhat.com>
198
199 * po/pt_BR.po: Updated Brazilian Portugese translation.
200
616dcb87
NC
2012018-01-15 Nick Clifton <nickc@redhat.com>
202
203 * po/uk.po: Updated Ukranian translation.
204
3957a496
NC
2052018-01-13 Nick Clifton <nickc@redhat.com>
206
207 * po/ld.pot: Regenerated.
208
769c7ea5
NC
2092018-01-13 Nick Clifton <nickc@redhat.com>
210
211 * configure: Regenerate.
212
9176ac5b
NC
2132018-01-13 Nick Clifton <nickc@redhat.com>
214
faf766e3 215 2.30 branch created.
9176ac5b
NC
216 * NEWS: Add marker for 2.30.
217
5ae5d3fd
AM
2182018-01-12 Alan Modra <amodra@gmail.com>
219
220 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
221 initialization" for currently failing targets.
222
87e79a65
AM
2232018-01-12 Alan Modra <amodra@gmail.com>
224
225 PR ld/22649
226 * testsuite/ld-elf/pr22649.msg: Allow other messages.
227 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
228 supported before running ld/22649 tests.
229
97a232d7
NC
2302018-01-12 Nick Clifton <nickc@redhat.com>
231
232 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
233 as the opposite of "-z defs".
234 * ld.texinfo: Document the new option. Update the description of
235 the -z defs option to make it clear that it does generate an error
236 if an undefined symbol reference is found in an object file whilst
237 creating a shared library.
238 * NEWS: Document this new feature.
239
33eff4ce
L
2402018-01-11 H.J. Lu <hongjiu.lu@intel.com>
241
242 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
243 "-z separate-code".
244 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
245 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
246 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
247
cf9e7f1f
L
2482018-01-11 H.J. Lu <hongjiu.lu@intel.com>
249
250 PR ld/22393
251 * testsuite/ld-x86-64/pr22393-3a.c: New file.
252 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
253 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
254 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
255 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
256 -z max-page-size=0x1000.
257
d346bb27
L
2582018-01-11 H.J. Lu <hongjiu.lu@intel.com>
259
260 PR ld/22393
261 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
262 * testsuite/ld-elf/pr22393-1.s: New file.
263 * testsuite/ld-elf/pr22393-1a.d: Likewise.
264 * testsuite/ld-elf/pr22393-1b.d: Likewise.
265 * testsuite/ld-elf/pr22393-1c.d: Likewise.
266 * testsuite/ld-elf/pr22393-1d.d: Likewise.
267 * testsuite/ld-elf/pr22393-1e.d: Likewise.
268 * testsuite/ld-elf/pr22393-1f.d: Likewise.
269 * testsuite/ld-elf/pr22393-2a.c: Likewise.
270 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
271 * testsuite/ld-elf/pr22393-2b.c: Likewise.
272 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
273 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
274
47acac12
L
2752018-01-11 H.J. Lu <hongjiu.lu@intel.com>
276
277 PR ld/22393
278 * NEWS: Mention "-z separate-code".
279 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
280 builtin linker scripts and return linker scripts from disk for
281 "-z separate-code".
282 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
283 and "-z noseparate-code".
284 * genscripts.sh: Generate linker scripts for "-z separate-code".
285 (LD_FLAG): Set to *textonly for "-z separate-code".
286 * ld.texinfo: Document "-z separate-code".
287 * lexsup.c (elf_shlib_list_options): Add linker help messsages
288 for "-z separate-code" and "-z noseparate-code".
289 * scripttempl/elf.sc (SEPARATE_TEXT): New
290 (TEXT_SEGMENT_ALIGN): Likewise.
291 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
292 ${MAXPAGESIZE}.
293
d664fd41
L
2942018-01-11 H.J. Lu <hongjiu.lu@intel.com>
295
296 PR ld/22649
297 * testsuite/ld-elf/pr22649-1.s: New file.
298 * testsuite/ld-elf/pr22649-2a.s: Likewise.
299 * testsuite/ld-elf/pr22649-2b.s: Likewise.
300 * testsuite/ld-elf/pr22649.msg: Likewise.
301 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
302
8b6f4cd3
L
3032018-01-11 H.J. Lu <hongjiu.lu@intel.com>
304
305 PR ld/22677
306 * scripttempl/elf.sc (PREINIT_ARRAY): New.
307 Don't add .preinit_array for ld -r.
308 * testsuite/ld-elf/pr22677.d: New file.
309 * testsuite/ld-elf/pr22677.s: Likewise.
310
65f14869
AB
3112018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
312
313 * ldexp.h (union etree_union): Remove defsym field.
314 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
315 parameter.
316 (exp_assign): Remove passing of defsym parameter.
317 (exp_defsym): Likewise.
318 (exp_provide): Likewise.
319
eab62f2f
AB
3202018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
321
322 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
323 nodes are ignored in the tree walk, and move the location at which
324 we change provide nodes into provided nodes.
325 (exp_init_os): Add etree_provided.
326 * testsuite/ld-scripts/provide-6.d: New file.
327 * testsuite/ld-scripts/provide-6.t: New file.
328 * testsuite/ld-scripts/provide-7.d: New file.
329 * testsuite/ld-scripts/provide-7.t: New file.
330 * testsuite/ld-scripts/provide-8.d: New file.
331 * testsuite/ld-scripts/provide-8.t: New file.
332
8be965c5
AB
3332018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
336 * testsuite/ld-scripts/provide-4.d: Use new map file name.
337 * testsuite/ld-scripts/provide-5.d: Use new map file name.
338 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
339 * testsuite/ld-scripts/provide-4.map: ...this.
340 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
341 * testsuite/ld-scripts/provide-5.map: ...this.
342 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
343 file, and run tests in a loop.
344
b3b9f8d3
AB
3452018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
348 PROVIDE statements.
349 * testsuite/ld-scripts/provide-4.map: Update expected output.
350 * testsuite/ld-scripts/provide-5.map: Likewise.
351
6bd0a312
L
3522018-01-11 H.J. Lu <hongjiu.lu@intel.com>
353
354 PR ld/22696
355 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
356
74ccf6db
JW
3572018-01-09 Jim Wilson <jimw@sifive.com>
358
359 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
360 (#alltargets): Renamed from #target. Add shared.
361 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
362 Document alltargets option. Add support for alltargets option.
363 (istarget): Add support for shared target.
364
7615ca1d
JW
3652018-01-08 Jim Wilson <jimw@sifive.com>
366
367 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
368 instead of .text.
369 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
370 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
371 tests, add call to check_shared_lib_support.
372
be1dce26
JW
3732018-01-05 Jim Wilson <jimw@sifive.com>
374
35eeb78f
JW
375 * testsuite/ld-riscv-elf/disas-jalr.d: New.
376 * testsuite/ld-riscv-elf/disas-jalr.s: New.
377 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
378
be1dce26
JW
379 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
380 case on $target, and don't set for riscv*-elf targets.
381 (GENERATE_PIE_SCRIPT): Likewise.
382
219d1afa
AM
3832018-01-03 Alan Modra <amodra@gmail.com>
384
385 Update year range in copyright notice of all files.
386
1e563868 387For older changes see ChangeLog-2017
3499769a 388\f
1e563868 389Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
390
391Copying and distribution of this file, with or without modification,
392are permitted in any medium without royalty provided the copyright
393notice and this notice are preserved.
394
395Local Variables:
396mode: change-log
397left-margin: 8
398fill-column: 74
399version-control: never
400End: