PowerPC64 ld --no-power10-stubs
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2020-07-10 Alan Modra <amodra@gmail.com>
2
3 * emultempl/ppc64elf.em (params): Init new field.
4 (enum ppc64_opt): Add OPTION_POWER10_STUBS and OPTION_NO_POWER10_STUBS.
5 (PARSE_AND_LIST_LONGOPTS): Support --power10-stubs and
6 --no-power10-stubs.
7 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
8 * testsuite/ld-powerpc/callstub-3.d: New test.
9 * testsuite/ld-powerpc/powerpc.exp: Run it.
10
11 2020-07-09 Alan Modra <amodra@gmail.com>
12
13 * emulparams/ppcpe.sh: Delete.
14 * scripttempl/ppcpe.sc: Delete.
15 * emulparams/ppclynx.sh: Delete.
16 * Makefile.am (ALL_EMULATION_SOURCES): Remove ppc PE and lynxos.
17 * configure.tgt: Likewise.
18 * emultempl/beos.em: Remove powerpc PE support.
19 * emultempl/pe.em: Likewise.
20 * po/BLD-POTFILES.in: Regenerate.
21 * Makefile.in: Regenerate.
22
23 2020-07-09 Alan Modra <amodra@gmail.com>
24
25 * testsuite/ld-gc/gc.exp: Don't set -mminimal-toc for powerpc64,
26 and remove powerpc64 xfail. Use -fno-PIE for ppc32.
27
28 2020-07-09 Alan Modra <amodra@gmail.com>
29
30 PR 18841
31 * testsuite/ld-ifunc/ifunc.exp: Run pr18841 tests non-pie.
32
33 2020-07-08 Alan Modra <amodra@gmail.com>
34
35 * testsuite/lib/ld-lib.exp (ar_simple_create): Pass options before
36 ar command.
37 * testsuite/ld-powerpc/aix52.exp: Run for rs6000-aix5.2. Update
38 match files.
39 * testsuite/ld-powerpc/aix-abs-branch-1.dd: Update.
40 * testsuite/ld-powerpc/aix-core-sec-1.hd: Update.
41 * testsuite/ld-powerpc/aix-gc-1-32.dd: Update.
42 * testsuite/ld-powerpc/aix-gc-1-64.dd: Update.
43 * testsuite/ld-powerpc/aix-glink-1-32.dd: Update.
44 * testsuite/ld-powerpc/aix-glink-1-64.dd: Update.
45 * testsuite/ld-powerpc/aix-glink-2-32.dd: Update.
46 * testsuite/ld-powerpc/aix-glink-2-64.dd: Update.
47 * testsuite/ld-powerpc/aix-no-dup-syms-1-rel.rd: Update.
48 * testsuite/ld-powerpc/aix-ref-1-32.od: Update.
49 * testsuite/ld-powerpc/aix-ref-1-64.od: Update.
50 * testsuite/ld-powerpc/aix-toc-1-32.dd: Update.
51 * testsuite/ld-powerpc/aix-toc-1-64.dd: Update.
52 * testsuite/ld-powerpc/aix-weak-3-32.dd: Update.
53 * testsuite/ld-powerpc/aix-weak-3-64.dd: Update.
54 * testsuite/ld-powerpc/aix-abs-branch-1.nd: Delete, replace with..
55 * testsuite/ld-powerpc/aix-abs-branch-1-32.nd,
56 * testsuite/ld-powerpc/aix-abs-branch-1-64.nd: ..these new files.
57 * testsuite/ld-powerpc/aix-abs-reloc-1.nd: Delete, replace with..
58 * testsuite/ld-powerpc/aix-abs-reloc-1-32.nd,
59 * testsuite/ld-powerpc/aix-abs-reloc-1-64.nd: ..these new files.
60 * testsuite/ld-powerpc/aix-abs-reloc-1.od: Delete, replace with..
61 * testsuite/ld-powerpc/aix-abs-reloc-1-32.od,
62 * testsuite/ld-powerpc/aix-abs-reloc-1-64.od: ..these new files.
63 * testsuite/ld-powerpc/aix-export-1-all.dd: Delete, replace with..
64 * testsuite/ld-powerpc/aix-export-1-all-32.dd,
65 * testsuite/ld-powerpc/aix-export-1-all-64.dd: ..these new files.
66 * testsuite/ld-powerpc/aix-export-1-full.dd: Delete, replace with..
67 * testsuite/ld-powerpc/aix-export-1-full-32.dd,
68 * testsuite/ld-powerpc/aix-export-1-full-64.dd: ..these new files.
69 * testsuite/ld-powerpc/aix-export-2.nd: Delete, replace with..
70 * testsuite/ld-powerpc/aix-export-2-32.nd,
71 * testsuite/ld-powerpc/aix-export-2-64.nd: ..these new files.
72 * testsuite/ld-powerpc/aix-gc-1.nd: Delete, replace with..
73 * testsuite/ld-powerpc/aix-gc-1-32.nd,
74 * testsuite/ld-powerpc/aix-gc-1-64.nd: ..these new files.
75 * testsuite/ld-powerpc/aix-glink-3.dd: Delete, replace with..
76 * testsuite/ld-powerpc/aix-glink-3-32.dd,
77 * testsuite/ld-powerpc/aix-glink-3-64.dd: ..these new files.
78 * testsuite/ld-powerpc/aix-lineno-1a.dd: Delete, replace with..
79 * testsuite/ld-powerpc/aix-lineno-1a-32.dd,
80 * testsuite/ld-powerpc/aix-lineno-1a-64.dd: ..these new files.
81 * testsuite/ld-powerpc/aix-lineno-1a.nd: Delete, replace with..
82 * testsuite/ld-powerpc/aix-lineno-1a-32.nd,
83 * testsuite/ld-powerpc/aix-lineno-1a-64.nd: ..these new files.
84 * testsuite/ld-powerpc/aix-lineno-1b.dd: Delete, replace with..
85 * testsuite/ld-powerpc/aix-lineno-1b-32.dd,
86 * testsuite/ld-powerpc/aix-lineno-1b-64.dd: ..these new files.
87 * testsuite/ld-powerpc/aix-lineno-1b.nd: Delete, replace with..
88 * testsuite/ld-powerpc/aix-lineno-1b-32.nd,
89 * testsuite/ld-powerpc/aix-lineno-1b-64.nd: ..these new files.
90 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.dnd: Delete, replace with..
91 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.dnd,
92 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.dnd: ..these new files.
93 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.drd: Delete, replace with..
94 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.drd,
95 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.drd: ..these new files.
96 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.nd: Delete, replace with..
97 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.nd,
98 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.nd: ..these new files.
99 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.rd: Delete, replace with..
100 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.rd,
101 * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.rd: ..these new files.
102 * testsuite/ld-powerpc/aix-weak-1-dso.dnd: Delete, replace with..
103 * testsuite/ld-powerpc/aix-weak-1-dso-32.dnd,
104 * testsuite/ld-powerpc/aix-weak-1-dso-64.dnd: ..these new files.
105 * testsuite/ld-powerpc/aix-weak-1-dso.hd: Delete, replace with..
106 * testsuite/ld-powerpc/aix-weak-1-dso-32.hd,
107 * testsuite/ld-powerpc/aix-weak-1-dso-64.hd: ..these new files.
108 * testsuite/ld-powerpc/aix-weak-1-dso.nd: Delete, replace with..
109 * testsuite/ld-powerpc/aix-weak-1-dso-32.nd,
110 * testsuite/ld-powerpc/aix-weak-1-dso-64.nd: ..these new files.
111 * testsuite/ld-powerpc/aix-weak-1-gcdso.dnd: Delete, replace with..
112 * testsuite/ld-powerpc/aix-weak-1-gcdso-32.dnd,
113 * testsuite/ld-powerpc/aix-weak-1-gcdso-64.dnd: ..these new files.
114 * testsuite/ld-powerpc/aix-weak-1-gcdso.hd: Delete, replace with..
115 * testsuite/ld-powerpc/aix-weak-1-gcdso-32.hd,
116 * testsuite/ld-powerpc/aix-weak-1-gcdso-64.hd: ..these new files.
117 * testsuite/ld-powerpc/aix-weak-1-gcdso.nd: Delete, replace with..
118 * testsuite/ld-powerpc/aix-weak-1-gcdso-32.nd,
119 * testsuite/ld-powerpc/aix-weak-1-gcdso-64.nd: ..these new files.
120 * testsuite/ld-powerpc/aix-weak-2a.nd: Delete, replace with..
121 * testsuite/ld-powerpc/aix-weak-2a-32.nd,
122 * testsuite/ld-powerpc/aix-weak-2a-64.nd: ..these new files.
123 * testsuite/ld-powerpc/aix-weak-2b.nd: Delete, replace with..
124 * testsuite/ld-powerpc/aix-weak-2b-32.nd,
125 * testsuite/ld-powerpc/aix-weak-2b-64.nd: ..these new files.
126 * testsuite/ld-powerpc/aix-weak-2c.nd: Delete, replace with..
127 * testsuite/ld-powerpc/aix-weak-2c-32.nd,
128 * testsuite/ld-powerpc/aix-weak-2c-64.nd: ..these new files.
129 * testsuite/ld-powerpc/aix-weak-2c.od: Delete, replace with..
130 * testsuite/ld-powerpc/aix-weak-2c-32.od,
131 * testsuite/ld-powerpc/aix-weak-2c-64.od: ..these new files.
132
133 2020-07-07 Alan Modra <amodra@gmail.com>
134
135 * testsuite/ld-scripts/section-match-1.d: xfail h8300.
136
137 2020-07-07 Alan Modra <amodra@gmail.com>
138
139 * testsuite/ld-scripts/align.exp: Don't exclude xcoff. Pass
140 -bnogc ld option for xcoff.
141 * testsuite/ld-scripts/provide.exp: Likewise.
142 * testsuite/ld-scripts/data.exp: Pass -bnogc ld option for xcoff.
143 * testsuite/ld-scripts/default-script.exp: Likewise.
144 * testsuite/ld-scripts/defined.exp: Likewise.
145 * testsuite/ld-scripts/empty-address.exp: Likewise.
146 * testsuite/ld-scripts/expr.exp: Likewise.
147 * testsuite/ld-scripts/include.exp: Likewise.
148 * testsuite/ld-scripts/script.exp: Likewise.
149 * testsuite/ld-scripts/assign-loc.d: Don't exclude xcoff.
150 * testsuite/ld-scripts/defined3.d: Likewise.
151 * testsuite/ld-scripts/defined4.d: Likewise.
152 * testsuite/ld-scripts/pr18963.d: Likewise.
153 * testsuite/ld-scripts/sane1.d: Likewise.
154 * testsuite/ld-scripts/segment-start.d: Likewise.
155 * testsuite/ld-scripts/include-1.d: Likewise, and relax text vma.
156 * testsuite/ld-scripts/defined5.d: Update xfail and comment.
157 * testsuite/ld-scripts/defined5.s: Tweak "defined" to be at
158 non-zero section offset.
159 * testsuite/ld-scripts/fill16.d: xfail for xcoff.
160 * testsuite/ld-scripts/provide-2.d: Accept more symbols.
161 * testsuite/ld-scripts/provide-4.d: Likewise.
162 * testsuite/ld-scripts/provide-5.d: Likewise.
163 * testsuite/ld-scripts/provide-6.d: Likewise.
164 * testsuite/ld-scripts/provide-7.d: Likewise.
165 * testsuite/ld-scripts/align.t: Accept xcoff mapped .text and .data.
166 * testsuite/ld-scripts/defined3.t: Likewise.
167 * testsuite/ld-scripts/defined4.t: Likewise.
168 * testsuite/ld-scripts/defined5.t: Likewise.
169 * testsuite/ld-scripts/fill.t: Likewise.
170 * testsuite/ld-scripts/include-subdata.t: Likewise.
171 * testsuite/ld-scripts/provide-1.t: Likewise.
172 * testsuite/ld-scripts/provide-2.t: Likewise.
173 * testsuite/ld-scripts/provide-3.t: Likewise.
174 * testsuite/ld-scripts/provide-4.t: Likewise.
175 * testsuite/ld-scripts/provide-5.t: Likewise.
176 * testsuite/ld-scripts/provide-6.t: Likewise.
177 * testsuite/ld-scripts/provide-7.t: Likewise.
178 * testsuite/ld-scripts/provide-8.t: Likewise.
179 * testsuite/ld-scripts/assign-loc.t: Add required xcoff sections.
180 * testsuite/ld-scripts/sizeof.t: Likewise.
181 * testsuite/ld-scripts/align2.t: Likewise, and mapped sections.
182 * testsuite/ld-scripts/align5.t: Likewise.
183 * testsuite/ld-scripts/default-script.t: Likewise.
184 * testsuite/ld-scripts/empty-address-1.t: Likewise.
185 * testsuite/ld-scripts/empty-address-2a.t: Likewise.
186 * testsuite/ld-scripts/empty-address-2b.t: Likewise.
187 * testsuite/ld-scripts/empty-address-3a.t: Likewise.
188 * testsuite/ld-scripts/empty-address-3b.t: Likewise.
189 * testsuite/ld-scripts/empty-address-3c.t: Likewise.
190 * testsuite/ld-scripts/include-sections.t: Likewise.
191 * testsuite/ld-scripts/pr14962.t: Likewise.
192 * testsuite/ld-scripts/sane1.t: Likewise.
193
194 2020-07-07 Alan Modra <amodra@gmail.com>
195
196 * testsuite/ld-scripts/align.exp: Use is_pecoff_format.
197 * testsuite/ld-scripts/defined.exp: Likewise.
198 * testsuite/ld-scripts/provide.exp: Likewise.
199 * testsuite/ld-scripts/weak.exp: Likewise.
200 * testsuite/ld-scripts/empty-address.exp: Likewise. Reset LDFLAGS
201 on exit.
202 * testsuite/ld-scripts/expr.exp: Set LDFLAGS earlier, and with
203 --image-base for PE.
204 * testsuite/ld-scripts/include.exp: Set LDFLAGS for PE.
205 * testsuite/ld-scripts/script.exp: Use is_pecoff_format, and
206 set LDFLAGS as well as flags.
207
208 2020-07-07 Alan Modra <amodra@gmail.com>
209
210 * testsuite/ld-checks/checks.exp: Use is_xcoff_format.
211 * testsuite/ld-powerpc/powerpc.exp: Likewise.
212 * testsuite/ld-scripts/print-memory-usage.exp: Likewise.
213 * testsuite/ld-srec/srec.exp: Likewise.
214 * testsuite/ld-undefined/require-defined.exp: Likewise.
215 * testsuite/ld-scripts/expr2.d: Likewise.
216 * testsuite/ld-scripts/section-match-1.d: Only run for ELF.
217 * testsuite/ld-elfvers/vers.exp: Delete dead code.
218 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
219 * testsuite/ld-elfweak/elfweak.exp: Likewise.
220
221 2020-07-07 Alan Modra <amodra@gmail.com>
222
223 * emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle
224 etree_provided.
225
226 2020-07-07 Alan Modra <amodra@gmail.com>
227
228 * testsuite/ld-sh/vxworks1-lib.rd: Update expected output.
229 * testsuite/ld-sh/vxworks4.d: Likewise.
230
231 2020-07-06 Yuri Chornoivan <yurchor@ukr.net>
232
233 PR 26204
234 * lexsup.c: Fix spelling mistake.
235 * po/ld.pot: Regenerate.
236
237 2020-07-06 Nick Clifton <nickc@redhat.com>
238
239 * po/bg.po: Updated Bulgarian translation.
240 * po/fr.po: Updated French translation.
241 * po/pt_BR.po: Updated Brazilian Portuguese translation.
242 * po/uk.po: Updated Ukranian translation.
243
244 2020-07-04 Nick Clifton <nickc@redhat.com>
245
246 * configure: Regenerate.
247
248 2020-07-04 Nick Clifton <nickc@redhat.com>
249
250 Binutils 2.35 branch created.
251
252 2020-07-03 Alan Modra <amodra@gmail.com>
253
254 PR 26028
255 * testsuite/ld-arm/arm-elf.exp (vxworks1): Pass --wide to readelf
256 when dumping relocs.
257 * testsuite/ld-i386/i386.exp (vxworks1): Likewise.
258 * testsuite/ld-sh/sh-vxworks.exp (vxworks1): Likewise.
259 * testsuite/ld-sparc/sparc.exp (vxworks1): Likewise.
260 * testsuite/ld-arm/vxworks1.rd: Adjust to suit.
261 * testsuite/ld-i386/vxworks1.rd: Adjust.
262 * testsuite/ld-sh/vxworks1.rd: Adjust.
263 * testsuite/ld-sparc/vxworks1.rd: Adjust.
264
265 2020-07-02 Nick Clifton <nickc@redhat.com>
266
267 PR 26028
268 * testsuite/ld-powerpc/powerpc.exp: Add -T option to readelf
269 command line when running some tests.
270 * testsuite/ld-arm/arm-elf.exp: Likewise.
271 * testsuite/ld-mips-elf/mips-elf.exp: Likewise.
272 * testsuite/ld-mmix/local1.d: Likewise.
273 * testsuite/ld-mmix/local3.d: Likewise.
274 * testsuite/ld-mmix/local5.d: Likewise.
275 * testsuite/ld-mmix/local7.d: Likewise.
276 * testsuite/ld-powerpc/powerpc.exp: Likewise.
277
278 2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
279
280 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_nacl.c,
281 eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c.
282 Remove x86 NaCl dep files.
283 * NEWS: Mention x86 NaCl target support removal.
284 * configure.tgt: Remove x86 NaCl target support.
285 * testsuite/ld-elf/binutils.exp: Likewise.
286 * testsuite/ld-elf/elf.exp: Likewise.
287 * testsuite/ld-elfvers/vers.exp: Likewise.
288 * testsuite/ld-i386/align-branch-1.d: Likewise.
289 * testsuite/ld-i386/export-class.exp: Likewise.
290 * testsuite/ld-i386/i386.exp: Likewise.
291 * testsuite/ld-i386/load1.d: Likewise.
292 * testsuite/ld-i386/pie1.d: Likewise.
293 * testsuite/ld-i386/pr12570a.d: Likewise.
294 * testsuite/ld-i386/pr12570b.d: Likewise.
295 * testsuite/ld-i386/pr19636-1d.d: Likewise.
296 * testsuite/ld-i386/pr19636-1l.d: Likewise.
297 * testsuite/ld-i386/pr19636-2c.d: Likewise.
298 * testsuite/ld-i386/pr19636-2d.d: Likewise.
299 * testsuite/ld-i386/pr19636-2e.d: Likewise.
300 * testsuite/ld-i386/pr20244-1a.d: Likewise.
301 * testsuite/ld-i386/pr20244-1b.d: Likewise.
302 * testsuite/ld-i386/pr20244-2a.d: Likewise.
303 * testsuite/ld-i386/pr20244-2b.d: Likewise.
304 * testsuite/ld-i386/pr20244-2c.d: Likewise.
305 * testsuite/ld-i386/pr20244-4a.d: Likewise.
306 * testsuite/ld-i386/pr20244-4b.d: Likewise.
307 * testsuite/ld-i386/pr21884.d: Likewise.
308 * testsuite/ld-ifunc/binutils.exp: Likewise.
309 * testsuite/ld-ifunc/ifunc-10-i386.d: Likewise.
310 * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise.
311 * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise.
312 * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise.
313 * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise.
314 * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise.
315 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
316 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
317 * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise.
318 * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise.
319 * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise.
320 * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise.
321 * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise.
322 * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise.
323 * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise.
324 * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise.
325 * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise.
326 * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise.
327 * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise.
328 * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise.
329 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
330 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
331 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
332 * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise.
333 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
334 * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
335 * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise.
336 * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise.
337 * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise.
338 * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise.
339 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
340 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
341 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
342 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
343 * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise.
344 * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise.
345 * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise.
346 * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise.
347 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
348 * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise.
349 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
350 * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise.
351 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
352 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
353 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
354 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
355 * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise.
356 * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
357 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
358 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
359 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
360 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
361 * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise.
362 * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise.
363 * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
364 * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise.
365 * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise.
366 * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise.
367 * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
368 * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
369 * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise.
370 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
371 * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise.
372 * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise.
373 * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise.
374 * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise.
375 * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise.
376 * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise.
377 * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise.
378 * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise.
379 * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise.
380 * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise.
381 * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise.
382 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
383 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
384 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
385 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
386 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
387 * testsuite/ld-plugin/lto.exp: Likewise.
388 * testsuite/ld-x86-64/align-branch-1.d: Likewise.
389 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
390 * testsuite/ld-x86-64/line.exp: Likewise.
391 * testsuite/ld-x86-64/load1a.d: Likewise.
392 * testsuite/ld-x86-64/load1b.d: Likewise.
393 * testsuite/ld-x86-64/load1c.d: Likewise.
394 * testsuite/ld-x86-64/load1d.d: Likewise.
395 * testsuite/ld-x86-64/pie3.d: Likewise.
396 * testsuite/ld-x86-64/pr18160.d: Likewise.
397 * testsuite/ld-x86-64/pr19013-x32.d: Likewise.
398 * testsuite/ld-x86-64/pr19013.d: Likewise.
399 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
400 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
401 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
402 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
403 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
404 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
405 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
406 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
407 * testsuite/ld-x86-64/pr21884.d: Likewise.
408 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
409 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
410 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
411 * testsuite/ld-x86-64/tlsgd5.dd: Likewise.
412 * testsuite/ld-x86-64/tlsgd8.dd: Likewise.
413 * testsuite/ld-x86-64/x86-64.exp: Likewise.
414 * emulparams/elf32_x86_64_nacl.sh: Removed.
415 * emulparams/elf_i386_nacl.sh: Likewise.
416 * emulparams/elf_x86_64_nacl.sh: Likewise.
417 * testsuite/ld-i386/emit-relocs-nacl.rd: Likewise.
418 * testsuite/ld-i386/load1-nacl.d: Likewise.
419 * testsuite/ld-i386/pie1-nacl.d: Likewise.
420 * testsuite/ld-i386/plt-nacl.pd: Likewise.
421 * testsuite/ld-i386/plt-pic-nacl.pd: Likewise.
422 * testsuite/ld-i386/pr17709-nacl.rd: Likewise.
423 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
424 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
425 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
426 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
427 * testsuite/ld-i386/pr19827-nacl.rd: Likewise.
428 * testsuite/ld-i386/pr21884-nacl.d: Likewise.
429 * testsuite/ld-i386/pr21884-nacl.t: Likewise.
430 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
431 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
432 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
433 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
434 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
435 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
436 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
437 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
438 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
439 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
440 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
441 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
442 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
443 * testsuite/ld-x86-64/pie3-nacl.d: Likewise.
444 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
445 * testsuite/ld-x86-64/pr17709-nacl.rd: Likewise.
446 * testsuite/ld-x86-64/pr19013-nacl.d: Likewise.
447 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
448 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
449 * testsuite/ld-x86-64/pr21884-nacl.d: Likewise.
450 * testsuite/ld-x86-64/pr21884-nacl.t: Likewise.
451 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
452 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
453 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
454 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
455 * testsuite/ld-x86-64/tlsdesc-nacl.pd: Likewise.
456 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
457 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
458 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
459 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
460 * Makefile.in: Regenerated.
461 * po/BLD-POTFILES.in: Likewise.
462
463 2020-06-30 Alan Modra <amodra@gmail.com>
464
465 * testsuite/ld-elf/group1.d: Don't xfail all solaris targets, just
466 ix86 and x86_64.
467
468 2020-06-30 Alan Modra <amodra@gmail.com>
469
470 * testsuite/ld-elf/reloc-discard.d: Don't xfail nds32.
471
472 2020-06-30 Alan Modra <amodra@gmail.com>
473
474 * scripttempl/elfmicroblaze.sc (.data): Add .data.* entry.
475 * testsuite/ld-elf/var1.d: Don't xfail microblaze.
476
477 2020-06-29 H.J. Lu <hongjiu.lu@intel.com>
478
479 * testsuite/ld-tic6x/shlib-1.rd: Move C6000_DSBT_BASE,
480 C6000_DSBT_SIZE and C6000_DSBT_INDEX dynamic tags to the last.
481 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
482 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
483 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
484 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
485 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
486 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
487 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
488 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
489 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
490 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
491 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
492 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
493
494 2020-06-29 Alan Modra <amodra@gmail.com>
495
496 * testsuite/ld-x86-64/abs-k1om.d: Run only on x86_64-*-linux*.
497 * testsuite/ld-x86-64/protected2-k1om.d: Likewise.
498 * testsuite/ld-x86-64/protected3-k1om.d: Likewise.
499
500 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
501
502 * configure.ac [--enable-libctf]: New, default yes.
503 Set ENABLE_LIBCTF accordingly.
504 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF.
505 * configure: Regenerate.
506 * config.in: Regenerate.
507 * Makefile.in: Regenerate.
508 * aclocal.m4: Regenerate.
509 * ldlang.c (ctf_output): Conditionalize on ENABLE_LIBCTF.
510 (ldlang_open_ctf): Likewise.
511 (lang_merge_ctf): Likewise.
512 (ldlang_ctf_apply_strsym): Likewise.
513 (lang_write_ctf): Likewise.
514 (ldlang_write_ctf_late): Likewise.
515 (ldlang_open_ctf) [!ENABLE_LIBCTF]: Warn about the presence of CTF
516 sections.
517 (lang_merge_ctf) [!ENABLE_LIBCTF]: New stub.
518 (ldlang_ctf_apply_strsym) [!ENABLE_LIBCTF]: Likewise.
519 (lang_write_ctf) [!ENABLE_LIBCTF]: Likewise.
520 (ldlang_write_ctf_late) [!ENABLE_LIBCTF]: Likewise.
521 * ldelfgen.c (ldelf_emit_ctf_early): Conditionalize on
522 ENABLE_LIBCTF.
523 (struct ctf_strsym_iter_cb_arg): Likewise.
524 (ldelf_ctf_strtab_iter_cb): Likewise.
525 (ldelf_ctf_symbols_iter_cb): Likewise.
526 (ldelf_examine_strtab_for_ctf): Likewise.
527 (ldelf_emit_ctf_early) [!ENABLE_LIBCTF]: New stub.
528 (ldelf_examine_strtab_for_ctf) [!ENABLE_LIBCTF]: New stub.
529
530 2020-06-26 Jan Beulich <jbeulich@suse.com>
531
532 * testsuite/ld-x86-64/x86-64.exp: Run K1OM tests.
533
534 2020-06-26 Pat Bernardi <bernardi@adacore.com>
535
536 * testsuite/ld-m68k/attr-gnu-4-0.s: New file.
537 * testsuite/ld-m68k/attr-gnu-4-1.s: Likewise.
538 * testsuite/ld-m68k/attr-gnu-4-2.s: Likewise.
539 * testsuite/ld-m68k/attr-gnu-4-00.d: Likewise.
540 * testsuite/ld-m68k/attr-gnu-4-01.d: Likewise.
541 * testsuite/ld-m68k/attr-gnu-4-02.d: Likewise.
542 * testsuite/ld-m68k/attr-gnu-4-10.d: Likewise.
543 * testsuite/ld-m68k/attr-gnu-4-11.d: Likewise.
544 * testsuite/ld-m68k/attr-gnu-4-12.d: Likewise.
545 * testsuite/ld-m68k/attr-gnu-4-20.d: Likewise.
546 * testsuite/ld-m68k/attr-gnu-4-21.d: Likewise.
547 * testsuite/ld-m68k/attr-gnu-4-22.d: Likewise.
548 * testsuite/ld-m68k/m68k.exp: Run the new tests.
549
550 2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
551
552 PR ld/26165
553 * lexsup.c (ld_options): Correct --dependency-file order.
554
555 2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
556
557 PR ld/26083
558 * testsuite/ld-csky/tls-ie-v1.d: Updated.
559 * testsuite/ld-csky/tls-ie.d: Likewise.
560
561 2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
562
563 PR ld/26083
564 * testsuite/ld-cris/libdso-15b.d: Updated.
565 * testsuite/ld-cris/libdso-1c.d: Likewise.
566 * testsuite/ld-cris/libdso-1d.d: Likewise.
567 * testsuite/ld-cris/libdso-15c.d: New file.
568
569 2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
570
571 PR ld/26163
572 * ldexp.c (exp_fold_tree_1): Set non_ir_ref_regular on the source
573 for assignment.
574 * testsuite/ld-plugin/lto.exp: Run ld/26163 test.
575 * testsuite/ld-plugin/pr26163a.c: New file.
576 * testsuite/ld-plugin/pr26163b.c: Likewise.
577
578 2020-06-24 Alan Modra <amodra@gmail.com>
579
580 * lexsup.c (elf_shlib_list_options): Properly format help message.
581 (elf_plt_unwind_list_options): Likewise.
582 * emultempl/cskyelf.em (PARSE_AND_LIST_OPTIONS): Likewise.
583
584 2020-06-23 Roland McGrath <mcgrathr@google.com>
585
586 PR 22843
587 * NEWS: Note --dependency-file.
588 * ld.texi (Options): Document --dependency-file.
589 * ldlex.h (enum option_values): Add OPTION_DEPENDENCY_FILE.
590 * ld.h (ld_config_type): New member dependency_file.
591 * lexsup.c (ld_options, parse_args): Parse --dependency-file.
592 * ldmain.c (struct dependency_file): New type.
593 (dependency_files, dependency_files_tail): New static variables.
594 (track_dependency_files): New function.
595 (write_dependency_file): New function.
596 (main): Call it when --dependency-file was passed.
597 * ldfile.c (ldfile_try_open_bfd): Call track_dependency_files.
598 (ldfile_open_command_file_1): Likewise.
599 * ldelf.c (ldelf_try_needed): Likewise.
600 * pe-dll.c (pe_implied_import_dll): Likewise.
601
602 2020-06-23 Alan Modra <amodra@gmail.com>
603
604 PR 26150
605 * ldlang.c (ldlang_add_file): Assert that we aren't adding the
606 current end of link.next list again too.
607 * ldmain.c (add_archive_element): Don't load archive elements
608 again that have already been loaded.
609
610 2020-06-23 Alan Modra <amodra@gmail.com>
611
612 * testsuite/ld-elf/shared.exp (pr14170): Clear xfail for
613 bfin-*-linux*.
614 (pr17068, symbolic-func.so, pr22374): Likewise.
615
616 2020-06-22 Nelson Chu <nelson.chu@sifive.com>
617
618 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
619 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Updated.
620 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Updated.
621 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Updated.
622 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Updated.
623 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Updated.
624
625 2020-06-21 Alan Modra <amodra@gmail.com>
626
627 * ldfile.c: Replace uses of ENABLE_PLUGINS with BFD_SUPPORTS_PLUGINS.
628 * ldlang.c: Likewise.
629 * ldlang.h: Likewise.
630 * ldlex.h: Likewise.
631 * ldmain.c: Likewise.
632 * lexsup.c: Likewise.
633 * plugin.c: Wrap body of file in #if BFD_SUPPORTS_PLUGINS.
634 * testplug.c: Likewise.
635 * testplug2.c: Likewise.
636 * testplug3.c: Likewise.
637 * testplug4.c: Likewise.
638 * configure.ac (ENABLE_PLUGINS): Don't define AM_CONTITIONAL.
639 * Makefile.am: Remove ENABLE_PLUGINS conditionals.
640 (PLUGIN_CFLAGS): Don't define.
641 (PLUGIN_C, PLUGIN_H, PLUGIN_OBJECT): Likewise. Substitute all
642 uses with plugin file name.
643 * configure: Regenerate.
644 * Makefile.in: Regenerate.
645
646 2020-06-20 Alan Modra <amodra@gmail.com>
647
648 * testsuite/lib/ld-lib.exp (default_ld_compile): Don't perror on
649 a compiler error.
650 (default_ld_assemble): Similarly for an assembler error.
651 (default_ld_nm): Similarly for an nm error.
652 (run_ld_link_tests): Report ld_assemble errors as a fail.
653 (check_as_cfi): Remove now unnecessary perror substitution.
654 * testsuite/ld-elf/exclude.exp: Report ld_nm error return as test
655 fails rather then unresolved.
656 * testsuite/ld-gc/gc.exp: Likewise.
657 * testsuite/ld-scripts/alignof.exp: Likewise.
658 * testsuite/ld-scripts/defined.exp: Likewise.
659 * testsuite/ld-scripts/script.exp: Likewise.
660 * testsuite/ld-scripts/sizeof.exp: Likewise.
661 * testsuite/ld-selective/selective.exp: Likewise.
662 * testsuite/ld-scripts/extern.exp: Likewise. Return on ld_link
663 failure.
664 * testsuite/ld-elfweak/elfweak.exp: Report compiler errors as
665 test unresolved.
666 * testsuite/ld-fastcall/fastcall.exp: Report assember errors as
667 test fails.
668 * testsuite/ld-i386/i386.exp (iamcu_tests): Likewise.
669 * testsuite/ld-ia64/line.exp: Likewise.
670 * testsuite/ld-mep/mep.exp: Likewise.
671 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
672 * testsuite/ld-nios2/nios2.exp: Likewise.
673 * testsuite/ld-scripts/alignof.exp: Likewise.
674 * testsuite/ld-x86-64/line.exp: Likewise.
675 * testsuite/ld-x86-64/x86-64.exp: Likewise.
676 * testsuite/ld-scripts/log2.exp: Formatting.
677 * testsuite/ld-tic6x/tic6x.exp: Report ld_link errors as a test fail.
678
679 2020-06-20 Alan Modra <amodra@gmail.com>
680
681 * testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets.
682 * testsuite/ld-elf/binutils.exp: Likewise.
683 * testsuite/ld-elf/tls.exp: Likewise.
684 * testsuite/ld-elf/tls_common.exp: Likewise.
685 * testsuite/ld-scripts/phdrs2.exp: Likewise.
686
687 2020-06-20 Alan Modra <amodra@gmail.com>
688
689 * testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
690 Fail when ld_assemble fails. Use elseif to reduce indentation.
691
692 2020-06-19 Alan Modra <amodra@gmail.com>
693
694 * testsuite/ld-elf/dynamic-1.rd: Accept st_other notations.
695 * testsuite/ld-elf/rdynamic-1.rd: Likewise.
696 * testsuite/ld-elf/pr9676.rd: Likewise.
697 * testsuite/ld-elf/pr9679.rd: Likewise.
698 * testsuite/ld-elfvers/vers30.dsym: Likewise.
699 * testsuite/ld-elfvers/vers31.dsym: Likewise.
700 * testsuite/ld-plugin/pr22983.1.d: Likewise.
701 * testsuite/ld-plugin/pr22983.2.d: Likewise.
702 * testsuite/ld-plugin/pr22983.3.d: Likewise.
703 * testsuite/ld-plugin/pr22983.4.d: Likewise.
704 * testsuite/ld-ifunc/ifunc.exp: Exclude alpha.
705
706 2020-06-19 Alan Modra <amodra@gmail.com>
707
708 * emultempl/elf.em (gld${EMULATION_NAME}_handle_option): Omit
709 -z relro and -z norelro when target support for GNU_RELRO is lacking.
710 (gld${EMULATION_NAME}_before_parse): Ignore RELRO default too.
711 * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): Ignore
712 RELRO default when target support for GNU_RELRO is lacking.
713 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
714 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Likewise.
715 * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
716 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
717 * testsuite/ld-elf/pr16322.d: xfail when no relro support.
718 * testsuite/ld-elf/pr22393-1a.d: Likewise.
719 * testsuite/ld-elf/pr22393-1b.d: Likewise.
720 * testsuite/ld-elf/shared.exp (pr20995-2.so, pr20995-2): Likewise.
721 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Use check_relro_support
722 to decide whether to pass extra ld option "-z norelro".
723
724 2020-06-17 H.J. Lu <hongjiu.lu@intel.com>
725
726 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Append "-w"
727 to cflags.
728
729 2020-06-17 H.J. Lu <hongjiu.lu@intel.com>
730
731 * testsuite/ld-elf/linux-x86.exp: Require GCC 5 for Build
732 pr25749-1b (-pie -fPIE).
733
734 2020-06-16 Alan Modra <amodra@gmail.com>
735
736 * testsuite/ld-elf/pr23428.c: Define _DEFAULT_SOURCE.
737 * testsuite/ld-elf/indirect1b.c: Replace asm with __asm__.
738 * testsuite/ld-elf/indirect2.c: Likewise.
739 * testsuite/ld-elf/indirect3b.c: Likewise.
740 * testsuite/ld-elf/indirect4b.c: Likewise.
741 * testsuite/ld-elf/pr14323-2.c: Likewise.
742 * testsuite/ld-elf/pr18720b.c: Likewise.
743 * testsuite/ld-elf/pr19553c.c: Likewise.
744 * testsuite/ld-elf/pr23428.c: Likewise.
745 * testsuite/ld-elfvers/vers27b.c: Likewise.
746 * testsuite/ld-elfvsb/common.c: Likewise.
747 * testsuite/ld-elfvsb/main.c: Likewise.
748 * testsuite/ld-elfvsb/sh1.c: Likewise.
749 * testsuite/ld-elfvsb/test.c: Likewise.
750 * testsuite/ld-pe/aligncomm-1.c: Likewise.
751 * testsuite/ld-pe/aligncomm-2.c: Likewise.
752 * testsuite/ld-pe/aligncomm-3.c: Likewise.
753 * testsuite/ld-pe/aligncomm-4.c: Likewise.
754 * testsuite/ld-plugin/pr23958.c: Likewise.
755 * testsuite/ld-size/size-1b.c: Likewise.
756 * testsuite/ld-size/size-2b.c: Likewise.
757 * testsuite/ld-size/size-3a.c: Likewise.
758 * testsuite/ld-size/size-3b.c: Likewise.
759 * testsuite/ld-size/size-3c.c: Likewise.
760 * testsuite/ld-size/size-4b.c: Likewise.
761 * testsuite/ld-size/size-5b.c: Likewise.
762 * testsuite/ld-size/size-6a.c: Likewise.
763 * testsuite/ld-size/size-7a.c: Likewise.
764 * testsuite/ld-size/size-8a.c: Likewise.
765 * testsuite/ld-size/size-9b.c: Likewise.
766 * testsuite/ld-size/size-10b.c: Likewise.
767
768 2020-06-16 Alan Modra <amodra@gmail.com>
769
770 * emulparams/tic30aout.sh: Delete file.
771 * scripttempl/tic30aout.sc: Delete file.
772 * Makefile.am: Remove etic30aout.c from ALL_EMULATION_SOURCES and
773 delete dependency.
774 * configure.tgt: Delete tic30-*-*aout* entry.
775 * testsuite/ld-scripts/sane1.d: Delete tic30-*-aout mention.
776 * testsuite/ld-scripts/segment-start.d: Likewise.
777 * Makefile.in: Regenerate.
778 * po/BLD-POTFILES.in: Regenerate.
779
780 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
781
782 * emultempl/xtensaelf.em (XSHAL_ABI): Remove macro definition.
783 (XTHAL_ABI_UNDEFINED, XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
784 macros.
785 (elf32xtensa_abi): New declaration.
786 (xt_config_info_unpack_and_check): Set elf32xtensa_abi if it is
787 undefined. Use xtensa_abi_choice instead of XSHAL_ABI to test
788 ABI tag consistency.
789 (xtensa_add_config_info): Use xtensa_abi_choice instead of
790 XSHAL_ABI to format ABI tag.
791 (PARSE_AND_LIST_PROLOGUE): Define OPTION_ABI_WINDOWED,
792 OPTION_ABI_CALL0 and declare elf32xtensa_abi.
793 (PARSE_AND_LIST_LONGOPTS): Add entries for --abi-windowed and
794 --abi-call0.
795 (PARSE_AND_LIST_OPTIONS): Add help text for --abi-windowed and
796 --abi-call0.
797 (PARSE_AND_LIST_ARGS_CASES): Add handlers for --abi-windowed and
798 --abi-call0.
799 * ld.texi: Add description for options --abi-windowed and
800 --abi-call0.
801
802 2020-06-15 Roland McGrath <mcgrathr@google.com>
803
804 * NEWS: Mention -z start-stop-visibility=... option for ELF.
805 * ld.texi (Options): Document -z start-stop-visibility=... option.
806 * ldmain.c (main): Initialize link_info.start_stop_visibility.
807 * emultempl/elf.em (gld${EMULATION_NAME}_handle_option):
808 Parse -z start-stop-visibility=... option.
809
810 2020-06-15 Alan Modra <amodra@gmail.com>
811
812 * testsuite/ld-scripts/include.exp: Don't load ld-lib.exp.
813 * testsuite/ld-scripts/phdrs3.exp: Likewise.
814 * testsuite/ld-scripts/rgn-at.exp: Likewise.
815 * testsuite/ld-scripts/rgn-over.exp: Likewise.
816 * testsuite/ld-scripts/sort.exp: Likewise.
817 * testsuite/ld-discard/discard.exp: Likewise. Use is_elf_format.
818
819 2020-06-15 Alan Modra <amodra@gmail.com>
820
821 PR 26103
822 * testsuite/ld-linkonce/ref1.s,
823 * testsuite/ld-linkonce/ref2.s,
824 * testsuite/ld-linkonce/sym1.s,
825 * testsuite/ld-linkonce/sym2.s,
826 * testsuite/ld-linkonce/sym3.s: New test files.
827 * testsuite/ld-linkonce/linkonce.exp: Run tests for PE too.
828 Add pr26103 test. Remove unnecessary load_lib.
829
830 2020-06-15 Alan Modra <amodra@gmail.com>
831
832 * testsuite/ld-linkonce/zeroeh_x.s: Rename from x.s.
833 * testsuite/ld-linkonce/zeroeh_y.s: Rename from y.s.
834 * testsuite/ld-linkonce/zeroehl32.d: Adjust for renaming. Support
835 big-endian output. Run for powerpc.
836
837 2020-06-11 Alan Modra <amodra@gmail.com>
838
839 * testsuite/ld-plugin/lto.exp (lto_link_tests): Move lto-6,
840 pr12760, pr23818 and pr23958 tests to..
841 (lto_link_elf_tests): ..here.
842
843 2020-06-11 Nick Clifton <nickc@redhat.com>
844
845 * testsuite/ld-elf/pr26094-1b.c (main): Change return type to
846 int.
847
848 2020-06-10 Alan Modra <amodra@gmail.com>
849
850 * testsuite/ld-elf/linux-x86.exp: Build tests when non-native.
851 (check_pr25749b): Add optional args. Set expected pass file
852 from args. Run -1b and -2a tests with passall.out.
853 * testsuite/ld-elf/passall.out: New file.
854 * testsuite/ld-elf/pr25749-1.c: Adjust to pass with older glibc.
855 * testsuite/ld-elf/pr25749-2.c: Likewise.
856 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use
857 regexp_diff to compare expected output from running binary.
858
859 2020-06-10 H.J. Lu <hongjiu.lu@intel.com>
860
861 PR ld/26094
862 * testsuite/ld-elf/pr26094-1.ver: New fike.
863 * testsuite/ld-elf/pr26094-1a.c: Likewise.
864 * testsuite/ld-elf/pr26094-1a.rd: Likewise.
865 * testsuite/ld-elf/pr26094-1b.c: Likewise.
866 * testsuite/ld-elf/pr26094-1b.rd: Likewise.
867 * testsuite/ld-elf/pr26094-1c.c: Likewise.
868 * testsuite/ld-elf/shared.exp: Run ld/26094 tests.
869
870 2020-06-09 H.J. Lu <hongjiu.lu@intel.com>
871
872 PR ld/18801
873 * testsuite/ld-i386/i386.exp: Run ifunc-textrel-1a,
874 ifunc-textrel-1b, ifunc-textrel-2a and ifunc-textrel-2b.
875 * testsuite/ld-x86-64/x86-64.exp: Likewise.
876 * testsuite/ld-i386/ifunc-textrel-1a.d: Likewise.
877 * testsuite/ld-i386/ifunc-textrel-1b.d: Likewise.
878 * testsuite/ld-i386/ifunc-textrel-2a.d: Likewise.
879 * testsuite/ld-i386/ifunc-textrel-2b.d: Likewise.
880 * testsuite/ld-x86-64/ifunc-textrel-1.s: Likewise.
881 * testsuite/ld-x86-64/ifunc-textrel-1a.d: Likewise.
882 * testsuite/ld-x86-64/ifunc-textrel-1b.d: Likewise.
883 * testsuite/ld-x86-64/ifunc-textrel-2.s: Likewise.
884 * testsuite/ld-x86-64/ifunc-textrel-2a.d: Likewise.
885 * testsuite/ld-x86-64/ifunc-textrel-2b.d: Likewise.
886 * testsuite/ld-i386/pr18801a.d: Expect warning for IFUNC
887 resolvers.
888 * testsuite/ld-i386/pr18801b.d: Likewise.
889 * estsuite/ld-x86-64/pr18801a.d: Likewise.
890 * estsuite/ld-x86-64/pr18801b.d: Likewise.
891
892 2020-06-09 Alan Modra <amodra@gmail.com>
893
894 PR 26065
895 * testsuite/ld-elf/shared.exp: Compile dl4main.c -fPIC.
896 (dl4e, dl4f): Expect dl4a.out.
897 * testsuite/ld-elf/dl4e.out: Delete.
898
899 2020-06-07 H.J. Lu <hongjiu.lu@intel.com>
900
901 * testsuite/ld-elf/shared.exp: Pass $LFLAGS to PR ld/21703
902 shared test.
903
904 2020-06-07 H.J. Lu <hongjiu.lu@intel.com>
905
906 * testsuite/ld-elf/shared.exp: Xfail pr20995/pr20995-2 for
907 tic6x-*-*.
908
909 2020-06-07 H.J. Lu <hongjiu.lu@intel.com>
910
911 * testsuite/ld-elf/pr11304.d: Skip tic6x-*-elf.
912
913 2020-06-06 Alan Modra <amodra@gmail.com>
914
915 * testsuite/ld-elf/comm-data.exp: Don't xfail arm or bfin-linux.
916
917 2020-06-06 Alan Modra <amodra@gmail.com>
918
919 * lexsup.c (ld_options): Accept -plugin and -plugin-opt when
920 !ENABLE_PLUGINS.
921 * testsuite/lib/ld-lib.exp (check_plugin_api_available): Adjust.
922
923 2020-06-05 Nelson Chu <nelson.chu@sifive.com>
924
925 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Rename to
926 attr-merge-priv-spec-01.d.
927 * testsuite/ld-riscv-elf/attr-merge-priv-spec-c.s: Set spec to 1.11.
928 * testsuite/ld-riscv-elf/attr-merge-priv-spec-d.s: Empty priv spec set.
929 * testsuite/ld-riscv-elf/attr-merge-priv-spec-02.d: New testcase.
930 * testsuite/ld-riscv-elf/attr-merge-priv-spec-03.d: Likewise.
931 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
932 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
933 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
934 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
935 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
936 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
937
938 2020-06-05 Nelson Chu <nelson.chu@sifive.com>
939
940 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: The CSR isn't used,
941 so ignore the -mpriv-spec setting.
942 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
943 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
944 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
945 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
946 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
947 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
948 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
949 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
950 * testsuite/ld-riscv-elf/call-relax.d: Add -mno-arch-attr.
951
952 2020-06-04 H.J. Lu <hongjiu.lu@intel.com>
953
954 PR ld/26080
955 * testsuite/ld-elf/comm-data.exp: Remove copy_reloc.
956 * testsuite/ld-elf/comm-data2r.rd: Removed.
957 * testsuite/ld-elf/comm-data2r.sd: Likewise.
958 * testsuite/ld-elf/comm-data2r.xd: Likewise.
959
960 2020-06-04 Alan Modra <amodra@gmail.com>
961
962 * testsuite/config/default.exp: Remove global directive outside
963 proc body.
964 * testsuite/ld-bootstrap/bootstrap.exp: Likewise.
965 * testsuite/ld-elf/compress.exp: Likewise.
966 * testsuite/ld-elf/elf.exp: Likewise.
967 * testsuite/ld-elf/exclude.exp: Likewise.
968 * testsuite/ld-elf/frame.exp: Likewise.
969 * testsuite/ld-elf/indirect.exp: Likewise.
970 * testsuite/ld-elf/linux-x86.exp: Likewise.
971 * testsuite/ld-elf/shared.exp: Likewise.
972 * testsuite/ld-elf/tls.exp: Likewise.
973 * testsuite/ld-elf/tls_common.exp: Likewise.
974 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
975 * testsuite/ld-elfweak/elfweak.exp: Likewise.
976 * testsuite/ld-frv/fdpic.exp: Likewise.
977 * testsuite/ld-frv/tls.exp: Likewise.
978 * testsuite/ld-gc/gc.exp: Likewise.
979 * testsuite/ld-i386/i386.exp: Likewise.
980 * testsuite/ld-i386/no-plt.exp: Likewise.
981 * testsuite/ld-ifunc/ifunc.exp: Likewise.
982 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
983 * testsuite/ld-nios2/nios2.exp: Likewise.
984 * testsuite/ld-plugin/lto.exp: Likewise.
985 * testsuite/ld-plugin/plugin.exp: Likewise.
986 * testsuite/ld-powerpc/export-class.exp: Likewise.
987 * testsuite/ld-scripts/align.exp: Likewise.
988 * testsuite/ld-scripts/crossref.exp: Likewise.
989 * testsuite/ld-scripts/defined.exp: Likewise.
990 * testsuite/ld-scripts/overlay-size.exp: Likewise.
991 * testsuite/ld-scripts/provide.exp: Likewise.
992 * testsuite/ld-scripts/weak.exp: Likewise.
993 * testsuite/ld-selective/selective.exp: Likewise.
994 * testsuite/ld-sh/rd-sh.exp: Likewise.
995 * testsuite/ld-size/size.exp: Likewise.
996 * testsuite/ld-srec/srec.exp: Likewise.
997 * testsuite/ld-x86-64/mpx.exp: Likewise.
998 * testsuite/ld-x86-64/no-plt.exp: Likewise.
999 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1000
1001 2020-06-04 Alan Modra <amodra@gmail.com>
1002
1003 * testsuite/ld-dynamic/export-dynamic-symbol-2.d: Match output for
1004 mips-sgi-irix6.
1005 * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: Likewise.
1006 * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: Likewise.
1007 * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: Likewise.
1008 * testsuite/ld-dynamic/export-dynamic-symbol.exp: Exclude targets
1009 with poor PIE support.
1010
1011 2020-06-04 Alan Modra <amodra@gmail.com>
1012
1013 * testsuite/ld-plugin/lto.exp (pr12758.exe): Add NOPIE_LDFLAGS.
1014 * testsuite/ld-unique/unique.exp: Add NOPIE_LDFLAGS to unique
1015 executable and dynamic executable tests.
1016
1017 2020-06-03 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * testsuite/config/default.exp (NOSANTIZE_CFLAGS): New.
1020 * testsuite/ld-elf/linux-x86.exp: Add $NOSANTIZE_CFLAGS to
1021 tests with run_ld_link_exec_tests.
1022 * testsuite/ld-elf/shared.exp: Add $NOSANTIZE_CFLAGS to tests
1023 with run_ld_link_tests.
1024 * testsuite/ld-elf/tls.exp: Likewise.
1025 * testsuite/ld-elfweak/elfweak.exp: Add $NOSANTIZE_CFLAGS to
1026 tests with ld_link.
1027 * testsuite/ld-gc/gc.exp: Add $NOSANTIZE_CFLAGS to cflags.
1028 * testsuite/ld-plugin/lto.exp: Add $NOSANTIZE_CFLAGS to tests
1029 with run_ld_link_tests.a
1030 * testsuite/ld-plugin/plugin.exp: Append $NOSANTIZE_CFLAGS to
1031 CFLAGS.
1032 * testsuite/ld-selective/selective.exp: Add $NOSANTIZE_CFLAGS
1033 to cflags and cxxflags.
1034 * testsuite/ld-srec/srec.exp: Append $NOSANTIZE_CFLAGS to CC
1035 and CXX.
1036 * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Updated for
1037 -fsanitize=undefined.
1038 * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise.
1039 * testsuite/ld-x86-64/x86-64.exp: Add $NOSANTIZE_CFLAGS to
1040 tests with run_cc_link_tests and run_ld_link_tests.
1041
1042 2020-06-03 Fangrui Song <maskray@google.com>
1043 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 PR ld/25910
1046 * NEWS: Mention --export-dynamic-symbol[-list].
1047 * ld.texi: Document --export-dynamic-symbol[-list].
1048 * ldgram.y: Pass current_dynamic_list_p to
1049 lang_append_dynamic_list.
1050 * ldlang.c (current_dynamic_list_p): New.
1051 (ang_append_dynamic_list): Updated to take a pointer to
1052 struct bfd_elf_dynamic_list * argument instead of using
1053 link_info.dynamic_list.
1054 (lang_append_dynamic_list_cpp_typeinfo): Pass
1055 &link_info.dynamic_list to ang_append_dynamic_list.
1056 (lang_append_dynamic_list_cpp_new): Likewise.
1057 * ldlang.h (current_dynamic_list_p): New.
1058 (lang_append_dynamic_list): Add a pointer to
1059 struct bfd_elf_dynamic_list * argument.
1060 * ldlex.h (option_values): Add OPTION_EXPORT_DYNAMIC_SYMBOL and
1061 OPTION_EXPORT_DYNAMIC_SYMBOL_LIST.
1062 * lexsup.c (ld_options): Add entries for
1063 OPTION_EXPORT_DYNAMIC_SYMBOL and
1064 OPTION_EXPORT_DYNAMIC_SYMBOL_LIST.
1065 (parse_args): Handle --export-dynamic-symbol and
1066 --export-dynamic-symbol-list.
1067 * testsuite/ld-dynamic/export-dynamic-symbol-1.d: New.
1068 * testsuite/ld-dynamic/export-dynamic-symbol-2.d: New.
1069 * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: New.
1070 * testsuite/ld-dynamic/export-dynamic-symbol-list-1.d: New.
1071 * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: New.
1072 * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: New.
1073 * testsuite/ld-dynamic/export-dynamic-symbol.exp: New.
1074 * testsuite/ld-dynamic/export-dynamic-symbol.s: New.
1075 * testsuite/ld-dynamic/foo-bar.list: New.
1076 * testsuite/ld-dynamic/foo.list: New.
1077 * testsuite/ld-dynamic/foo.s: New.
1078 * testsuite/ld-dynamic/fstar.list: New.
1079 * testsuite/ld-elf/dlempty.list: New.
1080 * testsuite/ld-elf/shared.exp: Add tests for
1081 --export-dynamic-symbol and --export-dynamic-symbol-list.
1082
1083 2020-06-03 Jan Beulich <jbeulich@suse.com>
1084
1085 * testsuite/ld-elf/linux-x86.exp: Make copied source files
1086 writeable.
1087
1088 2020-05-28 Nick Clifton <nickc@redhat.com>
1089
1090 PR 26047
1091 * ldelf.c (ldelf_after_open): Fail if attempting to link one
1092 executable into another. Ensure that the test is made for all
1093 forms of linking.
1094
1095 2020-05-28 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * NEWS: Mention --enable-textrel-check=yes is default for
1098 Linux/x86 targets.
1099 * configure.tgt (ac_default_ld_textrel_check): Set to yes if
1100 unset for Linux/x86 targets.
1101
1102 2020-05-28 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 PR ld/20824
1105 * NEWS: Mention --enable-textrel-check=[no|yes|warning|error].
1106 * configure.ac: Add --enable-textrel-check=[no|yes|warning|error].
1107 (DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED.
1108 (DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise.
1109 * ldmain.c (main): Initialize link_info.textrel_check to
1110 DEFAULT_LD_TEXTREL_CHECK.
1111 * lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING.
1112 * config.in: Regenerated.
1113 * configure: Likewise.
1114
1115 2020-05-28 Nick Clifton <nickc@redhat.com>
1116
1117 * lexsup.c (parse_args): Generate an error if a name is not
1118 provided to the -Map option.
1119 (ld_options): Mention that the -Map option supports a directory
1120 name as an argument.
1121 * NEWS: Remove mention of support for an empty string as an
1122 argument to -Map.
1123 * ld.texi: Likewise.
1124
1125 2020-05-27 Hans-Peter Nilsson <hp@axis.com>
1126
1127 PR ld/22909
1128 * testsuite/ld-elf/pr19539.d: Don't xfail for cris*-*-*.
1129
1130 2020-05-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1131 Nick Clifton <nickc@redhat.com>
1132
1133 * lexsup.c (parse_args): If the map filename is defined but empty
1134 create a name based upon the output file name. If the name is
1135 defined but refers to a directory create a file inside the
1136 directory based on the output file name.
1137 * ld.texi: Document the new feature.
1138 * testsuite/ld-script/map-address.exp: Add test of new feature.
1139 * NEWS: Mention the new feature.
1140
1141 2020-05-27 H.J. Lu <hongjiu.lu@intel.com>
1142
1143 PR ld/22909
1144 * NEWS: Mention --warn-textrel.
1145 * ld.texi: Update -z text/notext/textoff. Add --warn-textrel.
1146 Remove --warn-shared-textrel.
1147 * ldlex.h (option_values): Rename OPTION_WARN_SHARED_TEXTREL to
1148 OPTION_WARN_TEXTREL.
1149 * lexsup.c (ld_options): Add --warn-textrel. Obsolete
1150 --warn-shared-textrel.
1151 (parse_args): Updated.
1152 (elf_shlib_list_options): Check link_info.textrel_check.
1153 * emultempl/elf.em: Updated.
1154 * testsuite/ld-elf/pr19539.d: Replace -z notext with
1155 --warn-textrel. Expect a warning.
1156 * testsuite/ld-i386/warn1.d: Update expected warning.
1157
1158 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
1159
1160 * testsuite/ld-ifunc/ifunc-23a-x86.d: Skip *-*-lynxos *-*-nto*.
1161 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1162 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1163
1164 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 * testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker.
1167
1168 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 * testsuite/ld-elf/eh6.d: Pass -z notext to linker.
1171 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1172 * testsuite/ld-elf/pr19539.d: Likewise.
1173 * testsuite/ld-elfvers/vers.exp: Likewise.
1174 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
1175 * testsuite/ld-i386/i386.exp: Likewise.
1176 * testsuite/ld-i386/nogot1.d: Likewise.
1177 * testsuite/ld-i386/pr19539.d: Likewise.
1178 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1179 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1180 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1181 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1182 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1183 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1184 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1185 * testsuite/ld-i386/pr19939b.d: Likewise.
1186 * testsuite/ld-i386/undefweaka.d: Likewise.
1187 * testsuite/ld-i386/undefweakb.d: Likewise.
1188 * testsuite/ld-shared/shared.exp: Likewise.
1189 * testsuite/ld-size/size.exp: Likewise.
1190 * testsuite/ld-unique/unique.exp: Likewise.
1191 * testsuite/ld-x86-64/pie1.d: Likewise.
1192 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1193 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1194 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1195 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1196 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1197 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1198 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1199 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1200 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1201 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1202 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1203 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1204
1205 2020-05-24 Fangrui Song <maskray@google.com>
1206
1207 PR ld/26018
1208 * lexsup.c (parse_args): Simplify.
1209 * testsuite/ld-elf/dl4e.out: New.
1210 * testsuite/ld-elf/shared.exp: Updated for PR ld/26018 tests.
1211
1212 2020-05-23 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 PR ld/26018
1215 * testsuite/ld-i386/i386.exp: Add a -Bsymbolic-functions test.
1216 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1217 * testsuite/ld-i386/pr26018.d: New file.
1218 * testsuite/ld-x86-64/pr26018.d: Likewise.
1219 * testsuite/ld-x86-64/pr26018.s: Likewise.
1220
1221 2020-05-21 Alan Modra <amodra@gmail.com>
1222
1223 * deffilep.y: Replace "if (x) free (x)" with "free (x)" thoughout.
1224 * emultempl/elf.em: Likewise.
1225 * emultempl/msp430.em: Likewise.
1226 * emultempl/pe.em: Likewise.
1227 * emultempl/pep.em: Likewise.
1228 * emultempl/ppc64elf.em: Likewise.
1229 * emultempl/xtensaelf.em: Likewise.
1230 * ldelf.c: Likewise.
1231 * ldfile.c: Likewise.
1232 * ldmain.c: Likewise.
1233 * ldmisc.c: Likewise.
1234 * lexsup.c: Likewise.
1235 * pe-dll.c: Likewise.
1236
1237 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
1238
1239 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Updated
1240 priv attributes according to the -mpriv-spec option.
1241 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1242 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1243 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1244 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1245 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1246 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1247 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1248 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1249 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1250 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1251 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1252
1253 2020-05-20 Alan Modra <amodra@gmail.com>
1254
1255 PR 25993
1256 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't copy
1257 other_bfd_filename for bfd_set_filename, and test result of
1258 bfd_set_filename call. Don't create a new is->filename, simply
1259 copy from bfd filename. Free new_name after bfd_set_filename.
1260 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
1261
1262 2020-05-19 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
1263
1264 * testsuite/ld-aarch64/aarch64-elf.exp: New test
1265 emit-relocs-560.
1266 * testsuite/ld-aarch64/emit-relocs-560.d: New file.
1267 * testsuite/ld-aarch64/emit-relocs-560.s: New file.
1268
1269 2020-05-19 Alan Modra <amodra@gmail.com>
1270
1271 * emultempl/beos.em (sort_by_file_name): Use bfd_get_filename
1272 rather than accessing bfd->filename directly.
1273 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
1274 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
1275 * emultempl/spuelf.em (embedded_spu_file): Likewise.
1276 * ldlang.c (input_statement_is_archive_path, wild_sort),
1277 (check_excluded_libs): Likewise.
1278 * ldmain.c (add_archive_element): Likewise.
1279 * ldmisc.c (vfinfo): Likewise.
1280 * pe-dll.c (auto_export, generate_edata, pe_create_import_fixup),
1281 (pe_dll_generate_implib, pe_process_import_defs): Likewise.
1282 * plugin.c (plugin_object_p): Likewise.
1283
1284 2020-05-18 Douglas B Rupp <rupp@adacore.com>
1285
1286 * ldemul.h (ldemul_print_symbol): New.
1287 (ld_emulation_xfer_type) <print_symbol): Likewise.
1288 * ldemul.c (ldemul_print_symbol): New.
1289 * ldlang.c (SECTION_NAME_MAP_LANGTH): Move to ...
1290 (print_one_symbol): Make global and move declaration to ...
1291 (print_all_symbols): Rename print_one_symbol to ldemul_print_symbol
1292 (print_input_section): Likewise
1293 * ldlang.h: ... here.
1294 * emultempl/aix.em (gld${EMULATION_NAME}_print_symbol): New.
1295 (ld_emulation_xfer_struct): Use it.
1296 * emultempl/armcoff.em (ld_emulation_xfer_struct): Add print_symbol
1297 and default to NULL.
1298 * emultempl/beos.em (ld_emulation_xfer_struct): Likewise
1299 * emultempl/elf.em (ld_emulation_xfer_struct): Likewise
1300 * emultempl/generic.em (ld_emulation_xfer_struct): Likewise
1301 * emultempl/linux.em (ld_emulation_xfer_struct): Likewise
1302 * emultempl/msp430.em (ld_emulation_xfer_struct): Likewise
1303 * emultempl/pe.em (ld_emulation_xfer_struct): Likewise
1304 * emultempl/pep.em (ld_emulation_xfer_struct): Likewise
1305 * emultempl/ticoff.em (ld_emulation_xfer_struct): Likewise
1306 * emultempl/vanilla.em (ld_emulation_xfer_struct): Likewise
1307
1308 2020-05-18 Sergei Trofimovich <siarheit@google.com>
1309
1310 * ldmain.c (add_archive_element): Fix s/claimi/claim/ typo
1311 in info message.
1312
1313 2020-05-18 Nick Clifton <nickc@redhat.com>
1314
1315 * po/sv.po: Update Swedish translation.
1316
1317 2020-05-18 Nick Clifton <nickc@redhat.com>
1318
1319 PR 25993
1320 * emultempl/pe.em (_after_open): Check for duplicate filename
1321 pointers before renaming the dll.
1322 * emultempl/pep.em (_after_open): Likewise.
1323
1324 2020-05-13 Nick Clifton <nickc@redhat.com>
1325
1326 PR 25979
1327 * lexsup.c (elf_shlib_list_options): Include the default value for
1328 the hash style in the output text.
1329
1330 2020-05-11 Alan Modra <amodra@gmail.com>
1331
1332 * testsuite/ld-powerpc/pcrelopt.s: Add lxvp and stxvp.
1333 * testsuite/ld-powerpc/pcrelopt.d: Update.
1334
1335 2020-05-11 Alan Modra <amodra@gmail.com>
1336
1337 * testsuite/ld-powerpc/callstub-1.d: Use -mpower10/-Mpower10 in
1338 place of -mfuture/-Mfuture.
1339 * testsuite/ld-powerpc/notoc2.d: Likewise.
1340 * testsuite/ld-powerpc/powerpc.exp: Likewise.
1341 * testsuite/ld-powerpc/tlsgd.d: Likewise.
1342 * testsuite/ld-powerpc/tlsie.d: Likewise.
1343 * testsuite/ld-powerpc/tlsld.d: Likewise.
1344
1345 2020-05-11 Nick Clifton <nickc@redhat.com>
1346
1347 * po/es.po: Updated Spanish translation.
1348
1349 2020-05-01 Wilco Dijkstra <wdijkstr@arm.com>
1350
1351 PR ld/25665
1352 * testsuite/ld-aarch64/farcall-group.s: New large group test.
1353 * testsuite/ld-aarch64/farcall-group.d: New test driver.
1354 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1355
1356 2020-05-01 Alan Modra <amodra@gmail.com>
1357
1358 PR 25882
1359 * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for
1360 shared libraries.
1361
1362 2020-05-01 Alan Modra <amodra@gmail.com>
1363
1364 * po/BLD-POTFILES.in: Regenerate.
1365
1366 2020-04-30 Alex Coplan <alex.coplan@arm.com>
1367
1368 * testsuite/ld-aarch64/erratum843419_tls_ie.d: Use udf in disassembly.
1369 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
1370 * testsuite/ld-aarch64/farcall-back.d: Likewise.
1371 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1372
1373 2020-04-30 Nick Clifton <nickc@redhat.com>
1374
1375 * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
1376 not support the -shared command line option.
1377 * /ld-elf/compressed1c.d: Likewise.
1378 * /ld-elf/compressed1e.d: Likewise.
1379 * /ld-elf/dynamic1.d: Likewise.
1380 * /ld-elf/dynsym1.d: Likewise.
1381 * /ld-elf/ehdr_start-shared.d: Likewise.
1382 * /ld-elf/exclude3b.d: Likewise.
1383 * /ld-elf/global1.d: Likewise.
1384 * /ld-elf/hash.d: Likewise.
1385 * /ld-elf/local1.d: Likewise.
1386 * /ld-elf/mbind1b.d: Likewise.
1387 * /ld-elf/now-1.d: Likewise.
1388 * /ld-elf/now-2.d: Likewise.
1389 * /ld-elf/now-3.d: Likewise.
1390 * /ld-elf/now-4.d: Likewise.
1391 * /ld-elf/pr12975.d: Likewise.
1392 * /ld-elf/pr13177.d: Likewise.
1393 * /ld-elf/pr13195.d: Likewise.
1394 * /ld-elf/pr16322.d: Likewise.
1395 * /ld-elf/pr16498a.d: Likewise.
1396 * /ld-elf/pr16498b.d: Likewise.
1397 * /ld-elf/pr17615.d: Likewise.
1398 * /ld-elf/pr19162.d: Likewise.
1399 * /ld-elf/pr19698.d: Likewise.
1400 * /ld-elf/pr20513c.d: Likewise.
1401 * /ld-elf/pr20513d.d: Likewise.
1402 * /ld-elf/pr21389a.d: Likewise.
1403 * /ld-elf/pr21389b.d: Likewise.
1404 * /ld-elf/pr21389c.d: Likewise.
1405 * /ld-elf/pr21562a.d: Likewise.
1406 * /ld-elf/pr21562b.d: Likewise.
1407 * /ld-elf/pr21562c.d: Likewise.
1408 * /ld-elf/pr21562d.d: Likewise.
1409 * /ld-elf/pr21562e.d: Likewise.
1410 * /ld-elf/pr21562f.d: Likewise.
1411 * /ld-elf/pr21562g.d: Likewise.
1412 * /ld-elf/pr21562h.d: Likewise.
1413 * /ld-elf/pr21562i.d: Likewise.
1414 * /ld-elf/pr21562j.d: Likewise.
1415 * /ld-elf/pr21562k.d: Likewise.
1416 * /ld-elf/pr21562l.d: Likewise.
1417 * /ld-elf/pr21562m.d: Likewise.
1418 * /ld-elf/pr21562n.d: Likewise.
1419 * /ld-elf/pr21903a.d: Likewise.
1420 * /ld-elf/pr21903b.d: Likewise.
1421 * /ld-elf/pr22269b.d: Likewise.
1422 * /ld-elf/pr22393-1a.d: Likewise.
1423 * /ld-elf/pr22393-1b.d: Likewise.
1424 * /ld-elf/pr23658-1c.d: Likewise.
1425 * /ld-elf/pr25708.d: Likewise.
1426 * /ld-elf/rpath-1.d: Likewise.
1427 * /ld-elf/rpath-2.d: Likewise.
1428 * /ld-elf/runpath-1.d: Likewise.
1429 * /ld-elf/runpath-2.d: Likewise.
1430 * /ld-elf/sizeofb.d: Likewise.
1431 * /ld-elf/startofb.d: Likewise.
1432 * /ld-elf/strtab.d: Likewise.
1433 * /ld-elf/textaddr2.d: Likewise.
1434 * /ld-elf/textaddr5.d: Likewise.
1435 * /ld-elf/textaddr6.d: Likewise.
1436 * /ld-elf/unknown2.d: Likewise.
1437 * /ld-undefined/entry-3.d: Likewise.
1438 * /ld-undefined/entry-4.d: Likewise.
1439 * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
1440 the -pie option.
1441 * /ld-elf/pie.d: Likewise.
1442 * /ld-elf/pr19539.d: Likewise.
1443 * /ld-elf/pr21903d.d: Likewise.
1444 * /ld-elf/pr22269a.d: Likewise.
1445 * /ld-elf/pr22393-1c.d: Likewise.
1446 * /ld-elf/pr22393-1d.d: Likewise.
1447 * /ld-elf/pr22423.d: Likewise.
1448 * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
1449 * /ld-elf/loadaddr2.d: Likewise.
1450 * /ld-elf/pr22393-1e.d: Likewise.
1451 * /ld-elf/pr22393-1f.d: Likewise.
1452 * /ld-elf/textaddr1.d: Likewise.
1453 * /ld-elf/textaddr4.d: Likewise.
1454
1455 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
1456
1457 * emulparams/elf32rx_linux.sh: New rx-linux emulation.
1458 * emultempl/rxlinux.em: New.
1459 * configure.tgt: Add rx-linux.
1460 * Makefile.am: Add eelf32rx_linux.c
1461 * Makefile.in: Regenerate.
1462
1463 2020-04-29 Max Filippov <jcmvbkbc@gmail.com>
1464
1465 * testsuite/ld-xtensa/relax-diff1.d: New test definition.
1466 * testsuite/ld-xtensa/relax-diff1.s: New test source.
1467 * testsuite/ld-xtensa/relax-ndiff.d: New test definition.
1468 * testsuite/ld-xtensa/relax-ndiff.s: New test source.
1469 * testsuite/ld-xtensa/xtensa.exp: (relax-diff1)
1470 (relax-ndiff): New tests.
1471
1472 2020-04-29 Stephen Casner <casner@acm.org>
1473
1474 PR 25829
1475 * testsuite/ld-scripts/default-script.exp: Add --image-base=0 to
1476 LDFLAGS for targets *-*-mingw64 x86_64-*-cygwin.
1477 * testsuite/ld-scripts/default-script1.d: No longer have to skip
1478 test for those targets.
1479 * testsuite/ld-scripts/default-script2.d: Likewise.
1480 * testsuite/ld-scripts/default-script3.d: Likewise.
1481 * testsuite/ld-scripts/default-script4.d: Likewise.
1482
1483 2020-04-27 Tamar Christina <tamar.christina@arm.com>
1484
1485 * pe-dll.c (pe_detail_list): Add pe-bigobj-i386.
1486
1487 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
1488
1489 PR ld/25861
1490 * testsuite/ld-xtensa/relax-loc.d: New test definition.
1491 * testsuite/ld-xtensa/relax-loc.s: New test source.
1492 * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test.
1493
1494 2020-04-22 Fangrui Song <maskray@google.com>
1495
1496 PR ld/25806
1497 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path.
1498 * ldlang.c (current_input_file): New.
1499 (ldirname): New.
1500 (new_afile): Add from_filename parameter. Set extra_search_path.
1501 (lang_add_input_file): Pass current_input_file to new_afile.
1502 (load_symbols): Set current_input_file.
1503 * ldfile.c (ldfile_open_file): If extra_search_path has been set
1504 then scan it for the file that needs to be opened.
1505 * ld.texi: Document the new behaviour.
1506 * NEWS: Mention the new feature.
1507
1508 2020-04-22 Alan Modra <amodra@gmail.com>
1509
1510 * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
1511 * testsuite/ld-scripts/default-script2.d: Likewise.
1512 * testsuite/ld-scripts/default-script3.d: Likewise.
1513 * testsuite/ld-scripts/default-script4.d: Likewise.
1514
1515 2020-04-21 Stephen Casner <casner@acm.org>
1516
1517 PR 25829
1518 * testsuite/ld-scripts/script.exp (check_script)
1519 (extract_symbol_test): Make test addresses fit in 16 bits.
1520 * testsuite/ld-scripts/memory.t: Likewise.
1521 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
1522 * testsuite/ld-scripts/default-script.t (_START): Likewise.
1523 * testsuite/ld-scripts/default-script1.d: Likewise.
1524 * testsuite/ld-scripts/default-script2.d: Likewise.
1525 * testsuite/ld-scripts/default-script3.d: Likewise.
1526 * testsuite/ld-scripts/default-script4.d: Likewise.
1527 * testsuite/ld-scripts/empty-address-1.t: Likewise.
1528 * testsuite/ld-scripts/empty-address-1.d: Likewise.
1529 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
1530 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1531 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
1532 fit target address size.
1533 * testsuite/ld-scripts/empty-address-1.s: Likewise.
1534 * testsuite/ld-scripts/empty-address-2.s: Likewise.
1535
1536 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
1537
1538 PR ld/25849
1539 * ldelfgen.c (ldelf_map_segments): Call
1540 elf_backend_strip_zero_sized_dynamic_sections.
1541 * testsuite/ld-alpha/tlsbinr.rd: Updated.
1542
1543 2020-04-20 Alan Modra <amodra@gmail.com>
1544
1545 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
1546 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
1547 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
1548
1549 2020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1550
1551 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
1552 * testsuite/ld-elf/warn2.d: Likewise.
1553
1554 2020-04-18 H.J. Lu <hongjiu.lu@intel.com>
1555
1556 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
1557 alpha target.
1558 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
1559
1560 2020-04-16 Stephen Casner <casner@acm.org>
1561
1562 PR 18963
1563 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
1564 16-bit address space.
1565 * testsuite/ld-scripts/pr18963.d: Likewise.
1566
1567 2020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
1568 Jan W. Jagersma <jwjagersma@gmail.com>
1569
1570 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
1571 .ctors and .dtors. Discard LTO sections.
1572
1573 2020-04-17 Nick Clifton <nickc@redhat.com>
1574
1575 * testsuite/config/default.exp: If not already set then create the
1576 CCC_OVERRIDE_OPTIONS environment variable to help when running the
1577 testsuite with clang.
1578 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
1579 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
1580 were built before attempting to copy them.
1581
1582 2020-04-15 Fangrui Song <maskray@google.com>
1583
1584 PR binutils/24613
1585 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
1586 RM_GENERATE_ERROR to RM_DIAGNOSE.
1587 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
1588 RM_GENERATE_ERROR to RM_DIAGNOSE.
1589 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
1590
1591 2020-04-14 Stephen Casner <casner@acm.org>
1592
1593 PR ld/25677
1594 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
1595 (EXTRA_EM_FILE): New, add emulation file pdp11.
1596 * scripttempl/pdp11.sc: New, derived from aout.sc without
1597 irrelevant input sections.
1598 * emultempl/pdp11.em (_add_options, _handle_option)
1599 (_list_options): New. Add options -z, --imagic for pdp11-aout.
1600 (_before_parse): Make --omagic be default instead of --nmagic.
1601 (_get_script): Modify special-case linker script for --imagic.
1602 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
1603 * ld.texi (Options): Add documentation of PDP11-specific options.
1604 (Options): Fix unrelated typo to --no-compact-branches.
1605 * gen-doc.texi: @set PDP11.
1606 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
1607 * testsuite/ld-pdp11/sections.s: New, source for options tests.
1608 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
1609 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
1610 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
1611 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
1612
1613 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 PR binutils/25707
1616 * testsuite/ld-arm/armthumb-lib.sym: Updated.
1617 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
1618 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
1619 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
1620 * testsuite/ld-arm/fdpic-main.sym: Likewise.
1621 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
1622 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
1623 * testsuite/ld-arm/mixed-app.sym: Likewise.
1624 * testsuite/ld-arm/mixed-lib.sym: Likewise.
1625 * testsuite/ld-arm/preempt-app.sym: Likewise.
1626 * testsuite/ld-elf/hash.d: Likewise.
1627 * testsuite/ld-elf/pr13195.d: Likewise.
1628 * testsuite/ld-elfvsb/hidden2.d: Likewise.
1629 * testsuite/ld-mips-elf/hash2.d: Likewise.
1630
1631 2020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1632
1633 * testsuite/ld-shared/shared.exp: Remove dangling comments.
1634 xfail shared non PIC tests on Solaris.
1635
1636 2020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1637
1638 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
1639
1640 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
1643 nopie with available.
1644
1645 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
1646
1647 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
1648 Set to "-fcf-protection=none" if target compiler supports it.
1649 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
1650 CC and CXX.
1651 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
1652 to PLT BND tests.
1653
1654 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
1655
1656 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
1657 -I../bfd.
1658 (check_pr25749b): Likewise.
1659
1660 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1661
1662 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
1663 notarget.
1664 * ifunc-11-i386.d: Likewise.
1665 * ifunc-12-i386.d: Likewise.
1666 * ifunc-13-i386.d: Likewise.
1667 * ifunc-14a-i386.d: Likewise.
1668 * ifunc-14b-i386.d: Likewise.
1669 * ifunc-14c-i386.d: Likewise.
1670 * ifunc-14d-i386.d: Likewise.
1671 * ifunc-14e-i386.d: Likewise.
1672 * ifunc-14f-i386.d: Likewise.
1673 * ifunc-15-i386.d: Likewise.
1674 * ifunc-16-i386-now.d: Likewise.
1675 * ifunc-16-i386.d: Likewise.
1676 * ifunc-17a-i386.d: Likewise.
1677 * ifunc-17b-i386.d: Likewise.
1678 * ifunc-18a-i386.d: Likewise.
1679 * ifunc-18b-i386.d: Likewise.
1680 * ifunc-19a-i386.d: Likewise.
1681 * ifunc-19b-i386.d: Likewise.
1682 * ifunc-2-i386-now.d: Likewise.
1683 * ifunc-2-i386.d: Likewise.
1684 * ifunc-2-local-i386-now.d: Likewise.
1685 * ifunc-2-local-i386.d: Likewise.
1686 * ifunc-20-i386.d: Likewise.
1687 * ifunc-21-i386.d: Likewise.
1688 * ifunc-22-i386.d: Likewise.
1689 * ifunc-5a-i386.d: Likewise.
1690 * ifunc-5a-local-i386.d: Likewise.
1691 * ifunc-5b-i386.d: Likewise.
1692 * ifunc-5b-local-i386.d: Likewise.
1693 * ifunc-5r-local-i386.d: Likewise.
1694 * ifunc-6a-i386.d: Likewise.
1695 * ifunc-6b-i386.d: Likewise.
1696 * ifunc-7a-i386.d: Likewise.
1697 * ifunc-7b-i386.d: Likewise.
1698 * ifunc-8-i386.d: Likewise.
1699 * ifunc-9-i386.d: Likewise.
1700 * pr17154-i386-now.d: Likewise.
1701 * pr17154-i386.d: Likewise.
1702
1703 * ifunc-23a-x86.d: Remove notarget.
1704 * ifunc-24a-x86.d: Likewise.
1705 * ifunc-25a-x86.d: Likewise.
1706
1707 2020-04-02 Nick Clifton <nickc@redhat.com>
1708
1709 PR ld/25747
1710 * ldfile.c (ldfile_open_file): Fix typo in warning message.
1711
1712 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
1713
1714 PR ld/25749
1715 PR ld/25754
1716 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
1717 * testsuite/ld-elf/pr25749-1.c: New file.
1718 * testsuite/ld-elf/pr25749-1a.c: Likewise.
1719 * testsuite/ld-elf/pr25749-1b.c: Likewise.
1720 * testsuite/ld-elf/pr25749-1b.err: Likewise.
1721 * testsuite/ld-elf/pr25749-1c.c: Likewise.
1722 * testsuite/ld-elf/pr25749-1d.c: Likewise.
1723 * testsuite/ld-elf/pr25749-2.c: Likewise.
1724 * testsuite/ld-elf/pr25749-2a.s: Likewise.
1725 * testsuite/ld-elf/pr25749-2b.s: Likewise.
1726 * testsuite/ld-elf/pr25749.rd: Likewise.
1727 * testsuite/ld-elf/pr25754-1a.c: Likewise.
1728 * testsuite/ld-elf/pr25754-1b.s: Likewise.
1729 * testsuite/ld-elf/pr25754-2a.c: Likewise.
1730 * testsuite/ld-elf/pr25754-2b.err: Likewise.
1731 * testsuite/ld-elf/pr25754-2b.s: Likewise.
1732 * testsuite/ld-elf/pr25754-3a.c: Likewise.
1733 * testsuite/ld-elf/pr25754-3b.s: Likewise.
1734 * testsuite/ld-elf/pr25754-4a.c: Likewise.
1735 * testsuite/ld-elf/pr25754-4b.s: Likewise.
1736 * testsuite/ld-elf/pr25754-4c.s: Likewise.
1737 * testsuite/ld-elf/pr25754-5a.c: Likewise.
1738 * testsuite/ld-elf/pr25754-5b.s: Likewise.
1739 * testsuite/ld-elf/pr25754-5c.s: Likewise.
1740 * testsuite/ld-elf/pr25754-6a.c: Likewise.
1741 * testsuite/ld-elf/pr25754-6b.s: Likewise.
1742 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
1743
1744 2020-04-01 Tamar Christina <tamar.christina@arm.com>
1745
1746 PR ld/16017
1747 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
1748
1749 2020-04-01 Nick Clifton <nickc@redhat.com>
1750
1751 PR ld/25747
1752 * ldfile.c (ldfile_open_file): If a search for a library fails,
1753 but there is a file that would match if it had a "lib" prefix to
1754 its name, then tell the user.
1755
1756 2020-04-01 Tamar Christina <tamar.christina@arm.com>
1757
1758 PR ld/16017
1759 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
1760 * testsuite/ld-arm/thumb-plt-got.d: New test.
1761
1762 2020-04-01 Tamar Christina <tamar.christina@arm.com>
1763
1764 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
1765 * testsuite/ld-arm/thumb-plt.d: New test.
1766 * testsuite/ld-arm/thumb-plt.s: New test.
1767
1768 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
1769
1770 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
1771
1772 2020-03-30 Nick Clifton <nickc@redhat.com>
1773
1774 PR binutils/25662
1775 * emultempl/pe.em (after_open): Replace initialisation of the
1776 insert_timestamp field in the pe_data structure with an
1777 initialisation of the timestamp field.
1778 * emultemp/pep.em: Likewise.
1779 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
1780 structure instead of the insert_timestamp field.
1781
1782 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 PR 25732
1785 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
1786 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
1787 Solaris.
1788
1789 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 PR 25732
1792 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
1793
1794 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 PR 25732
1797 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
1798 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1799 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1800
1801 2020-03-25 Alan Modra <amodra@gmail.com>
1802
1803 * testsuite/ld-elf/compress1c.d: xfail h8300.
1804 * testsuite/ld-elf/compressed1c.d: Likewise.
1805 * testsuite/ld-elf/compressed1e.d: Likewise.
1806 * testsuite/ld-elf/dynamic1.d: Likewise.
1807 * testsuite/ld-elf/dynsym1.d: Likewise.
1808 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1809 * testsuite/ld-elf/exclude3b.d: Likewise.
1810 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
1811 * testsuite/ld-elf/global1.d: xfail h8300.
1812 * testsuite/ld-elf/hash.d: Likewise.
1813 * testsuite/ld-elf/loadaddr1.d: Likewise.
1814 * testsuite/ld-elf/loadaddr2.d: Likewise.
1815 * testsuite/ld-elf/local1.d: Likewise.
1816 * testsuite/ld-elf/mbind1b.d: Likewise.
1817 * testsuite/ld-elf/mbind1c.d: Likewise.
1818 * testsuite/ld-elf/now-1.d: Likewise.
1819 * testsuite/ld-elf/now-2.d: Likewise.
1820 * testsuite/ld-elf/now-3.d: Likewise.
1821 * testsuite/ld-elf/now-4.d: Likewise.
1822 * testsuite/ld-elf/pie.d: Likewise.
1823 * testsuite/ld-elf/pr12975.d: Likewise.
1824 * testsuite/ld-elf/pr13177.d: Likewise.
1825 * testsuite/ld-elf/pr13195.d: Likewise.
1826 * testsuite/ld-elf/pr16322.d: Likewise.
1827 * testsuite/ld-elf/pr16498a.d: Likewise.
1828 * testsuite/ld-elf/pr16498b.d: Likewise.
1829 * testsuite/ld-elf/pr17615.d: Likewise.
1830 * testsuite/ld-elf/pr19162.d: Likewise.
1831 * testsuite/ld-elf/pr19539.d: Likewise.
1832 * testsuite/ld-elf/pr19617a.d: Likewise.
1833 * testsuite/ld-elf/pr19698.d: Likewise.
1834 * testsuite/ld-elf/pr20513c.d: Likewise.
1835 * testsuite/ld-elf/pr20513d.d: Likewise.
1836 * testsuite/ld-elf/pr21389a.d: Likewise.
1837 * testsuite/ld-elf/pr21389b.d: Likewise.
1838 * testsuite/ld-elf/pr21389c.d: Likewise.
1839 * testsuite/ld-elf/pr21562a.d: Likewise.
1840 * testsuite/ld-elf/pr21562b.d: Likewise.
1841 * testsuite/ld-elf/pr21562c.d: Likewise.
1842 * testsuite/ld-elf/pr21562d.d: Likewise.
1843 * testsuite/ld-elf/pr21562e.d: Likewise.
1844 * testsuite/ld-elf/pr21562f.d: Likewise.
1845 * testsuite/ld-elf/pr21562g.d: Likewise.
1846 * testsuite/ld-elf/pr21562h.d: Likewise.
1847 * testsuite/ld-elf/pr21562i.d: Likewise.
1848 * testsuite/ld-elf/pr21562j.d: Likewise.
1849 * testsuite/ld-elf/pr21562k.d: Likewise.
1850 * testsuite/ld-elf/pr21562l.d: Likewise.
1851 * testsuite/ld-elf/pr21562m.d: Likewise.
1852 * testsuite/ld-elf/pr21562n.d: Likewise.
1853 * testsuite/ld-elf/pr21903a.d: Likewise.
1854 * testsuite/ld-elf/pr21903b.d: Likewise.
1855 * testsuite/ld-elf/pr21903d.d: Likewise.
1856 * testsuite/ld-elf/pr22269a.d: Likewise.
1857 * testsuite/ld-elf/pr22269b.d: Likewise.
1858 * testsuite/ld-elf/pr22393-1a.d: Likewise.
1859 * testsuite/ld-elf/pr22393-1b.d: Likewise.
1860 * testsuite/ld-elf/pr22393-1c.d: Likewise.
1861 * testsuite/ld-elf/pr22393-1d.d: Likewise.
1862 * testsuite/ld-elf/pr22393-1e.d: Likewise.
1863 * testsuite/ld-elf/pr22393-1f.d: Likewise.
1864 * testsuite/ld-elf/pr22423.d: Likewise.
1865 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
1866 and xc16x.
1867 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
1868 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
1869 * testsuite/ld-elf/rpath-1.d: xfail h8300.
1870 * testsuite/ld-elf/rpath-2.d: Likewise.
1871 * testsuite/ld-elf/runpath-1.d: Likewise.
1872 * testsuite/ld-elf/runpath-2.d: Likewise.
1873 * testsuite/ld-elf/sizeofb.d: Likewise.
1874 * testsuite/ld-elf/startofb.d: Likewise.
1875 * testsuite/ld-elf/strtab.d: Likewise.
1876 * testsuite/ld-elf/textaddr1.d: Likewise.
1877 * testsuite/ld-elf/textaddr2.d: Likewise.
1878 * testsuite/ld-elf/textaddr4.d: Likewise.
1879 * testsuite/ld-elf/textaddr5.d: Likewise.
1880 * testsuite/ld-elf/textaddr6.d: Likewise.
1881 * testsuite/ld-elf/unknown2.d: Likewise.
1882 * testsuite/ld-undefined/entry-3.d: Likewise.
1883 * testsuite/ld-undefined/entry-4.d: Likewise.
1884 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
1885 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
1886 file format match.
1887 * testsuite/ld-h8300/relax-2.d: Likewise.
1888 * testsuite/ld-h8300/relax-3.d: Likewise.
1889 * testsuite/ld-h8300/relax-4.d: Likewise.
1890 * testsuite/ld-h8300/relax-5.d: Likewise.
1891 * testsuite/ld-h8300/relax-6.d: Likewise.
1892 * testsuite/ld-h8300/relax-7.d: Likewise.
1893 * testsuite/ld-h8300/relax.d: Relax file format match.
1894
1895 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 PR binutils/25708
1898 * testsuite/ld-elf/pr25708.d: New file.
1899
1900 2020-03-23 Alan Modra <amodra@gmail.com>
1901
1902 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
1903 Include ei386aout dep file.
1904 * Makefile.in: Regenerate.
1905 * po/BLD-POTFILES.in: Regenerate.
1906
1907 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
1910 test only for GCC 10 or newer.
1911
1912 2020-03-20 Alan Modra <amodra@gmail.com>
1913
1914 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
1915 clear new fields.
1916 * testplug2.c (parse_symdefstr): Likewise.
1917 * testplug3.c (parse_symdefstr): Likewise.
1918 * testplug4.c (parse_symdefstr): Likewise.
1919
1920 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
1921
1922 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
1923 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
1924
1925 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
1926
1927 * emultempl/xtensaelf.em: Emit a fatal error message
1928 instead of calling abort.
1929 * ldlang.c: Likewise.
1930
1931 2020-03-14 Alan Modra <amodra@gmail.com>
1932
1933 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
1934 targets. Don't skip xtensa, xfail instead.
1935
1936 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
1937
1938 * ldlang.c (lang_add_section): Add support for
1939 non_contiguous_regions.
1940 (size_input_section): Likewise.
1941 (lang_size_sections_1): Likewise.
1942 (process_insert_statements): Likewise.
1943 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
1944 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
1945 * lexsup.c (ld_options): Add entries for
1946 --enable-non-contiguous-regions and
1947 --enable-non-contiguous-regions-warnings.
1948 (parse_args): Handle it.
1949 * NEWS: Add --enable-non-contiguous-regions and
1950 --enable-non-contiguous-regions-warnings.
1951 * ld.texi: Add --enable-non-contiguous-regions and
1952 --enable-non-contiguous-regions-warnings documentation.
1953 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
1954 SEC_LINKER_CREATED flag.
1955 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
1956 Emit an error when --enable-non-contiguous-regions is used.
1957 * testsuite/ld-elf/non-contiguous.d: New.
1958 * testsuite/ld-elf/non-contiguous.ld: New.
1959 * testsuite/ld-elf/non-contiguous.s: New.
1960 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
1961 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
1962 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
1963 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
1964 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
1965 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
1966 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
1967 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
1968 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
1969 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
1970 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
1971 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
1972 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
1973 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
1974 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1975 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
1976 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
1977 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
1978 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
1979
1980 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 PR ld/24920
1983 * emulparams/elf32_x86_64.sh: Use static.sh.
1984 * emulparams/elf_i386.sh: Likewise.
1985 * emulparams/elf_x86_64.sh: Likewise.
1986 * emulparams/static.sh: New file.
1987 * emultempl/elf-x86.em: Include "ldlex.h".
1988 * testsuite/ld-elf/pr24920.err: New file.
1989 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
1990
1991 2020-03-13 Christian Eggers <ceggers@gmx.de>
1992
1993 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
1994
1995 2020-03-11 Alan Modra <amodra@gmail.com>
1996
1997 * ldelf.c (elf_orphan_compatible): Return false when two sections
1998 have differing SHF_MASKPROC or SHF_MASKOS flags.
1999
2000 2020-03-05 Alan Modra <amodra@gmail.com>
2001
2002 PR 25570
2003 * ldlang.c (lang_size_sections_1): Don't report changes on
2004 second and subsequent iterations that make no change in
2005 alignment from that already reported.
2006
2007 2020-03-05 Alan Modra <amodra@gmail.com>
2008
2009 PR 25570
2010 * ldlang.c (lang_sizing_iteration): New static var.
2011 (lang_size_sections_1): Warn about no memory region only on first
2012 iteration. Warn about changing start address on first iteration
2013 then any delta from that on subsequent iterations. Report a signed
2014 delta.
2015 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
2016
2017 2020-03-03 Nick Clifton <nickc@redhat.com>
2018
2019 PR 25588
2020 * ld.texi (Options): Update the description of the --rpath-link
2021 option.
2022
2023 2020-03-02 Alan Modra <amodra@gmail.com>
2024
2025 * plugin.c (plugin_object_p): Return a bfd_cleanup.
2026 (plugin_cleanup): New function.
2027
2028 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 PR ld/25618
2031 * plugin.c (plugin_object_p): Copy the no_export field to the IR
2032 dummy object.
2033 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
2034 PR ld/25618 tests.
2035 * testsuite/ld-plugin/pr25618.d: New file.
2036 * testsuite/ld-plugin/pr25618a.cc: Likewise.
2037 * testsuite/ld-plugin/pr25618a.h: Likewise.
2038 * testsuite/ld-plugin/pr25618b.cc: Likewise.
2039 * testsuite/ld-plugin/pr25618b.h: Likewise.
2040
2041 2020-02-27 Alan Modra <amodra@gmail.com>
2042
2043 PR 24511
2044 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
2045 * testsuite/ld-mmix/sec-2.d: Likewise.
2046 * testsuite/ld-mmix/sec-3.d: Likewise.
2047 * testsuite/ld-mmix/sec-4.d: Likewise.
2048 * testsuite/ld-mmix/spec802.d: Likewise.
2049 * testsuite/ld-mmix/spec803.d: Likewise.
2050 * testsuite/ld-mmix/spec804.d: Likewise.
2051 * testsuite/ld-mmix/spec805.d: Likewise.
2052 * testsuite/ld-mmix/spec806.d: Likewise.
2053 * testsuite/ld-mmix/spec807.d: Likewise.
2054 * testsuite/ld-mmix/spec808.d: Likewise.
2055
2056 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 PR ld/25593
2059 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
2060 * testsuite/ld-plugin/pr25593.d: New file.
2061 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
2062 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
2063 * testsuite/ld-plugin/pr25593b.c: Likewise.
2064 * testsuite/ld-plugin/pr25593c.c: Likewise.
2065 * testsuite/ld-plugin/pr25593d.c: Likewise.
2066 * testsuite/ld-plugin/pr25593e.c: Likewise.
2067
2068 2020-02-26 Alan Modra <amodra@gmail.com>
2069
2070 * emultempl/cskyelf.em: Indent labels correctly.
2071 * ldfile.c: Likewise.
2072 * ldlang.c: Likewise.
2073 * plugin.c: Likewise.
2074
2075 2020-02-26 Alan Modra <amodra@gmail.com>
2076
2077 PR 25593
2078 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
2079 (ldelf_after_open): Save state of input_bfds list before loading
2080 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
2081 Restore input_bfds list.
2082 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
2083
2084 2020-02-24 Nick Clifton <nickc@redhat.com>
2085
2086 * po/fr.po: Update French translation.
2087
2088 2020-02-22 Alan Modra <amodra@gmail.com>
2089
2090 PR 25585
2091 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
2092 checking.
2093
2094 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
2095
2096 PR 25537
2097 * emultempl/z80.em: Remove machine compatability checking.
2098
2099 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
2100
2101 PR 25517
2102 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
2103 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
2104 * testsuite/ld-z80/arch_r800.d: Likewise.
2105 * testsuite/ld-z80/arch_z180.d: Likewise.
2106 * testsuite/ld-z80/arch_z80n.d: Likewise.
2107 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
2108 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
2109 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
2110 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
2111 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
2112 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
2113 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
2114 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
2115 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
2116 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
2117
2118 2020-02-19 Alan Modra <amodra@gmail.com>
2119
2120 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
2121
2122 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 PR binutils/25355
2125 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
2126 * testsuite/ld-plugin/pr25355.c: New file.
2127 * testsuite/ld-plugin/pr25355.d: Likewise.
2128 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
2129 only dump.
2130
2131 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
2134
2135 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
2136
2137 PR 25469
2138 * emulparams/elf32z80.sh: Use z80 emulation.
2139 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
2140 * emultempl/z80elf.em: Delete.
2141 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
2142 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
2143 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
2144 * testsuite/ld-unique/unique.s: Likewise.
2145 * testsuite/ld-unique/unique_empty.s: Likewise.
2146 * testsuite/ld-unique/unique_shared.s: Likewise.
2147 * testsuite/ld-unique/unique.d: Updated expected output.
2148 * testsuite/ld-z80/arch_z80n.d: New file.
2149 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
2150 * testsuite/ld-z80/labels.s: Add more labels.
2151 * testsuite/ld-z80/relocs.s: Add more reloc tests.
2152 * testsuite/ld-z80/relocs_f_z80n.d: New file
2153
2154 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
2155
2156 PR ld/25022
2157 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
2158 ldelf_before_place_orphans.
2159
2160 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 PR ld/25022
2163 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
2164 before_place_orphans_default.
2165 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
2166 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
2167 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
2168 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
2169 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
2170 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
2171 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
2172 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
2173 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
2174 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
2175 ldelf_before_place_orphans.
2176 * ldelf.c (ldelf_before_place_orphans): New.
2177 * ldelf.h (ldelf_before_place_orphans): Likewise.
2178 * ldemul.c (ldemul_before_place_orphans): Likewise.
2179 (before_place_orphans_default): Likewise.
2180 * ldemul.h (ldemul_before_place_orphans): Likewise.
2181 (before_place_orphans_default): Likewise.
2182 (ld_emulation_xfer_struct): Add before_place_orphans.
2183 * ldlang.c (lang_process): Call ldemul_before_place_orphans
2184 before lang_place_orphans.
2185 * testsuite/ld-elf/pr25022.d: New file.
2186 * testsuite/ld-elf/pr25022.s: Likewise.
2187 * testsuite/ld-elf/pr25022.t: Likewise.
2188
2189 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 PR ld/25490
2192 * testsuite/ld-elf/pr25490-1.d: New file.
2193 * testsuite/ld-elf/pr25490-1.s: Likewise.
2194
2195 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 PR ld/24526
2198 PR ld/25021
2199 PR ld/25490
2200 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
2201 * testsuite/ld-elf/pr24526.d: New file.
2202 * testsuite/ld-elf/pr24526.s: Likewise.
2203 * testsuite/ld-elf/pr25021.d: Likewise.
2204 * testsuite/ld-elf/pr25021.s: Likewise.
2205 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
2206 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
2207 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
2208 * testsuite/ld-elf/pr25490-2.s: Likewise.
2209 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
2210 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
2211 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
2212 * testsuite/ld-elf/pr25490-3.s: Likewise.
2213 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
2214 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
2215 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
2216 * testsuite/ld-elf/pr25490-4.s: Likewise.
2217 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
2218 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
2219 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
2220 * testsuite/ld-elf/pr25490-5.s: Likewise.
2221 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
2222 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
2223 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
2224 * testsuite/ld-elf/pr25490-6.s: Likewise.
2225
2226 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
2229 z80 as not supported.
2230
2231 2020-02-06 Alan Modra <amodra@gmail.com>
2232
2233 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
2234 targets that don't support ifunc rather than ones that do.
2235 (contains_irelative_reloc): Match R_PARISC_IPLT.
2236 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
2237 * testsuite/ld-ifunc/ifunc-23-x86.s,
2238 * testsuite/ld-ifunc/ifunc-24-x86.s,
2239 * testsuite/ld-ifunc/ifunc-25-x86.s,
2240 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
2241 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
2242 * testsuite/ld-ifunc/ifunc-10-i386.d,
2243 * testsuite/ld-ifunc/ifunc-11-i386.d,
2244 * testsuite/ld-ifunc/ifunc-12-i386.d,
2245 * testsuite/ld-ifunc/ifunc-13-i386.d,
2246 * testsuite/ld-ifunc/ifunc-14a-i386.d,
2247 * testsuite/ld-ifunc/ifunc-14b-i386.d,
2248 * testsuite/ld-ifunc/ifunc-14c-i386.d,
2249 * testsuite/ld-ifunc/ifunc-14d-i386.d,
2250 * testsuite/ld-ifunc/ifunc-14e-i386.d,
2251 * testsuite/ld-ifunc/ifunc-14f-i386.d,
2252 * testsuite/ld-ifunc/ifunc-15-i386.d,
2253 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
2254 * testsuite/ld-ifunc/ifunc-16-i386.d,
2255 * testsuite/ld-ifunc/ifunc-17a-i386.d,
2256 * testsuite/ld-ifunc/ifunc-17b-i386.d,
2257 * testsuite/ld-ifunc/ifunc-18a-i386.d,
2258 * testsuite/ld-ifunc/ifunc-18b-i386.d,
2259 * testsuite/ld-ifunc/ifunc-19a-i386.d,
2260 * testsuite/ld-ifunc/ifunc-19b-i386.d,
2261 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
2262 * testsuite/ld-ifunc/ifunc-2-i386.d,
2263 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
2264 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
2265 * testsuite/ld-ifunc/ifunc-20-i386.d,
2266 * testsuite/ld-ifunc/ifunc-21-i386.d,
2267 * testsuite/ld-ifunc/ifunc-22-i386.d,
2268 * testsuite/ld-ifunc/ifunc-26.d,
2269 * testsuite/ld-ifunc/ifunc-5a-i386.d,
2270 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
2271 * testsuite/ld-ifunc/ifunc-5b-i386.d,
2272 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
2273 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
2274 * testsuite/ld-ifunc/ifunc-6a-i386.d,
2275 * testsuite/ld-ifunc/ifunc-6b-i386.d,
2276 * testsuite/ld-ifunc/ifunc-7a-i386.d,
2277 * testsuite/ld-ifunc/ifunc-7b-i386.d,
2278 * testsuite/ld-ifunc/ifunc-8-i386.d,
2279 * testsuite/ld-ifunc/ifunc-9-i386.d,
2280 * testsuite/ld-ifunc/pr17154-i386-now.d,
2281 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
2282
2283 2020-02-06 Alan Modra <amodra@gmail.com>
2284
2285 * testsuite/lib/ld-lib.exp (is_generic): Delete.
2286 * testsuite/ld-unique/unique.exp: Exclude tic6x.
2287
2288 2020-02-06 Alan Modra <amodra@gmail.com>
2289
2290 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
2291 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
2292
2293 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 PR gas/25380
2296 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
2297 directives.
2298 * testsuite/ld-i386/tls-gd1.S: Likewise.
2299 * testsuite/ld-x86-64/pr21481b.S: Likewise.
2300
2301 2020-01-30 Jan Beulich <jbeulich@suse.com>
2302
2303 * ld.texi: Remove space between @option and brace.
2304
2305 2020-01-29 Alan Modra <amodra@gmail.com>
2306
2307 PR 25477
2308 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
2309 correct concat.
2310 (ldelf_after_open): Add prefix parameter.
2311 * ldelf.h (ldelf_after_open): Update prototype.
2312 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
2313 to ldelf_after_open.
2314 * Makefile.am: Correct z80 dependencies.
2315 * Makefile.in: Regenerate.
2316
2317 2020-01-28 Alan Modra <amodra@gmail.com>
2318
2319 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
2320 in first phase.
2321
2322 2020-01-27 Alan Modra <amodra@gmail.com>
2323
2324 * testsuite/ld-elfvers/vers.exp: Replace case statements with
2325 switch statements.
2326 * testsuite/ld-ifunc/ifunc.exp: Likewise.
2327 * testsuite/ld-unique/unique.exp: Likewise.
2328
2329 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
2330 Alan Modra <amodra@gmail.com>
2331
2332 PR ld/25458
2333 * testsuite/ld-elf/pr25458.map: New file.
2334 * testsuite/ld-elf/pr25458.rd: Likewise.
2335 * testsuite/ld-elf/pr25458a.s: Likewise.
2336 * testsuite/ld-elf/pr25458b.s: Likewise.
2337 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
2338
2339 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
2340
2341 PR ld/25416
2342 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
2343 compiler support.
2344
2345 2020-01-22 Alan Modra <amodra@gmail.com>
2346
2347 * testsuite/ld-powerpc/tlsdesc3.d,
2348 * testsuite/ld-powerpc/tlsdesc3.wf,
2349 * testsuite/ld-powerpc/tlsdesc4.d,
2350 * testsuite/ld-powerpc/tlsdesc4.s,
2351 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
2352 * testsuite/ld-powerpc/powerpc.exp: Run them.
2353
2354 2020-01-22 Alan Modra <amodra@gmail.com>
2355
2356 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
2357 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
2358 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
2359 (params): Init new field.
2360 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
2361 Document.
2362 * testsuite/ld-powerpc/tlsdesc.s,
2363 * testsuite/ld-powerpc/tlsdesc.d,
2364 * testsuite/ld-powerpc/tlsdesc.wf,
2365 * testsuite/ld-powerpc/tlsdesc2.d,
2366 * testsuite/ld-powerpc/tlsdesc2.wf,
2367 * testsuite/ld-powerpc/tlsexenors.d,
2368 * testsuite/ld-powerpc/tlsexenors.r,
2369 * testsuite/ld-powerpc/tlsexers.d,
2370 * testsuite/ld-powerpc/tlsexers.r,
2371 * testsuite/ld-powerpc/tlsexetocnors.d,
2372 * testsuite/ld-powerpc/tlsexetocrs.d,
2373 * testsuite/ld-powerpc/tlsexetocrs.r,
2374 * testsuite/ld-powerpc/tlsopt6.d,
2375 * testsuite/ld-powerpc/tlsopt6.wf: New.
2376 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2377
2378 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
2379
2380 PR 25417
2381 * ldlang.c (ldlang_open_ctf): Fix error message typo.
2382 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
2383
2384 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 * testsuite/ld-elf/pr23900-1.d: Adjusted.
2387
2388 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
2391
2392 2020-01-20 Nick Clifton <nickc@redhat.com>
2393
2394 * po/pt_BR.po: Updated Brazilian Portuguese translation.
2395 * po/uk.po: Updated Ukranian translation.
2396
2397 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 PR ld/25416
2400 * testsuite/ld-x86-64/pr25416-1.s: New file
2401 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
2402 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
2403 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
2404 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
2405 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
2406 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
2407 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
2408 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
2409 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
2410 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
2411 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
2412 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
2413 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
2414 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
2415 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
2416 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
2417
2418 2020-01-20 Alan Modra <amodra@gmail.com>
2419
2420 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
2421 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
2422 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
2423 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
2424 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
2425
2426 2020-01-18 Roland McGrath <mcgrathr@google.com>
2427
2428 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
2429 to admit whatever absolute address. The label-relative address is
2430 what the test needs to verify.
2431
2432 2020-01-18 Nick Clifton <nickc@redhat.com>
2433
2434 * configure: Regenerate.
2435 * po/ld.pot: Regenerate.
2436
2437 2020-01-18 Nick Clifton <nickc@redhat.com>
2438
2439 Binutils 2.34 branch created.
2440
2441 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2442
2443 * scripttempl/elf32msp430_3.sc: Remove.
2444
2445 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2446
2447 * scripttempl/elf32msp430.sc: Add input section rules for
2448 .upper.{text,data,rodata,bss}.
2449 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
2450 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
2451
2452 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
2453
2454 PR 20694
2455 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
2456
2457 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2458
2459 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
2460 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
2461
2462 2020-01-15 Alan Modra <amodra@gmail.com>
2463
2464 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
2465 * testsuite/ld-powerpc/funref.s: Align func_tab.
2466 * testsuite/ld-powerpc/funref2.s: Likewise.
2467 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
2468
2469 2020-01-14 Lili Cui <lili.cui@intel.com>
2470
2471 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
2472
2473 2020-01-13 Alan Modra <amodra@gmail.com>
2474
2475 * po/BLD-POTFILES.in: Regenerate.
2476
2477 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
2478
2479 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
2480
2481 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
2482
2483 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
2484 emulations.
2485 * configure.tgt: Likewise.
2486 * Makefile.in: Regenerate.
2487 * emulparams/arcelf_prof.sh: Remove file.
2488 * emulparams/arclinux_prof.sh: Likewise.
2489
2490 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
2491
2492 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
2493 located at an arbitrary address. Use DWARF.sc file.
2494 * scripttempl/elfarc.sc: Use DWARF.sc file.
2495
2496 2020-01-07 Alan Modra <amodra@gmail.com>
2497
2498 * testsuite/ld-mips-elf/eh-frame5.s,
2499 * testsuite/ld-mips-elf/ehdr_start-new.s,
2500 * testsuite/ld-mips-elf/ehdr_start-o32.s,
2501 * testsuite/ld-mips-elf/mips16-call-global-1.s,
2502 * testsuite/ld-mips-elf/mips16-intermix-1.s,
2503 * testsuite/ld-mips-elf/mips16-pic-1b.s,
2504 * testsuite/ld-mips-elf/mips16-pic-4c.s,
2505 * testsuite/ld-mips-elf/no-shared-1-n64.s,
2506 * testsuite/ld-mips-elf/no-shared-1-o32.s,
2507 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
2508 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
2509 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
2510 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
2511 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
2512 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
2513 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
2514 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
2515 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
2516 * testsuite/ld-mips-elf/pie.s,
2517 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
2518
2519 2020-01-06 Nick Clifton <nickc@redhat.com>
2520
2521 PR 25327
2522 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
2523 command line when building libcomm1.o and pr13250 tests.
2524 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
2525
2526 2020-01-06 Nick Clifton <nickc@redhat.com>
2527
2528 PR 25326
2529 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
2530 command line when building pr19579 binaries.
2531
2532 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
2533
2534 * emultempl/pe.em: Add new option --enable-reloc-section.
2535 * emultempl/pep.em: Likewise.
2536 * ld.texi: Document --enable-reloc-section.
2537 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
2538 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
2539 * pe-dll.h: Add extern declaration of option flag.
2540 * pep-dll.c (pe_dll_enable_reloc_section):
2541 Add alias define for pep_dll_enable_reloc_section.
2542 * pep-dll.h: Add extern declaration of option flag.
2543
2544 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
2545
2546 * Makefile.am: Add new target z80-elf
2547 * configure.tgt: Likewise.
2548 * Makefile.in: Regenerate.
2549 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
2550 * emulparams/elf32z80.sh: New file.
2551 * emultempl/z80elf.em: Likewise.
2552 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
2553 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
2554 * testsuite/ld-scripts/fill16.d: Fix for Z80.
2555 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
2556 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
2557 * testsuite/ld-z80/arch_r800.d: Likewise.
2558 * testsuite/ld-z80/arch_z180.d: Likewise.
2559 * testsuite/ld-z80/arch_z80.d: Likewise.
2560 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
2561 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
2562 * testsuite/ld-z80/labels.s: Likewise.
2563 * testsuite/ld-z80/relocs.s: Likewise.
2564 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
2565 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
2566 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
2567 * testsuite/ld-z80/z80.exp: Likewise.
2568 * NEWS: Mention the new support.
2569
2570 2020-01-02 Tamar Christina <tamar.christina@arm.com>
2571
2572 PR 25210
2573 PR 24753
2574 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
2575 Remove SEC_LINKER_CREATED.
2576 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
2577 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
2578
2579 2020-01-01 Alan Modra <amodra@gmail.com>
2580
2581 Update year range in copyright notice of all files.
2582
2583 For older changes see ChangeLog-2019
2584 \f
2585 Copyright (C) 2020 Free Software Foundation, Inc.
2586
2587 Copying and distribution of this file, with or without modification,
2588 are permitted in any medium without royalty provided the copyright
2589 notice and this notice are preserved.
2590
2591 Local Variables:
2592 mode: change-log
2593 left-margin: 8
2594 fill-column: 74
2595 version-control: never
2596 End:
This page took 0.087591 seconds and 5 git commands to generate.