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