binutils testsuite test for ELF32 vs ELF64
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
0c628bba
SP
12019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2
3 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
4 allow for output from a arm-none-linux-gnueabihf target.
5
9ab3a744
AM
62019-07-20 Alan Modra <amodra@gmail.com>
7
8 PR 24827
9 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
10
c213164a
AM
112019-07-19 Alan Modra <amodra@gmail.com>
12
13 * testsuite/ld-powerpc/tlsgd.d,
14 * testsuite/ld-powerpc/tlsgd.s,
15 * testsuite/ld-powerpc/tlsie.d,
16 * testsuite/ld-powerpc/tlsie.s,
17 * testsuite/ld-powerpc/tlsld.d,
18 * testsuite/ld-powerpc/tlsld.s: New tests.
19 * testsuite/ld-powerpc/powerpc.exp: Run them.
20
7a708984
AM
212019-07-19 Alan Modra <amodra@gmail.com>
22
23 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
24 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
25 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
26 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
27 * testsuite/ld-powerpc/powerpc.exp: Update.
28
88468fe0
AM
292019-07-19 Alan Modra <amodra@gmail.com>
30
31 PR 24819
32 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
33
54d7dae5
L
342019-07-18 H.J. Lu <hongjiu.lu@intel.com>
35
36 PR ld/24819
37 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
38 member of output section group when doing a relocatable link.
39 * testsuite/ld-elf/pr24819.d: New file.
40 * testsuite/ld-elf/pr24819.s: Likewise.
41
f26a3287
AM
422019-07-13 Alan Modra <amodra@gmail.com>
43
44 * testsuite/ld-powerpc/tlsso.r: Update.
45 * testsuite/ld-powerpc/tlsso32.g: Update.
46 * testsuite/ld-powerpc/tlsso32.r: Update.
47 * testsuite/ld-powerpc/tlstocso.r: Update.
48 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
49 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
50 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
51 * testsuite/ld-cris/tls-gd-1.d: Update.
52 * testsuite/ld-cris/tls-gd-1h.d: Update.
53 * testsuite/ld-cris/tls-gd-2.d: Update.
54 * testsuite/ld-cris/tls-gd-2h.d: Update.
55 * testsuite/ld-cris/tls-ie-10.d: Update.
56 * testsuite/ld-cris/tls-ie-11.d: Update.
57 * testsuite/ld-cris/tls-ie-8.d: Update.
58 * testsuite/ld-cris/tls-ie-9.d: Update.
59 * testsuite/ld-cris/tls-js1.d: Update.
60 * testsuite/ld-cris/tls-ld-4.d: Update.
61 * testsuite/ld-cris/tls-ld-5.d: Update.
62 * testsuite/ld-cris/tls-ld-6.d: Update.
63 * testsuite/ld-cris/tls-ld-7.d: Update.
64 * testsuite/ld-cris/tls-ldgd-14.d: Update.
65 * testsuite/ld-cris/tls-ldgd-15.d: Update.
66 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
67 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
68 * testsuite/ld-cris/tls-local-54.d: Update.
69 * testsuite/ld-cris/tls-local-60.d: Update.
70 * testsuite/ld-cris/tls-local-61.d: Update.
71 * testsuite/ld-cris/tls-local-63.d: Update.
72 * testsuite/ld-cris/tls-local-64.d: Update.
73 * testsuite/ld-cris/tls-ok-30.d: Update.
74 * testsuite/ld-cris/tls-ok-32.d: Update.
75 * testsuite/ld-cris/tls-ok-34.d: Update.
76 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
77 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
78 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
79 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
80 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
81 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
82 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
83 * testsuite/ld-s390/tlspic.rd: Update.
84 * testsuite/ld-s390/tlspic_64.rd: Update.
85 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
86 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
87 * testsuite/ld-sparc/tlssunpic32.rd: Update.
88 * testsuite/ld-sparc/tlssunpic64.rd: Update.
89
7b243801
AM
902019-07-13 Alan Modra <amodra@gmail.com>
91
92 PR 24786
93 * ldlang.h (enum section_type): Add first_overlay_section.
94 * ldlang.c (lang_add_section): Adjust switch statement.
95 (map_input_to_output_sections): Likewise.
96 (lang_size_sections_1): Always set last_os for first overlay section.
97 (lang_leave_overlay): Set sectype to first_overlay_section.
98
3836e1d1
AM
992019-07-08 Alan Modra <amodra@gmail.com>
100
101 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
102 * testsuite/ld-powerpc/callstub-2.d: Likewise.
103
f2d4ba38
JB
1042019-07-04 Jan Beulich <jbeulich@suse.com>
105
106 * testsuite/ld-elf/group9.s: Correct argument of .type.
107
125f83f6
NC
1082019-07-02 Nick Clifton <nickc@redhat.com>
109
110 PR 24753
111 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
112 LINKER_CREATED section flag when creating the stub section.
113
bb32413f
SP
1142019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
115
116 * testsuite/ld-arm/arm-elf.exp: Add tests.
117 * testsuite/ld-arm/cmse_main.s: New test.
118 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
119 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
120
539300fb
NC
1212019-07-01 Nick Clifton <nickc@redhat.com>
122
123 PR 23839
124 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
125 exidx relocs.
126
60d53d7f
AM
1272019-06-28 Alan Modra <amodra@gmail.com>
128
129 * testsuite/ld-powerpc/callstub-1.d,
130 * testsuite/ld-powerpc/callstub-1.s: New test.
131 * testsuite/ld-powerpc/callstub-2.d,
132 * testsuite/ld-powerpc/callstub-2.s: New test.
133 * testsuite/ld-powerpc/powerpc.exp: Run them.
134
8e5cb9a5
JB
1352019-06-25 Jan Beulich <jbeulich@suse.com>
136
137 * plugin.c (get_lto_kind, get_lto_resolution,
138 get_lto_visibility): Rename "index" to "idx".
139
f93ab3a0
L
1402019-06-24 H.J. Lu <hongjiu.lu@intel.com>
141
142 PR ld/24721
143 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
144 * testsuite/ld-x86-64/pr24721-x32.d: New file.
145 * testsuite/ld-x86-64/pr24721.d: Likewise.
146 * testsuite/ld-x86-64/pr24721.map: Likewise.
147 * testsuite/ld-x86-64/pr24721a.s: Likewise.
148 * testsuite/ld-x86-64/pr24721b.s: Likewise.
149
bb22a418
AM
1502019-06-23 Alan Modra <amodra@gmail.com>
151
152 PR 24704
153 * testsuite/ld-powerpc/elfv2exe.d: Update.
154 * testsuite/ld-powerpc/elfv2so.d: Update.
155
e30d1fa1
SN
1562019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
157
158 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
159 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
160 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
161 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
162 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
163
3a3a077c
AM
1642019-06-14 Alan Modra <amodra@gmail.com>
165
166 * Makefile.in: Regenerate.
167 * configure: Regenerate.
168
e3fa7860
AM
1692019-06-14 Alan Modra <amodra@gmail.com>
170
171 PR 24662
172 * testsuite/ld-alpha/tlsbin.rd: Update.
173 * testsuite/ld-alpha/tlsbinr.rd: Update.
174 * testsuite/ld-alpha/tlspic.rd: Update.
175
c1b00498
MR
1762019-06-07 Maciej W. Rozycki <macro@wdc.com>
177
178 * ld.texi (Options): Also document `-rpath' option restrictions
179 in the description of the option itself.
180
237df8fe
SD
1812019-06-06 Sudakshina Das <sudi.das@arm.com>
182
183 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
184 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
185 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
186 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
187
8bf6d176
SD
1882019-06-06 Sudakshina Das <sudi.das@arm.com>
189
190 * NEWS: Update options names.
191 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
192 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
193 (PARSE_AND_LIST_OPTIONS): Update to -z.
194 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
195 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
196 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
197 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
198 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
199 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
200 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
201 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
202 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
203 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
204 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
205 * testsuite/ld-aarch64/bti-warn.d: Likewise.
206 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
207 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
208
ae9ac79e
NC
2092019-05-30 Nick Clifton <nickc@redhat.com>
210
211 PR 24627
212 * testsuite/ld-elf/ver_def.vd: Update expected output.
213
6ff185b8
AM
2142019-05-30 Alan Modra <amodra@gmail.com>
215
216 PR 24596
217 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
218 (EXTRA_EM_FILE): Define to genelf.
219 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
220
1336939d
AM
2212019-05-30 Alan Modra <amodra@gmail.com>
222
223 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
224 calls in optional "xfail" args.
225 (run_ld_link_exec_tests): Likewise.
226 (is_generic): New.
227 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
228 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
229 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
230 xfail_implib var.
231 * testsuite/ld-elf/sec64k.exp: Use is_generic.
232 * testsuite/ld-elf/shared.exp: Likewise.
233 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
234 * testsuite/ld-discard/start.d: Likewise.
235 * testsuite/ld-discard/static.d: Likewise.
236 * testsuite/ld-elf/attributes.d: Likewise.
237 * testsuite/ld-elf/group1.d: Likewise.
238 * testsuite/ld-elf/group3b.d: Likewise.
239 * testsuite/ld-elf/group8a.d: Likewise.
240 * testsuite/ld-elf/group8b.d: Likewise.
241 * testsuite/ld-elf/group9a.d: Likewise.
242 * testsuite/ld-elf/group9b.d: Likewise.
243 * testsuite/ld-elf/linkonce2.d: Likewise.
244 * testsuite/ld-elf/merge2.d: Likewise.
245 * testsuite/ld-elf/merge3.d: Likewise.
246 * testsuite/ld-elf/pr12851.d: Likewise.
247 * testsuite/ld-elf/pr12975.d: Likewise.
248 * testsuite/ld-elf/pr13177.d: Likewise.
249 * testsuite/ld-elf/pr13195.d: Likewise.
250 * testsuite/ld-elf/pr17550c.d: Likewise.
251 * testsuite/ld-elf/pr17550d.d: Likewise.
252 * testsuite/ld-elf/pr17615.d: Likewise.
253 * testsuite/ld-elf/pr21562a.d: Likewise.
254 * testsuite/ld-elf/pr21562b.d: Likewise.
255 * testsuite/ld-elf/pr21562c.d: Likewise.
256 * testsuite/ld-elf/pr21562d.d: Likewise.
257 * testsuite/ld-elf/pr21562i.d: Likewise.
258 * testsuite/ld-elf/pr21562j.d: Likewise.
259 * testsuite/ld-elf/pr21562k.d: Likewise.
260 * testsuite/ld-elf/pr21562l.d: Likewise.
261 * testsuite/ld-elf/pr21562m.d: Likewise.
262 * testsuite/ld-elf/pr21562n.d: Likewise.
263 * testsuite/ld-elf/pr22677.d: Likewise.
264 * testsuite/ld-elf/pr22836-1a.d: Likewise.
265 * testsuite/ld-elf/pr22836-1b.d: Likewise.
266 * testsuite/ld-elf/warn3.d: Likewise.
267 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
268 targets rather than notarget.
269 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
270 * testsuite/ld-elf/orphan-10.d: Likewise.
271 * testsuite/ld-elf/orphan-9.d: Likewise.
272 * testsuite/ld-elf/orphan-region.d: Likewise.
273 * testsuite/ld-elf/orphan.d: Likewise.
274 * testsuite/ld-elf/orphan3.d: Likewise.
275 * testsuite/ld-elf/pr20528a.d: Likewise.
276 * testsuite/ld-elf/pr20528b.d: Likewise.
277 * testsuite/ld-elf/pr23658-1a.d: Likewise.
278 * testsuite/ld-elf/pr23658-1b.d: Likewise.
279 * testsuite/ld-elf/pr349.d: Likewise.
280 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
281 targets rather than notarget.
282 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
283
1e129bbe
FS
2842019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
285
286 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
287 for pcrel_hi/pcrel_lo.
288 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
289 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
290 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
291 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
292 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
293
eabf307f
AM
2942019-05-28 Alan Modra <amodra@gmail.com>
295
296 PR 24596
297 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
298 the output is coff before accessing coff tdata.
299 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
300
65f381e7
SN
3012019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
302
303 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
304 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
305
3d7d6a6f
AM
3062019-05-27 Alan Modra <amodra@gmail.com>
307
308 PR 24596
309 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
310 BFS_KEEP on group signature symbol.
311
823710d5
SN
3122019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
313
314 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
315 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
316 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
317 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
318 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
319 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
320 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
321
405b5bd8
AM
3222019-05-24 Alan Modra <amodra@gmail.com>
323
324 * po/BLD-POTFILES.in: Regenerate.
325
04bdff6a
AM
3262019-05-24 Alan Modra <amodra@gmail.com>
327
328 * testsuite/ld-powerpc/notoc2.d,
329 * testsuite/ld-powerpc/notoc2.s: New test.
330 * testsuite/ld-powerpc/powerpc.exp: Run it.
331
4a421c53
AM
3322019-05-24 Alan Modra <amodra@gmail.com>
333
334 * testsuite/ld-powerpc/pcrelopt.s,
335 * testsuite/ld-powerpc/pcrelopt.d,
336 * testsuite/ld-powerpc/pcrelopt.sec: New test.
337 * testsuite/ld-powerpc/powerpc.exp: Run it.
338
8376927b
JM
3392019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
340
341 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
342 * Makefile.in (prefix): Regenerate.
343 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
344 * emulparams/elf64bpf.sh: New file.
345 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
346 bpf-*-* to the list of targets not supporting gc-sections.
347 * testsuite/ld-bpf/bar.s: New file.
348 * testsuite/ld-bpf/jump-1.d: Likewise.
349 * testsuite/ld-bpf/foo.s: Likewise.
350 * testsuite/ld-bpf/call-1.d: Likewise.
351 * testsuite/ld-bpf/bpf.exp: Likewise.
352 * testsuite/ld-bpf/baz.s: Likewise.
353
82d7a6f4
AM
3542019-05-23 Alan Modra <amodra@gmail.com>
355
356 PR 24576
357 * ldfile.c (enum script_open_style): New.
358 (struct script_name_list): New.
359 (ldfile_open_command_file_1): Take a script_open_style param
360 rather than booleans. Adjust callers. Only fail when -T or
361 default -T script is invoked twice.
362 (ldfile_try_open_bfd): Revert last change.
363
6ec6968b
NC
3642019-05-22 Julius Werner <jwerner@chromium.org>
365 Nick Clifton <nickc@redhat.com>
366
367 PR 24576
368 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
369 is_script. If true check that the file has not already been
370 parsed as a linker script.
371 (ldfile_open_script_file): New function.
372 (ldfile_try_open_bfd): Use the new function in place of
373 ldfile_open_command_line.
374 * ldmain.c (main): Likewise.
375 * lexsup.c (parse_args): Use the new function for opening linker
376 scripts with the -T option.
377 * ldfile.h (ldfile_open_script_file): Add prototype.
378
b474a202
FS
3792019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
380
381 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
382 %tprel_hi and %tprel_lo relocations.
383 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
384 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
385 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
386 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
387 script file.
388
304f09d0
FS
3892019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
390
391 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
392 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
393 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
394 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
395 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
396 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
397 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
398
3734320d
MF
3992019-05-21 Matthew Fortune <matthew.fortune@mips.com>
400 Faraz Shahbazker <fshahbazker@wavecomp.com>
401
402 * emultempl/mipself.em (compact_branches): New static variable.
403 (mips_create_output_section_statements): Call
404 _bfd_mips_elf_compact_branches.
405 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
406 OPTION_NO_COMPACT_BRANCHES.
407 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
408 no-compact-branches.
409 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
410 --no-compact-branches.
411 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
412 * ld.texinfo: Document --compact-branches, --no-compact-branches.
413 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
414 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
415 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
416 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
417 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
418 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
419 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
420
e6f65e75
AV
4212019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
422
423 * testsuite/ld-arm/arm-elf.exp: Add tests
424 * testsuite/ld-arm/bfs-0.s: New test.
425 * testsuite/ld-arm/bfs-1.s: New test.
426 * testsuite/ld-arm/branch-futures.d: New test.
427
739b5c9c
TC
4282019-05-21 Tamar Christina <tamar.christina@arm.com>
429
430 PR ld/24373
431 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
432 to flags.
433 * NEWS: Add changes to flag.
434 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
435 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
436 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
437 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
438 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
439 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
440 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
441 * testsuite/ld-aarch64/erratum843419-far.s: New test.
442 * testsuite/ld-aarch64/erratum843419-full.d: New test.
443 * testsuite/ld-aarch64/erratum843419-near.s: New test.
444 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
445
7622049e
SKS
4462019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
447
448 PR ld/24571
449 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
450 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
451
338ba755
SKS
4522019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
453
454 PR ld/24564
455 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
456 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
457
d8734380
FS
4582019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
459
460 PR 14798
461 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
462 global code symbols.
463 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
464
af4fa23f
AM
4652019-05-17 Alan Modra <amodra@gmail.com>
466
467 PR 24567
468 * plugin.c (plugin_notice): Do not let a common symbol override
469 a non-common definition in IR.
470
dd318999
DD
4712019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
472
473 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
474 Rename.
475
46752c37
PS
4762019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
477
478 PR 24536
479 * ldbuildid.c (generate_build_id): Cast return value from
480 GetProcAddress in order to avoid a compile time warning.
481
e1cbf07a
AM
4822019-05-06 Alan Modra <amodra@gmail.com>
483
484 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
485
27cdfa03
AM
4862019-05-04 Alan Modra <amodra@gmail.com>
487
488 * testsuite/ld-scripts/fill.d: Don't xfail m32c
489 * testsuite/ld-scripts/fill16.d: Likewise.
490
a288c270
AM
4912019-05-04 Alan Modra <amodra@gmail.com>
492
493 PR 24511
494 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
495 data section on hppa64.
496 * testsuite/ld-elf/pr14156b.d: Likewise.
497 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
498 output section flags.
499 * testsuite/ld-scripts/sane1.t: Likewise.
500 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
501 and __fini_array_start. Define __start et al.
502 * testsuite/ld-elf/pr24511.d: New test.
503
066f4018
AM
5042019-04-30 Alan Modra <amodra@gmail.com>
505
506 * testsuite/ld-powerpc/elfv2exe.d: Update.
507 * testsuite/ld-powerpc/elfv2so.d: Update.
508 * testsuite/ld-powerpc/tocopt.d: Update.
509 * testsuite/ld-powerpc/tocopt.s: Update.
510 * testsuite/ld-powerpc/tocopt5.d: Update.
511 * testsuite/ld-powerpc/tocopt5.s: Update.
512 * testsuite/ld-powerpc/tocopt7.d: Update.
513 * testsuite/ld-powerpc/tocopt7.s: Update.
514 * testsuite/ld-powerpc/tocopt8.d: Update.
515 * testsuite/ld-powerpc/tocopt8.s: Update.
516
06ddcada
AM
5172019-04-30 Alan Modra <amodra@gmail.com>
518
519 * ld.texi (How GNU properties are merged): Avoid pod2man error.
520 Correct example.
521
c54f1524
L
5222019-04-26 H.J. Lu <hongjiu.lu@intel.com>
523
524 PR ld/24486
525 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
526 * testsuite/ld-plugin/pr24486a.c: New file.
527 * testsuite/ld-plugin/pr24486b.c: Likewise.
528 * testsuite/ld-plugin/pr24486c.c: Likewise.
529
8e1920d6
NC
5302019-04-26 Nick Clifton <nickc@redhat.com>
531
532 * po/ru.po: Updated Russian translation.
533
a094d01f
CY
5342019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
535
536 * ld.texi: Properly hyphenate the word "specific".
537
6fe014bc
L
5382019-04-25 H.J. Lu <hongjiu.lu@intel.com>
539
540 PR ld/24406
541 * ld.texi: Remove LTO warning from --wrap.
542 * plugin.c (get_symbols): Update resolution for wrapper and
543 wrapped symbols.
544 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
545 * testsuite/ld-plugin/pr24406-1.c: New file.
546 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
547 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
548
68bb0359
SD
5492019-04-25 Sudakshina Das <sudi.das@arm.com>
550
551 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
552 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
553 * testsuite/ld-aarch64/bti-plt-1.d: Update.
554 * testsuite/ld-aarch64/bti-plt-3.d: Update.
555 * testsuite/ld-aarch64/bti-plt-5.d: Update.
556 * testsuite/ld-aarch64/pac-plt-1.d: Update.
557 * testsuite/ld-aarch64/pac-plt-2.d: Update.
558
44ed8092
SL
5592019-04-24 Sandra Loosemore <sandra@codesourcery.com>
560
561 * testsuite/config/default.exp: Use [check_compiler_available]
562 instead of [which $CC].
563 * testsuite/ld-auto-import/auto-import.exp: Likewise.
564 * testsuite/ld-cygwin/exe-export.exp: Likewise.
565 * testsuite/ld-elf/audit.exp: Likewise.
566 * testsuite/ld-elf/compress.exp: Likewise.
567 * testsuite/ld-elf/dwarf.exp: Likewise.
568 * testsuite/ld-elf/elf.exp: Likewise.
569 * testsuite/ld-elf/indirect.exp: Likewise.
570 * testsuite/ld-elf/linux-x86.exp: Likewise.
571 * testsuite/ld-elf/shared.exp: Likewise.
572 * testsuite/ld-elf/tls.exp: Likewise.
573 * testsuite/ld-elf/wrap.exp: Likewise.
574 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
575 * testsuite/ld-elfvers/vers.exp: Likewise.
576 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
577 * testsuite/ld-elfweak/elfweak.exp: Likewise.
578 * testsuite/ld-gc/gc.exp: Likewise.
579 * testsuite/ld-i386/i386.exp: Likewise.
580 * testsuite/ld-i386/no-plt.exp: Likewise.
581 * testsuite/ld-i386/tls.exp: Likewise.
582 * testsuite/ld-ifunc/ifunc.exp: Likewise.
583 * testsuite/ld-mn10300/mn10300.exp: Likewise.
584 * testsuite/ld-pe/pe-compile.exp: Likewise.
585 * testsuite/ld-pe/pe-run.exp: Likewise.
586 * testsuite/ld-pe/pe-run2.exp: Likewise.
587 * testsuite/ld-pie/pie.exp: Likewise.
588 * testsuite/ld-plugin/lto.exp: Likewise.
589 * testsuite/ld-plugin/plugin.exp: Likewise.
590 * testsuite/ld-scripts/crossref.exp: Likewise.
591 * testsuite/ld-sh/sh.exp: Likewise.
592 * testsuite/ld-shared/shared.exp: Likewise.
593 * testsuite/ld-size/size.exp: Likewise.
594 * testsuite/ld-srec/srec.exp: Likewise.
595 * testsuite/ld-undefined/undefined.exp: Likewise.
596 * testsuite/ld-unique/unique.exp: Likewise.
597 * testsuite/ld-x86-64/mpx.exp: Likewise.
598 * testsuite/ld-x86-64/no-plt.exp: Likewise.
599 * testsuite/ld-x86-64/tls.exp: Likewise.
600 * testsuite/ld-x86-64/x86-64.exp: Likewise.
601 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
602 check_compiler_available before trying to use the compiler.
603 (run_cc_link_tests): Likewise.
604 (check_compiler_available): New. Use it instead of [which $CC].
605
cc9519e7
AM
6062019-04-23 Alan Modra <amodra@gmail.com>
607
608 * Makefile.am (GENDEPDIR): New var, used..
609 (GENSCRIPTS): ..here.
610 * Makefile.in: Regenerate.
611 * genscripts.sh: Test for $DEPDIR set before every use.
612
6f38008b
MF
6132019-04-22 Matthew Fortune <matthew.fortune@mips.com>
614
615 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
616 for M5100.
617
fce97736
AM
6182019-04-19 Alan Modra <amodra@gmail.com>
619
620 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
621 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
622 s12z to list of targets not supporting --gc-sections.
623
9a7f0679
L
6242019-04-17 H.J. Lu <hongjiu.lu@intel.com>
625
626 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
627 of pr18801.
628 * testsuite/ld-x86-64/x86-64.exp: Likewise.
629 * testsuite/ld-i386/pr18801.d: Removed.
630 * testsuite/ld-x86-64/pr18801.d: Likewise.
631 * testsuite/ld-i386/pr18801a.d: New file.
632 * testsuite/ld-i386/pr18801b.d: Likewise.
633 * testsuite/ld-x86-64/pr18801a.d: Likewise.
634 * testsuite/ld-x86-64/pr18801b.d: Likewise.
635 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
636 * testsuite/ld-x86-64/pie2.d: Likewise.
637 * testsuite/ld-x86-64/pr19719.d: Likewise.
638 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
639 * testsuite/ld-x86-64/pr19969.d: Likewise.
640 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
641 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
642 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
643 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
644 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
645
4e84a8f8
L
6462019-04-17 H.J. Lu <hongjiu.lu@intel.com>
647
648 PR ld/24458
649 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
650 * testsuite/ld-x86-64/pr24458.s: New file.
651 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
652 * testsuite/ld-x86-64/pr24458a.d: Likewise.
653 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
654 * testsuite/ld-x86-64/pr24458b.d: Likewise.
655 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
656 * testsuite/ld-x86-64/pr24458c.d: Likewise.
657
e25de718
JL
6582019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
659
660 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
661 symbol when .lower.bss or .either.bss sections exist.
662 Define __crt0_movedata when .lower.data or .either.data sections exist.
663 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
664 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
665 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
666 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
667 * testsuite/gas/msp430/msp430.exp: Run new tests.
668 Enable large code model when running -mdata-region={upper,either}
669 tests.
670
a0fb9615
AM
6712019-04-16 Alan Modra <amodra@gmail.com>
672
673 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
674 * testsuite/ld-scripts/section-match-1.d: Likewise.
675 * testsuite/ld-undefined/require-defined.exp: Likewise.
676
86333705
FS
6772019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
678
679 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
680 targets.
681
f6b2b12d
AV
6822019-04-15 Sudakshina Das <sudi.das@arm.com>
683
684 * testsuite/ld-arm/bfcsel.s: New.
685 * testsuite/ld-arm/bfcsel.d: New.
686 * testsuite/ld-arm/arm-elf.exp: Add above test.
687
65d1bc05
AV
6882019-04-15 Sudakshina Das <sudi.das@arm.com>
689
690 * testsuite/ld-arm/bfl.s: New.
691 * testsuite/ld-arm/bfl.d: New.
692 * testsuite/ld-arm/arm-elf.exp: Add above test.
693
4389b29a
AV
6942019-04-15 Sudakshina Das <sudi.das@arm.com>
695
696 * testsuite/ld-arm/bf.s: New.
697 * testsuite/ld-arm/bf.d: New.
698 * testsuite/ld-arm/arm-elf.exp: Add above test.
699
031254f2
AV
7002019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
701
702 * testsuite/ld-arm/attr-merge-13.attr: New test.
703 * testsuite/ld-arm/attr-merge-13a.s: New test.
704 * testsuite/ld-arm/attr-merge-13b.s: New test.
705
c40e31a1
AM
7062019-04-13 Alan Modra <amodra@gmail.com>
707
708 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
709 DEPDIR parameter.
710 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
711 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
712 $GEN_DEPENDS.
713 (e*.c): Delete all dependencies, instead include dependencies
714 from $DEPDIR/*.Pc.
715 * Makefile.in: Regenerate.
716 * configure.ac (source_sh): Define and use function.
717 * configure: Regenerate.
718 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
719 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
720 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
721 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
722 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
723 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
724 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
725 * emulparams/armelf_linux_eabi.sh,
726 * emulparams/armelf_linux_fdpiceabi.sh,
727 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
728 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
729 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
730 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
731 * emulparams/armelfb_linux_fdpiceabi.sh,
732 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
733 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
734 * emulparams/elf32_sparc_sol2.sh,
735 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
736 * emulparams/elf32_tic6x_elf_be.sh,
737 * emulparams/elf32_tic6x_elf_le.sh,
738 * emulparams/elf32_tic6x_linux_be.sh,
739 * emulparams/elf32_tic6x_linux_le.sh,
740 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
741 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
742 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
743 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
744 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
745 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
746 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
747 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
748 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
749 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
750 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
751 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
752 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
753 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
754 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
755 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
756 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
757 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
758 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
759 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
760 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
761 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
762 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
763 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
764 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
765 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
766 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
767 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
768 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
769 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
770 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
771 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
772 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
773 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
774 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
775 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
776 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
777 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
778 * emulparams/elf_x86_64_cloudabi.sh,
779 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
780 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
781 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
782 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
783 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
784 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
785 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
786 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
787 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
788 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
789 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
790 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
791 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
792 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
793 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
794 * emulparams/shl.sh, * emulparams/shlelf.sh,
795 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
796 * emulparams/shlelf_vxworks.sh: Use source_sh.
797 * genscripts.sh: Adjust for changed parameters. Emit dependencies
798 for e*.c to .deps/*.Pc.
799 (source_sh): New function, use it throughout to source scripts.
800 * genscrba.sh (source_em): Use source_sh.
801
50ff67e6
AM
8022019-04-13 Alan Modra <amodra@gmail.com>
803
804 * configure.ac (TDIRS): Build up tdirs in this variable and
805 AC_SUBST, also using AM_SUBST_NOTMAKE.
806 * configure: Regenerate.
807 * Makefile.am (DISTCLEANFILES): Remove tdirs.
808 * Makefile.in: Regenerate.
809
3bbec4bd
NC
8102019-04-12 Nick Clifton <nickc@redhat.com>
811
812 PR 24450
813 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
814 example of section attributes.
815
035801ce
FS
8162019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
817
818 * NEWS: Mention new option --no-print-map-discarded.
819 * ld.h (ld_config_type) <print_map_discarded>: New field.
820 * ldlang.c (lang_map): Conditionally output discarded sections
821 in map files based on configuration option.
822 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
823 OPTION_NO_PRINT_MAP_DISCARDED>: New.
824 * ldmain.c (main): Enabled print_map_discarded by default.
825 * lexsup.c (ld_options): Add new command-line options.
826 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
827 OPTION_PRINT_MAP_DISCARDED>: New cases.
828 * ld.texi: Document new options.
829 * testsuite/ld-gc/gc.exp: Add new test.
830 * testsuite/ld-gc/skip-map-discarded.s: New file.
831 * testsuite/ld-gc/skip-map-discarded.d: New file.
832 * testsuite/ld-gc/skip-map-discarded.map: New file.
833
233a0083
L
8342019-04-11 H.J. Lu <hongjiu.lu@intel.com>
835
836 * ld.texi: Document -z cet-report=[none|warning|error].
837 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
838 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
839 tests.
840 * testsuite/ld-x86-64/x86-64.exp: Likewise.
841 * testsuite/ld-i386/property-x86-cet1.d: New file.
842 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
843 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
844 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
845 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
846 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
847 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
848 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
849 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
850 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
851 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
852 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
853 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
854 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
855 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
856 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
857 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
858 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
859 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
860 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
861 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
862 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
863 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
864 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
865 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
866 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
867 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
868 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
869 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
870 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
871 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
872
b3d7a867
L
8732019-04-11 H.J. Lu <hongjiu.lu@intel.com>
874
875 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
876 to "-static-pie" if target compiler supports it.
877 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
878 $STATIC_PIE_LDFLAGS isn't empty.
879 * testsuite/ld-ifunc/ifunc.exp: Likewise.
880
ce12121b
TC
8812019-04-11 Tamar Christina <tamar.christina@arm.com>
882
883 PR ld/24302
884 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
885 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
886
795e3bb7
L
8872019-04-10 H.J. Lu <hongjiu.lu@intel.com>
888
889 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
890 CREATE_PIE.
891 (__rel_iplt_start): Don't define for CREATE_PIC.
892 (__rel_iplt_end): Likewise.
893 (__rela_iplt_start): Likewise.
894 (__rela_iplt_end): Likewise.
895
e6aded7c
AM
8962019-04-10 Alan Modra <amodra@gmail.com>
897
898 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
899 powerpc-nto.
900
53b81c6d
AM
9012019-04-10 Alan Modra <amodra@gmail.com>
902
903 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
904 setting use_branch_stub false for linux.
905 (csky_elf_create_output_section_statements): Do emit this
906 function and all others in the file for linux, plus the branch
907 option control. Disable branch stubs when non-ELF.
908
c55b17b8
AM
9092019-04-10 Alan Modra <amodra@gmail.com>
910
911 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
912 (ecskyelf_linux.c): Depend on cskyelf.sh.
913 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
914 * Makefile.in: Regenerate.
915 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
916 (PAGE_SIZE): Don't define.
917 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
918 the differing variable defs/undefs.
919 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
920 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
921 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
922 (PAGE_SIZE): Don't define.
923 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
924 leaving just the differing OUTPUT_FORMAT.
925
6feda627
AM
9262019-04-10 Alan Modra <amodra@gmail.com>
927
928 * po/BLD-POTFILES.in: Regenerate.
929
c93c0e7f
L
9302019-04-08 H.J. Lu <hongjiu.lu@intel.com>
931
932 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
933 lynxos and nto targets.
934
3ae61bb6
L
9352019-04-08 H.J. Lu <hongjiu.lu@intel.com>
936
937 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
938 (eelf_i386_chaos.c): Removed.
939 * Makefile.in: Regenerated.
940 * configure.tgt: Remove i[3-7]86-*-kaos*.
941 * emulparams/elf_i386_chaos.sh: Removed.
942
da9b5f7b
L
9432019-04-08 H.J. Lu <hongjiu.lu@intel.com>
944
945 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
946 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
947
d970ee2b
AM
9482019-04-08 Alan Modra <amodra@gmail.com>
949
950 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
951 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
952 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
953
5b9c07b2
L
9542019-04-06 H.J. Lu <hongjiu.lu@intel.com>
955
956 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
957 (eelf_i386_sol2.c): Also depend on
958 $(srcdir)/emultempl/solaris2-x86.em.
959 (eelf_x86_64_sol2.c): Likewise.
960 * Makefile.in: Regenerated.
961 * emulparams/call_nop.sh: Set x86-specific linker options via
962 params.
963 * emulparams/cet.sh: Likewise.
964 * emulparams/reloc_overflow.sh: Likewise.
965 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
966 "elf-x86".
967 * emulparams/elf_i386.sh: Likewise.
968 * emulparams/elf_i386_be.sh: Likewise.
969 * emulparams/elf_i386_chaos.sh: Likewise.
970 * emulparams/elf_i386_ldso.sh: Likewise.
971 * emulparams/elf_i386_vxworks.sh: Likewise.
972 * emulparams/elf_iamcu.sh: Likewise.
973 * emulparams/elf_k1om.sh: Likewise.
974 * emulparams/elf_l1om.sh: Likewise.
975 * emulparams/elf_x86_64.sh: Likewise.
976 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
977 "solaris2-x86".
978 * emulparams/elf_x86_64_sol2.sh: Likewise.
979 * emultempl/elf-x86.em: New file.
980 * emultempl/solaris2-x86.em: Likewise.
981 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
982 set link_info.call_nop_byte.
983
c2b1c275
AM
9842019-04-05 Alan Modra <amodra@gmail.com>
985
986 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
987 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
988 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
989
1c6aafe8
AM
9902019-04-03 Alan Modra <amodra@gmail.com>
991
992 PR 24411
993 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
994 (<EXPRESSION>"/DISCARD/"): New.
995
092da96a
AM
9962019-04-03 Alan Modra <amodra@gmail.com>
997
998 * ldlex.l: Formatting.
999 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
1000 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
1001 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
1002 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
1003 (<INPUTLIST>"$SYSROOT"..): Delete rule.
1004
2487ef07
MF
10052019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1006
1007 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
1008 test definition.
1009 * testsuite/ld-xtensa/xtensa.exp
1010 (relax-undef-weak-pie-export-dynamic): Add new test.
1011
7ea79cb3 10122019-03-26 Martin Liska <mliska@suse.cz>
1013
1014 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
1015 lto_visibility_str and use then to inform about plugin-symbols.
1016 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
1017
796d6298
TC
10182019-03-25 Tamar Christina <tamar.christina@arm.com>
1019
1020 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
1021 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
1022
4e539114
SD
10232019-03-21 Sudakshina Das <sudi.das@arm.com>
1024
1025 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1026 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
1027 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
1028 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1029 * testsuite/ld-aarch64/bti-warn.d: New test.
1030
f84bd465
AM
10312019-03-21 Alan Modra <amodra@gmail.com>
1032
1033 * testsuite/ld-elf/fini2.s: Reduce alignment.
1034 * testsuite/ld-elf/fini3.s: Likewise.
1035 * testsuite/ld-elf/finin.s: Likewise.
1036 * testsuite/ld-elf/init2.s: Likewise.
1037 * testsuite/ld-elf/init3.s: Likewise.
1038 * testsuite/ld-elf/initn.s: Likewise.
1039 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
1040 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
1041
2d3181c7
AM
10422019-03-21 Alan Modra <amodra@gmail.com>
1043
1044 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
1045 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
1046 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
1047 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
1048 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
1049 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
1050 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
1051 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
1052 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
1053 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
1054 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
1055 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
1056 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
1057 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
1058 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
1059 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
1060 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
1061 SORT_NONE to .init and .fini wildcards.
1062 * scripttempl/elf32xc16x.sc,
1063 * scripttempl/elf32xc16xl.sc,
1064 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
1065 * scripttempl/elf_chaos.sc: Add .init output section.
1066 * scripttempl/elfd30v.sc: Remove duplicate .init.
1067 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
1068 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
1069 duplicate .init, and add .fini wildcard.
1070 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
1071 * ldlang.c (update_wild_statements): Special case .init and
1072 .fini in the wildcard, not the output section.
1073
980a2e42
AM
10742019-03-21 Alan Modra <amodra@gmail.com>
1075
1076 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
1077
3b6c1966
AM
10782019-03-21 Alan Modra <amodra@gmail.com>
1079
1080 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
1081 create_object_symbols_section.
1082 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
1083
28a66f07
AM
10842019-03-18 Alan Modra <amodra@gmail.com>
1085
1086 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
1087 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
1088 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
1089 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
1090
1c82ed74
NC
10912019-03-15 Nick Clifton <nickc@redhat.com>
1092
1093 PR 24262
1094 * ld.texi (-plugin): Correct the path used to locate linker
1095 plugins.
1096
1dbade74
SD
10972019-03-13 Sudakshina Das <sudi.das@arm.com>
1098
1099 * NEWS: Document --pac-plt.
1100 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
1101 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
1102 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
1103 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
1104 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
1105 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
1106 * testsuite/ld-aarch64/pac-plt-1.d: New test.
1107 * testsuite/ld-aarch64/pac-plt-2.d: New test.
1108 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
1109
37c18eed
SD
11102019-03-13 Sudakshina Das <sudi.das@arm.com>
1111 Szabolcs Nagy <szabolcs.nagy@arm.com>
1112
1113 * NEWS: Document --force-bti.
1114 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
1115 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
1116 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
1117 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
1118 * testsuite/ld-aarch64/bti-plt-1.d: New test.
1119 * testsuite/ld-aarch64/bti-plt-1.s: New test.
1120 * testsuite/ld-aarch64/bti-plt-2.d: New test.
1121 * testsuite/ld-aarch64/bti-plt-3.d: New test.
1122 * testsuite/ld-aarch64/bti-plt-4.d: New test.
1123 * testsuite/ld-aarch64/bti-plt-5.d: New test.
1124 * testsuite/ld-aarch64/bti-plt-6.d: New test.
1125 * testsuite/ld-aarch64/bti-plt-7.d: New test.
1126 * testsuite/ld-aarch64/bti-plt-so.s: New test.
1127 * testsuite/ld-aarch64/bti-plt.ld: New test.
1128
cd702818
SD
11292019-03-13 Sudakshina Das <sudi.das@arm.com>
1130
1131 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
1132 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
1133 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
1134 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
1135 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
1136 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
1137 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
1138 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
1139
44b27f95
L
11402019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 PR ld/24322
1143 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
1144 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1145 * testsuite/ld-i386/pr24322a.d: New file.
1146 * testsuite/ld-i386/pr24322b.d: Likewise.
1147 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
1148 * testsuite/ld-x86-64/pr24322a.d: Likewise.
1149 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
1150 * testsuite/ld-x86-64/pr24322b.d: Likewise.
1151 * testsuite/ld-x86-64/pr24322a.s: Likewise.
1152 * testsuite/ld-x86-64/pr24322b.s: Likewise.
1153 * testsuite/ld-x86-64/pr24322c.s: Likewise.
1154
912ebfa0
NB
11552019-03-06 Nick Bowler <nbowler@draconx.ca>
1156
1157 PR 24289
1158 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
1159 attributes during the first phase.
1160
24801b15
AK
11612019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1162
1163 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1164 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1165
1166 PR 20113
1167 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1168 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1169 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1170 * testsuite/ld-s390/tlsbin.dd: Likewise.
1171 * testsuite/ld-s390/tlsbin.rd: Likewise.
1172 * testsuite/ld-s390/tlsbin.sd: Likewise.
1173 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1174 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1175 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1176 * testsuite/ld-s390/tlspic.dd: Likewise.
1177 * testsuite/ld-s390/tlspic.rd: Likewise.
1178 * testsuite/ld-s390/tlspic.sd: Likewise.
1179 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1180 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1181 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1182 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1183
5cfe428c
L
11842019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 PR ld/24276
1187 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
1188 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1189 * testsuite/ld-i386/pr24276.dso: New file.
1190 * testsuite/ld-i386/pr24276.warn: Likewise.
1191 * testsuite/ld-x86-64/pr24276.dso: Likewise.
1192 * testsuite/ld-x86-64/pr24276.warn: Likewise.
1193
eed62915
MF
11942019-02-20 Eric Tsai <erictsai@cadence.com>
1195
1196 * testsuite/ld-xtensa/call_overflow.d: New test definition.
1197 * testsuite/ld-xtensa/call_overflow1.s: New test source.
1198 * testsuite/ld-xtensa/call_overflow2.s: New test source.
1199 * testsuite/ld-xtensa/call_overflow3.s: New test source.
1200 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
1201
abc163a4
TS
12022019-02-14 Thomas Schwinge <thomas@codesourcery.com>
1203
1204 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
1205
e4865945
NC
12062019-02-12 Nick Clifton <nickc@redhat.com>
1207
1208 * po/fr.po: Updated French translation.
1209
a0e90a73
CZ
12102019-02-09 Vineet Gupta <vgupta@synopsys.com>
1211
1212 * emultempl/arclinux.em: Delete special INIT/FINI handling.
1213
5d3db3e2
NC
12142019-02-07 Nick Clifton <nickc@redhat.com>
1215
1216 PR 24175
1217 * ld.texi (Options): Add missing word to the description of the
1218 --start-group option.
1219
4249a53c
AM
12202019-02-06 Alan Modra <amodra@gmail.com>
1221
1222 PR ld/24008
1223 * testsuite/ld-scripts/pr24008.d: Pass with extra target
1224 defined symbols.
1225
83924b38
L
12262019-02-05 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 PR ld/24151
1229 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
1230 * testsuite/ld-x86-64/pr24151a.d: Likewise.
1231 * testsuite/ld-x86-64/pr24151a.s: Likewise.
1232 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
1233
4f4690cd
AM
12342019-01-31 Alan Modra <amodra@gmail.com>
1235
1236 * NEWS: Mention -t change.
1237 * ld.texi (--trace/-t): Expand documentation a little.
1238
ad0f979c
L
12392019-01-29 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 PR ld/24008
1242 * testsuite/ld-scripts/defined.exp: Run pr24008.
1243 * testsuite/ld-scripts/pr24008.d: New file.
1244 * testsuite/ld-scripts/pr24008.map: Likewise.
1245 * testsuite/ld-scripts/pr24008.s: Likewise.
1246 * testsuite/ld-scripts/pr24008.t: Likewise.
1247
c49829c3
EB
12482019-01-29 Eric Botcazou <ebotcazou@adacore.com>
1249
1250 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
1251
6a846243
AM
12522019-01-28 Alan Modra <amodra@gmail.com>
1253
1254 PR 24008
1255 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
1256 * ldexp.c (fold_name): Move expld.assign_name check later to
1257 avoid an extra lookup.
1258 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
1259 values, and don't clear expld.assign_name.
1260 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
1261 (print_assignment): Resolve entire assignment expression.
1262 Don't access symbol u.def unless symbol is defined.
1263
9ed1348c
NC
12642019-01-25 Nick Clifton <nickc@redhat.com>
1265
1266 * po/bg.po: Updated Bulgarian translation.
1267
6406a270
SH
12682019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
1269
1270 * ld.texi (--wrap): Add warning that LTO may make this feature
1271 ineffective.
1272
375cd423
NC
12732019-01-21 Nick Clifton <nickc@redhat.com>
1274
1275 * po/uk.po: Updated Ukranian translation.
a6c9b404 1276 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 1277
acef8081
YC
12782019-01-21 Nick Clifton <nickc@redhat.com>
1279
1280 PR 24108
1281 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
1282 expected error message.
1283
f48dfe41
NC
12842019-01-19 Nick Clifton <nickc@redhat.com>
1285
1286 * configure: Regenerate.
1287 * po/ld.pot: Regenerate.
1288
f974f26c
NC
12892018-06-24 Nick Clifton <nickc@redhat.com>
1290
1291 2.32 branch created.
1292
7d7a7d7c
JW
12932019-01-16 Kito Cheng <kito@andestech.com>
1294
1295 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
1296 section.
1297 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
1298 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
1299 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
1300 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
1301 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1302 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
1303 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
1304 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1305 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
1306 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
1307 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1308 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
1309 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
1310 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1311 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1312 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1313 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
1314 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
1315 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
1316 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
1317 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
1318 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1319 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1320 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
1321 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
1322 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1323 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
1324 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
1325 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1326 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
1327 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
1328 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1329 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
1330 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
1331 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1332 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
1333 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
1334
5a12586d
MT
13352019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1336
f466c305 1337 PR 20113
5a12586d
MT
1338 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1339 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1340 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1341 * testsuite/ld-s390/tlsbin.dd: Likewise.
1342 * testsuite/ld-s390/tlsbin.rd: Likewise.
1343 * testsuite/ld-s390/tlsbin.sd: Likewise.
1344 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1345 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1346 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1347 * testsuite/ld-s390/tlspic.dd: Likewise.
1348 * testsuite/ld-s390/tlspic.rd: Likewise.
1349 * testsuite/ld-s390/tlspic.sd: Likewise.
1350 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1351 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1352 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 1353 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 1354
4ea904ed
SH
13552019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1356
1357 * ld.texi (--wrap): Add example to emphasise that only undefined
1358 references are replaced by the linker.
1359
8379fac6
NC
13602019-01-09 Nick Clifton <nickc@redhat.com>
1361
1362 * po/es.po: Updated Spanish translation.
1363
3107326d
AP
13642019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1365
1366 * configure: Regenerate.
1367
171b8e19
AM
13682019-01-08 Alan Modra <amodra@gmail.com>
1369
1370 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1371 generated source file names.
1372 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1373
82704155
AM
13742019-01-01 Alan Modra <amodra@gmail.com>
1375
1376 Update year range in copyright notice of all files.
1377
d5c04e1b 1378For older changes see ChangeLog-2018
3499769a 1379\f
d5c04e1b 1380Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1381
1382Copying and distribution of this file, with or without modification,
1383are permitted in any medium without royalty provided the copyright
1384notice and this notice are preserved.
1385
1386Local Variables:
1387mode: change-log
1388left-margin: 8
1389fill-column: 74
1390version-control: never
1391End:
This page took 0.318258 seconds and 4 git commands to generate.