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