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