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