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