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