1 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
3 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
4 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
6 2019-04-08 Alan Modra <amodra@gmail.com>
8 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
9 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
10 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
12 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
14 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
15 (eelf_i386_sol2.c): Also depend on
16 $(srcdir)/emultempl/solaris2-x86.em.
17 (eelf_x86_64_sol2.c): Likewise.
18 * Makefile.in: Regenerated.
19 * emulparams/call_nop.sh: Set x86-specific linker options via
21 * emulparams/cet.sh: Likewise.
22 * emulparams/reloc_overflow.sh: Likewise.
23 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
25 * emulparams/elf_i386.sh: Likewise.
26 * emulparams/elf_i386_be.sh: Likewise.
27 * emulparams/elf_i386_chaos.sh: Likewise.
28 * emulparams/elf_i386_ldso.sh: Likewise.
29 * emulparams/elf_i386_vxworks.sh: Likewise.
30 * emulparams/elf_iamcu.sh: Likewise.
31 * emulparams/elf_k1om.sh: Likewise.
32 * emulparams/elf_l1om.sh: Likewise.
33 * emulparams/elf_x86_64.sh: Likewise.
34 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
36 * emulparams/elf_x86_64_sol2.sh: Likewise.
37 * emultempl/elf-x86.em: New file.
38 * emultempl/solaris2-x86.em: Likewise.
39 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
40 set link_info.call_nop_byte.
42 2019-04-05 Alan Modra <amodra@gmail.com>
44 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
45 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
46 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
48 2019-04-03 Alan Modra <amodra@gmail.com>
51 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
52 (<EXPRESSION>"/DISCARD/"): New.
54 2019-04-03 Alan Modra <amodra@gmail.com>
56 * ldlex.l: Formatting.
57 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
58 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
59 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
60 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
61 (<INPUTLIST>"$SYSROOT"..): Delete rule.
63 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
65 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
67 * testsuite/ld-xtensa/xtensa.exp
68 (relax-undef-weak-pie-export-dynamic): Add new test.
70 2019-03-26 Martin Liska <mliska@suse.cz>
72 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
73 lto_visibility_str and use then to inform about plugin-symbols.
74 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
76 2019-03-25 Tamar Christina <tamar.christina@arm.com>
78 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
79 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
81 2019-03-21 Sudakshina Das <sudi.das@arm.com>
83 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
84 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
85 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
86 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
87 * testsuite/ld-aarch64/bti-warn.d: New test.
89 2019-03-21 Alan Modra <amodra@gmail.com>
91 * testsuite/ld-elf/fini2.s: Reduce alignment.
92 * testsuite/ld-elf/fini3.s: Likewise.
93 * testsuite/ld-elf/finin.s: Likewise.
94 * testsuite/ld-elf/init2.s: Likewise.
95 * testsuite/ld-elf/init3.s: Likewise.
96 * testsuite/ld-elf/initn.s: Likewise.
97 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
98 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
100 2019-03-21 Alan Modra <amodra@gmail.com>
102 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
103 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
104 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
105 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
106 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
107 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
108 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
109 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
110 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
111 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
112 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
113 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
114 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
115 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
116 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
117 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
118 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
119 SORT_NONE to .init and .fini wildcards.
120 * scripttempl/elf32xc16x.sc,
121 * scripttempl/elf32xc16xl.sc,
122 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
123 * scripttempl/elf_chaos.sc: Add .init output section.
124 * scripttempl/elfd30v.sc: Remove duplicate .init.
125 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
126 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
127 duplicate .init, and add .fini wildcard.
128 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
129 * ldlang.c (update_wild_statements): Special case .init and
130 .fini in the wildcard, not the output section.
132 2019-03-21 Alan Modra <amodra@gmail.com>
134 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
136 2019-03-21 Alan Modra <amodra@gmail.com>
138 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
139 create_object_symbols_section.
140 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
142 2019-03-18 Alan Modra <amodra@gmail.com>
144 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
145 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
146 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
147 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
149 2019-03-15 Nick Clifton <nickc@redhat.com>
152 * ld.texi (-plugin): Correct the path used to locate linker
155 2019-03-13 Sudakshina Das <sudi.das@arm.com>
157 * NEWS: Document --pac-plt.
158 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
159 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
160 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
161 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
162 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
163 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
164 * testsuite/ld-aarch64/pac-plt-1.d: New test.
165 * testsuite/ld-aarch64/pac-plt-2.d: New test.
166 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
168 2019-03-13 Sudakshina Das <sudi.das@arm.com>
169 Szabolcs Nagy <szabolcs.nagy@arm.com>
171 * NEWS: Document --force-bti.
172 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
173 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
174 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
175 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
176 * testsuite/ld-aarch64/bti-plt-1.d: New test.
177 * testsuite/ld-aarch64/bti-plt-1.s: New test.
178 * testsuite/ld-aarch64/bti-plt-2.d: New test.
179 * testsuite/ld-aarch64/bti-plt-3.d: New test.
180 * testsuite/ld-aarch64/bti-plt-4.d: New test.
181 * testsuite/ld-aarch64/bti-plt-5.d: New test.
182 * testsuite/ld-aarch64/bti-plt-6.d: New test.
183 * testsuite/ld-aarch64/bti-plt-7.d: New test.
184 * testsuite/ld-aarch64/bti-plt-so.s: New test.
185 * testsuite/ld-aarch64/bti-plt.ld: New test.
187 2019-03-13 Sudakshina Das <sudi.das@arm.com>
189 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
190 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
191 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
192 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
193 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
194 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
195 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
196 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
198 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
201 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
202 * testsuite/ld-x86-64/x86-64.exp: Likewise.
203 * testsuite/ld-i386/pr24322a.d: New file.
204 * testsuite/ld-i386/pr24322b.d: Likewise.
205 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
206 * testsuite/ld-x86-64/pr24322a.d: Likewise.
207 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
208 * testsuite/ld-x86-64/pr24322b.d: Likewise.
209 * testsuite/ld-x86-64/pr24322a.s: Likewise.
210 * testsuite/ld-x86-64/pr24322b.s: Likewise.
211 * testsuite/ld-x86-64/pr24322c.s: Likewise.
213 2019-03-06 Nick Bowler <nbowler@draconx.ca>
216 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
217 attributes during the first phase.
219 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
221 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
222 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
225 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
226 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
227 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
228 * testsuite/ld-s390/tlsbin.dd: Likewise.
229 * testsuite/ld-s390/tlsbin.rd: Likewise.
230 * testsuite/ld-s390/tlsbin.sd: Likewise.
231 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
232 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
233 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
234 * testsuite/ld-s390/tlspic.dd: Likewise.
235 * testsuite/ld-s390/tlspic.rd: Likewise.
236 * testsuite/ld-s390/tlspic.sd: Likewise.
237 * testsuite/ld-s390/tlspic_64.dd: Likewise.
238 * testsuite/ld-s390/tlspic_64.rd: Likewise.
239 * testsuite/ld-s390/tlspic_64.sd: Likewise.
240 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
242 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
245 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
246 * testsuite/ld-x86-64/x86-64.exp: Likewise.
247 * testsuite/ld-i386/pr24276.dso: New file.
248 * testsuite/ld-i386/pr24276.warn: Likewise.
249 * testsuite/ld-x86-64/pr24276.dso: Likewise.
250 * testsuite/ld-x86-64/pr24276.warn: Likewise.
252 2019-02-20 Eric Tsai <erictsai@cadence.com>
254 * testsuite/ld-xtensa/call_overflow.d: New test definition.
255 * testsuite/ld-xtensa/call_overflow1.s: New test source.
256 * testsuite/ld-xtensa/call_overflow2.s: New test source.
257 * testsuite/ld-xtensa/call_overflow3.s: New test source.
258 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
260 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
262 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
264 2019-02-12 Nick Clifton <nickc@redhat.com>
266 * po/fr.po: Updated French translation.
268 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
270 * emultempl/arclinux.em: Delete special INIT/FINI handling.
272 2019-02-07 Nick Clifton <nickc@redhat.com>
275 * ld.texi (Options): Add missing word to the description of the
276 --start-group option.
278 2019-02-06 Alan Modra <amodra@gmail.com>
281 * testsuite/ld-scripts/pr24008.d: Pass with extra target
284 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
287 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
288 * testsuite/ld-x86-64/pr24151a.d: Likewise.
289 * testsuite/ld-x86-64/pr24151a.s: Likewise.
290 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
292 2019-01-31 Alan Modra <amodra@gmail.com>
294 * NEWS: Mention -t change.
295 * ld.texi (--trace/-t): Expand documentation a little.
297 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
300 * testsuite/ld-scripts/defined.exp: Run pr24008.
301 * testsuite/ld-scripts/pr24008.d: New file.
302 * testsuite/ld-scripts/pr24008.map: Likewise.
303 * testsuite/ld-scripts/pr24008.s: Likewise.
304 * testsuite/ld-scripts/pr24008.t: Likewise.
306 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
308 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
310 2019-01-28 Alan Modra <amodra@gmail.com>
313 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
314 * ldexp.c (fold_name): Move expld.assign_name check later to
315 avoid an extra lookup.
316 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
317 values, and don't clear expld.assign_name.
318 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
319 (print_assignment): Resolve entire assignment expression.
320 Don't access symbol u.def unless symbol is defined.
322 2019-01-25 Nick Clifton <nickc@redhat.com>
324 * po/bg.po: Updated Bulgarian translation.
326 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
328 * ld.texi (--wrap): Add warning that LTO may make this feature
331 2019-01-21 Nick Clifton <nickc@redhat.com>
333 * po/uk.po: Updated Ukranian translation.
334 * po/pr_BR.po: Updated Brazilian Portuguese translation.
336 2019-01-21 Nick Clifton <nickc@redhat.com>
339 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
340 expected error message.
342 2019-01-19 Nick Clifton <nickc@redhat.com>
344 * configure: Regenerate.
345 * po/ld.pot: Regenerate.
347 2018-06-24 Nick Clifton <nickc@redhat.com>
351 2019-01-16 Kito Cheng <kito@andestech.com>
353 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
355 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
356 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
357 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
358 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
359 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
360 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
361 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
362 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
363 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
364 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
365 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
366 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
367 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
368 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
369 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
370 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
371 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
372 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
373 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
374 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
375 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
376 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
377 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
378 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
379 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
380 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
381 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
382 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
383 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
384 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
385 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
386 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
387 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
388 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
389 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
390 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
391 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
393 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
396 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
397 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
398 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
399 * testsuite/ld-s390/tlsbin.dd: Likewise.
400 * testsuite/ld-s390/tlsbin.rd: Likewise.
401 * testsuite/ld-s390/tlsbin.sd: Likewise.
402 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
403 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
404 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
405 * testsuite/ld-s390/tlspic.dd: Likewise.
406 * testsuite/ld-s390/tlspic.rd: Likewise.
407 * testsuite/ld-s390/tlspic.sd: Likewise.
408 * testsuite/ld-s390/tlspic_64.dd: Likewise.
409 * testsuite/ld-s390/tlspic_64.rd: Likewise.
410 * testsuite/ld-s390/tlspic_64.sd: Likewise.
411 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
413 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
415 * ld.texi (--wrap): Add example to emphasise that only undefined
416 references are replaced by the linker.
418 2019-01-09 Nick Clifton <nickc@redhat.com>
420 * po/es.po: Updated Spanish translation.
422 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
424 * configure: Regenerate.
426 2019-01-08 Alan Modra <amodra@gmail.com>
428 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
429 generated source file names.
430 * testsuite/ld-m68k/m68k-got.exp: Likewise.
432 2019-01-01 Alan Modra <amodra@gmail.com>
434 Update year range in copyright notice of all files.
436 For older changes see ChangeLog-2018
438 Copyright (C) 2019 Free Software Foundation, Inc.
440 Copying and distribution of this file, with or without modification,
441 are permitted in any medium without royalty provided the copyright
442 notice and this notice are preserved.
448 version-control: never