Commit | Line | Data |
---|---|---|
de07a745 EB |
1 | 2019-09-05 Eric Botcazou <ebotcazou@adacore.com> |
2 | ||
3 | PR ld/24574 | |
4 | * pe-dll.c (pe_find_data_imports): Replace again the original name of | |
5 | the undefined symbol with the __imp_ prefixed one after it is resolved. | |
6 | ||
77486630 AM |
7 | 2019-09-05 Alan Modra <amodra@gmail.com> |
8 | ||
9 | * testsuite/ld-powerpc/pcrelopt.s, | |
10 | * testsuite/ld-powerpc/pcrelopt.d: Test offset and prefix in | |
11 | second instruction. | |
12 | ||
a78fca7b AM |
13 | 2019-08-29 Alan Modra <amodra@gmail.com> |
14 | ||
15 | PR ld/24406 | |
16 | * plugin.c (get_symbols): Test link_info.wrap_hash before calling | |
17 | unwrap_hash_lookup. | |
18 | ||
652afeef TC |
19 | 2019-08-22 Tamar Christina <tamar.christina@arm.com> |
20 | ||
21 | PR ld/24601 | |
22 | * testsuite/ld-aarch64/aarch64-elf.exp (undef-tls, weak-tls): New. | |
23 | * testsuite/ld-aarch64/undef-tls.d: New test. | |
24 | * testsuite/ld-aarch64/undef-tls.s: New test. | |
25 | * testsuite/ld-aarch64/weak-tls.d: New test. | |
26 | * testsuite/ld-aarch64/weak-tls.s: New test. | |
27 | ||
b4e87f2c TC |
28 | 2019-08-20 Tamar Christina <tamar.christina@arm.com> |
29 | ||
30 | * testsuite/ld-arm/cortex-a8-fix-b-plt.d: Update Testcase. | |
31 | * testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise. | |
32 | * testsuite/ld-arm/cortex-a8-fix-bcc-plt.d: Likewise. | |
33 | * testsuite/ld-arm/farcall-cond-thumb-arm.d: Likewise. | |
34 | * testsuite/ld-arm/farcall-mixed-app.d: Likewise. | |
35 | * testsuite/ld-arm/farcall-mixed-app2.d: Likewise. | |
36 | * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise. | |
37 | * testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise. | |
38 | * testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise. | |
39 | * testsuite/ld-arm/farcall-thumb-arm.d: Likewise. | |
40 | * testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. | |
41 | * testsuite/ld-arm/farcall-thumb-thumb.d: Likewise. | |
42 | * testsuite/ld-arm/fix-arm1176-on.d: Likewise. | |
43 | * testsuite/ld-arm/ifunc-10.dd: Likewise. | |
44 | * testsuite/ld-arm/ifunc-2.dd: Likewise. | |
45 | * testsuite/ld-arm/ifunc-4.dd: Likewise. | |
46 | * testsuite/ld-arm/ifunc-6.dd: Likewise. | |
47 | * testsuite/ld-arm/ifunc-8.dd: Likewise. | |
48 | * testsuite/ld-arm/jump-reloc-veneers-long.d: Likewise. | |
49 | * testsuite/ld-arm/mixed-app.d: Likewise. | |
50 | * testsuite/ld-arm/thumb2-b-interwork.d: Likewise. | |
51 | * testsuite/ld-arm/tls-longplt.d: Likewise. | |
52 | * testsuite/ld-arm/tls-thumb1.d: Likewise. | |
53 | ||
81e8046d L |
54 | 2019-08-16 H.J. Lu <hongjiu.lu@intel.com> |
55 | ||
56 | PR ld/24905 | |
57 | * testsuite/ld-x86-64/pr24905-x32.d: New file. | |
58 | * testsuite/ld-x86-64/pr24905.d: Likewise. | |
59 | * testsuite/ld-x86-64/pr24905.s: Likewise. | |
60 | * testsuite/ld-x86-64/pr24905.t: Likewise. | |
61 | * testsuite/ld-x86-64/x86-64.exp: Run pr24905 and pr24905-x32. | |
62 | ||
fdfc8cf7 CL |
63 | 2019-08-16 Christophe Lyon <christophe.lyon@linaro.org> |
64 | ||
65 | * emulparams/armelf.sh (OTHER_SECTIONS): Add support for noinit | |
66 | section. | |
67 | ||
7df6aecc AM |
68 | 2019-08-16 Alan Modra <amodra@gmail.com> |
69 | ||
70 | * emultempl/ppc32elf.em (ppc_before_allocation): Force running | |
71 | prelim_size_sections before deciding whether branch trampolines | |
72 | might be needed. | |
73 | ||
080a4883 JW |
74 | 2019-08-15 Jim Wilson <jimw@sifive.com> |
75 | ||
76 | * testsuite/ld-riscv-elf/c-lui-2.d: New. | |
77 | * testsuite/ld-riscv-elf/c-lui-2.ld: New. | |
78 | * testsuite/ld-riscv-elf/c-lui-2.s: New. | |
79 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the c-lui-2 test. | |
80 | ||
dc02848a AM |
81 | 2019-08-10 Alan Modra <amodra@gmail.com> |
82 | ||
83 | * ldlang.h (enum statement_enum): Sort. | |
84 | (union lang_statement_union): Sort. | |
85 | ||
4cfbdbfd AM |
86 | 2019-08-10 Alan Modra <amodra@gmail.com> |
87 | ||
88 | * ldlang.h (lang_common_statement_type): Delete. | |
89 | (lang_object_symbols_statement_type): Delete. | |
90 | (union lang_statement_union): Remove common_statement and | |
91 | object_symbols_statement. | |
92 | ||
988de25b AM |
93 | 2019-08-10 Alan Modra <amodra@gmail.com> |
94 | ||
95 | * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop), | |
96 | (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of | |
97 | stat_alloc return value. | |
98 | * ldlang.c (new_statement, new_afile, sort_def_symbol), | |
99 | (lang_memory_region_lookup, lang_memory_region_alias), | |
100 | (ldlang_add_undef, ldlang_add_require_defined, insert_pad), | |
101 | (lang_add_gc_name, lang_new_phdr): Likewise. | |
102 | * lexsup.c (set_segment_start): Likewise. | |
103 | ||
36983a93 AM |
104 | 2019-08-10 Alan Modra <amodra@gmail.com> |
105 | ||
106 | * ldlang.h (lang_input_statement_type): Make next | |
107 | and next_real_file a lang_input_statement_type pointer. | |
108 | (lang_statement_append): Delete prototype. | |
109 | (LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type | |
110 | change. | |
111 | * ldmain.c (add_archive_element): Likewise. | |
112 | * ldlang.c: Likewise throughout. | |
113 | (lang_statement_append): Make static. Make element and field | |
114 | void pointers. Remove casts in calls. | |
115 | (lang_check): Use a lang_input_statement_type pointer for "file". | |
116 | (find_rescan_insertion): Similarly for "iter" and return value. | |
117 | (lang_process): Similarly for "insert", "iter" and "temp". | |
118 | * emultempl/spuelf.em (embedded_spu_file): Likewise. | |
119 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand | |
120 | lang_statment_append call. | |
121 | ||
f16a9783 MS |
122 | 2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com> |
123 | ||
124 | * emulparams/elf32bmip.sh: Add .MIPS.xhash section. | |
125 | * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section. | |
126 | * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section. | |
127 | * emultempl/mipself.em: Remove mips_after_parse function. | |
128 | * testsuite/ld-elf/hash.d: Update comment. | |
129 | * testsuite/ld-mips-elf/hash1.d: New test. | |
130 | * testsuite/ld-mips-elf/hash1.s: Ditto. | |
131 | * testsuite/ld-mips-elf/hash1a.d: Remove. | |
132 | * testsuite/ld-mips-elf/hash1b.d: Ditto. | |
133 | * testsuite/ld-mips-elf/hash1c.d: Ditto | |
134 | * testsuite/ld-mips-elf/hash2.d: New test. | |
135 | * testsuite/ld-mips-elf/mips-elf.exp: New tests. | |
136 | * testsuite/ld-mips-elf/start.s: New test. | |
137 | ||
dbe15e4e NC |
138 | 2019-08-08 Nick Clifton <nickc@redhat.com> |
139 | ||
140 | PR 24887 | |
141 | * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format | |
142 | from readelf. | |
143 | * testsuite/ld-aarch64/bti-plt-4.d: Likewise. | |
144 | * testsuite/ld-aarch64/bti-plt-6.d: Likewise. | |
145 | * testsuite/ld-aarch64/bti-plt-7.d: Likewise. | |
146 | * testsuite/ld-aarch64/bti-warn.d: Likewise. | |
147 | * testsuite/ld-aarch64/property-bti-pac1.d: Likewise. | |
148 | * testsuite/ld-aarch64/property-bti-pac2.d: Likewise. | |
149 | * testsuite/ld-aarch64/property-bti-pac3.d: Likewise. | |
150 | * testsuite/ld-elf/x86-feature-1a.rd: Likewise. | |
151 | * testsuite/ld-elf/x86-feature-1b.rd: Likewise. | |
152 | * testsuite/ld-elf/x86-feature-1c.rd: Likewise. | |
153 | * testsuite/ld-elf/x86-feature-1d.rd: Likewise. | |
154 | * testsuite/ld-elf/x86-feature-1e.rd: Likewise. | |
155 | * testsuite/ld-i386/ibt-plt-2d.d: Likewise. | |
156 | * testsuite/ld-i386/ibt-plt-3d.d: Likewise. | |
157 | * testsuite/ld-i386/pr23372a.d: Likewise. | |
158 | * testsuite/ld-i386/pr23372c.d: Likewise. | |
159 | * testsuite/ld-i386/pr23486a.d: Likewise. | |
160 | * testsuite/ld-i386/pr23486b.d: Likewise. | |
161 | * testsuite/ld-i386/pr23486c.d: Likewise. | |
162 | * testsuite/ld-i386/pr23486d.d: Likewise. | |
163 | * testsuite/ld-i386/pr24322a.d: Likewise. | |
164 | * testsuite/ld-i386/pr24322b.d: Likewise. | |
165 | * testsuite/ld-i386/property-x86-3.d: Likewise. | |
166 | * testsuite/ld-i386/property-x86-4a.d: Likewise. | |
167 | * testsuite/ld-i386/property-x86-5.d: Likewise. | |
168 | * testsuite/ld-i386/property-x86-cet1.d: Likewise. | |
169 | * testsuite/ld-i386/property-x86-cet2a.d: Likewise. | |
170 | * testsuite/ld-i386/property-x86-cet5a.d: Likewise. | |
171 | * testsuite/ld-i386/property-x86-cet5b.d: Likewise. | |
172 | * testsuite/ld-i386/property-x86-ibt1a.d: Likewise. | |
173 | * testsuite/ld-i386/property-x86-ibt1b.d: Likewise. | |
174 | * testsuite/ld-i386/property-x86-ibt2.d: Likewise. | |
175 | * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. | |
176 | * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. | |
177 | * testsuite/ld-i386/property-x86-ibt4.d: Likewise. | |
178 | * testsuite/ld-i386/property-x86-ibt5.d: Likewise. | |
179 | * testsuite/ld-i386/property-x86-shstk1a.d: Likewise. | |
180 | * testsuite/ld-i386/property-x86-shstk1b.d: Likewise. | |
181 | * testsuite/ld-i386/property-x86-shstk2.d: Likewise. | |
182 | * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. | |
183 | * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. | |
184 | * testsuite/ld-i386/property-x86-shstk4.d: Likewise. | |
185 | * testsuite/ld-i386/property-x86-shstk5.d: Likewise. | |
186 | * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. | |
187 | * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. | |
188 | * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. | |
189 | * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. | |
190 | * testsuite/ld-x86-64/pr23372a-x32.d: Likewise. | |
191 | * testsuite/ld-x86-64/pr23372a.d: Likewise. | |
192 | * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. | |
193 | * testsuite/ld-x86-64/pr23372c.d: Likewise. | |
194 | * testsuite/ld-x86-64/pr23486a-x32.d: Likewise. | |
195 | * testsuite/ld-x86-64/pr23486a.d: Likewise. | |
196 | * testsuite/ld-x86-64/pr23486b-x32.d: Likewise. | |
197 | * testsuite/ld-x86-64/pr23486b.d: Likewise. | |
198 | * testsuite/ld-x86-64/pr23486c-x32.d: Likewise. | |
199 | * testsuite/ld-x86-64/pr23486c.d: Likewise. | |
200 | * testsuite/ld-x86-64/pr23486d-x32.d: Likewise. | |
201 | * testsuite/ld-x86-64/pr23486d.d: Likewise. | |
202 | * testsuite/ld-x86-64/pr24322a-x32.d: Likewise. | |
203 | * testsuite/ld-x86-64/pr24322a.d: Likewise. | |
204 | * testsuite/ld-x86-64/pr24322b-x32.d: Likewise. | |
205 | * testsuite/ld-x86-64/pr24322b.d: Likewise. | |
206 | * testsuite/ld-x86-64/pr24458a-x32.d: Likewise. | |
207 | * testsuite/ld-x86-64/pr24458a.d: Likewise. | |
208 | * testsuite/ld-x86-64/pr24458b-x32.d: Likewise. | |
209 | * testsuite/ld-x86-64/pr24458b.d: Likewise. | |
210 | * testsuite/ld-x86-64/pr24458c-x32.d: Likewise. | |
211 | * testsuite/ld-x86-64/pr24458c.d: Likewise. | |
212 | * testsuite/ld-x86-64/property-1.r: Likewise. | |
213 | * testsuite/ld-x86-64/property-1a.r: Likewise. | |
214 | * testsuite/ld-x86-64/property-2.r: Likewise. | |
215 | * testsuite/ld-x86-64/property-2a.r: Likewise. | |
216 | * testsuite/ld-x86-64/property-3.r: Likewise. | |
217 | * testsuite/ld-x86-64/property-3a.r: Likewise. | |
218 | * testsuite/ld-x86-64/property-4.r: Likewise. | |
219 | * testsuite/ld-x86-64/property-4a.r: Likewise. | |
220 | * testsuite/ld-x86-64/property-5.r: Likewise. | |
221 | * testsuite/ld-x86-64/property-5a.r: Likewise. | |
222 | * testsuite/ld-x86-64/property-6.r: Likewise. | |
223 | * testsuite/ld-x86-64/property-7.r: Likewise. | |
224 | * testsuite/ld-x86-64/property-7a.r: Likewise. | |
225 | * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise. | |
226 | * testsuite/ld-x86-64/property-x86-3.d: Likewise. | |
227 | * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. | |
228 | * testsuite/ld-x86-64/property-x86-4a.d: Likewise. | |
229 | * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise. | |
230 | * testsuite/ld-x86-64/property-x86-5.d: Likewise. | |
231 | * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise. | |
232 | * testsuite/ld-x86-64/property-x86-cet1.d: Likewise. | |
233 | * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise. | |
234 | * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise. | |
235 | * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise. | |
236 | * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise. | |
237 | * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise. | |
238 | * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise. | |
239 | * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise. | |
240 | * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. | |
241 | * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise. | |
242 | * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise. | |
243 | * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise. | |
244 | * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise. | |
245 | * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. | |
246 | * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. | |
247 | * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. | |
248 | * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. | |
249 | * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise. | |
250 | * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise. | |
251 | * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise. | |
252 | * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise. | |
253 | * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise. | |
254 | * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise. | |
255 | * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise. | |
256 | * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise. | |
257 | * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise. | |
258 | * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise. | |
259 | * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. | |
260 | * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. | |
261 | * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. | |
262 | * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. | |
263 | * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise. | |
264 | * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise. | |
265 | * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise. | |
266 | * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise. | |
267 | ||
fca8e23c JM |
268 | 2019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com> |
269 | ||
270 | * scripttempl/elf64bpf.sc: Adapted from elf.sc. | |
271 | * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf. | |
272 | (EMBEDDED): Define. | |
273 | * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an | |
274 | undefined entry symbol. | |
275 | * testsuite/ld-bpf/jump-1.d: Likewise. | |
276 | * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to | |
277 | ld in BPF targets, and do not expect line number information. | |
278 | * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests | |
279 | in BPF targets. | |
280 | ||
128bf1fe AM |
281 | 2019-08-06 Alan Modra <amodra@gmail.com> |
282 | ||
283 | PR 24873 | |
284 | * ldlang.c (find_replacements_insert_point): Return "before" flag. | |
285 | (find_next_input_statement): New function. | |
286 | (lang_process): When placing recompiled LTO objects before a | |
287 | claimed archive, place them immediately before in the statement | |
288 | list. | |
289 | ||
b02c4f16 AM |
290 | 2019-08-06 Alan Modra <amodra@gmail.com> |
291 | ||
292 | PR 24873 | |
293 | * ldlang.c (plugin_undefs): New static var. | |
294 | (open_input_bfds <lang_group_statement_enum>): Loop on | |
295 | plugin_undefs and hitting plugin_insert point. | |
296 | (lang_process <lto_plugin_active>): Set plugin_undefs. | |
297 | ||
1b611b2d AM |
298 | 2019-08-02 Alan Modra <amodra@gmail.com> |
299 | ||
300 | * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence. | |
301 | ||
776ab89f AM |
302 | 2019-08-01 Alan Modra <amodra@gmail.com> |
303 | ||
304 | PR 24806 | |
305 | * ldlang.c (process_insert_statements): Add start of list | |
306 | parameter. Use rather than lang_os_list.head. Process insert | |
307 | statements inside group statements with a recursive call. | |
308 | (lang_process): Adjust process_insert_statements call. | |
309 | * lexsup.c (parse_args): Warn when adding missing --end-group. | |
310 | ||
5c1e6d53 AM |
311 | 2019-08-01 Alan Modra <amodra@gmail.com> |
312 | ||
313 | * ldlang.h (lang_os_list): Rename from lang_output_section_statement. | |
314 | * ldlang.c: Likewise throughout file. | |
315 | * emultempl/alphaelf.em: Likewise. | |
316 | * emultempl/elf32.em: Likewise. | |
317 | * emultempl/mmo.em: Likewise. | |
318 | * emultempl/pe.em: Likewise. | |
319 | * emultempl/pep.em: Likewise. | |
320 | * emultempl/ppc32elf.em: Likewise. | |
321 | * emultempl/spuelf.em: Likewise. | |
322 | ||
6e99a238 AM |
323 | 2019-07-26 Alan Modra <amodra@gmail.com> |
324 | ||
325 | * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors. | |
326 | * testsuite/ld-plugin/lto-5r.d: Likewise. | |
327 | ||
8f79c107 L |
328 | 2019-07-24 H.J. Lu <hongjiu.lu@intel.com> |
329 | ||
330 | * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead | |
331 | of __gnu_lto_v.*. | |
332 | * testsuite/ld-plugin/lto-5r.d: Likewise. | |
333 | * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests. | |
334 | ||
ef551643 CZ |
335 | 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com> |
336 | ||
337 | * ld-arc/relax-local-pic.d: New test. | |
338 | * ld-arc/relax-local-pic.s: New file. | |
339 | ||
19889a58 L |
340 | 2019-07-22 Martin Liska <mliska@suse.cz> |
341 | ||
342 | * testsuite/ld-plugin/lto-3r.d: Remove. | |
343 | * testsuite/ld-plugin/lto-5r.d: Remove. | |
344 | * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r | |
345 | tests. | |
346 | ||
df3a023b AM |
347 | 2019-07-23 Alan Modra <amodra@gmail.com> |
348 | ||
349 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition | |
350 | SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind. | |
351 | ||
ec49711a AM |
352 | 2019-07-23 Alan Modra <amodra@gmail.com> |
353 | ||
354 | * testsuite/ld-elf/size-1.d, | |
355 | * testsuite/ld-elf/size-1.s, | |
356 | * testsuite/ld-elf/size-1.t: New test. | |
357 | * testsuite/ld-elf/size-2.d, | |
358 | * testsuite/ld-elf/size-2.s, | |
359 | * testsuite/ld-elf/size-2.t: New test. | |
360 | * testsuite/ld-scripts/size-1.d, | |
361 | * testsuite/ld-scripts/size-1.s, | |
362 | * testsuite/ld-scripts/size-1.t, | |
363 | * testsuite/ld-scripts/size-2.s, | |
364 | * testsuite/ld-scripts/size-2.d, | |
365 | * testsuite/ld-scripts/size-2.t, | |
366 | * testsuite/ld-scripts/size.exp: Delete. | |
367 | ||
0c628bba SP |
368 | 2019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com> |
369 | ||
370 | * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to | |
371 | allow for output from a arm-none-linux-gnueabihf target. | |
372 | ||
9ab3a744 AM |
373 | 2019-07-20 Alan Modra <amodra@gmail.com> |
374 | ||
375 | PR 24827 | |
376 | * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF. | |
377 | ||
c213164a AM |
378 | 2019-07-19 Alan Modra <amodra@gmail.com> |
379 | ||
380 | * testsuite/ld-powerpc/tlsgd.d, | |
381 | * testsuite/ld-powerpc/tlsgd.s, | |
382 | * testsuite/ld-powerpc/tlsie.d, | |
383 | * testsuite/ld-powerpc/tlsie.s, | |
384 | * testsuite/ld-powerpc/tlsld.d, | |
385 | * testsuite/ld-powerpc/tlsld.s: New tests. | |
386 | * testsuite/ld-powerpc/powerpc.exp: Run them. | |
387 | ||
7a708984 AM |
388 | 2019-07-19 Alan Modra <amodra@gmail.com> |
389 | ||
390 | * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d. | |
391 | * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s. | |
392 | * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d. | |
393 | * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s. | |
394 | * testsuite/ld-powerpc/powerpc.exp: Update. | |
395 | ||
88468fe0 AM |
396 | 2019-07-19 Alan Modra <amodra@gmail.com> |
397 | ||
398 | PR 24819 | |
399 | * testsuite/ld-elf/pr24819.d: xfail for genelf targets. | |
400 | ||
54d7dae5 L |
401 | 2019-07-18 H.J. Lu <hongjiu.lu@intel.com> |
402 | ||
403 | PR ld/24819 | |
404 | * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for | |
405 | member of output section group when doing a relocatable link. | |
406 | * testsuite/ld-elf/pr24819.d: New file. | |
407 | * testsuite/ld-elf/pr24819.s: Likewise. | |
408 | ||
f26a3287 AM |
409 | 2019-07-13 Alan Modra <amodra@gmail.com> |
410 | ||
411 | * testsuite/ld-powerpc/tlsso.r: Update. | |
412 | * testsuite/ld-powerpc/tlsso32.g: Update. | |
413 | * testsuite/ld-powerpc/tlsso32.r: Update. | |
414 | * testsuite/ld-powerpc/tlstocso.r: Update. | |
415 | * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update. | |
416 | * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update. | |
417 | * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update. | |
418 | * testsuite/ld-cris/tls-gd-1.d: Update. | |
419 | * testsuite/ld-cris/tls-gd-1h.d: Update. | |
420 | * testsuite/ld-cris/tls-gd-2.d: Update. | |
421 | * testsuite/ld-cris/tls-gd-2h.d: Update. | |
422 | * testsuite/ld-cris/tls-ie-10.d: Update. | |
423 | * testsuite/ld-cris/tls-ie-11.d: Update. | |
424 | * testsuite/ld-cris/tls-ie-8.d: Update. | |
425 | * testsuite/ld-cris/tls-ie-9.d: Update. | |
426 | * testsuite/ld-cris/tls-js1.d: Update. | |
427 | * testsuite/ld-cris/tls-ld-4.d: Update. | |
428 | * testsuite/ld-cris/tls-ld-5.d: Update. | |
429 | * testsuite/ld-cris/tls-ld-6.d: Update. | |
430 | * testsuite/ld-cris/tls-ld-7.d: Update. | |
431 | * testsuite/ld-cris/tls-ldgd-14.d: Update. | |
432 | * testsuite/ld-cris/tls-ldgd-15.d: Update. | |
433 | * testsuite/ld-cris/tls-ldgdx-14.d: Update. | |
434 | * testsuite/ld-cris/tls-ldgdx-15.d: Update. | |
435 | * testsuite/ld-cris/tls-local-54.d: Update. | |
436 | * testsuite/ld-cris/tls-local-60.d: Update. | |
437 | * testsuite/ld-cris/tls-local-61.d: Update. | |
438 | * testsuite/ld-cris/tls-local-63.d: Update. | |
439 | * testsuite/ld-cris/tls-local-64.d: Update. | |
440 | * testsuite/ld-cris/tls-ok-30.d: Update. | |
441 | * testsuite/ld-cris/tls-ok-32.d: Update. | |
442 | * testsuite/ld-cris/tls-ok-34.d: Update. | |
443 | * testsuite/ld-mips-elf/tls-multi-got-1.got: Update. | |
444 | * testsuite/ld-mips-elf/tls-multi-got-1.r: Update. | |
445 | * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update. | |
446 | * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update. | |
447 | * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update. | |
448 | * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update. | |
449 | * testsuite/ld-mips-elf/tlslib-o32.got: Update. | |
450 | * testsuite/ld-s390/tlspic.rd: Update. | |
451 | * testsuite/ld-s390/tlspic_64.rd: Update. | |
452 | * testsuite/ld-sparc/tlssunnopic32.rd: Update. | |
453 | * testsuite/ld-sparc/tlssunnopic64.rd: Update. | |
454 | * testsuite/ld-sparc/tlssunpic32.rd: Update. | |
455 | * testsuite/ld-sparc/tlssunpic64.rd: Update. | |
456 | ||
7b243801 AM |
457 | 2019-07-13 Alan Modra <amodra@gmail.com> |
458 | ||
459 | PR 24786 | |
460 | * ldlang.h (enum section_type): Add first_overlay_section. | |
461 | * ldlang.c (lang_add_section): Adjust switch statement. | |
462 | (map_input_to_output_sections): Likewise. | |
463 | (lang_size_sections_1): Always set last_os for first overlay section. | |
464 | (lang_leave_overlay): Set sectype to first_overlay_section. | |
465 | ||
3836e1d1 AM |
466 | 2019-07-08 Alan Modra <amodra@gmail.com> |
467 | ||
468 | * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld. | |
469 | * testsuite/ld-powerpc/callstub-2.d: Likewise. | |
470 | ||
f2d4ba38 JB |
471 | 2019-07-04 Jan Beulich <jbeulich@suse.com> |
472 | ||
473 | * testsuite/ld-elf/group9.s: Correct argument of .type. | |
474 | ||
125f83f6 NC |
475 | 2019-07-02 Nick Clifton <nickc@redhat.com> |
476 | ||
477 | PR 24753 | |
478 | * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the | |
479 | LINKER_CREATED section flag when creating the stub section. | |
480 | ||
bb32413f SP |
481 | 2019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com> |
482 | ||
483 | * testsuite/ld-arm/arm-elf.exp: Add tests. | |
484 | * testsuite/ld-arm/cmse_main.s: New test. | |
485 | * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise. | |
486 | * testsuite/ld-arm/cmse_sec_debug.s: Likewise. | |
487 | ||
539300fb NC |
488 | 2019-07-01 Nick Clifton <nickc@redhat.com> |
489 | ||
490 | PR 23839 | |
491 | * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of | |
492 | exidx relocs. | |
493 | ||
60d53d7f AM |
494 | 2019-06-28 Alan Modra <amodra@gmail.com> |
495 | ||
496 | * testsuite/ld-powerpc/callstub-1.d, | |
497 | * testsuite/ld-powerpc/callstub-1.s: New test. | |
498 | * testsuite/ld-powerpc/callstub-2.d, | |
499 | * testsuite/ld-powerpc/callstub-2.s: New test. | |
500 | * testsuite/ld-powerpc/powerpc.exp: Run them. | |
501 | ||
8e5cb9a5 JB |
502 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
503 | ||
504 | * plugin.c (get_lto_kind, get_lto_resolution, | |
505 | get_lto_visibility): Rename "index" to "idx". | |
506 | ||
f93ab3a0 L |
507 | 2019-06-24 H.J. Lu <hongjiu.lu@intel.com> |
508 | ||
509 | PR ld/24721 | |
510 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests. | |
511 | * testsuite/ld-x86-64/pr24721-x32.d: New file. | |
512 | * testsuite/ld-x86-64/pr24721.d: Likewise. | |
513 | * testsuite/ld-x86-64/pr24721.map: Likewise. | |
514 | * testsuite/ld-x86-64/pr24721a.s: Likewise. | |
515 | * testsuite/ld-x86-64/pr24721b.s: Likewise. | |
516 | ||
bb22a418 AM |
517 | 2019-06-23 Alan Modra <amodra@gmail.com> |
518 | ||
519 | PR 24704 | |
520 | * testsuite/ld-powerpc/elfv2exe.d: Update. | |
521 | * testsuite/ld-powerpc/elfv2so.d: Update. | |
522 | ||
e30d1fa1 SN |
523 | 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com> |
524 | ||
525 | * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23. | |
526 | * testsuite/ld-aarch64/emit-relocs-22.d: New test. | |
527 | * testsuite/ld-aarch64/emit-relocs-22.s: New test. | |
528 | * testsuite/ld-aarch64/emit-relocs-23.d: New test. | |
529 | * testsuite/ld-aarch64/emit-relocs-23.s: New test. | |
530 | ||
3a3a077c AM |
531 | 2019-06-14 Alan Modra <amodra@gmail.com> |
532 | ||
533 | * Makefile.in: Regenerate. | |
534 | * configure: Regenerate. | |
535 | ||
e3fa7860 AM |
536 | 2019-06-14 Alan Modra <amodra@gmail.com> |
537 | ||
538 | PR 24662 | |
539 | * testsuite/ld-alpha/tlsbin.rd: Update. | |
540 | * testsuite/ld-alpha/tlsbinr.rd: Update. | |
541 | * testsuite/ld-alpha/tlspic.rd: Update. | |
542 | ||
c1b00498 MR |
543 | 2019-06-07 Maciej W. Rozycki <macro@wdc.com> |
544 | ||
545 | * ld.texi (Options): Also document `-rpath' option restrictions | |
546 | in the description of the option itself. | |
547 | ||
237df8fe SD |
548 | 2019-06-06 Sudakshina Das <sudi.das@arm.com> |
549 | ||
550 | * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests. | |
551 | * testsuite/ld-aarch64/property-bti-pac4-a.d: New test. | |
552 | * testsuite/ld-aarch64/property-bti-pac4-b.d: New test. | |
553 | * testsuite/ld-aarch64/property-bti-pac4.s: New test. | |
554 | ||
8bf6d176 SD |
555 | 2019-06-06 Sudakshina Das <sudi.das@arm.com> |
556 | ||
557 | * NEWS: Update options names. | |
558 | * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove. | |
559 | (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt. | |
560 | (PARSE_AND_LIST_OPTIONS): Update to -z. | |
561 | (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New. | |
562 | (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64. | |
563 | (PARSE_AND_LIST_ARGS_CASES): Move cases for these options. | |
564 | * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option. | |
565 | * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise. | |
566 | * testsuite/ld-aarch64/bti-plt-1.d: Likewise. | |
567 | * testsuite/ld-aarch64/bti-plt-2.d: Likewise. | |
568 | * testsuite/ld-aarch64/bti-plt-3.d: Likewise. | |
569 | * testsuite/ld-aarch64/bti-plt-4.d: Likewise. | |
570 | * testsuite/ld-aarch64/bti-plt-6.d: Likewise. | |
571 | * testsuite/ld-aarch64/bti-plt-7.d: Likewise. | |
572 | * testsuite/ld-aarch64/bti-warn.d: Likewise. | |
573 | * testsuite/ld-aarch64/pac-plt-1.d: Likewise. | |
574 | * testsuite/ld-aarch64/pac-plt-2.d: Likewise. | |
575 | ||
ae9ac79e NC |
576 | 2019-05-30 Nick Clifton <nickc@redhat.com> |
577 | ||
578 | PR 24627 | |
579 | * testsuite/ld-elf/ver_def.vd: Update expected output. | |
580 | ||
6ff185b8 AM |
581 | 2019-05-30 Alan Modra <amodra@gmail.com> |
582 | ||
583 | PR 24596 | |
584 | * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic. | |
585 | (EXTRA_EM_FILE): Define to genelf. | |
586 | * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z. | |
587 | ||
1336939d AM |
588 | 2019-05-30 Alan Modra <amodra@gmail.com> |
589 | ||
590 | * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure | |
591 | calls in optional "xfail" args. | |
592 | (run_ld_link_exec_tests): Likewise. | |
593 | (is_generic): New. | |
594 | (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons. | |
595 | * testsuite/ld-scripts/align.exp: Rename is_generic_elf call. | |
596 | * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete | |
597 | xfail_implib var. | |
598 | * testsuite/ld-elf/sec64k.exp: Use is_generic. | |
599 | * testsuite/ld-elf/shared.exp: Likewise. | |
600 | * testsuite/ld-discard/extern.d: Use is_generic in xfail. | |
601 | * testsuite/ld-discard/start.d: Likewise. | |
602 | * testsuite/ld-discard/static.d: Likewise. | |
603 | * testsuite/ld-elf/attributes.d: Likewise. | |
604 | * testsuite/ld-elf/group1.d: Likewise. | |
605 | * testsuite/ld-elf/group3b.d: Likewise. | |
606 | * testsuite/ld-elf/group8a.d: Likewise. | |
607 | * testsuite/ld-elf/group8b.d: Likewise. | |
608 | * testsuite/ld-elf/group9a.d: Likewise. | |
609 | * testsuite/ld-elf/group9b.d: Likewise. | |
610 | * testsuite/ld-elf/linkonce2.d: Likewise. | |
611 | * testsuite/ld-elf/merge2.d: Likewise. | |
612 | * testsuite/ld-elf/merge3.d: Likewise. | |
613 | * testsuite/ld-elf/pr12851.d: Likewise. | |
614 | * testsuite/ld-elf/pr12975.d: Likewise. | |
615 | * testsuite/ld-elf/pr13177.d: Likewise. | |
616 | * testsuite/ld-elf/pr13195.d: Likewise. | |
617 | * testsuite/ld-elf/pr17550c.d: Likewise. | |
618 | * testsuite/ld-elf/pr17550d.d: Likewise. | |
619 | * testsuite/ld-elf/pr17615.d: Likewise. | |
620 | * testsuite/ld-elf/pr21562a.d: Likewise. | |
621 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
622 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
623 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
624 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
625 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
626 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
627 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
628 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
629 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
630 | * testsuite/ld-elf/pr22677.d: Likewise. | |
631 | * testsuite/ld-elf/pr22836-1a.d: Likewise. | |
632 | * testsuite/ld-elf/pr22836-1b.d: Likewise. | |
633 | * testsuite/ld-elf/warn3.d: Likewise. | |
634 | * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris | |
635 | targets rather than notarget. | |
636 | * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail. | |
637 | * testsuite/ld-elf/orphan-10.d: Likewise. | |
638 | * testsuite/ld-elf/orphan-9.d: Likewise. | |
639 | * testsuite/ld-elf/orphan-region.d: Likewise. | |
640 | * testsuite/ld-elf/orphan.d: Likewise. | |
641 | * testsuite/ld-elf/orphan3.d: Likewise. | |
642 | * testsuite/ld-elf/pr20528a.d: Likewise. | |
643 | * testsuite/ld-elf/pr20528b.d: Likewise. | |
644 | * testsuite/ld-elf/pr23658-1a.d: Likewise. | |
645 | * testsuite/ld-elf/pr23658-1b.d: Likewise. | |
646 | * testsuite/ld-elf/pr349.d: Likewise. | |
647 | * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris | |
648 | targets rather than notarget. | |
649 | * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*. | |
650 | ||
1e129bbe FS |
651 | 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com> |
652 | ||
653 | * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case | |
654 | for pcrel_hi/pcrel_lo. | |
655 | * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match. | |
656 | * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source. | |
657 | * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script. | |
658 | * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test. | |
659 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
660 | ||
eabf307f AM |
661 | 2019-05-28 Alan Modra <amodra@gmail.com> |
662 | ||
663 | PR 24596 | |
664 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that | |
665 | the output is coff before accessing coff tdata. | |
666 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
667 | ||
65f381e7 SN |
668 | 2019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com> |
669 | ||
670 | * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv. | |
671 | * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise. | |
672 | ||
3d7d6a6f AM |
673 | 2019-05-27 Alan Modra <amodra@gmail.com> |
674 | ||
675 | PR 24596 | |
676 | * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set | |
677 | BFS_KEEP on group signature symbol. | |
678 | ||
823710d5 SN |
679 | 2019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com> |
680 | ||
681 | * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests. | |
682 | * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests. | |
683 | * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests. | |
684 | * testsuite/ld-aarch64/variant_pcs-now.d: New test. | |
685 | * testsuite/ld-aarch64/variant_pcs-r.d: New test. | |
686 | * testsuite/ld-aarch64/variant_pcs-shared.d: New test. | |
687 | * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests. | |
688 | ||
405b5bd8 AM |
689 | 2019-05-24 Alan Modra <amodra@gmail.com> |
690 | ||
691 | * po/BLD-POTFILES.in: Regenerate. | |
692 | ||
04bdff6a AM |
693 | 2019-05-24 Alan Modra <amodra@gmail.com> |
694 | ||
695 | * testsuite/ld-powerpc/notoc2.d, | |
696 | * testsuite/ld-powerpc/notoc2.s: New test. | |
697 | * testsuite/ld-powerpc/powerpc.exp: Run it. | |
698 | ||
4a421c53 AM |
699 | 2019-05-24 Alan Modra <amodra@gmail.com> |
700 | ||
701 | * testsuite/ld-powerpc/pcrelopt.s, | |
702 | * testsuite/ld-powerpc/pcrelopt.d, | |
703 | * testsuite/ld-powerpc/pcrelopt.sec: New test. | |
704 | * testsuite/ld-powerpc/powerpc.exp: Run it. | |
705 | ||
8376927b JM |
706 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
707 | ||
708 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c. | |
709 | * Makefile.in (prefix): Regenerate. | |
710 | * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets. | |
711 | * emulparams/elf64bpf.sh: New file. | |
712 | * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add | |
713 | bpf-*-* to the list of targets not supporting gc-sections. | |
714 | * testsuite/ld-bpf/bar.s: New file. | |
715 | * testsuite/ld-bpf/jump-1.d: Likewise. | |
716 | * testsuite/ld-bpf/foo.s: Likewise. | |
717 | * testsuite/ld-bpf/call-1.d: Likewise. | |
718 | * testsuite/ld-bpf/bpf.exp: Likewise. | |
719 | * testsuite/ld-bpf/baz.s: Likewise. | |
720 | ||
82d7a6f4 AM |
721 | 2019-05-23 Alan Modra <amodra@gmail.com> |
722 | ||
723 | PR 24576 | |
724 | * ldfile.c (enum script_open_style): New. | |
725 | (struct script_name_list): New. | |
726 | (ldfile_open_command_file_1): Take a script_open_style param | |
727 | rather than booleans. Adjust callers. Only fail when -T or | |
728 | default -T script is invoked twice. | |
729 | (ldfile_try_open_bfd): Revert last change. | |
730 | ||
6ec6968b NC |
731 | 2019-05-22 Julius Werner <jwerner@chromium.org> |
732 | Nick Clifton <nickc@redhat.com> | |
733 | ||
734 | PR 24576 | |
735 | * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter - | |
736 | is_script. If true check that the file has not already been | |
737 | parsed as a linker script. | |
738 | (ldfile_open_script_file): New function. | |
739 | (ldfile_try_open_bfd): Use the new function in place of | |
740 | ldfile_open_command_line. | |
741 | * ldmain.c (main): Likewise. | |
742 | * lexsup.c (parse_args): Use the new function for opening linker | |
743 | scripts with the -T option. | |
744 | * ldfile.h (ldfile_open_script_file): Add prototype. | |
745 | ||
b474a202 FS |
746 | 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com> |
747 | ||
748 | * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for | |
749 | %tprel_hi and %tprel_lo relocations. | |
750 | * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise. | |
751 | * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly. | |
752 | * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise. | |
753 | * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker | |
754 | script file. | |
755 | ||
304f09d0 FS |
756 | 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com> |
757 | ||
758 | * testsuite/ld-mips-elf/pic-reloc-5.d: New test. | |
759 | * testsuite/ld-mips-elf/pic-reloc-6.d: New test. | |
760 | * testsuite/ld-mips-elf/pic-reloc-7.d: New test. | |
761 | * testsuite/ld-mips-elf/pic-reloc-5.s: New test source. | |
762 | * testsuite/ld-mips-elf/pic-reloc-6.s: New test source. | |
763 | * testsuite/ld-mips-elf/pic-reloc-7.s: New test source. | |
764 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
765 | ||
3734320d MF |
766 | 2019-05-21 Matthew Fortune <matthew.fortune@mips.com> |
767 | Faraz Shahbazker <fshahbazker@wavecomp.com> | |
768 | ||
769 | * emultempl/mipself.em (compact_branches): New static variable. | |
770 | (mips_create_output_section_statements): Call | |
771 | _bfd_mips_elf_compact_branches. | |
772 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and | |
773 | OPTION_NO_COMPACT_BRANCHES. | |
774 | (PARSE_AND_LIST_LONGOPTS): Add compact-branches, | |
775 | no-compact-branches. | |
776 | (PARSE_AND_LIST_OPTIONS): Add --compact-branches, | |
777 | --no-compact-branches. | |
778 | (PARSE_AND_LIST_ARGS_CASES): Handle the above. | |
779 | * ld.texinfo: Document --compact-branches, --no-compact-branches. | |
780 | * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test. | |
781 | * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test. | |
782 | * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test. | |
783 | * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test. | |
784 | * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source. | |
785 | * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source. | |
786 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
787 | ||
e6f65e75 AV |
788 | 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com> |
789 | ||
790 | * testsuite/ld-arm/arm-elf.exp: Add tests | |
791 | * testsuite/ld-arm/bfs-0.s: New test. | |
792 | * testsuite/ld-arm/bfs-1.s: New test. | |
793 | * testsuite/ld-arm/branch-futures.d: New test. | |
794 | ||
739b5c9c TC |
795 | 2019-05-21 Tamar Christina <tamar.christina@arm.com> |
796 | ||
797 | PR ld/24373 | |
798 | * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args | |
799 | to flags. | |
800 | * NEWS: Add changes to flag. | |
801 | (PARSE_AND_LIST_OPTIONS): Update help descriptions. | |
802 | (PARSE_AND_LIST_ARGS_CASES): Add new options to parser. | |
803 | * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests. | |
804 | * testsuite/ld-aarch64/erratum843419-adr.d: New test. | |
805 | * testsuite/ld-aarch64/erratum843419-adrp.d: New test. | |
806 | * testsuite/ld-aarch64/erratum843419-far-adr.d: New test. | |
807 | * testsuite/ld-aarch64/erratum843419-far-full.d: New test. | |
808 | * testsuite/ld-aarch64/erratum843419-far.s: New test. | |
809 | * testsuite/ld-aarch64/erratum843419-full.d: New test. | |
810 | * testsuite/ld-aarch64/erratum843419-near.s: New test. | |
811 | * testsuite/ld-aarch64/erratum843419-no-args.d: New test. | |
812 | ||
7622049e SKS |
813 | 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com> |
814 | ||
815 | PR ld/24571 | |
816 | * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test. | |
817 | * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test. | |
818 | ||
338ba755 SKS |
819 | 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com> |
820 | ||
821 | PR ld/24564 | |
822 | * testsuite/ld-avr/wraparound-range-boundary.d: New test. | |
823 | * testsuite/ld-avr/wraparound-range-boundary.s: New test. | |
824 | ||
d8734380 FS |
825 | 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com> |
826 | ||
827 | PR 14798 | |
828 | * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for | |
829 | global code symbols. | |
830 | * testsuite/ld-mips-elf/reloc-6b.s: Likewise. | |
831 | ||
af4fa23f AM |
832 | 2019-05-17 Alan Modra <amodra@gmail.com> |
833 | ||
834 | PR 24567 | |
835 | * plugin.c (plugin_notice): Do not let a common symbol override | |
836 | a non-common definition in IR. | |
837 | ||
dd318999 DD |
838 | 2019-05-09 Dimitar Dimitrov <dimitar@dinux.eu> |
839 | ||
840 | * scripttempl/pru.sc (__init_array_begin, __init_array_begin): | |
841 | Rename. | |
842 | ||
46752c37 PS |
843 | 2019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi> |
844 | ||
845 | PR 24536 | |
846 | * ldbuildid.c (generate_build_id): Cast return value from | |
847 | GetProcAddress in order to avoid a compile time warning. | |
848 | ||
e1cbf07a AM |
849 | 2019-05-06 Alan Modra <amodra@gmail.com> |
850 | ||
851 | * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj. | |
852 | ||
27cdfa03 AM |
853 | 2019-05-04 Alan Modra <amodra@gmail.com> |
854 | ||
855 | * testsuite/ld-scripts/fill.d: Don't xfail m32c | |
856 | * testsuite/ld-scripts/fill16.d: Likewise. | |
857 | ||
a288c270 AM |
858 | 2019-05-04 Alan Modra <amodra@gmail.com> |
859 | ||
860 | PR 24511 | |
861 | * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a | |
862 | data section on hppa64. | |
863 | * testsuite/ld-elf/pr14156b.d: Likewise. | |
864 | * testsuite/ld-scripts/pr18963.t: Map standard sections to set | |
865 | output section flags. | |
866 | * testsuite/ld-scripts/sane1.t: Likewise. | |
867 | * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start | |
868 | and __fini_array_start. Define __start et al. | |
869 | * testsuite/ld-elf/pr24511.d: New test. | |
870 | ||
066f4018 AM |
871 | 2019-04-30 Alan Modra <amodra@gmail.com> |
872 | ||
873 | * testsuite/ld-powerpc/elfv2exe.d: Update. | |
874 | * testsuite/ld-powerpc/elfv2so.d: Update. | |
875 | * testsuite/ld-powerpc/tocopt.d: Update. | |
876 | * testsuite/ld-powerpc/tocopt.s: Update. | |
877 | * testsuite/ld-powerpc/tocopt5.d: Update. | |
878 | * testsuite/ld-powerpc/tocopt5.s: Update. | |
879 | * testsuite/ld-powerpc/tocopt7.d: Update. | |
880 | * testsuite/ld-powerpc/tocopt7.s: Update. | |
881 | * testsuite/ld-powerpc/tocopt8.d: Update. | |
882 | * testsuite/ld-powerpc/tocopt8.s: Update. | |
883 | ||
06ddcada AM |
884 | 2019-04-30 Alan Modra <amodra@gmail.com> |
885 | ||
886 | * ld.texi (How GNU properties are merged): Avoid pod2man error. | |
887 | Correct example. | |
888 | ||
c54f1524 L |
889 | 2019-04-26 H.J. Lu <hongjiu.lu@intel.com> |
890 | ||
891 | PR ld/24486 | |
892 | * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests. | |
893 | * testsuite/ld-plugin/pr24486a.c: New file. | |
894 | * testsuite/ld-plugin/pr24486b.c: Likewise. | |
895 | * testsuite/ld-plugin/pr24486c.c: Likewise. | |
896 | ||
8e1920d6 NC |
897 | 2019-04-26 Nick Clifton <nickc@redhat.com> |
898 | ||
899 | * po/ru.po: Updated Russian translation. | |
900 | ||
a094d01f CY |
901 | 2019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl> |
902 | ||
903 | * ld.texi: Properly hyphenate the word "specific". | |
904 | ||
6fe014bc L |
905 | 2019-04-25 H.J. Lu <hongjiu.lu@intel.com> |
906 | ||
907 | PR ld/24406 | |
908 | * ld.texi: Remove LTO warning from --wrap. | |
909 | * plugin.c (get_symbols): Update resolution for wrapper and | |
910 | wrapped symbols. | |
911 | * testsuite/ld-plugin/lto.exp: Run ld/24406 tests. | |
912 | * testsuite/ld-plugin/pr24406-1.c: New file. | |
913 | * testsuite/ld-plugin/pr24406-2a.c: Likewise. | |
914 | * testsuite/ld-plugin/pr24406-2b.c: Likewise. | |
915 | ||
68bb0359 SD |
916 | 2019-04-25 Sudakshina Das <sudi.das@arm.com> |
917 | ||
918 | * testsuite/ld-aarch64/bti-pac-plt-1.d: Update. | |
919 | * testsuite/ld-aarch64/bti-pac-plt-2.d: Update. | |
920 | * testsuite/ld-aarch64/bti-plt-1.d: Update. | |
921 | * testsuite/ld-aarch64/bti-plt-3.d: Update. | |
922 | * testsuite/ld-aarch64/bti-plt-5.d: Update. | |
923 | * testsuite/ld-aarch64/pac-plt-1.d: Update. | |
924 | * testsuite/ld-aarch64/pac-plt-2.d: Update. | |
925 | ||
44ed8092 SL |
926 | 2019-04-24 Sandra Loosemore <sandra@codesourcery.com> |
927 | ||
928 | * testsuite/config/default.exp: Use [check_compiler_available] | |
929 | instead of [which $CC]. | |
930 | * testsuite/ld-auto-import/auto-import.exp: Likewise. | |
931 | * testsuite/ld-cygwin/exe-export.exp: Likewise. | |
932 | * testsuite/ld-elf/audit.exp: Likewise. | |
933 | * testsuite/ld-elf/compress.exp: Likewise. | |
934 | * testsuite/ld-elf/dwarf.exp: Likewise. | |
935 | * testsuite/ld-elf/elf.exp: Likewise. | |
936 | * testsuite/ld-elf/indirect.exp: Likewise. | |
937 | * testsuite/ld-elf/linux-x86.exp: Likewise. | |
938 | * testsuite/ld-elf/shared.exp: Likewise. | |
939 | * testsuite/ld-elf/tls.exp: Likewise. | |
940 | * testsuite/ld-elf/wrap.exp: Likewise. | |
941 | * testsuite/ld-elfcomm/elfcomm.exp: Likewise. | |
942 | * testsuite/ld-elfvers/vers.exp: Likewise. | |
943 | * testsuite/ld-elfvsb/elfvsb.exp: Likewise. | |
944 | * testsuite/ld-elfweak/elfweak.exp: Likewise. | |
945 | * testsuite/ld-gc/gc.exp: Likewise. | |
946 | * testsuite/ld-i386/i386.exp: Likewise. | |
947 | * testsuite/ld-i386/no-plt.exp: Likewise. | |
948 | * testsuite/ld-i386/tls.exp: Likewise. | |
949 | * testsuite/ld-ifunc/ifunc.exp: Likewise. | |
950 | * testsuite/ld-mn10300/mn10300.exp: Likewise. | |
951 | * testsuite/ld-pe/pe-compile.exp: Likewise. | |
952 | * testsuite/ld-pe/pe-run.exp: Likewise. | |
953 | * testsuite/ld-pe/pe-run2.exp: Likewise. | |
954 | * testsuite/ld-pie/pie.exp: Likewise. | |
955 | * testsuite/ld-plugin/lto.exp: Likewise. | |
956 | * testsuite/ld-plugin/plugin.exp: Likewise. | |
957 | * testsuite/ld-scripts/crossref.exp: Likewise. | |
958 | * testsuite/ld-sh/sh.exp: Likewise. | |
959 | * testsuite/ld-shared/shared.exp: Likewise. | |
960 | * testsuite/ld-size/size.exp: Likewise. | |
961 | * testsuite/ld-srec/srec.exp: Likewise. | |
962 | * testsuite/ld-undefined/undefined.exp: Likewise. | |
963 | * testsuite/ld-unique/unique.exp: Likewise. | |
964 | * testsuite/ld-x86-64/mpx.exp: Likewise. | |
965 | * testsuite/ld-x86-64/no-plt.exp: Likewise. | |
966 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
967 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
968 | * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call | |
969 | check_compiler_available before trying to use the compiler. | |
970 | (run_cc_link_tests): Likewise. | |
971 | (check_compiler_available): New. Use it instead of [which $CC]. | |
972 | ||
cc9519e7 AM |
973 | 2019-04-23 Alan Modra <amodra@gmail.com> |
974 | ||
975 | * Makefile.am (GENDEPDIR): New var, used.. | |
976 | (GENSCRIPTS): ..here. | |
977 | * Makefile.in: Regenerate. | |
978 | * genscripts.sh: Test for $DEPDIR set before every use. | |
979 | ||
6f38008b MF |
980 | 2019-04-22 Matthew Fortune <matthew.fortune@mips.com> |
981 | ||
982 | * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs | |
983 | for M5100. | |
984 | ||
fce97736 AM |
985 | 2019-04-19 Alan Modra <amodra@gmail.com> |
986 | ||
987 | * testsuite/ld-gc/skip-map-discarded.s: Add section attributes. | |
988 | * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add | |
989 | s12z to list of targets not supporting --gc-sections. | |
990 | ||
9a7f0679 L |
991 | 2019-04-17 H.J. Lu <hongjiu.lu@intel.com> |
992 | ||
993 | * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead | |
994 | of pr18801. | |
995 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
996 | * testsuite/ld-i386/pr18801.d: Removed. | |
997 | * testsuite/ld-x86-64/pr18801.d: Likewise. | |
998 | * testsuite/ld-i386/pr18801a.d: New file. | |
999 | * testsuite/ld-i386/pr18801b.d: Likewise. | |
1000 | * testsuite/ld-x86-64/pr18801a.d: Likewise. | |
1001 | * testsuite/ld-x86-64/pr18801b.d: Likewise. | |
1002 | * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC. | |
1003 | * testsuite/ld-x86-64/pie2.d: Likewise. | |
1004 | * testsuite/ld-x86-64/pr19719.d: Likewise. | |
1005 | * testsuite/ld-x86-64/pr19807-2a.d: Likewise. | |
1006 | * testsuite/ld-x86-64/pr19969.d: Likewise. | |
1007 | * testsuite/ld-x86-64/pr21997-1a.err: Likewise. | |
1008 | * testsuite/ld-x86-64/pr21997-1b.err: Likewise. | |
1009 | * testsuite/ld-x86-64/pr22001-1a.err: Likewise. | |
1010 | * testsuite/ld-x86-64/pr22001-1b.err: Likewise. | |
1011 | * testsuite/ld-x86-64/pr22791-1.err: Likewise. | |
1012 | ||
4e84a8f8 L |
1013 | 2019-04-17 H.J. Lu <hongjiu.lu@intel.com> |
1014 | ||
1015 | PR ld/24458 | |
1016 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests. | |
1017 | * testsuite/ld-x86-64/pr24458.s: New file. | |
1018 | * testsuite/ld-x86-64/pr24458a-x32.d: Likewise. | |
1019 | * testsuite/ld-x86-64/pr24458a.d: Likewise. | |
1020 | * testsuite/ld-x86-64/pr24458b-x32.d: Likewise. | |
1021 | * testsuite/ld-x86-64/pr24458b.d: Likewise. | |
1022 | * testsuite/ld-x86-64/pr24458c-x32.d: Likewise. | |
1023 | * testsuite/ld-x86-64/pr24458c.d: Likewise. | |
1024 | ||
e25de718 JL |
1025 | 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
1026 | ||
1027 | * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss | |
1028 | symbol when .lower.bss or .either.bss sections exist. | |
1029 | Define __crt0_movedata when .lower.data or .either.data sections exist. | |
1030 | * testsuite/gas/msp430/either-data-bss-sym.d: New test. | |
1031 | * testsuite/gas/msp430/low-data-bss-sym.d: New test. | |
1032 | * testsuite/gas/msp430/either-data-bss-sym.s: New test source. | |
1033 | * testsuite/gas/msp430/low-data-bss-sym.s: New test source. | |
1034 | * testsuite/gas/msp430/msp430.exp: Run new tests. | |
1035 | Enable large code model when running -mdata-region={upper,either} | |
1036 | tests. | |
1037 | ||
a0fb9615 AM |
1038 | 2019-04-16 Alan Modra <amodra@gmail.com> |
1039 | ||
1040 | * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*. | |
1041 | * testsuite/ld-scripts/section-match-1.d: Likewise. | |
1042 | * testsuite/ld-undefined/require-defined.exp: Likewise. | |
1043 | ||
86333705 FS |
1044 | 2019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com> |
1045 | ||
1046 | * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF | |
1047 | targets. | |
1048 | ||
f6b2b12d AV |
1049 | 2019-04-15 Sudakshina Das <sudi.das@arm.com> |
1050 | ||
1051 | * testsuite/ld-arm/bfcsel.s: New. | |
1052 | * testsuite/ld-arm/bfcsel.d: New. | |
1053 | * testsuite/ld-arm/arm-elf.exp: Add above test. | |
1054 | ||
65d1bc05 AV |
1055 | 2019-04-15 Sudakshina Das <sudi.das@arm.com> |
1056 | ||
1057 | * testsuite/ld-arm/bfl.s: New. | |
1058 | * testsuite/ld-arm/bfl.d: New. | |
1059 | * testsuite/ld-arm/arm-elf.exp: Add above test. | |
1060 | ||
4389b29a AV |
1061 | 2019-04-15 Sudakshina Das <sudi.das@arm.com> |
1062 | ||
1063 | * testsuite/ld-arm/bf.s: New. | |
1064 | * testsuite/ld-arm/bf.d: New. | |
1065 | * testsuite/ld-arm/arm-elf.exp: Add above test. | |
1066 | ||
031254f2 AV |
1067 | 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> |
1068 | ||
1069 | * testsuite/ld-arm/attr-merge-13.attr: New test. | |
1070 | * testsuite/ld-arm/attr-merge-13a.s: New test. | |
1071 | * testsuite/ld-arm/attr-merge-13b.s: New test. | |
1072 | ||
c40e31a1 AM |
1073 | 2019-04-13 Alan Modra <amodra@gmail.com> |
1074 | ||
1075 | * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add | |
1076 | DEPDIR parameter. | |
1077 | (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete. | |
1078 | (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on | |
1079 | $GEN_DEPENDS. | |
1080 | (e*.c): Delete all dependencies, instead include dependencies | |
1081 | from $DEPDIR/*.Pc. | |
1082 | * Makefile.in: Regenerate. | |
1083 | * configure.ac (source_sh): Define and use function. | |
1084 | * configure: Regenerate. | |
1085 | * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh, | |
1086 | * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh, | |
1087 | * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh, | |
1088 | * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh, | |
1089 | * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh, | |
1090 | * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh, | |
1091 | * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh, | |
1092 | * emulparams/armelf_linux_eabi.sh, | |
1093 | * emulparams/armelf_linux_fdpiceabi.sh, | |
1094 | * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh, | |
1095 | * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh, | |
1096 | * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh, | |
1097 | * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh, | |
1098 | * emulparams/armelfb_linux_fdpiceabi.sh, | |
1099 | * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh, | |
1100 | * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh, | |
1101 | * emulparams/elf32_sparc_sol2.sh, | |
1102 | * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh, | |
1103 | * emulparams/elf32_tic6x_elf_be.sh, | |
1104 | * emulparams/elf32_tic6x_elf_le.sh, | |
1105 | * emulparams/elf32_tic6x_linux_be.sh, | |
1106 | * emulparams/elf32_tic6x_linux_le.sh, | |
1107 | * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh, | |
1108 | * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh, | |
1109 | * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh, | |
1110 | * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh, | |
1111 | * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh, | |
1112 | * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh, | |
1113 | * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh, | |
1114 | * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh, | |
1115 | * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh, | |
1116 | * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh, | |
1117 | * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh, | |
1118 | * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh, | |
1119 | * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh, | |
1120 | * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh, | |
1121 | * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh, | |
1122 | * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh, | |
1123 | * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh, | |
1124 | * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh, | |
1125 | * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh, | |
1126 | * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh, | |
1127 | * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh, | |
1128 | * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh, | |
1129 | * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh, | |
1130 | * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh, | |
1131 | * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh, | |
1132 | * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh, | |
1133 | * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh, | |
1134 | * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh, | |
1135 | * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh, | |
1136 | * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh, | |
1137 | * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh, | |
1138 | * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh, | |
1139 | * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh, | |
1140 | * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh, | |
1141 | * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh, | |
1142 | * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh, | |
1143 | * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh, | |
1144 | * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh, | |
1145 | * emulparams/elf_x86_64_cloudabi.sh, | |
1146 | * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh, | |
1147 | * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh, | |
1148 | * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh, | |
1149 | * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh, | |
1150 | * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh, | |
1151 | * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh, | |
1152 | * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh, | |
1153 | * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh, | |
1154 | * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh, | |
1155 | * emulparams/msp430X.sh, * emulparams/nds32belf.sh, | |
1156 | * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh, | |
1157 | * emulparams/pjlelf.sh, * emulparams/ppclynx.sh, | |
1158 | * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh, | |
1159 | * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh, | |
1160 | * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh, | |
1161 | * emulparams/shl.sh, * emulparams/shlelf.sh, | |
1162 | * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh, | |
1163 | * emulparams/shlelf_vxworks.sh: Use source_sh. | |
1164 | * genscripts.sh: Adjust for changed parameters. Emit dependencies | |
1165 | for e*.c to .deps/*.Pc. | |
1166 | (source_sh): New function, use it throughout to source scripts. | |
1167 | * genscrba.sh (source_em): Use source_sh. | |
1168 | ||
50ff67e6 AM |
1169 | 2019-04-13 Alan Modra <amodra@gmail.com> |
1170 | ||
1171 | * configure.ac (TDIRS): Build up tdirs in this variable and | |
1172 | AC_SUBST, also using AM_SUBST_NOTMAKE. | |
1173 | * configure: Regenerate. | |
1174 | * Makefile.am (DISTCLEANFILES): Remove tdirs. | |
1175 | * Makefile.in: Regenerate. | |
1176 | ||
3bbec4bd NC |
1177 | 2019-04-12 Nick Clifton <nickc@redhat.com> |
1178 | ||
1179 | PR 24450 | |
1180 | * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to | |
1181 | example of section attributes. | |
1182 | ||
035801ce FS |
1183 | 2019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com> |
1184 | ||
1185 | * NEWS: Mention new option --no-print-map-discarded. | |
1186 | * ld.h (ld_config_type) <print_map_discarded>: New field. | |
1187 | * ldlang.c (lang_map): Conditionally output discarded sections | |
1188 | in map files based on configuration option. | |
1189 | * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED, | |
1190 | OPTION_NO_PRINT_MAP_DISCARDED>: New. | |
1191 | * ldmain.c (main): Enabled print_map_discarded by default. | |
1192 | * lexsup.c (ld_options): Add new command-line options. | |
1193 | (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED, | |
1194 | OPTION_PRINT_MAP_DISCARDED>: New cases. | |
1195 | * ld.texi: Document new options. | |
1196 | * testsuite/ld-gc/gc.exp: Add new test. | |
1197 | * testsuite/ld-gc/skip-map-discarded.s: New file. | |
1198 | * testsuite/ld-gc/skip-map-discarded.d: New file. | |
1199 | * testsuite/ld-gc/skip-map-discarded.map: New file. | |
1200 | ||
233a0083 L |
1201 | 2019-04-11 H.J. Lu <hongjiu.lu@intel.com> |
1202 | ||
1203 | * ld.texi: Document -z cet-report=[none|warning|error]. | |
1204 | * emulparams/cet.sh: Add -z cet-report=[none|warning|error]. | |
1205 | * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error] | |
1206 | tests. | |
1207 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1208 | * testsuite/ld-i386/property-x86-cet1.d: New file. | |
1209 | * testsuite/ld-i386/property-x86-cet2a.d: Likewise. | |
1210 | * testsuite/ld-i386/property-x86-cet2b.d: Likewise. | |
1211 | * testsuite/ld-i386/property-x86-cet3a.d: Likewise. | |
1212 | * testsuite/ld-i386/property-x86-cet3b.d: Likewise. | |
1213 | * testsuite/ld-i386/property-x86-cet4a.d: Likewise. | |
1214 | * testsuite/ld-i386/property-x86-cet4b.d: Likewise. | |
1215 | * testsuite/ld-i386/property-x86-cet5a.d: Likewise. | |
1216 | * testsuite/ld-i386/property-x86-cet5b.d: Likewise. | |
1217 | * testsuite/ld-i386/property-x86-cet6.d: Likewise. | |
1218 | * testsuite/ld-x86-64/property-x86-cet.s: Likewise. | |
1219 | * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise. | |
1220 | * testsuite/ld-x86-64/property-x86-cet1.d: Likewise. | |
1221 | * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise. | |
1222 | * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise. | |
1223 | * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise. | |
1224 | * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise. | |
1225 | * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise. | |
1226 | * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise. | |
1227 | * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise. | |
1228 | * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise. | |
1229 | * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise. | |
1230 | * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise. | |
1231 | * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise. | |
1232 | * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise. | |
1233 | * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise. | |
1234 | * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise. | |
1235 | * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise. | |
1236 | * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise. | |
1237 | * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise. | |
1238 | * testsuite/ld-x86-64/property-x86-cet6.d: Likewise. | |
1239 | ||
b3d7a867 L |
1240 | 2019-04-11 H.J. Lu <hongjiu.lu@intel.com> |
1241 | ||
1242 | * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set | |
1243 | to "-static-pie" if target compiler supports it. | |
1244 | * testsuite/ld-elf/elf.exp: Run -static-pie tests if | |
1245 | $STATIC_PIE_LDFLAGS isn't empty. | |
1246 | * testsuite/ld-ifunc/ifunc.exp: Likewise. | |
1247 | ||
ce12121b TC |
1248 | 2019-04-11 Tamar Christina <tamar.christina@arm.com> |
1249 | ||
1250 | PR ld/24302 | |
1251 | * testsuite/ld-aarch64/aarch64-elf.exp: Add new test. | |
1252 | * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test. | |
1253 | ||
795e3bb7 L |
1254 | 2019-04-10 H.J. Lu <hongjiu.lu@intel.com> |
1255 | ||
1256 | * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or | |
1257 | CREATE_PIE. | |
1258 | (__rel_iplt_start): Don't define for CREATE_PIC. | |
1259 | (__rel_iplt_end): Likewise. | |
1260 | (__rela_iplt_start): Likewise. | |
1261 | (__rela_iplt_end): Likewise. | |
1262 | ||
e6aded7c AM |
1263 | 2019-04-10 Alan Modra <amodra@gmail.com> |
1264 | ||
1265 | * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for | |
1266 | powerpc-nto. | |
1267 | ||
53b81c6d AM |
1268 | 2019-04-10 Alan Modra <amodra@gmail.com> |
1269 | ||
1270 | * emultempl/cskyelf.em (csk_elf_before_parse): New function, | |
1271 | setting use_branch_stub false for linux. | |
1272 | (csky_elf_create_output_section_statements): Do emit this | |
1273 | function and all others in the file for linux, plus the branch | |
1274 | option control. Disable branch stubs when non-ELF. | |
1275 | ||
c55b17b8 AM |
1276 | 2019-04-10 Alan Modra <amodra@gmail.com> |
1277 | ||
1278 | * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em. | |
1279 | (ecskyelf_linux.c): Depend on cskyelf.sh. | |
1280 | (eelf32microblazeel.c): Depend on elf32microblaze.sh. | |
1281 | * Makefile.in: Regenerate. | |
1282 | * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh. | |
1283 | (PAGE_SIZE): Don't define. | |
1284 | * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just | |
1285 | the differing variable defs/undefs. | |
1286 | * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define. | |
1287 | * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh. | |
1288 | (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT. | |
1289 | (PAGE_SIZE): Don't define. | |
1290 | * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh, | |
1291 | leaving just the differing OUTPUT_FORMAT. | |
1292 | ||
6feda627 AM |
1293 | 2019-04-10 Alan Modra <amodra@gmail.com> |
1294 | ||
1295 | * po/BLD-POTFILES.in: Regenerate. | |
1296 | ||
c93c0e7f L |
1297 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
1298 | ||
1299 | * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for | |
1300 | lynxos and nto targets. | |
1301 | ||
3ae61bb6 L |
1302 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
1303 | ||
1304 | * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c. | |
1305 | (eelf_i386_chaos.c): Removed. | |
1306 | * Makefile.in: Regenerated. | |
1307 | * configure.tgt: Remove i[3-7]86-*-kaos*. | |
1308 | * emulparams/elf_i386_chaos.sh: Removed. | |
1309 | ||
da9b5f7b L |
1310 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
1311 | ||
1312 | * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New. | |
1313 | * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise. | |
1314 | ||
d970ee2b AM |
1315 | 2019-04-08 Alan Modra <amodra@gmail.com> |
1316 | ||
1317 | * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define. | |
1318 | * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define. | |
1319 | * emulparams/i386nto.sh (EXTRA_EM_FILE): Define. | |
1320 | ||
5b9c07b2 L |
1321 | 2019-04-06 H.J. Lu <hongjiu.lu@intel.com> |
1322 | ||
1323 | * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em. | |
1324 | (eelf_i386_sol2.c): Also depend on | |
1325 | $(srcdir)/emultempl/solaris2-x86.em. | |
1326 | (eelf_x86_64_sol2.c): Likewise. | |
1327 | * Makefile.in: Regenerated. | |
1328 | * emulparams/call_nop.sh: Set x86-specific linker options via | |
1329 | params. | |
1330 | * emulparams/cet.sh: Likewise. | |
1331 | * emulparams/reloc_overflow.sh: Likewise. | |
1332 | * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to | |
1333 | "elf-x86". | |
1334 | * emulparams/elf_i386.sh: Likewise. | |
1335 | * emulparams/elf_i386_be.sh: Likewise. | |
1336 | * emulparams/elf_i386_chaos.sh: Likewise. | |
1337 | * emulparams/elf_i386_ldso.sh: Likewise. | |
1338 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
1339 | * emulparams/elf_iamcu.sh: Likewise. | |
1340 | * emulparams/elf_k1om.sh: Likewise. | |
1341 | * emulparams/elf_l1om.sh: Likewise. | |
1342 | * emulparams/elf_x86_64.sh: Likewise. | |
1343 | * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to | |
1344 | "solaris2-x86". | |
1345 | * emulparams/elf_x86_64_sol2.sh: Likewise. | |
1346 | * emultempl/elf-x86.em: New file. | |
1347 | * emultempl/solaris2-x86.em: Likewise. | |
1348 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't | |
1349 | set link_info.call_nop_byte. | |
1350 | ||
c2b1c275 AM |
1351 | 2019-04-05 Alan Modra <amodra@gmail.com> |
1352 | ||
1353 | * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces. | |
1354 | * testsuite/ld-powerpc/tlsopt5.d: Likewise. | |
1355 | * testsuite/ld-powerpc/tlsopt5_32.d: Likewise. | |
1356 | ||
1c6aafe8 AM |
1357 | 2019-04-03 Alan Modra <amodra@gmail.com> |
1358 | ||
1359 | PR 24411 | |
1360 | ldlex.l (SYMBOLNAMECHAR1): Don't match '/'. | |
1361 | (<EXPRESSION>"/DISCARD/"): New. | |
1362 | ||
092da96a AM |
1363 | 2019-04-03 Alan Modra <amodra@gmail.com> |
1364 | ||
1365 | * ldlex.l: Formatting. | |
1366 | (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete. | |
1367 | (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR), | |
1368 | (NOCFILENAMECHAR): Remove duplicate chars. Reorder. | |
1369 | (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR. | |
1370 | (<INPUTLIST>"$SYSROOT"..): Delete rule. | |
1371 | ||
2487ef07 MF |
1372 | 2019-03-29 Max Filippov <jcmvbkbc@gmail.com> |
1373 | ||
1374 | * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New | |
1375 | test definition. | |
1376 | * testsuite/ld-xtensa/xtensa.exp | |
1377 | (relax-undef-weak-pie-export-dynamic): Add new test. | |
1378 | ||
7ea79cb3 | 1379 | 2019-03-26 Martin Liska <mliska@suse.cz> |
1380 | ||
1381 | * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str, | |
1382 | lto_visibility_str and use then to inform about plugin-symbols. | |
1383 | * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern. | |
1384 | ||
796d6298 TC |
1385 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
1386 | ||
1387 | * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly. | |
1388 | * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly. | |
1389 | ||
4e539114 SD |
1390 | 2019-03-21 Sudakshina Das <sudi.das@arm.com> |
1391 | ||
1392 | * testsuite/ld-aarch64/aarch64-elf.exp: Add new test. | |
1393 | * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section. | |
1394 | * testsuite/ld-aarch64/bti-plt-6.d: Update warning. | |
1395 | * testsuite/ld-aarch64/bti-plt-7.d: Likewise. | |
1396 | * testsuite/ld-aarch64/bti-warn.d: New test. | |
1397 | ||
f84bd465 AM |
1398 | 2019-03-21 Alan Modra <amodra@gmail.com> |
1399 | ||
1400 | * testsuite/ld-elf/fini2.s: Reduce alignment. | |
1401 | * testsuite/ld-elf/fini3.s: Likewise. | |
1402 | * testsuite/ld-elf/finin.s: Likewise. | |
1403 | * testsuite/ld-elf/init2.s: Likewise. | |
1404 | * testsuite/ld-elf/init3.s: Likewise. | |
1405 | * testsuite/ld-elf/initn.s: Likewise. | |
1406 | * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*. | |
1407 | * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*. | |
1408 | ||
2d3181c7 AM |
1409 | 2019-03-21 Alan Modra <amodra@gmail.com> |
1410 | ||
1411 | * scripttempl/alpha.sc, * scripttempl/armbpabi.sc, | |
1412 | * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc, | |
1413 | * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc, | |
1414 | * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc, | |
1415 | * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc, | |
1416 | * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc, | |
1417 | * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc, | |
1418 | * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc, | |
1419 | * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc, | |
1420 | * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc, | |
1421 | * scripttempl/ft32.sc, * scripttempl/i386beos.sc, | |
1422 | * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc, | |
1423 | * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc, | |
1424 | * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc, | |
1425 | * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc, | |
1426 | * scripttempl/v850.sc, * scripttempl/v850_rh850.sc, | |
1427 | * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and | |
1428 | SORT_NONE to .init and .fini wildcards. | |
1429 | * scripttempl/elf32xc16x.sc, | |
1430 | * scripttempl/elf32xc16xl.sc, | |
1431 | * scripttempl/elf32xc16xs.sc: Add .fini wildcard. | |
1432 | * scripttempl/elf_chaos.sc: Add .init output section. | |
1433 | * scripttempl/elfd30v.sc: Remove duplicate .init. | |
1434 | * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc, | |
1435 | * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove | |
1436 | duplicate .init, and add .fini wildcard. | |
1437 | * scripttempl/ppcpe.sc (INIT, FINI): Delete. | |
1438 | * ldlang.c (update_wild_statements): Special case .init and | |
1439 | .fini in the wildcard, not the output section. | |
1440 | ||
980a2e42 AM |
1441 | 2019-03-21 Alan Modra <amodra@gmail.com> |
1442 | ||
1443 | * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef. | |
1444 | ||
3b6c1966 AM |
1445 | 2019-03-21 Alan Modra <amodra@gmail.com> |
1446 | ||
1447 | * ldlang.c (lang_size_sections_1): Set SEC_KEEP on | |
1448 | create_object_symbols_section. | |
1449 | * testsuite/ld-elf/pr22319.d: Don't xfail dlx. | |
1450 | ||
28a66f07 AM |
1451 | 2019-03-18 Alan Modra <amodra@gmail.com> |
1452 | ||
1453 | * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie. | |
1454 | * testsuite/ld-elf/pr21884.d: Remove csky from xfails. | |
1455 | * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374. | |
1456 | * testsuite/ld-unique/pr21529.d: Remove csky from xfails | |
1457 | ||
1c82ed74 NC |
1458 | 2019-03-15 Nick Clifton <nickc@redhat.com> |
1459 | ||
1460 | PR 24262 | |
1461 | * ld.texi (-plugin): Correct the path used to locate linker | |
1462 | plugins. | |
1463 | ||
1dbade74 SD |
1464 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
1465 | ||
1466 | * NEWS: Document --pac-plt. | |
1467 | * emultempl/aarch64elf.em (OPTION_PAC_PLT): New. | |
1468 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt. | |
1469 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT. | |
1470 | * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests. | |
1471 | * testsuite/ld-aarch64/bti-pac-plt-1.d: New test. | |
1472 | * testsuite/ld-aarch64/bti-pac-plt-2.d: New test. | |
1473 | * testsuite/ld-aarch64/pac-plt-1.d: New test. | |
1474 | * testsuite/ld-aarch64/pac-plt-2.d: New test. | |
1475 | * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive. | |
1476 | ||
37c18eed SD |
1477 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
1478 | Szabolcs Nagy <szabolcs.nagy@arm.com> | |
1479 | ||
1480 | * NEWS: Document --force-bti. | |
1481 | * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New. | |
1482 | (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti. | |
1483 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI. | |
1484 | * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below. | |
1485 | * testsuite/ld-aarch64/bti-plt-1.d: New test. | |
1486 | * testsuite/ld-aarch64/bti-plt-1.s: New test. | |
1487 | * testsuite/ld-aarch64/bti-plt-2.d: New test. | |
1488 | * testsuite/ld-aarch64/bti-plt-3.d: New test. | |
1489 | * testsuite/ld-aarch64/bti-plt-4.d: New test. | |
1490 | * testsuite/ld-aarch64/bti-plt-5.d: New test. | |
1491 | * testsuite/ld-aarch64/bti-plt-6.d: New test. | |
1492 | * testsuite/ld-aarch64/bti-plt-7.d: New test. | |
1493 | * testsuite/ld-aarch64/bti-plt-so.s: New test. | |
1494 | * testsuite/ld-aarch64/bti-plt.ld: New test. | |
1495 | ||
cd702818 SD |
1496 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
1497 | ||
1498 | * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and | |
1499 | GNU_PROPERTY_AARCH64_FEATURE_1_PAC. | |
1500 | * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests. | |
1501 | * testsuite/ld-aarch64/property-bti-pac1.d: New test. | |
1502 | * testsuite/ld-aarch64/property-bti-pac1.s: New test. | |
1503 | * testsuite/ld-aarch64/property-bti-pac2.d: New test. | |
1504 | * testsuite/ld-aarch64/property-bti-pac2.s: New test. | |
1505 | * testsuite/ld-aarch64/property-bti-pac3.d: New test. | |
1506 | ||
44b27f95 L |
1507 | 2019-03-13 H.J. Lu <hongjiu.lu@intel.com> |
1508 | ||
1509 | PR ld/24322 | |
1510 | * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests. | |
1511 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1512 | * testsuite/ld-i386/pr24322a.d: New file. | |
1513 | * testsuite/ld-i386/pr24322b.d: Likewise. | |
1514 | * testsuite/ld-x86-64/pr24322a-x32.d: Likewise. | |
1515 | * testsuite/ld-x86-64/pr24322a.d: Likewise. | |
1516 | * testsuite/ld-x86-64/pr24322b-x32.d: Likewise. | |
1517 | * testsuite/ld-x86-64/pr24322b.d: Likewise. | |
1518 | * testsuite/ld-x86-64/pr24322a.s: Likewise. | |
1519 | * testsuite/ld-x86-64/pr24322b.s: Likewise. | |
1520 | * testsuite/ld-x86-64/pr24322c.s: Likewise. | |
1521 | ||
912ebfa0 NB |
1522 | 2019-03-06 Nick Bowler <nbowler@draconx.ca> |
1523 | ||
1524 | PR 24289 | |
1525 | * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN | |
1526 | attributes during the first phase. | |
1527 | ||
24801b15 AK |
1528 | 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com> |
1529 | ||
1530 | This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335. | |
1531 | 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com> | |
1532 | ||
1533 | PR 20113 | |
1534 | * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define. | |
1535 | * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define. | |
1536 | * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output. | |
1537 | * testsuite/ld-s390/tlsbin.dd: Likewise. | |
1538 | * testsuite/ld-s390/tlsbin.rd: Likewise. | |
1539 | * testsuite/ld-s390/tlsbin.sd: Likewise. | |
1540 | * testsuite/ld-s390/tlsbin_64.dd: Likewise. | |
1541 | * testsuite/ld-s390/tlsbin_64.rd: Likewise. | |
1542 | * testsuite/ld-s390/tlsbin_64.sd: Likewise. | |
1543 | * testsuite/ld-s390/tlspic.dd: Likewise. | |
1544 | * testsuite/ld-s390/tlspic.rd: Likewise. | |
1545 | * testsuite/ld-s390/tlspic.sd: Likewise. | |
1546 | * testsuite/ld-s390/tlspic_64.dd: Likewise. | |
1547 | * testsuite/ld-s390/tlspic_64.rd: Likewise. | |
1548 | * testsuite/ld-s390/tlspic_64.sd: Likewise. | |
1549 | * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets. | |
1550 | ||
5cfe428c L |
1551 | 2019-02-27 H.J. Lu <hongjiu.lu@intel.com> |
1552 | ||
1553 | PR ld/24276 | |
1554 | * testsuite/ld-i386/i386.exp: Run PR ld/24276 test. | |
1555 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1556 | * testsuite/ld-i386/pr24276.dso: New file. | |
1557 | * testsuite/ld-i386/pr24276.warn: Likewise. | |
1558 | * testsuite/ld-x86-64/pr24276.dso: Likewise. | |
1559 | * testsuite/ld-x86-64/pr24276.warn: Likewise. | |
1560 | ||
eed62915 MF |
1561 | 2019-02-20 Eric Tsai <erictsai@cadence.com> |
1562 | ||
1563 | * testsuite/ld-xtensa/call_overflow.d: New test definition. | |
1564 | * testsuite/ld-xtensa/call_overflow1.s: New test source. | |
1565 | * testsuite/ld-xtensa/call_overflow2.s: New test source. | |
1566 | * testsuite/ld-xtensa/call_overflow3.s: New test source. | |
1567 | * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test. | |
1568 | ||
abc163a4 TS |
1569 | 2019-02-14 Thomas Schwinge <thomas@codesourcery.com> |
1570 | ||
1571 | * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs. | |
1572 | ||
e4865945 NC |
1573 | 2019-02-12 Nick Clifton <nickc@redhat.com> |
1574 | ||
1575 | * po/fr.po: Updated French translation. | |
1576 | ||
a0e90a73 CZ |
1577 | 2019-02-09 Vineet Gupta <vgupta@synopsys.com> |
1578 | ||
1579 | * emultempl/arclinux.em: Delete special INIT/FINI handling. | |
1580 | ||
5d3db3e2 NC |
1581 | 2019-02-07 Nick Clifton <nickc@redhat.com> |
1582 | ||
1583 | PR 24175 | |
1584 | * ld.texi (Options): Add missing word to the description of the | |
1585 | --start-group option. | |
1586 | ||
4249a53c AM |
1587 | 2019-02-06 Alan Modra <amodra@gmail.com> |
1588 | ||
1589 | PR ld/24008 | |
1590 | * testsuite/ld-scripts/pr24008.d: Pass with extra target | |
1591 | defined symbols. | |
1592 | ||
83924b38 L |
1593 | 2019-02-05 H.J. Lu <hongjiu.lu@intel.com> |
1594 | ||
1595 | PR ld/24151 | |
1596 | * testsuite/ld-x86-64/pr24151a-x32.d: New file. | |
1597 | * testsuite/ld-x86-64/pr24151a.d: Likewise. | |
1598 | * testsuite/ld-x86-64/pr24151a.s: Likewise. | |
1599 | * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32. | |
1600 | ||
4f4690cd AM |
1601 | 2019-01-31 Alan Modra <amodra@gmail.com> |
1602 | ||
1603 | * NEWS: Mention -t change. | |
1604 | * ld.texi (--trace/-t): Expand documentation a little. | |
1605 | ||
ad0f979c L |
1606 | 2019-01-29 H.J. Lu <hongjiu.lu@intel.com> |
1607 | ||
1608 | PR ld/24008 | |
1609 | * testsuite/ld-scripts/defined.exp: Run pr24008. | |
1610 | * testsuite/ld-scripts/pr24008.d: New file. | |
1611 | * testsuite/ld-scripts/pr24008.map: Likewise. | |
1612 | * testsuite/ld-scripts/pr24008.s: Likewise. | |
1613 | * testsuite/ld-scripts/pr24008.t: Likewise. | |
1614 | ||
c49829c3 EB |
1615 | 2019-01-29 Eric Botcazou <ebotcazou@adacore.com> |
1616 | ||
1617 | * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC. | |
1618 | ||
6a846243 AM |
1619 | 2019-01-28 Alan Modra <amodra@gmail.com> |
1620 | ||
1621 | PR 24008 | |
1622 | * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum. | |
1623 | * ldexp.c (fold_name): Move expld.assign_name check later to | |
1624 | avoid an extra lookup. | |
1625 | (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol | |
1626 | values, and don't clear expld.assign_name. | |
1627 | * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum. | |
1628 | (print_assignment): Resolve entire assignment expression. | |
1629 | Don't access symbol u.def unless symbol is defined. | |
1630 | ||
9ed1348c NC |
1631 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
1632 | ||
1633 | * po/bg.po: Updated Bulgarian translation. | |
1634 | ||
6406a270 SH |
1635 | 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de> |
1636 | ||
1637 | * ld.texi (--wrap): Add warning that LTO may make this feature | |
1638 | ineffective. | |
1639 | ||
375cd423 NC |
1640 | 2019-01-21 Nick Clifton <nickc@redhat.com> |
1641 | ||
1642 | * po/uk.po: Updated Ukranian translation. | |
a6c9b404 | 1643 | * po/pr_BR.po: Updated Brazilian Portuguese translation. |
375cd423 | 1644 | |
acef8081 YC |
1645 | 2019-01-21 Nick Clifton <nickc@redhat.com> |
1646 | ||
1647 | PR 24108 | |
1648 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update | |
1649 | expected error message. | |
1650 | ||
f48dfe41 NC |
1651 | 2019-01-19 Nick Clifton <nickc@redhat.com> |
1652 | ||
1653 | * configure: Regenerate. | |
1654 | * po/ld.pot: Regenerate. | |
1655 | ||
f974f26c NC |
1656 | 2018-06-24 Nick Clifton <nickc@redhat.com> |
1657 | ||
1658 | 2.32 branch created. | |
1659 | ||
7d7a7d7c JW |
1660 | 2019-01-16 Kito Cheng <kito@andestech.com> |
1661 | ||
1662 | * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new | |
1663 | section. | |
1664 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests. | |
1665 | * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test. | |
1666 | * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise. | |
1667 | * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise. | |
1668 | * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise. | |
1669 | * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise. | |
1670 | * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise. | |
1671 | * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise. | |
1672 | * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise. | |
1673 | * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise. | |
1674 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise. | |
1675 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise. | |
1676 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise. | |
1677 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise. | |
1678 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise. | |
1679 | * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise. | |
1680 | * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise. | |
1681 | * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise. | |
1682 | * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise. | |
1683 | * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise. | |
1684 | * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise. | |
1685 | * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise. | |
1686 | * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise. | |
1687 | * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise. | |
1688 | * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise. | |
1689 | * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise. | |
1690 | * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise. | |
1691 | * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise. | |
1692 | * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise. | |
1693 | * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise. | |
1694 | * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise. | |
1695 | * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise. | |
1696 | * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise. | |
1697 | * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise. | |
1698 | * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise. | |
1699 | * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise. | |
1700 | * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise. | |
1701 | ||
5a12586d MT |
1702 | 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com> |
1703 | ||
f466c305 | 1704 | PR 20113 |
5a12586d MT |
1705 | * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define. |
1706 | * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define. | |
1707 | * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output. | |
1708 | * testsuite/ld-s390/tlsbin.dd: Likewise. | |
1709 | * testsuite/ld-s390/tlsbin.rd: Likewise. | |
1710 | * testsuite/ld-s390/tlsbin.sd: Likewise. | |
1711 | * testsuite/ld-s390/tlsbin_64.dd: Likewise. | |
1712 | * testsuite/ld-s390/tlsbin_64.rd: Likewise. | |
1713 | * testsuite/ld-s390/tlsbin_64.sd: Likewise. | |
1714 | * testsuite/ld-s390/tlspic.dd: Likewise. | |
1715 | * testsuite/ld-s390/tlspic.rd: Likewise. | |
1716 | * testsuite/ld-s390/tlspic.sd: Likewise. | |
1717 | * testsuite/ld-s390/tlspic_64.dd: Likewise. | |
1718 | * testsuite/ld-s390/tlspic_64.rd: Likewise. | |
1719 | * testsuite/ld-s390/tlspic_64.sd: Likewise. | |
f466c305 | 1720 | * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets. |
5a12586d | 1721 | |
4ea904ed SH |
1722 | 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de> |
1723 | ||
1724 | * ld.texi (--wrap): Add example to emphasise that only undefined | |
1725 | references are replaced by the linker. | |
1726 | ||
8379fac6 NC |
1727 | 2019-01-09 Nick Clifton <nickc@redhat.com> |
1728 | ||
1729 | * po/es.po: Updated Spanish translation. | |
1730 | ||
3107326d AP |
1731 | 2019-01-09 Andrew Paprocki <andrew@ishiboo.com> |
1732 | ||
1733 | * configure: Regenerate. | |
1734 | ||
171b8e19 AM |
1735 | 2019-01-08 Alan Modra <amodra@gmail.com> |
1736 | ||
1737 | * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in | |
1738 | generated source file names. | |
1739 | * testsuite/ld-m68k/m68k-got.exp: Likewise. | |
1740 | ||
82704155 AM |
1741 | 2019-01-01 Alan Modra <amodra@gmail.com> |
1742 | ||
1743 | Update year range in copyright notice of all files. | |
1744 | ||
d5c04e1b | 1745 | For older changes see ChangeLog-2018 |
3499769a | 1746 | \f |
d5c04e1b | 1747 | Copyright (C) 2019 Free Software Foundation, Inc. |
3499769a AM |
1748 | |
1749 | Copying and distribution of this file, with or without modification, | |
1750 | are permitted in any medium without royalty provided the copyright | |
1751 | notice and this notice are preserved. | |
1752 | ||
1753 | Local Variables: | |
1754 | mode: change-log | |
1755 | left-margin: 8 | |
1756 | fill-column: 74 | |
1757 | version-control: never | |
1758 | End: |