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