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