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