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