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