Add new GCC 9 warnings to warnings.m4
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1e129bbe
FS
12019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
2
3 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
4 for pcrel_hi/pcrel_lo.
5 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
6 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
7 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
8 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
9 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
10
eabf307f
AM
112019-05-28 Alan Modra <amodra@gmail.com>
12
13 PR 24596
14 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
15 the output is coff before accessing coff tdata.
16 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
17
65f381e7
SN
182019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
19
20 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
21 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
22
3d7d6a6f
AM
232019-05-27 Alan Modra <amodra@gmail.com>
24
25 PR 24596
26 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
27 BFS_KEEP on group signature symbol.
28
823710d5
SN
292019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30
31 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
32 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
33 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
34 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
35 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
36 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
37 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
38
405b5bd8
AM
392019-05-24 Alan Modra <amodra@gmail.com>
40
41 * po/BLD-POTFILES.in: Regenerate.
42
04bdff6a
AM
432019-05-24 Alan Modra <amodra@gmail.com>
44
45 * testsuite/ld-powerpc/notoc2.d,
46 * testsuite/ld-powerpc/notoc2.s: New test.
47 * testsuite/ld-powerpc/powerpc.exp: Run it.
48
4a421c53
AM
492019-05-24 Alan Modra <amodra@gmail.com>
50
51 * testsuite/ld-powerpc/pcrelopt.s,
52 * testsuite/ld-powerpc/pcrelopt.d,
53 * testsuite/ld-powerpc/pcrelopt.sec: New test.
54 * testsuite/ld-powerpc/powerpc.exp: Run it.
55
8376927b
JM
562019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
57
58 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
59 * Makefile.in (prefix): Regenerate.
60 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
61 * emulparams/elf64bpf.sh: New file.
62 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
63 bpf-*-* to the list of targets not supporting gc-sections.
64 * testsuite/ld-bpf/bar.s: New file.
65 * testsuite/ld-bpf/jump-1.d: Likewise.
66 * testsuite/ld-bpf/foo.s: Likewise.
67 * testsuite/ld-bpf/call-1.d: Likewise.
68 * testsuite/ld-bpf/bpf.exp: Likewise.
69 * testsuite/ld-bpf/baz.s: Likewise.
70
82d7a6f4
AM
712019-05-23 Alan Modra <amodra@gmail.com>
72
73 PR 24576
74 * ldfile.c (enum script_open_style): New.
75 (struct script_name_list): New.
76 (ldfile_open_command_file_1): Take a script_open_style param
77 rather than booleans. Adjust callers. Only fail when -T or
78 default -T script is invoked twice.
79 (ldfile_try_open_bfd): Revert last change.
80
6ec6968b
NC
812019-05-22 Julius Werner <jwerner@chromium.org>
82 Nick Clifton <nickc@redhat.com>
83
84 PR 24576
85 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
86 is_script. If true check that the file has not already been
87 parsed as a linker script.
88 (ldfile_open_script_file): New function.
89 (ldfile_try_open_bfd): Use the new function in place of
90 ldfile_open_command_line.
91 * ldmain.c (main): Likewise.
92 * lexsup.c (parse_args): Use the new function for opening linker
93 scripts with the -T option.
94 * ldfile.h (ldfile_open_script_file): Add prototype.
95
b474a202
FS
962019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
97
98 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
99 %tprel_hi and %tprel_lo relocations.
100 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
101 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
102 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
103 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
104 script file.
105
304f09d0
FS
1062019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
107
108 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
109 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
110 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
111 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
112 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
113 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
114 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
115
3734320d
MF
1162019-05-21 Matthew Fortune <matthew.fortune@mips.com>
117 Faraz Shahbazker <fshahbazker@wavecomp.com>
118
119 * emultempl/mipself.em (compact_branches): New static variable.
120 (mips_create_output_section_statements): Call
121 _bfd_mips_elf_compact_branches.
122 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
123 OPTION_NO_COMPACT_BRANCHES.
124 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
125 no-compact-branches.
126 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
127 --no-compact-branches.
128 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
129 * ld.texinfo: Document --compact-branches, --no-compact-branches.
130 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
131 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
132 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
133 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
134 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
135 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
136 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
137
e6f65e75
AV
1382019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
139
140 * testsuite/ld-arm/arm-elf.exp: Add tests
141 * testsuite/ld-arm/bfs-0.s: New test.
142 * testsuite/ld-arm/bfs-1.s: New test.
143 * testsuite/ld-arm/branch-futures.d: New test.
144
739b5c9c
TC
1452019-05-21 Tamar Christina <tamar.christina@arm.com>
146
147 PR ld/24373
148 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
149 to flags.
150 * NEWS: Add changes to flag.
151 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
152 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
153 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
154 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
155 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
156 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
157 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
158 * testsuite/ld-aarch64/erratum843419-far.s: New test.
159 * testsuite/ld-aarch64/erratum843419-full.d: New test.
160 * testsuite/ld-aarch64/erratum843419-near.s: New test.
161 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
162
7622049e
SKS
1632019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
164
165 PR ld/24571
166 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
167 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
168
338ba755
SKS
1692019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
170
171 PR ld/24564
172 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
173 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
174
d8734380
FS
1752019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
176
177 PR 14798
178 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
179 global code symbols.
180 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
181
af4fa23f
AM
1822019-05-17 Alan Modra <amodra@gmail.com>
183
184 PR 24567
185 * plugin.c (plugin_notice): Do not let a common symbol override
186 a non-common definition in IR.
187
dd318999
DD
1882019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
189
190 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
191 Rename.
192
46752c37
PS
1932019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
194
195 PR 24536
196 * ldbuildid.c (generate_build_id): Cast return value from
197 GetProcAddress in order to avoid a compile time warning.
198
e1cbf07a
AM
1992019-05-06 Alan Modra <amodra@gmail.com>
200
201 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
202
27cdfa03
AM
2032019-05-04 Alan Modra <amodra@gmail.com>
204
205 * testsuite/ld-scripts/fill.d: Don't xfail m32c
206 * testsuite/ld-scripts/fill16.d: Likewise.
207
a288c270
AM
2082019-05-04 Alan Modra <amodra@gmail.com>
209
210 PR 24511
211 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
212 data section on hppa64.
213 * testsuite/ld-elf/pr14156b.d: Likewise.
214 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
215 output section flags.
216 * testsuite/ld-scripts/sane1.t: Likewise.
217 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
218 and __fini_array_start. Define __start et al.
219 * testsuite/ld-elf/pr24511.d: New test.
220
066f4018
AM
2212019-04-30 Alan Modra <amodra@gmail.com>
222
223 * testsuite/ld-powerpc/elfv2exe.d: Update.
224 * testsuite/ld-powerpc/elfv2so.d: Update.
225 * testsuite/ld-powerpc/tocopt.d: Update.
226 * testsuite/ld-powerpc/tocopt.s: Update.
227 * testsuite/ld-powerpc/tocopt5.d: Update.
228 * testsuite/ld-powerpc/tocopt5.s: Update.
229 * testsuite/ld-powerpc/tocopt7.d: Update.
230 * testsuite/ld-powerpc/tocopt7.s: Update.
231 * testsuite/ld-powerpc/tocopt8.d: Update.
232 * testsuite/ld-powerpc/tocopt8.s: Update.
233
06ddcada
AM
2342019-04-30 Alan Modra <amodra@gmail.com>
235
236 * ld.texi (How GNU properties are merged): Avoid pod2man error.
237 Correct example.
238
c54f1524
L
2392019-04-26 H.J. Lu <hongjiu.lu@intel.com>
240
241 PR ld/24486
242 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
243 * testsuite/ld-plugin/pr24486a.c: New file.
244 * testsuite/ld-plugin/pr24486b.c: Likewise.
245 * testsuite/ld-plugin/pr24486c.c: Likewise.
246
8e1920d6
NC
2472019-04-26 Nick Clifton <nickc@redhat.com>
248
249 * po/ru.po: Updated Russian translation.
250
a094d01f
CY
2512019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
252
253 * ld.texi: Properly hyphenate the word "specific".
254
6fe014bc
L
2552019-04-25 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR ld/24406
258 * ld.texi: Remove LTO warning from --wrap.
259 * plugin.c (get_symbols): Update resolution for wrapper and
260 wrapped symbols.
261 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
262 * testsuite/ld-plugin/pr24406-1.c: New file.
263 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
264 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
265
68bb0359
SD
2662019-04-25 Sudakshina Das <sudi.das@arm.com>
267
268 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
269 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
270 * testsuite/ld-aarch64/bti-plt-1.d: Update.
271 * testsuite/ld-aarch64/bti-plt-3.d: Update.
272 * testsuite/ld-aarch64/bti-plt-5.d: Update.
273 * testsuite/ld-aarch64/pac-plt-1.d: Update.
274 * testsuite/ld-aarch64/pac-plt-2.d: Update.
275
44ed8092
SL
2762019-04-24 Sandra Loosemore <sandra@codesourcery.com>
277
278 * testsuite/config/default.exp: Use [check_compiler_available]
279 instead of [which $CC].
280 * testsuite/ld-auto-import/auto-import.exp: Likewise.
281 * testsuite/ld-cygwin/exe-export.exp: Likewise.
282 * testsuite/ld-elf/audit.exp: Likewise.
283 * testsuite/ld-elf/compress.exp: Likewise.
284 * testsuite/ld-elf/dwarf.exp: Likewise.
285 * testsuite/ld-elf/elf.exp: Likewise.
286 * testsuite/ld-elf/indirect.exp: Likewise.
287 * testsuite/ld-elf/linux-x86.exp: Likewise.
288 * testsuite/ld-elf/shared.exp: Likewise.
289 * testsuite/ld-elf/tls.exp: Likewise.
290 * testsuite/ld-elf/wrap.exp: Likewise.
291 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
292 * testsuite/ld-elfvers/vers.exp: Likewise.
293 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
294 * testsuite/ld-elfweak/elfweak.exp: Likewise.
295 * testsuite/ld-gc/gc.exp: Likewise.
296 * testsuite/ld-i386/i386.exp: Likewise.
297 * testsuite/ld-i386/no-plt.exp: Likewise.
298 * testsuite/ld-i386/tls.exp: Likewise.
299 * testsuite/ld-ifunc/ifunc.exp: Likewise.
300 * testsuite/ld-mn10300/mn10300.exp: Likewise.
301 * testsuite/ld-pe/pe-compile.exp: Likewise.
302 * testsuite/ld-pe/pe-run.exp: Likewise.
303 * testsuite/ld-pe/pe-run2.exp: Likewise.
304 * testsuite/ld-pie/pie.exp: Likewise.
305 * testsuite/ld-plugin/lto.exp: Likewise.
306 * testsuite/ld-plugin/plugin.exp: Likewise.
307 * testsuite/ld-scripts/crossref.exp: Likewise.
308 * testsuite/ld-sh/sh.exp: Likewise.
309 * testsuite/ld-shared/shared.exp: Likewise.
310 * testsuite/ld-size/size.exp: Likewise.
311 * testsuite/ld-srec/srec.exp: Likewise.
312 * testsuite/ld-undefined/undefined.exp: Likewise.
313 * testsuite/ld-unique/unique.exp: Likewise.
314 * testsuite/ld-x86-64/mpx.exp: Likewise.
315 * testsuite/ld-x86-64/no-plt.exp: Likewise.
316 * testsuite/ld-x86-64/tls.exp: Likewise.
317 * testsuite/ld-x86-64/x86-64.exp: Likewise.
318 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
319 check_compiler_available before trying to use the compiler.
320 (run_cc_link_tests): Likewise.
321 (check_compiler_available): New. Use it instead of [which $CC].
322
cc9519e7
AM
3232019-04-23 Alan Modra <amodra@gmail.com>
324
325 * Makefile.am (GENDEPDIR): New var, used..
326 (GENSCRIPTS): ..here.
327 * Makefile.in: Regenerate.
328 * genscripts.sh: Test for $DEPDIR set before every use.
329
6f38008b
MF
3302019-04-22 Matthew Fortune <matthew.fortune@mips.com>
331
332 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
333 for M5100.
334
fce97736
AM
3352019-04-19 Alan Modra <amodra@gmail.com>
336
337 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
338 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
339 s12z to list of targets not supporting --gc-sections.
340
9a7f0679
L
3412019-04-17 H.J. Lu <hongjiu.lu@intel.com>
342
343 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
344 of pr18801.
345 * testsuite/ld-x86-64/x86-64.exp: Likewise.
346 * testsuite/ld-i386/pr18801.d: Removed.
347 * testsuite/ld-x86-64/pr18801.d: Likewise.
348 * testsuite/ld-i386/pr18801a.d: New file.
349 * testsuite/ld-i386/pr18801b.d: Likewise.
350 * testsuite/ld-x86-64/pr18801a.d: Likewise.
351 * testsuite/ld-x86-64/pr18801b.d: Likewise.
352 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
353 * testsuite/ld-x86-64/pie2.d: Likewise.
354 * testsuite/ld-x86-64/pr19719.d: Likewise.
355 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
356 * testsuite/ld-x86-64/pr19969.d: Likewise.
357 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
358 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
359 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
360 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
361 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
362
4e84a8f8
L
3632019-04-17 H.J. Lu <hongjiu.lu@intel.com>
364
365 PR ld/24458
366 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
367 * testsuite/ld-x86-64/pr24458.s: New file.
368 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
369 * testsuite/ld-x86-64/pr24458a.d: Likewise.
370 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
371 * testsuite/ld-x86-64/pr24458b.d: Likewise.
372 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
373 * testsuite/ld-x86-64/pr24458c.d: Likewise.
374
e25de718
JL
3752019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
376
377 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
378 symbol when .lower.bss or .either.bss sections exist.
379 Define __crt0_movedata when .lower.data or .either.data sections exist.
380 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
381 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
382 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
383 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
384 * testsuite/gas/msp430/msp430.exp: Run new tests.
385 Enable large code model when running -mdata-region={upper,either}
386 tests.
387
a0fb9615
AM
3882019-04-16 Alan Modra <amodra@gmail.com>
389
390 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
391 * testsuite/ld-scripts/section-match-1.d: Likewise.
392 * testsuite/ld-undefined/require-defined.exp: Likewise.
393
86333705
FS
3942019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
395
396 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
397 targets.
398
f6b2b12d
AV
3992019-04-15 Sudakshina Das <sudi.das@arm.com>
400
401 * testsuite/ld-arm/bfcsel.s: New.
402 * testsuite/ld-arm/bfcsel.d: New.
403 * testsuite/ld-arm/arm-elf.exp: Add above test.
404
65d1bc05
AV
4052019-04-15 Sudakshina Das <sudi.das@arm.com>
406
407 * testsuite/ld-arm/bfl.s: New.
408 * testsuite/ld-arm/bfl.d: New.
409 * testsuite/ld-arm/arm-elf.exp: Add above test.
410
4389b29a
AV
4112019-04-15 Sudakshina Das <sudi.das@arm.com>
412
413 * testsuite/ld-arm/bf.s: New.
414 * testsuite/ld-arm/bf.d: New.
415 * testsuite/ld-arm/arm-elf.exp: Add above test.
416
031254f2
AV
4172019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
418
419 * testsuite/ld-arm/attr-merge-13.attr: New test.
420 * testsuite/ld-arm/attr-merge-13a.s: New test.
421 * testsuite/ld-arm/attr-merge-13b.s: New test.
422
c40e31a1
AM
4232019-04-13 Alan Modra <amodra@gmail.com>
424
425 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
426 DEPDIR parameter.
427 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
428 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
429 $GEN_DEPENDS.
430 (e*.c): Delete all dependencies, instead include dependencies
431 from $DEPDIR/*.Pc.
432 * Makefile.in: Regenerate.
433 * configure.ac (source_sh): Define and use function.
434 * configure: Regenerate.
435 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
436 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
437 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
438 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
439 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
440 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
441 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
442 * emulparams/armelf_linux_eabi.sh,
443 * emulparams/armelf_linux_fdpiceabi.sh,
444 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
445 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
446 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
447 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
448 * emulparams/armelfb_linux_fdpiceabi.sh,
449 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
450 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
451 * emulparams/elf32_sparc_sol2.sh,
452 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
453 * emulparams/elf32_tic6x_elf_be.sh,
454 * emulparams/elf32_tic6x_elf_le.sh,
455 * emulparams/elf32_tic6x_linux_be.sh,
456 * emulparams/elf32_tic6x_linux_le.sh,
457 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
458 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
459 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
460 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
461 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
462 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
463 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
464 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
465 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
466 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
467 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
468 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
469 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
470 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
471 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
472 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
473 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
474 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
475 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
476 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
477 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
478 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
479 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
480 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
481 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
482 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
483 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
484 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
485 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
486 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
487 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
488 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
489 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
490 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
491 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
492 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
493 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
494 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
495 * emulparams/elf_x86_64_cloudabi.sh,
496 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
497 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
498 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
499 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
500 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
501 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
502 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
503 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
504 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
505 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
506 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
507 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
508 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
509 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
510 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
511 * emulparams/shl.sh, * emulparams/shlelf.sh,
512 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
513 * emulparams/shlelf_vxworks.sh: Use source_sh.
514 * genscripts.sh: Adjust for changed parameters. Emit dependencies
515 for e*.c to .deps/*.Pc.
516 (source_sh): New function, use it throughout to source scripts.
517 * genscrba.sh (source_em): Use source_sh.
518
50ff67e6
AM
5192019-04-13 Alan Modra <amodra@gmail.com>
520
521 * configure.ac (TDIRS): Build up tdirs in this variable and
522 AC_SUBST, also using AM_SUBST_NOTMAKE.
523 * configure: Regenerate.
524 * Makefile.am (DISTCLEANFILES): Remove tdirs.
525 * Makefile.in: Regenerate.
526
3bbec4bd
NC
5272019-04-12 Nick Clifton <nickc@redhat.com>
528
529 PR 24450
530 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
531 example of section attributes.
532
035801ce
FS
5332019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
534
535 * NEWS: Mention new option --no-print-map-discarded.
536 * ld.h (ld_config_type) <print_map_discarded>: New field.
537 * ldlang.c (lang_map): Conditionally output discarded sections
538 in map files based on configuration option.
539 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
540 OPTION_NO_PRINT_MAP_DISCARDED>: New.
541 * ldmain.c (main): Enabled print_map_discarded by default.
542 * lexsup.c (ld_options): Add new command-line options.
543 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
544 OPTION_PRINT_MAP_DISCARDED>: New cases.
545 * ld.texi: Document new options.
546 * testsuite/ld-gc/gc.exp: Add new test.
547 * testsuite/ld-gc/skip-map-discarded.s: New file.
548 * testsuite/ld-gc/skip-map-discarded.d: New file.
549 * testsuite/ld-gc/skip-map-discarded.map: New file.
550
233a0083
L
5512019-04-11 H.J. Lu <hongjiu.lu@intel.com>
552
553 * ld.texi: Document -z cet-report=[none|warning|error].
554 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
555 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
556 tests.
557 * testsuite/ld-x86-64/x86-64.exp: Likewise.
558 * testsuite/ld-i386/property-x86-cet1.d: New file.
559 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
560 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
561 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
562 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
563 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
564 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
565 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
566 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
567 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
568 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
569 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
570 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
571 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
572 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
573 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
574 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
575 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
576 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
577 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
578 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
579 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
580 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
581 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
582 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
583 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
584 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
585 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
586 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
587 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
588 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
589
b3d7a867
L
5902019-04-11 H.J. Lu <hongjiu.lu@intel.com>
591
592 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
593 to "-static-pie" if target compiler supports it.
594 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
595 $STATIC_PIE_LDFLAGS isn't empty.
596 * testsuite/ld-ifunc/ifunc.exp: Likewise.
597
ce12121b
TC
5982019-04-11 Tamar Christina <tamar.christina@arm.com>
599
600 PR ld/24302
601 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
602 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
603
795e3bb7
L
6042019-04-10 H.J. Lu <hongjiu.lu@intel.com>
605
606 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
607 CREATE_PIE.
608 (__rel_iplt_start): Don't define for CREATE_PIC.
609 (__rel_iplt_end): Likewise.
610 (__rela_iplt_start): Likewise.
611 (__rela_iplt_end): Likewise.
612
e6aded7c
AM
6132019-04-10 Alan Modra <amodra@gmail.com>
614
615 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
616 powerpc-nto.
617
53b81c6d
AM
6182019-04-10 Alan Modra <amodra@gmail.com>
619
620 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
621 setting use_branch_stub false for linux.
622 (csky_elf_create_output_section_statements): Do emit this
623 function and all others in the file for linux, plus the branch
624 option control. Disable branch stubs when non-ELF.
625
c55b17b8
AM
6262019-04-10 Alan Modra <amodra@gmail.com>
627
628 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
629 (ecskyelf_linux.c): Depend on cskyelf.sh.
630 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
631 * Makefile.in: Regenerate.
632 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
633 (PAGE_SIZE): Don't define.
634 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
635 the differing variable defs/undefs.
636 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
637 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
638 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
639 (PAGE_SIZE): Don't define.
640 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
641 leaving just the differing OUTPUT_FORMAT.
642
6feda627
AM
6432019-04-10 Alan Modra <amodra@gmail.com>
644
645 * po/BLD-POTFILES.in: Regenerate.
646
c93c0e7f
L
6472019-04-08 H.J. Lu <hongjiu.lu@intel.com>
648
649 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
650 lynxos and nto targets.
651
3ae61bb6
L
6522019-04-08 H.J. Lu <hongjiu.lu@intel.com>
653
654 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
655 (eelf_i386_chaos.c): Removed.
656 * Makefile.in: Regenerated.
657 * configure.tgt: Remove i[3-7]86-*-kaos*.
658 * emulparams/elf_i386_chaos.sh: Removed.
659
da9b5f7b
L
6602019-04-08 H.J. Lu <hongjiu.lu@intel.com>
661
662 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
663 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
664
d970ee2b
AM
6652019-04-08 Alan Modra <amodra@gmail.com>
666
667 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
668 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
669 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
670
5b9c07b2
L
6712019-04-06 H.J. Lu <hongjiu.lu@intel.com>
672
673 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
674 (eelf_i386_sol2.c): Also depend on
675 $(srcdir)/emultempl/solaris2-x86.em.
676 (eelf_x86_64_sol2.c): Likewise.
677 * Makefile.in: Regenerated.
678 * emulparams/call_nop.sh: Set x86-specific linker options via
679 params.
680 * emulparams/cet.sh: Likewise.
681 * emulparams/reloc_overflow.sh: Likewise.
682 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
683 "elf-x86".
684 * emulparams/elf_i386.sh: Likewise.
685 * emulparams/elf_i386_be.sh: Likewise.
686 * emulparams/elf_i386_chaos.sh: Likewise.
687 * emulparams/elf_i386_ldso.sh: Likewise.
688 * emulparams/elf_i386_vxworks.sh: Likewise.
689 * emulparams/elf_iamcu.sh: Likewise.
690 * emulparams/elf_k1om.sh: Likewise.
691 * emulparams/elf_l1om.sh: Likewise.
692 * emulparams/elf_x86_64.sh: Likewise.
693 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
694 "solaris2-x86".
695 * emulparams/elf_x86_64_sol2.sh: Likewise.
696 * emultempl/elf-x86.em: New file.
697 * emultempl/solaris2-x86.em: Likewise.
698 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
699 set link_info.call_nop_byte.
700
c2b1c275
AM
7012019-04-05 Alan Modra <amodra@gmail.com>
702
703 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
704 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
705 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
706
1c6aafe8
AM
7072019-04-03 Alan Modra <amodra@gmail.com>
708
709 PR 24411
710 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
711 (<EXPRESSION>"/DISCARD/"): New.
712
092da96a
AM
7132019-04-03 Alan Modra <amodra@gmail.com>
714
715 * ldlex.l: Formatting.
716 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
717 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
718 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
719 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
720 (<INPUTLIST>"$SYSROOT"..): Delete rule.
721
2487ef07
MF
7222019-03-29 Max Filippov <jcmvbkbc@gmail.com>
723
724 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
725 test definition.
726 * testsuite/ld-xtensa/xtensa.exp
727 (relax-undef-weak-pie-export-dynamic): Add new test.
728
7ea79cb3 7292019-03-26 Martin Liska <mliska@suse.cz>
730
731 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
732 lto_visibility_str and use then to inform about plugin-symbols.
733 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
734
796d6298
TC
7352019-03-25 Tamar Christina <tamar.christina@arm.com>
736
737 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
738 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
739
4e539114
SD
7402019-03-21 Sudakshina Das <sudi.das@arm.com>
741
742 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
743 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
744 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
745 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
746 * testsuite/ld-aarch64/bti-warn.d: New test.
747
f84bd465
AM
7482019-03-21 Alan Modra <amodra@gmail.com>
749
750 * testsuite/ld-elf/fini2.s: Reduce alignment.
751 * testsuite/ld-elf/fini3.s: Likewise.
752 * testsuite/ld-elf/finin.s: Likewise.
753 * testsuite/ld-elf/init2.s: Likewise.
754 * testsuite/ld-elf/init3.s: Likewise.
755 * testsuite/ld-elf/initn.s: Likewise.
756 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
757 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
758
2d3181c7
AM
7592019-03-21 Alan Modra <amodra@gmail.com>
760
761 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
762 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
763 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
764 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
765 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
766 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
767 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
768 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
769 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
770 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
771 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
772 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
773 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
774 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
775 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
776 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
777 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
778 SORT_NONE to .init and .fini wildcards.
779 * scripttempl/elf32xc16x.sc,
780 * scripttempl/elf32xc16xl.sc,
781 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
782 * scripttempl/elf_chaos.sc: Add .init output section.
783 * scripttempl/elfd30v.sc: Remove duplicate .init.
784 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
785 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
786 duplicate .init, and add .fini wildcard.
787 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
788 * ldlang.c (update_wild_statements): Special case .init and
789 .fini in the wildcard, not the output section.
790
980a2e42
AM
7912019-03-21 Alan Modra <amodra@gmail.com>
792
793 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
794
3b6c1966
AM
7952019-03-21 Alan Modra <amodra@gmail.com>
796
797 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
798 create_object_symbols_section.
799 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
800
28a66f07
AM
8012019-03-18 Alan Modra <amodra@gmail.com>
802
803 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
804 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
805 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
806 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
807
1c82ed74
NC
8082019-03-15 Nick Clifton <nickc@redhat.com>
809
810 PR 24262
811 * ld.texi (-plugin): Correct the path used to locate linker
812 plugins.
813
1dbade74
SD
8142019-03-13 Sudakshina Das <sudi.das@arm.com>
815
816 * NEWS: Document --pac-plt.
817 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
818 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
819 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
820 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
821 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
822 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
823 * testsuite/ld-aarch64/pac-plt-1.d: New test.
824 * testsuite/ld-aarch64/pac-plt-2.d: New test.
825 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
826
37c18eed
SD
8272019-03-13 Sudakshina Das <sudi.das@arm.com>
828 Szabolcs Nagy <szabolcs.nagy@arm.com>
829
830 * NEWS: Document --force-bti.
831 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
832 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
833 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
834 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
835 * testsuite/ld-aarch64/bti-plt-1.d: New test.
836 * testsuite/ld-aarch64/bti-plt-1.s: New test.
837 * testsuite/ld-aarch64/bti-plt-2.d: New test.
838 * testsuite/ld-aarch64/bti-plt-3.d: New test.
839 * testsuite/ld-aarch64/bti-plt-4.d: New test.
840 * testsuite/ld-aarch64/bti-plt-5.d: New test.
841 * testsuite/ld-aarch64/bti-plt-6.d: New test.
842 * testsuite/ld-aarch64/bti-plt-7.d: New test.
843 * testsuite/ld-aarch64/bti-plt-so.s: New test.
844 * testsuite/ld-aarch64/bti-plt.ld: New test.
845
cd702818
SD
8462019-03-13 Sudakshina Das <sudi.das@arm.com>
847
848 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
849 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
850 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
851 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
852 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
853 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
854 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
855 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
856
44b27f95
L
8572019-03-13 H.J. Lu <hongjiu.lu@intel.com>
858
859 PR ld/24322
860 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
861 * testsuite/ld-x86-64/x86-64.exp: Likewise.
862 * testsuite/ld-i386/pr24322a.d: New file.
863 * testsuite/ld-i386/pr24322b.d: Likewise.
864 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
865 * testsuite/ld-x86-64/pr24322a.d: Likewise.
866 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
867 * testsuite/ld-x86-64/pr24322b.d: Likewise.
868 * testsuite/ld-x86-64/pr24322a.s: Likewise.
869 * testsuite/ld-x86-64/pr24322b.s: Likewise.
870 * testsuite/ld-x86-64/pr24322c.s: Likewise.
871
912ebfa0
NB
8722019-03-06 Nick Bowler <nbowler@draconx.ca>
873
874 PR 24289
875 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
876 attributes during the first phase.
877
24801b15
AK
8782019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
879
880 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
881 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
882
883 PR 20113
884 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
885 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
886 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
887 * testsuite/ld-s390/tlsbin.dd: Likewise.
888 * testsuite/ld-s390/tlsbin.rd: Likewise.
889 * testsuite/ld-s390/tlsbin.sd: Likewise.
890 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
891 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
892 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
893 * testsuite/ld-s390/tlspic.dd: Likewise.
894 * testsuite/ld-s390/tlspic.rd: Likewise.
895 * testsuite/ld-s390/tlspic.sd: Likewise.
896 * testsuite/ld-s390/tlspic_64.dd: Likewise.
897 * testsuite/ld-s390/tlspic_64.rd: Likewise.
898 * testsuite/ld-s390/tlspic_64.sd: Likewise.
899 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
900
5cfe428c
L
9012019-02-27 H.J. Lu <hongjiu.lu@intel.com>
902
903 PR ld/24276
904 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
905 * testsuite/ld-x86-64/x86-64.exp: Likewise.
906 * testsuite/ld-i386/pr24276.dso: New file.
907 * testsuite/ld-i386/pr24276.warn: Likewise.
908 * testsuite/ld-x86-64/pr24276.dso: Likewise.
909 * testsuite/ld-x86-64/pr24276.warn: Likewise.
910
eed62915
MF
9112019-02-20 Eric Tsai <erictsai@cadence.com>
912
913 * testsuite/ld-xtensa/call_overflow.d: New test definition.
914 * testsuite/ld-xtensa/call_overflow1.s: New test source.
915 * testsuite/ld-xtensa/call_overflow2.s: New test source.
916 * testsuite/ld-xtensa/call_overflow3.s: New test source.
917 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
918
abc163a4
TS
9192019-02-14 Thomas Schwinge <thomas@codesourcery.com>
920
921 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
922
e4865945
NC
9232019-02-12 Nick Clifton <nickc@redhat.com>
924
925 * po/fr.po: Updated French translation.
926
a0e90a73
CZ
9272019-02-09 Vineet Gupta <vgupta@synopsys.com>
928
929 * emultempl/arclinux.em: Delete special INIT/FINI handling.
930
5d3db3e2
NC
9312019-02-07 Nick Clifton <nickc@redhat.com>
932
933 PR 24175
934 * ld.texi (Options): Add missing word to the description of the
935 --start-group option.
936
4249a53c
AM
9372019-02-06 Alan Modra <amodra@gmail.com>
938
939 PR ld/24008
940 * testsuite/ld-scripts/pr24008.d: Pass with extra target
941 defined symbols.
942
83924b38
L
9432019-02-05 H.J. Lu <hongjiu.lu@intel.com>
944
945 PR ld/24151
946 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
947 * testsuite/ld-x86-64/pr24151a.d: Likewise.
948 * testsuite/ld-x86-64/pr24151a.s: Likewise.
949 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
950
4f4690cd
AM
9512019-01-31 Alan Modra <amodra@gmail.com>
952
953 * NEWS: Mention -t change.
954 * ld.texi (--trace/-t): Expand documentation a little.
955
ad0f979c
L
9562019-01-29 H.J. Lu <hongjiu.lu@intel.com>
957
958 PR ld/24008
959 * testsuite/ld-scripts/defined.exp: Run pr24008.
960 * testsuite/ld-scripts/pr24008.d: New file.
961 * testsuite/ld-scripts/pr24008.map: Likewise.
962 * testsuite/ld-scripts/pr24008.s: Likewise.
963 * testsuite/ld-scripts/pr24008.t: Likewise.
964
c49829c3
EB
9652019-01-29 Eric Botcazou <ebotcazou@adacore.com>
966
967 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
968
6a846243
AM
9692019-01-28 Alan Modra <amodra@gmail.com>
970
971 PR 24008
972 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
973 * ldexp.c (fold_name): Move expld.assign_name check later to
974 avoid an extra lookup.
975 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
976 values, and don't clear expld.assign_name.
977 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
978 (print_assignment): Resolve entire assignment expression.
979 Don't access symbol u.def unless symbol is defined.
980
9ed1348c
NC
9812019-01-25 Nick Clifton <nickc@redhat.com>
982
983 * po/bg.po: Updated Bulgarian translation.
984
6406a270
SH
9852019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
986
987 * ld.texi (--wrap): Add warning that LTO may make this feature
988 ineffective.
989
375cd423
NC
9902019-01-21 Nick Clifton <nickc@redhat.com>
991
992 * po/uk.po: Updated Ukranian translation.
a6c9b404 993 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 994
acef8081
YC
9952019-01-21 Nick Clifton <nickc@redhat.com>
996
997 PR 24108
998 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
999 expected error message.
1000
f48dfe41
NC
10012019-01-19 Nick Clifton <nickc@redhat.com>
1002
1003 * configure: Regenerate.
1004 * po/ld.pot: Regenerate.
1005
f974f26c
NC
10062018-06-24 Nick Clifton <nickc@redhat.com>
1007
1008 2.32 branch created.
1009
7d7a7d7c
JW
10102019-01-16 Kito Cheng <kito@andestech.com>
1011
1012 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
1013 section.
1014 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
1015 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
1016 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
1017 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
1018 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1019 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
1020 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
1021 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1022 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
1023 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
1024 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1025 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
1026 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
1027 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1028 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1029 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1030 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
1031 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
1032 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
1033 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
1034 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
1035 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1036 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1037 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
1038 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
1039 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1040 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
1041 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
1042 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1043 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
1044 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
1045 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1046 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
1047 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
1048 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1049 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
1050 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
1051
5a12586d
MT
10522019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1053
f466c305 1054 PR 20113
5a12586d
MT
1055 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1056 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1057 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1058 * testsuite/ld-s390/tlsbin.dd: Likewise.
1059 * testsuite/ld-s390/tlsbin.rd: Likewise.
1060 * testsuite/ld-s390/tlsbin.sd: Likewise.
1061 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1062 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1063 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1064 * testsuite/ld-s390/tlspic.dd: Likewise.
1065 * testsuite/ld-s390/tlspic.rd: Likewise.
1066 * testsuite/ld-s390/tlspic.sd: Likewise.
1067 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1068 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1069 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 1070 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 1071
4ea904ed
SH
10722019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1073
1074 * ld.texi (--wrap): Add example to emphasise that only undefined
1075 references are replaced by the linker.
1076
8379fac6
NC
10772019-01-09 Nick Clifton <nickc@redhat.com>
1078
1079 * po/es.po: Updated Spanish translation.
1080
3107326d
AP
10812019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1082
1083 * configure: Regenerate.
1084
171b8e19
AM
10852019-01-08 Alan Modra <amodra@gmail.com>
1086
1087 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1088 generated source file names.
1089 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1090
82704155
AM
10912019-01-01 Alan Modra <amodra@gmail.com>
1092
1093 Update year range in copyright notice of all files.
1094
d5c04e1b 1095For older changes see ChangeLog-2018
3499769a 1096\f
d5c04e1b 1097Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1098
1099Copying and distribution of this file, with or without modification,
1100are permitted in any medium without royalty provided the copyright
1101notice and this notice are preserved.
1102
1103Local Variables:
1104mode: change-log
1105left-margin: 8
1106fill-column: 74
1107version-control: never
1108End:
This page took 0.327212 seconds and 4 git commands to generate.