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