Update documentation on making a release
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2ebd05b8
MR
12018-01-26 Maciej W. Rozycki <macro@mips.com>
2
3 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
4 `mipself'.
5
bb363086
EB
62018-01-25 Eric Botcazou <ebotcazou@adacore.com>
7
8 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
9 Link with a version script.
10 (32-bit: TLS -fpie): New test.
11 (64-bit: Helper shared library): Link with a version script.
12 (64-bit: TLS -fpie): New test.
13 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
14 * testsuite/ld-sparc/tlslib.ver: New file.
15 * testsuite/ld-sparc/tlspie32.dd: Likewise.
16 * testsuite/ld-sparc/tlspie32.s: Likewise.
17 * testsuite/ld-sparc/tlspie64.dd: Likewise.
18 * testsuite/ld-sparc/tlspie64.s: Likewise.
19 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
20 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
21 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
22 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
23 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
24 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
25
1daf502a
RL
262018-01-24 Renlin Li <renlin.li@arm.com>
27
28 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
29 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
30 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
31 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
32 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
33 * testsuite/ld-aarch64/emit-relocs-288.d: New.
34 * testsuite/ld-aarch64/emit-relocs-288.s: New.
35 * testsuite/ld-aarch64/emit-relocs-289.d: New.
36 * testsuite/ld-aarch64/emit-relocs-289.s: New.
37 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
38 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
39 * testsuite/ld-aarch64/emit-relocs-290.d: New.
40 * testsuite/ld-aarch64/emit-relocs-290.s: New.
41 * testsuite/ld-aarch64/emit-relocs-291.d: New.
42 * testsuite/ld-aarch64/emit-relocs-291.s: New.
43 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
44 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
45 * testsuite/ld-aarch64/emit-relocs-292.d: New.
46 * testsuite/ld-aarch64/emit-relocs-292.s: New.
47 * testsuite/ld-aarch64/emit-relocs-293.d: New.
48 * testsuite/ld-aarch64/emit-relocs-293.s: New.
49
8a1b824a
L
502018-01-20 H.J. Lu <hongjiu.lu@intel.com>
51
52 PR ld/22721
53 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
54 * testsuite/ld-plugin/pr22721.t: New file.
55 * testsuite/ld-plugin/pr22721a.s: Likewise.
56 * testsuite/ld-plugin/pr22721b.c: Likewise.
57
1ebfa86a
L
582018-01-18 H.J. Lu <hongjiu.lu@intel.com>
59
60 * testsuite/ld-elf/group1.d: Also xfail Solaris.
61
f7968f08
L
622018-01-18 H.J. Lu <hongjiu.lu@intel.com>
63
64 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
65 PLT/GOT order/layout for Solaris/x86 targets.
66 * testsuite/ld-elf/linkinfo1b.d: Likewise.
67
c5bdb022
L
682018-01-18 H.J. Lu <hongjiu.lu@intel.com>
69
70 PR ld/22728
71 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
72 into ...
73 (elf_solaris2_before_allocation): This.
74 (LDEMUL_AFTER_ALLOCATION): Removed.
75
691d2e9a
AM
762018-01-18 Alan Modra <amodra@gmail.com>
77
78 * emultempl/ppc32elf.em: Support optional --plt-align arg.
79 * emultempl/ppc64elf.em: Support negative --plt-align arg.
80
1be5d8d3
AM
812018-01-17 Alan Modra <amodra@gmail.com>
82
83 * emultempl/ppc32elf.em (params): Init new field.
84 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
85 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
86 (PARSE_AND_LIST_LONGOPTS): Handle new options.
87 (PARSE_AND_LIST_ARGS_CASES): Likewise.
88 (PARSE_AND_LIST_OPTIONS): Likewise.
89 * emultempl/ppc64elf.em (params): Init new field.
90 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
91 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
92 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
93 (PARSE_AND_LIST_OPTIONS): Likewise.
94 (PARSE_AND_LIST_ARGS_CASES): Likewise.
95 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
96 (--speculate-indirect-jumps): Document.
97 * testsuite/ld-powerpc/elfv2exe.d,
98 * testsuite/ld-powerpc/elfv2so.d,
99 * testsuite/ld-powerpc/relbrlt.d,
100 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
101 speculation barriers on various tests.
102
9e390558
AM
1032018-01-17 Alan Modra <amodra@gmail.com>
104
105 * emultempl/ppc32elf.em (params): Init new field.
106 (enum ppc32_opt): New enum to define OPTION_* values. Add
107 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
108 (PARSE_AND_LIST_LONGOPTS): Handle new options.
109 (PARSE_AND_LIST_ARGS_CASES): Likewise.
110 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
111 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
112 correctly for negative --plt-stub-align.
113 * testsuite/ld-powerpc/elfv2exe.d,
114 * testsuite/ld-powerpc/elfv2so.d,
115 * testsuite/ld-powerpc/relbrlt.d,
116 * testsuite/ld-powerpc/relbrlt.s,
117 * testsuite/ld-powerpc/tlsexe.d,
118 * testsuite/ld-powerpc/tlsexe.r,
119 * testsuite/ld-powerpc/tlsexe32.d,
120 * testsuite/ld-powerpc/tlsexe32.g,
121 * testsuite/ld-powerpc/tlsexe32.r,
122 * testsuite/ld-powerpc/tlsexetoc.d,
123 * testsuite/ld-powerpc/tlsexetoc.r,
124 * testsuite/ld-powerpc/tlsopt5_32.d,
125 * testsuite/ld-powerpc/tlsso.d,
126 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
127
f6efed01
NC
1282018-01-16 Nick Clifton <nickc@redhat.com>
129
130 * po/pt_BR.po: Updated Brazilian Portugese translation.
131
616dcb87
NC
1322018-01-15 Nick Clifton <nickc@redhat.com>
133
134 * po/uk.po: Updated Ukranian translation.
135
3957a496
NC
1362018-01-13 Nick Clifton <nickc@redhat.com>
137
138 * po/ld.pot: Regenerated.
139
769c7ea5
NC
1402018-01-13 Nick Clifton <nickc@redhat.com>
141
142 * configure: Regenerate.
143
9176ac5b
NC
1442018-01-13 Nick Clifton <nickc@redhat.com>
145
faf766e3 146 2.30 branch created.
9176ac5b
NC
147 * NEWS: Add marker for 2.30.
148
5ae5d3fd
AM
1492018-01-12 Alan Modra <amodra@gmail.com>
150
151 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
152 initialization" for currently failing targets.
153
87e79a65
AM
1542018-01-12 Alan Modra <amodra@gmail.com>
155
156 PR ld/22649
157 * testsuite/ld-elf/pr22649.msg: Allow other messages.
158 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
159 supported before running ld/22649 tests.
160
97a232d7
NC
1612018-01-12 Nick Clifton <nickc@redhat.com>
162
163 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
164 as the opposite of "-z defs".
165 * ld.texinfo: Document the new option. Update the description of
166 the -z defs option to make it clear that it does generate an error
167 if an undefined symbol reference is found in an object file whilst
168 creating a shared library.
169 * NEWS: Document this new feature.
170
33eff4ce
L
1712018-01-11 H.J. Lu <hongjiu.lu@intel.com>
172
173 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
174 "-z separate-code".
175 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
176 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
177 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
178
cf9e7f1f
L
1792018-01-11 H.J. Lu <hongjiu.lu@intel.com>
180
181 PR ld/22393
182 * testsuite/ld-x86-64/pr22393-3a.c: New file.
183 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
184 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
185 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
186 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
187 -z max-page-size=0x1000.
188
d346bb27
L
1892018-01-11 H.J. Lu <hongjiu.lu@intel.com>
190
191 PR ld/22393
192 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
193 * testsuite/ld-elf/pr22393-1.s: New file.
194 * testsuite/ld-elf/pr22393-1a.d: Likewise.
195 * testsuite/ld-elf/pr22393-1b.d: Likewise.
196 * testsuite/ld-elf/pr22393-1c.d: Likewise.
197 * testsuite/ld-elf/pr22393-1d.d: Likewise.
198 * testsuite/ld-elf/pr22393-1e.d: Likewise.
199 * testsuite/ld-elf/pr22393-1f.d: Likewise.
200 * testsuite/ld-elf/pr22393-2a.c: Likewise.
201 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
202 * testsuite/ld-elf/pr22393-2b.c: Likewise.
203 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
204 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
205
47acac12
L
2062018-01-11 H.J. Lu <hongjiu.lu@intel.com>
207
208 PR ld/22393
209 * NEWS: Mention "-z separate-code".
210 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
211 builtin linker scripts and return linker scripts from disk for
212 "-z separate-code".
213 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
214 and "-z noseparate-code".
215 * genscripts.sh: Generate linker scripts for "-z separate-code".
216 (LD_FLAG): Set to *textonly for "-z separate-code".
217 * ld.texinfo: Document "-z separate-code".
218 * lexsup.c (elf_shlib_list_options): Add linker help messsages
219 for "-z separate-code" and "-z noseparate-code".
220 * scripttempl/elf.sc (SEPARATE_TEXT): New
221 (TEXT_SEGMENT_ALIGN): Likewise.
222 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
223 ${MAXPAGESIZE}.
224
d664fd41
L
2252018-01-11 H.J. Lu <hongjiu.lu@intel.com>
226
227 PR ld/22649
228 * testsuite/ld-elf/pr22649-1.s: New file.
229 * testsuite/ld-elf/pr22649-2a.s: Likewise.
230 * testsuite/ld-elf/pr22649-2b.s: Likewise.
231 * testsuite/ld-elf/pr22649.msg: Likewise.
232 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
233
8b6f4cd3
L
2342018-01-11 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR ld/22677
237 * scripttempl/elf.sc (PREINIT_ARRAY): New.
238 Don't add .preinit_array for ld -r.
239 * testsuite/ld-elf/pr22677.d: New file.
240 * testsuite/ld-elf/pr22677.s: Likewise.
241
65f14869
AB
2422018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * ldexp.h (union etree_union): Remove defsym field.
245 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
246 parameter.
247 (exp_assign): Remove passing of defsym parameter.
248 (exp_defsym): Likewise.
249 (exp_provide): Likewise.
250
eab62f2f
AB
2512018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
254 nodes are ignored in the tree walk, and move the location at which
255 we change provide nodes into provided nodes.
256 (exp_init_os): Add etree_provided.
257 * testsuite/ld-scripts/provide-6.d: New file.
258 * testsuite/ld-scripts/provide-6.t: New file.
259 * testsuite/ld-scripts/provide-7.d: New file.
260 * testsuite/ld-scripts/provide-7.t: New file.
261 * testsuite/ld-scripts/provide-8.d: New file.
262 * testsuite/ld-scripts/provide-8.t: New file.
263
8be965c5
AB
2642018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
265
266 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
267 * testsuite/ld-scripts/provide-4.d: Use new map file name.
268 * testsuite/ld-scripts/provide-5.d: Use new map file name.
269 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
270 * testsuite/ld-scripts/provide-4.map: ...this.
271 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
272 * testsuite/ld-scripts/provide-5.map: ...this.
273 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
274 file, and run tests in a loop.
275
b3b9f8d3
AB
2762018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
277
278 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
279 PROVIDE statements.
280 * testsuite/ld-scripts/provide-4.map: Update expected output.
281 * testsuite/ld-scripts/provide-5.map: Likewise.
282
6bd0a312
L
2832018-01-11 H.J. Lu <hongjiu.lu@intel.com>
284
285 PR ld/22696
286 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
287
74ccf6db
JW
2882018-01-09 Jim Wilson <jimw@sifive.com>
289
290 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
291 (#alltargets): Renamed from #target. Add shared.
292 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
293 Document alltargets option. Add support for alltargets option.
294 (istarget): Add support for shared target.
295
7615ca1d
JW
2962018-01-08 Jim Wilson <jimw@sifive.com>
297
298 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
299 instead of .text.
300 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
301 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
302 tests, add call to check_shared_lib_support.
303
be1dce26
JW
3042018-01-05 Jim Wilson <jimw@sifive.com>
305
35eeb78f
JW
306 * testsuite/ld-riscv-elf/disas-jalr.d: New.
307 * testsuite/ld-riscv-elf/disas-jalr.s: New.
308 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
309
be1dce26
JW
310 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
311 case on $target, and don't set for riscv*-elf targets.
312 (GENERATE_PIE_SCRIPT): Likewise.
313
219d1afa
AM
3142018-01-03 Alan Modra <amodra@gmail.com>
315
316 Update year range in copyright notice of all files.
317
1e563868 318For older changes see ChangeLog-2017
3499769a 319\f
1e563868 320Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
321
322Copying and distribution of this file, with or without modification,
323are permitted in any medium without royalty provided the copyright
324notice and this notice are preserved.
325
326Local Variables:
327mode: change-log
328left-margin: 8
329fill-column: 74
330version-control: never
331End:
This page took 0.14586 seconds and 4 git commands to generate.