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