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