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