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