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