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