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