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