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