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