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