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