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