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