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