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