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