1 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3 * testsuite/ld-arm/attr-merge-13.attr: New test.
4 * testsuite/ld-arm/attr-merge-13a.s: New test.
5 * testsuite/ld-arm/attr-merge-13b.s: New test.
7 2019-04-13 Alan Modra <amodra@gmail.com>
9 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
11 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
12 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
14 (e*.c): Delete all dependencies, instead include dependencies
16 * Makefile.in: Regenerate.
17 * configure.ac (source_sh): Define and use function.
18 * configure: Regenerate.
19 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
20 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
21 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
22 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
23 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
24 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
25 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
26 * emulparams/armelf_linux_eabi.sh,
27 * emulparams/armelf_linux_fdpiceabi.sh,
28 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
29 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
30 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
31 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
32 * emulparams/armelfb_linux_fdpiceabi.sh,
33 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
34 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
35 * emulparams/elf32_sparc_sol2.sh,
36 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
37 * emulparams/elf32_tic6x_elf_be.sh,
38 * emulparams/elf32_tic6x_elf_le.sh,
39 * emulparams/elf32_tic6x_linux_be.sh,
40 * emulparams/elf32_tic6x_linux_le.sh,
41 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
42 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
43 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
44 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
45 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
46 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
47 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
48 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
49 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
50 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
51 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
52 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
53 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
54 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
55 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
56 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
57 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
58 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
59 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
60 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
61 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
62 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
63 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
64 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
65 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
66 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
67 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
68 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
69 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
70 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
71 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
72 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
73 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
74 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
75 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
76 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
77 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
78 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
79 * emulparams/elf_x86_64_cloudabi.sh,
80 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
81 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
82 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
83 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
84 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
85 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
86 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
87 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
88 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
89 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
90 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
91 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
92 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
93 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
94 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
95 * emulparams/shl.sh, * emulparams/shlelf.sh,
96 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
97 * emulparams/shlelf_vxworks.sh: Use source_sh.
98 * genscripts.sh: Adjust for changed parameters. Emit dependencies
99 for e*.c to .deps/*.Pc.
100 (source_sh): New function, use it throughout to source scripts.
101 * genscrba.sh (source_em): Use source_sh.
103 2019-04-13 Alan Modra <amodra@gmail.com>
105 * configure.ac (TDIRS): Build up tdirs in this variable and
106 AC_SUBST, also using AM_SUBST_NOTMAKE.
107 * configure: Regenerate.
108 * Makefile.am (DISTCLEANFILES): Remove tdirs.
109 * Makefile.in: Regenerate.
111 2019-04-12 Nick Clifton <nickc@redhat.com>
114 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
115 example of section attributes.
117 2019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
119 * NEWS: Mention new option --no-print-map-discarded.
120 * ld.h (ld_config_type) <print_map_discarded>: New field.
121 * ldlang.c (lang_map): Conditionally output discarded sections
122 in map files based on configuration option.
123 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
124 OPTION_NO_PRINT_MAP_DISCARDED>: New.
125 * ldmain.c (main): Enabled print_map_discarded by default.
126 * lexsup.c (ld_options): Add new command-line options.
127 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
128 OPTION_PRINT_MAP_DISCARDED>: New cases.
129 * ld.texi: Document new options.
130 * testsuite/ld-gc/gc.exp: Add new test.
131 * testsuite/ld-gc/skip-map-discarded.s: New file.
132 * testsuite/ld-gc/skip-map-discarded.d: New file.
133 * testsuite/ld-gc/skip-map-discarded.map: New file.
135 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
137 * ld.texi: Document -z cet-report=[none|warning|error].
138 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
139 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
141 * testsuite/ld-x86-64/x86-64.exp: Likewise.
142 * testsuite/ld-i386/property-x86-cet1.d: New file.
143 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
144 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
145 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
146 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
147 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
148 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
149 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
150 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
151 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
152 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
153 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
154 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
155 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
156 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
157 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
158 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
159 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
160 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
161 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
162 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
163 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
164 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
165 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
166 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
167 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
168 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
169 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
170 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
171 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
172 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
174 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
176 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
177 to "-static-pie" if target compiler supports it.
178 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
179 $STATIC_PIE_LDFLAGS isn't empty.
180 * testsuite/ld-ifunc/ifunc.exp: Likewise.
182 2019-04-11 Tamar Christina <tamar.christina@arm.com>
185 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
186 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
188 2019-04-10 H.J. Lu <hongjiu.lu@intel.com>
190 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
192 (__rel_iplt_start): Don't define for CREATE_PIC.
193 (__rel_iplt_end): Likewise.
194 (__rela_iplt_start): Likewise.
195 (__rela_iplt_end): Likewise.
197 2019-04-10 Alan Modra <amodra@gmail.com>
199 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
202 2019-04-10 Alan Modra <amodra@gmail.com>
204 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
205 setting use_branch_stub false for linux.
206 (csky_elf_create_output_section_statements): Do emit this
207 function and all others in the file for linux, plus the branch
208 option control. Disable branch stubs when non-ELF.
210 2019-04-10 Alan Modra <amodra@gmail.com>
212 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
213 (ecskyelf_linux.c): Depend on cskyelf.sh.
214 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
215 * Makefile.in: Regenerate.
216 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
217 (PAGE_SIZE): Don't define.
218 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
219 the differing variable defs/undefs.
220 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
221 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
222 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
223 (PAGE_SIZE): Don't define.
224 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
225 leaving just the differing OUTPUT_FORMAT.
227 2019-04-10 Alan Modra <amodra@gmail.com>
229 * po/BLD-POTFILES.in: Regenerate.
231 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
233 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
234 lynxos and nto targets.
236 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
238 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
239 (eelf_i386_chaos.c): Removed.
240 * Makefile.in: Regenerated.
241 * configure.tgt: Remove i[3-7]86-*-kaos*.
242 * emulparams/elf_i386_chaos.sh: Removed.
244 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
246 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
247 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
249 2019-04-08 Alan Modra <amodra@gmail.com>
251 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
252 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
253 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
255 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
257 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
258 (eelf_i386_sol2.c): Also depend on
259 $(srcdir)/emultempl/solaris2-x86.em.
260 (eelf_x86_64_sol2.c): Likewise.
261 * Makefile.in: Regenerated.
262 * emulparams/call_nop.sh: Set x86-specific linker options via
264 * emulparams/cet.sh: Likewise.
265 * emulparams/reloc_overflow.sh: Likewise.
266 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
268 * emulparams/elf_i386.sh: Likewise.
269 * emulparams/elf_i386_be.sh: Likewise.
270 * emulparams/elf_i386_chaos.sh: Likewise.
271 * emulparams/elf_i386_ldso.sh: Likewise.
272 * emulparams/elf_i386_vxworks.sh: Likewise.
273 * emulparams/elf_iamcu.sh: Likewise.
274 * emulparams/elf_k1om.sh: Likewise.
275 * emulparams/elf_l1om.sh: Likewise.
276 * emulparams/elf_x86_64.sh: Likewise.
277 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
279 * emulparams/elf_x86_64_sol2.sh: Likewise.
280 * emultempl/elf-x86.em: New file.
281 * emultempl/solaris2-x86.em: Likewise.
282 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
283 set link_info.call_nop_byte.
285 2019-04-05 Alan Modra <amodra@gmail.com>
287 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
288 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
289 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
291 2019-04-03 Alan Modra <amodra@gmail.com>
294 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
295 (<EXPRESSION>"/DISCARD/"): New.
297 2019-04-03 Alan Modra <amodra@gmail.com>
299 * ldlex.l: Formatting.
300 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
301 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
302 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
303 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
304 (<INPUTLIST>"$SYSROOT"..): Delete rule.
306 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
308 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
310 * testsuite/ld-xtensa/xtensa.exp
311 (relax-undef-weak-pie-export-dynamic): Add new test.
313 2019-03-26 Martin Liska <mliska@suse.cz>
315 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
316 lto_visibility_str and use then to inform about plugin-symbols.
317 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
319 2019-03-25 Tamar Christina <tamar.christina@arm.com>
321 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
322 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
324 2019-03-21 Sudakshina Das <sudi.das@arm.com>
326 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
327 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
328 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
329 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
330 * testsuite/ld-aarch64/bti-warn.d: New test.
332 2019-03-21 Alan Modra <amodra@gmail.com>
334 * testsuite/ld-elf/fini2.s: Reduce alignment.
335 * testsuite/ld-elf/fini3.s: Likewise.
336 * testsuite/ld-elf/finin.s: Likewise.
337 * testsuite/ld-elf/init2.s: Likewise.
338 * testsuite/ld-elf/init3.s: Likewise.
339 * testsuite/ld-elf/initn.s: Likewise.
340 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
341 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
343 2019-03-21 Alan Modra <amodra@gmail.com>
345 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
346 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
347 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
348 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
349 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
350 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
351 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
352 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
353 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
354 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
355 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
356 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
357 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
358 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
359 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
360 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
361 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
362 SORT_NONE to .init and .fini wildcards.
363 * scripttempl/elf32xc16x.sc,
364 * scripttempl/elf32xc16xl.sc,
365 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
366 * scripttempl/elf_chaos.sc: Add .init output section.
367 * scripttempl/elfd30v.sc: Remove duplicate .init.
368 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
369 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
370 duplicate .init, and add .fini wildcard.
371 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
372 * ldlang.c (update_wild_statements): Special case .init and
373 .fini in the wildcard, not the output section.
375 2019-03-21 Alan Modra <amodra@gmail.com>
377 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
379 2019-03-21 Alan Modra <amodra@gmail.com>
381 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
382 create_object_symbols_section.
383 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
385 2019-03-18 Alan Modra <amodra@gmail.com>
387 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
388 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
389 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
390 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
392 2019-03-15 Nick Clifton <nickc@redhat.com>
395 * ld.texi (-plugin): Correct the path used to locate linker
398 2019-03-13 Sudakshina Das <sudi.das@arm.com>
400 * NEWS: Document --pac-plt.
401 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
402 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
403 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
404 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
405 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
406 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
407 * testsuite/ld-aarch64/pac-plt-1.d: New test.
408 * testsuite/ld-aarch64/pac-plt-2.d: New test.
409 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
411 2019-03-13 Sudakshina Das <sudi.das@arm.com>
412 Szabolcs Nagy <szabolcs.nagy@arm.com>
414 * NEWS: Document --force-bti.
415 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
416 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
417 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
418 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
419 * testsuite/ld-aarch64/bti-plt-1.d: New test.
420 * testsuite/ld-aarch64/bti-plt-1.s: New test.
421 * testsuite/ld-aarch64/bti-plt-2.d: New test.
422 * testsuite/ld-aarch64/bti-plt-3.d: New test.
423 * testsuite/ld-aarch64/bti-plt-4.d: New test.
424 * testsuite/ld-aarch64/bti-plt-5.d: New test.
425 * testsuite/ld-aarch64/bti-plt-6.d: New test.
426 * testsuite/ld-aarch64/bti-plt-7.d: New test.
427 * testsuite/ld-aarch64/bti-plt-so.s: New test.
428 * testsuite/ld-aarch64/bti-plt.ld: New test.
430 2019-03-13 Sudakshina Das <sudi.das@arm.com>
432 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
433 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
434 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
435 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
436 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
437 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
438 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
439 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
441 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
444 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
445 * testsuite/ld-x86-64/x86-64.exp: Likewise.
446 * testsuite/ld-i386/pr24322a.d: New file.
447 * testsuite/ld-i386/pr24322b.d: Likewise.
448 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
449 * testsuite/ld-x86-64/pr24322a.d: Likewise.
450 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
451 * testsuite/ld-x86-64/pr24322b.d: Likewise.
452 * testsuite/ld-x86-64/pr24322a.s: Likewise.
453 * testsuite/ld-x86-64/pr24322b.s: Likewise.
454 * testsuite/ld-x86-64/pr24322c.s: Likewise.
456 2019-03-06 Nick Bowler <nbowler@draconx.ca>
459 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
460 attributes during the first phase.
462 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
464 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
465 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
468 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
469 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
470 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
471 * testsuite/ld-s390/tlsbin.dd: Likewise.
472 * testsuite/ld-s390/tlsbin.rd: Likewise.
473 * testsuite/ld-s390/tlsbin.sd: Likewise.
474 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
475 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
476 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
477 * testsuite/ld-s390/tlspic.dd: Likewise.
478 * testsuite/ld-s390/tlspic.rd: Likewise.
479 * testsuite/ld-s390/tlspic.sd: Likewise.
480 * testsuite/ld-s390/tlspic_64.dd: Likewise.
481 * testsuite/ld-s390/tlspic_64.rd: Likewise.
482 * testsuite/ld-s390/tlspic_64.sd: Likewise.
483 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
485 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
488 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
489 * testsuite/ld-x86-64/x86-64.exp: Likewise.
490 * testsuite/ld-i386/pr24276.dso: New file.
491 * testsuite/ld-i386/pr24276.warn: Likewise.
492 * testsuite/ld-x86-64/pr24276.dso: Likewise.
493 * testsuite/ld-x86-64/pr24276.warn: Likewise.
495 2019-02-20 Eric Tsai <erictsai@cadence.com>
497 * testsuite/ld-xtensa/call_overflow.d: New test definition.
498 * testsuite/ld-xtensa/call_overflow1.s: New test source.
499 * testsuite/ld-xtensa/call_overflow2.s: New test source.
500 * testsuite/ld-xtensa/call_overflow3.s: New test source.
501 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
503 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
505 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
507 2019-02-12 Nick Clifton <nickc@redhat.com>
509 * po/fr.po: Updated French translation.
511 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
513 * emultempl/arclinux.em: Delete special INIT/FINI handling.
515 2019-02-07 Nick Clifton <nickc@redhat.com>
518 * ld.texi (Options): Add missing word to the description of the
519 --start-group option.
521 2019-02-06 Alan Modra <amodra@gmail.com>
524 * testsuite/ld-scripts/pr24008.d: Pass with extra target
527 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
530 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
531 * testsuite/ld-x86-64/pr24151a.d: Likewise.
532 * testsuite/ld-x86-64/pr24151a.s: Likewise.
533 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
535 2019-01-31 Alan Modra <amodra@gmail.com>
537 * NEWS: Mention -t change.
538 * ld.texi (--trace/-t): Expand documentation a little.
540 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
543 * testsuite/ld-scripts/defined.exp: Run pr24008.
544 * testsuite/ld-scripts/pr24008.d: New file.
545 * testsuite/ld-scripts/pr24008.map: Likewise.
546 * testsuite/ld-scripts/pr24008.s: Likewise.
547 * testsuite/ld-scripts/pr24008.t: Likewise.
549 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
551 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
553 2019-01-28 Alan Modra <amodra@gmail.com>
556 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
557 * ldexp.c (fold_name): Move expld.assign_name check later to
558 avoid an extra lookup.
559 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
560 values, and don't clear expld.assign_name.
561 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
562 (print_assignment): Resolve entire assignment expression.
563 Don't access symbol u.def unless symbol is defined.
565 2019-01-25 Nick Clifton <nickc@redhat.com>
567 * po/bg.po: Updated Bulgarian translation.
569 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
571 * ld.texi (--wrap): Add warning that LTO may make this feature
574 2019-01-21 Nick Clifton <nickc@redhat.com>
576 * po/uk.po: Updated Ukranian translation.
577 * po/pr_BR.po: Updated Brazilian Portuguese translation.
579 2019-01-21 Nick Clifton <nickc@redhat.com>
582 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
583 expected error message.
585 2019-01-19 Nick Clifton <nickc@redhat.com>
587 * configure: Regenerate.
588 * po/ld.pot: Regenerate.
590 2018-06-24 Nick Clifton <nickc@redhat.com>
594 2019-01-16 Kito Cheng <kito@andestech.com>
596 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
598 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
599 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
600 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
601 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
602 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
603 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
604 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
605 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
606 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
607 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
608 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
609 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
610 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
611 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
612 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
613 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
614 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
615 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
616 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
617 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
618 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
619 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
620 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
621 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
622 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
623 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
624 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
625 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
626 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
627 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
628 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
629 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
630 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
631 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
632 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
633 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
634 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
636 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
639 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
640 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
641 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
642 * testsuite/ld-s390/tlsbin.dd: Likewise.
643 * testsuite/ld-s390/tlsbin.rd: Likewise.
644 * testsuite/ld-s390/tlsbin.sd: Likewise.
645 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
646 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
647 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
648 * testsuite/ld-s390/tlspic.dd: Likewise.
649 * testsuite/ld-s390/tlspic.rd: Likewise.
650 * testsuite/ld-s390/tlspic.sd: Likewise.
651 * testsuite/ld-s390/tlspic_64.dd: Likewise.
652 * testsuite/ld-s390/tlspic_64.rd: Likewise.
653 * testsuite/ld-s390/tlspic_64.sd: Likewise.
654 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
656 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
658 * ld.texi (--wrap): Add example to emphasise that only undefined
659 references are replaced by the linker.
661 2019-01-09 Nick Clifton <nickc@redhat.com>
663 * po/es.po: Updated Spanish translation.
665 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
667 * configure: Regenerate.
669 2019-01-08 Alan Modra <amodra@gmail.com>
671 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
672 generated source file names.
673 * testsuite/ld-m68k/m68k-got.exp: Likewise.
675 2019-01-01 Alan Modra <amodra@gmail.com>
677 Update year range in copyright notice of all files.
679 For older changes see ChangeLog-2018
681 Copyright (C) 2019 Free Software Foundation, Inc.
683 Copying and distribution of this file, with or without modification,
684 are permitted in any medium without royalty provided the copyright
685 notice and this notice are preserved.
691 version-control: never