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