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