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