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