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