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