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