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