Move fixup fx_bit_fixP and fx_im_disp fields to TC_FIX_TYPE
[deliverable/binutils-gdb.git] / ld / ChangeLog
... / ...
CommitLineData
12019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
2
3 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
4 targets.
5
62019-04-15 Sudakshina Das <sudi.das@arm.com>
7
8 * testsuite/ld-arm/bfcsel.s: New.
9 * testsuite/ld-arm/bfcsel.d: New.
10 * testsuite/ld-arm/arm-elf.exp: Add above test.
11
122019-04-15 Sudakshina Das <sudi.das@arm.com>
13
14 * testsuite/ld-arm/bfl.s: New.
15 * testsuite/ld-arm/bfl.d: New.
16 * testsuite/ld-arm/arm-elf.exp: Add above test.
17
182019-04-15 Sudakshina Das <sudi.das@arm.com>
19
20 * testsuite/ld-arm/bf.s: New.
21 * testsuite/ld-arm/bf.d: New.
22 * testsuite/ld-arm/arm-elf.exp: Add above test.
23
242019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
25
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.
29
302019-04-13 Alan Modra <amodra@gmail.com>
31
32 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
33 DEPDIR parameter.
34 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
35 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
36 $GEN_DEPENDS.
37 (e*.c): Delete all dependencies, instead include dependencies
38 from $DEPDIR/*.Pc.
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.
125
1262019-04-13 Alan Modra <amodra@gmail.com>
127
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.
133
1342019-04-12 Nick Clifton <nickc@redhat.com>
135
136 PR 24450
137 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
138 example of section attributes.
139
1402019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
141
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.
157
1582019-04-11 H.J. Lu <hongjiu.lu@intel.com>
159
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]
163 tests.
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.
196
1972019-04-11 H.J. Lu <hongjiu.lu@intel.com>
198
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.
204
2052019-04-11 Tamar Christina <tamar.christina@arm.com>
206
207 PR ld/24302
208 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
209 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
210
2112019-04-10 H.J. Lu <hongjiu.lu@intel.com>
212
213 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
214 CREATE_PIE.
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.
219
2202019-04-10 Alan Modra <amodra@gmail.com>
221
222 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
223 powerpc-nto.
224
2252019-04-10 Alan Modra <amodra@gmail.com>
226
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.
232
2332019-04-10 Alan Modra <amodra@gmail.com>
234
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.
249
2502019-04-10 Alan Modra <amodra@gmail.com>
251
252 * po/BLD-POTFILES.in: Regenerate.
253
2542019-04-08 H.J. Lu <hongjiu.lu@intel.com>
255
256 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
257 lynxos and nto targets.
258
2592019-04-08 H.J. Lu <hongjiu.lu@intel.com>
260
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.
266
2672019-04-08 H.J. Lu <hongjiu.lu@intel.com>
268
269 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
270 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
271
2722019-04-08 Alan Modra <amodra@gmail.com>
273
274 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
275 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
276 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
277
2782019-04-06 H.J. Lu <hongjiu.lu@intel.com>
279
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
286 params.
287 * emulparams/cet.sh: Likewise.
288 * emulparams/reloc_overflow.sh: Likewise.
289 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
290 "elf-x86".
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
301 "solaris2-x86".
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.
307
3082019-04-05 Alan Modra <amodra@gmail.com>
309
310 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
311 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
312 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
313
3142019-04-03 Alan Modra <amodra@gmail.com>
315
316 PR 24411
317 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
318 (<EXPRESSION>"/DISCARD/"): New.
319
3202019-04-03 Alan Modra <amodra@gmail.com>
321
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.
328
3292019-03-29 Max Filippov <jcmvbkbc@gmail.com>
330
331 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
332 test definition.
333 * testsuite/ld-xtensa/xtensa.exp
334 (relax-undef-weak-pie-export-dynamic): Add new test.
335
3362019-03-26 Martin Liska <mliska@suse.cz>
337
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.
341
3422019-03-25 Tamar Christina <tamar.christina@arm.com>
343
344 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
345 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
346
3472019-03-21 Sudakshina Das <sudi.das@arm.com>
348
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.
354
3552019-03-21 Alan Modra <amodra@gmail.com>
356
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-*.
365
3662019-03-21 Alan Modra <amodra@gmail.com>
367
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.
397
3982019-03-21 Alan Modra <amodra@gmail.com>
399
400 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
401
4022019-03-21 Alan Modra <amodra@gmail.com>
403
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.
407
4082019-03-18 Alan Modra <amodra@gmail.com>
409
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
414
4152019-03-15 Nick Clifton <nickc@redhat.com>
416
417 PR 24262
418 * ld.texi (-plugin): Correct the path used to locate linker
419 plugins.
420
4212019-03-13 Sudakshina Das <sudi.das@arm.com>
422
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.
433
4342019-03-13 Sudakshina Das <sudi.das@arm.com>
435 Szabolcs Nagy <szabolcs.nagy@arm.com>
436
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.
452
4532019-03-13 Sudakshina Das <sudi.das@arm.com>
454
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.
463
4642019-03-13 H.J. Lu <hongjiu.lu@intel.com>
465
466 PR ld/24322
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.
478
4792019-03-06 Nick Bowler <nbowler@draconx.ca>
480
481 PR 24289
482 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
483 attributes during the first phase.
484
4852019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
486
487 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
488 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
489
490 PR 20113
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.
507
5082019-02-27 H.J. Lu <hongjiu.lu@intel.com>
509
510 PR ld/24276
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.
517
5182019-02-20 Eric Tsai <erictsai@cadence.com>
519
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.
525
5262019-02-14 Thomas Schwinge <thomas@codesourcery.com>
527
528 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
529
5302019-02-12 Nick Clifton <nickc@redhat.com>
531
532 * po/fr.po: Updated French translation.
533
5342019-02-09 Vineet Gupta <vgupta@synopsys.com>
535
536 * emultempl/arclinux.em: Delete special INIT/FINI handling.
537
5382019-02-07 Nick Clifton <nickc@redhat.com>
539
540 PR 24175
541 * ld.texi (Options): Add missing word to the description of the
542 --start-group option.
543
5442019-02-06 Alan Modra <amodra@gmail.com>
545
546 PR ld/24008
547 * testsuite/ld-scripts/pr24008.d: Pass with extra target
548 defined symbols.
549
5502019-02-05 H.J. Lu <hongjiu.lu@intel.com>
551
552 PR ld/24151
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.
557
5582019-01-31 Alan Modra <amodra@gmail.com>
559
560 * NEWS: Mention -t change.
561 * ld.texi (--trace/-t): Expand documentation a little.
562
5632019-01-29 H.J. Lu <hongjiu.lu@intel.com>
564
565 PR ld/24008
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.
571
5722019-01-29 Eric Botcazou <ebotcazou@adacore.com>
573
574 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
575
5762019-01-28 Alan Modra <amodra@gmail.com>
577
578 PR 24008
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.
587
5882019-01-25 Nick Clifton <nickc@redhat.com>
589
590 * po/bg.po: Updated Bulgarian translation.
591
5922019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
593
594 * ld.texi (--wrap): Add warning that LTO may make this feature
595 ineffective.
596
5972019-01-21 Nick Clifton <nickc@redhat.com>
598
599 * po/uk.po: Updated Ukranian translation.
600 * po/pr_BR.po: Updated Brazilian Portuguese translation.
601
6022019-01-21 Nick Clifton <nickc@redhat.com>
603
604 PR 24108
605 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
606 expected error message.
607
6082019-01-19 Nick Clifton <nickc@redhat.com>
609
610 * configure: Regenerate.
611 * po/ld.pot: Regenerate.
612
6132018-06-24 Nick Clifton <nickc@redhat.com>
614
615 2.32 branch created.
616
6172019-01-16 Kito Cheng <kito@andestech.com>
618
619 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
620 section.
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.
658
6592019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
660
661 PR 20113
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.
678
6792019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
680
681 * ld.texi (--wrap): Add example to emphasise that only undefined
682 references are replaced by the linker.
683
6842019-01-09 Nick Clifton <nickc@redhat.com>
685
686 * po/es.po: Updated Spanish translation.
687
6882019-01-09 Andrew Paprocki <andrew@ishiboo.com>
689
690 * configure: Regenerate.
691
6922019-01-08 Alan Modra <amodra@gmail.com>
693
694 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
695 generated source file names.
696 * testsuite/ld-m68k/m68k-got.exp: Likewise.
697
6982019-01-01 Alan Modra <amodra@gmail.com>
699
700 Update year range in copyright notice of all files.
701
702For older changes see ChangeLog-2018
703\f
704Copyright (C) 2019 Free Software Foundation, Inc.
705
706Copying and distribution of this file, with or without modification,
707are permitted in any medium without royalty provided the copyright
708notice and this notice are preserved.
709
710Local Variables:
711mode: change-log
712left-margin: 8
713fill-column: 74
714version-control: never
715End:
This page took 0.026464 seconds and 4 git commands to generate.