ld: Skip some x86 IFUNC tests for Solaris
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR 25732
4 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
5 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
6 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
7
8 2020-03-25 Alan Modra <amodra@gmail.com>
9
10 * testsuite/ld-elf/compress1c.d: xfail h8300.
11 * testsuite/ld-elf/compressed1c.d: Likewise.
12 * testsuite/ld-elf/compressed1e.d: Likewise.
13 * testsuite/ld-elf/dynamic1.d: Likewise.
14 * testsuite/ld-elf/dynsym1.d: Likewise.
15 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
16 * testsuite/ld-elf/exclude3b.d: Likewise.
17 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
18 * testsuite/ld-elf/global1.d: xfail h8300.
19 * testsuite/ld-elf/hash.d: Likewise.
20 * testsuite/ld-elf/loadaddr1.d: Likewise.
21 * testsuite/ld-elf/loadaddr2.d: Likewise.
22 * testsuite/ld-elf/local1.d: Likewise.
23 * testsuite/ld-elf/mbind1b.d: Likewise.
24 * testsuite/ld-elf/mbind1c.d: Likewise.
25 * testsuite/ld-elf/now-1.d: Likewise.
26 * testsuite/ld-elf/now-2.d: Likewise.
27 * testsuite/ld-elf/now-3.d: Likewise.
28 * testsuite/ld-elf/now-4.d: Likewise.
29 * testsuite/ld-elf/pie.d: Likewise.
30 * testsuite/ld-elf/pr12975.d: Likewise.
31 * testsuite/ld-elf/pr13177.d: Likewise.
32 * testsuite/ld-elf/pr13195.d: Likewise.
33 * testsuite/ld-elf/pr16322.d: Likewise.
34 * testsuite/ld-elf/pr16498a.d: Likewise.
35 * testsuite/ld-elf/pr16498b.d: Likewise.
36 * testsuite/ld-elf/pr17615.d: Likewise.
37 * testsuite/ld-elf/pr19162.d: Likewise.
38 * testsuite/ld-elf/pr19539.d: Likewise.
39 * testsuite/ld-elf/pr19617a.d: Likewise.
40 * testsuite/ld-elf/pr19698.d: Likewise.
41 * testsuite/ld-elf/pr20513c.d: Likewise.
42 * testsuite/ld-elf/pr20513d.d: Likewise.
43 * testsuite/ld-elf/pr21389a.d: Likewise.
44 * testsuite/ld-elf/pr21389b.d: Likewise.
45 * testsuite/ld-elf/pr21389c.d: Likewise.
46 * testsuite/ld-elf/pr21562a.d: Likewise.
47 * testsuite/ld-elf/pr21562b.d: Likewise.
48 * testsuite/ld-elf/pr21562c.d: Likewise.
49 * testsuite/ld-elf/pr21562d.d: Likewise.
50 * testsuite/ld-elf/pr21562e.d: Likewise.
51 * testsuite/ld-elf/pr21562f.d: Likewise.
52 * testsuite/ld-elf/pr21562g.d: Likewise.
53 * testsuite/ld-elf/pr21562h.d: Likewise.
54 * testsuite/ld-elf/pr21562i.d: Likewise.
55 * testsuite/ld-elf/pr21562j.d: Likewise.
56 * testsuite/ld-elf/pr21562k.d: Likewise.
57 * testsuite/ld-elf/pr21562l.d: Likewise.
58 * testsuite/ld-elf/pr21562m.d: Likewise.
59 * testsuite/ld-elf/pr21562n.d: Likewise.
60 * testsuite/ld-elf/pr21903a.d: Likewise.
61 * testsuite/ld-elf/pr21903b.d: Likewise.
62 * testsuite/ld-elf/pr21903d.d: Likewise.
63 * testsuite/ld-elf/pr22269a.d: Likewise.
64 * testsuite/ld-elf/pr22269b.d: Likewise.
65 * testsuite/ld-elf/pr22393-1a.d: Likewise.
66 * testsuite/ld-elf/pr22393-1b.d: Likewise.
67 * testsuite/ld-elf/pr22393-1c.d: Likewise.
68 * testsuite/ld-elf/pr22393-1d.d: Likewise.
69 * testsuite/ld-elf/pr22393-1e.d: Likewise.
70 * testsuite/ld-elf/pr22393-1f.d: Likewise.
71 * testsuite/ld-elf/pr22423.d: Likewise.
72 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
73 and xc16x.
74 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
75 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
76 * testsuite/ld-elf/rpath-1.d: xfail h8300.
77 * testsuite/ld-elf/rpath-2.d: Likewise.
78 * testsuite/ld-elf/runpath-1.d: Likewise.
79 * testsuite/ld-elf/runpath-2.d: Likewise.
80 * testsuite/ld-elf/sizeofb.d: Likewise.
81 * testsuite/ld-elf/startofb.d: Likewise.
82 * testsuite/ld-elf/strtab.d: Likewise.
83 * testsuite/ld-elf/textaddr1.d: Likewise.
84 * testsuite/ld-elf/textaddr2.d: Likewise.
85 * testsuite/ld-elf/textaddr4.d: Likewise.
86 * testsuite/ld-elf/textaddr5.d: Likewise.
87 * testsuite/ld-elf/textaddr6.d: Likewise.
88 * testsuite/ld-elf/unknown2.d: Likewise.
89 * testsuite/ld-undefined/entry-3.d: Likewise.
90 * testsuite/ld-undefined/entry-4.d: Likewise.
91 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
92 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
93 file format match.
94 * testsuite/ld-h8300/relax-2.d: Likewise.
95 * testsuite/ld-h8300/relax-3.d: Likewise.
96 * testsuite/ld-h8300/relax-4.d: Likewise.
97 * testsuite/ld-h8300/relax-5.d: Likewise.
98 * testsuite/ld-h8300/relax-6.d: Likewise.
99 * testsuite/ld-h8300/relax-7.d: Likewise.
100 * testsuite/ld-h8300/relax.d: Relax file format match.
101
102 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
103
104 PR binutils/25708
105 * testsuite/ld-elf/pr25708.d: New file.
106
107 2020-03-23 Alan Modra <amodra@gmail.com>
108
109 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
110 Include ei386aout dep file.
111 * Makefile.in: Regenerate.
112 * po/BLD-POTFILES.in: Regenerate.
113
114 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
115
116 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
117 test only for GCC 10 or newer.
118
119 2020-03-20 Alan Modra <amodra@gmail.com>
120
121 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
122 clear new fields.
123 * testplug2.c (parse_symdefstr): Likewise.
124 * testplug3.c (parse_symdefstr): Likewise.
125 * testplug4.c (parse_symdefstr): Likewise.
126
127 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
128
129 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
130 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
131
132 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
133
134 * emultempl/xtensaelf.em: Emit a fatal error message
135 instead of calling abort.
136 * ldlang.c: Likewise.
137
138 2020-03-14 Alan Modra <amodra@gmail.com>
139
140 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
141 targets. Don't skip xtensa, xfail instead.
142
143 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
144
145 * ldlang.c (lang_add_section): Add support for
146 non_contiguous_regions.
147 (size_input_section): Likewise.
148 (lang_size_sections_1): Likewise.
149 (process_insert_statements): Likewise.
150 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
151 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
152 * lexsup.c (ld_options): Add entries for
153 --enable-non-contiguous-regions and
154 --enable-non-contiguous-regions-warnings.
155 (parse_args): Handle it.
156 * NEWS: Add --enable-non-contiguous-regions and
157 --enable-non-contiguous-regions-warnings.
158 * ld.texi: Add --enable-non-contiguous-regions and
159 --enable-non-contiguous-regions-warnings documentation.
160 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
161 SEC_LINKER_CREATED flag.
162 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
163 Emit an error when --enable-non-contiguous-regions is used.
164 * testsuite/ld-elf/non-contiguous.d: New.
165 * testsuite/ld-elf/non-contiguous.ld: New.
166 * testsuite/ld-elf/non-contiguous.s: New.
167 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
168 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
169 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
170 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
171 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
172 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
173 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
174 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
175 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
176 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
177 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
178 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
179 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
180 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
181 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
182 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
183 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
184 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
185 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
186
187 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
188
189 PR ld/24920
190 * emulparams/elf32_x86_64.sh: Use static.sh.
191 * emulparams/elf_i386.sh: Likewise.
192 * emulparams/elf_x86_64.sh: Likewise.
193 * emulparams/static.sh: New file.
194 * emultempl/elf-x86.em: Include "ldlex.h".
195 * testsuite/ld-elf/pr24920.err: New file.
196 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
197
198 2020-03-13 Christian Eggers <ceggers@gmx.de>
199
200 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
201
202 2020-03-11 Alan Modra <amodra@gmail.com>
203
204 * ldelf.c (elf_orphan_compatible): Return false when two sections
205 have differing SHF_MASKPROC or SHF_MASKOS flags.
206
207 2020-03-05 Alan Modra <amodra@gmail.com>
208
209 PR 25570
210 * ldlang.c (lang_size_sections_1): Don't report changes on
211 second and subsequent iterations that make no change in
212 alignment from that already reported.
213
214 2020-03-05 Alan Modra <amodra@gmail.com>
215
216 PR 25570
217 * ldlang.c (lang_sizing_iteration): New static var.
218 (lang_size_sections_1): Warn about no memory region only on first
219 iteration. Warn about changing start address on first iteration
220 then any delta from that on subsequent iterations. Report a signed
221 delta.
222 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
223
224 2020-03-03 Nick Clifton <nickc@redhat.com>
225
226 PR 25588
227 * ld.texi (Options): Update the description of the --rpath-link
228 option.
229
230 2020-03-02 Alan Modra <amodra@gmail.com>
231
232 * plugin.c (plugin_object_p): Return a bfd_cleanup.
233 (plugin_cleanup): New function.
234
235 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
236
237 PR ld/25618
238 * plugin.c (plugin_object_p): Copy the no_export field to the IR
239 dummy object.
240 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
241 PR ld/25618 tests.
242 * testsuite/ld-plugin/pr25618.d: New file.
243 * testsuite/ld-plugin/pr25618a.cc: Likewise.
244 * testsuite/ld-plugin/pr25618a.h: Likewise.
245 * testsuite/ld-plugin/pr25618b.cc: Likewise.
246 * testsuite/ld-plugin/pr25618b.h: Likewise.
247
248 2020-02-27 Alan Modra <amodra@gmail.com>
249
250 PR 24511
251 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
252 * testsuite/ld-mmix/sec-2.d: Likewise.
253 * testsuite/ld-mmix/sec-3.d: Likewise.
254 * testsuite/ld-mmix/sec-4.d: Likewise.
255 * testsuite/ld-mmix/spec802.d: Likewise.
256 * testsuite/ld-mmix/spec803.d: Likewise.
257 * testsuite/ld-mmix/spec804.d: Likewise.
258 * testsuite/ld-mmix/spec805.d: Likewise.
259 * testsuite/ld-mmix/spec806.d: Likewise.
260 * testsuite/ld-mmix/spec807.d: Likewise.
261 * testsuite/ld-mmix/spec808.d: Likewise.
262
263 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
264
265 PR ld/25593
266 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
267 * testsuite/ld-plugin/pr25593.d: New file.
268 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
269 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
270 * testsuite/ld-plugin/pr25593b.c: Likewise.
271 * testsuite/ld-plugin/pr25593c.c: Likewise.
272 * testsuite/ld-plugin/pr25593d.c: Likewise.
273 * testsuite/ld-plugin/pr25593e.c: Likewise.
274
275 2020-02-26 Alan Modra <amodra@gmail.com>
276
277 * emultempl/cskyelf.em: Indent labels correctly.
278 * ldfile.c: Likewise.
279 * ldlang.c: Likewise.
280 * plugin.c: Likewise.
281
282 2020-02-26 Alan Modra <amodra@gmail.com>
283
284 PR 25593
285 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
286 (ldelf_after_open): Save state of input_bfds list before loading
287 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
288 Restore input_bfds list.
289 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
290
291 2020-02-24 Nick Clifton <nickc@redhat.com>
292
293 * po/fr.po: Update French translation.
294
295 2020-02-22 Alan Modra <amodra@gmail.com>
296
297 PR 25585
298 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
299 checking.
300
301 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
302
303 PR 25537
304 * emultempl/z80.em: Remove machine compatability checking.
305
306 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
307
308 PR 25517
309 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
310 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
311 * testsuite/ld-z80/arch_r800.d: Likewise.
312 * testsuite/ld-z80/arch_z180.d: Likewise.
313 * testsuite/ld-z80/arch_z80n.d: Likewise.
314 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
315 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
316 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
317 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
318 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
319 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
320 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
321 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
322 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
323 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
324
325 2020-02-19 Alan Modra <amodra@gmail.com>
326
327 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
328
329 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
330
331 PR binutils/25355
332 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
333 * testsuite/ld-plugin/pr25355.c: New file.
334 * testsuite/ld-plugin/pr25355.d: Likewise.
335 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
336 only dump.
337
338 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
339
340 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
341
342 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
343
344 PR 25469
345 * emulparams/elf32z80.sh: Use z80 emulation.
346 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
347 * emultempl/z80elf.em: Delete.
348 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
349 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
350 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
351 * testsuite/ld-unique/unique.s: Likewise.
352 * testsuite/ld-unique/unique_empty.s: Likewise.
353 * testsuite/ld-unique/unique_shared.s: Likewise.
354 * testsuite/ld-unique/unique.d: Updated expected output.
355 * testsuite/ld-z80/arch_z80n.d: New file.
356 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
357 * testsuite/ld-z80/labels.s: Add more labels.
358 * testsuite/ld-z80/relocs.s: Add more reloc tests.
359 * testsuite/ld-z80/relocs_f_z80n.d: New file
360
361 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
362
363 PR ld/25022
364 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
365 ldelf_before_place_orphans.
366
367 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
368
369 PR ld/25022
370 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
371 before_place_orphans_default.
372 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
373 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
374 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
375 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
376 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
377 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
378 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
379 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
380 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
381 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
382 ldelf_before_place_orphans.
383 * ldelf.c (ldelf_before_place_orphans): New.
384 * ldelf.h (ldelf_before_place_orphans): Likewise.
385 * ldemul.c (ldemul_before_place_orphans): Likewise.
386 (before_place_orphans_default): Likewise.
387 * ldemul.h (ldemul_before_place_orphans): Likewise.
388 (before_place_orphans_default): Likewise.
389 (ld_emulation_xfer_struct): Add before_place_orphans.
390 * ldlang.c (lang_process): Call ldemul_before_place_orphans
391 before lang_place_orphans.
392 * testsuite/ld-elf/pr25022.d: New file.
393 * testsuite/ld-elf/pr25022.s: Likewise.
394 * testsuite/ld-elf/pr25022.t: Likewise.
395
396 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
397
398 PR ld/25490
399 * testsuite/ld-elf/pr25490-1.d: New file.
400 * testsuite/ld-elf/pr25490-1.s: Likewise.
401
402 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR ld/24526
405 PR ld/25021
406 PR ld/25490
407 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
408 * testsuite/ld-elf/pr24526.d: New file.
409 * testsuite/ld-elf/pr24526.s: Likewise.
410 * testsuite/ld-elf/pr25021.d: Likewise.
411 * testsuite/ld-elf/pr25021.s: Likewise.
412 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
413 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
414 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
415 * testsuite/ld-elf/pr25490-2.s: Likewise.
416 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
417 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
418 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
419 * testsuite/ld-elf/pr25490-3.s: Likewise.
420 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
421 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
422 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
423 * testsuite/ld-elf/pr25490-4.s: Likewise.
424 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
425 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
426 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
427 * testsuite/ld-elf/pr25490-5.s: Likewise.
428 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
429 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
430 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
431 * testsuite/ld-elf/pr25490-6.s: Likewise.
432
433 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
434
435 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
436 z80 as not supported.
437
438 2020-02-06 Alan Modra <amodra@gmail.com>
439
440 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
441 targets that don't support ifunc rather than ones that do.
442 (contains_irelative_reloc): Match R_PARISC_IPLT.
443 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
444 * testsuite/ld-ifunc/ifunc-23-x86.s,
445 * testsuite/ld-ifunc/ifunc-24-x86.s,
446 * testsuite/ld-ifunc/ifunc-25-x86.s,
447 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
448 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
449 * testsuite/ld-ifunc/ifunc-10-i386.d,
450 * testsuite/ld-ifunc/ifunc-11-i386.d,
451 * testsuite/ld-ifunc/ifunc-12-i386.d,
452 * testsuite/ld-ifunc/ifunc-13-i386.d,
453 * testsuite/ld-ifunc/ifunc-14a-i386.d,
454 * testsuite/ld-ifunc/ifunc-14b-i386.d,
455 * testsuite/ld-ifunc/ifunc-14c-i386.d,
456 * testsuite/ld-ifunc/ifunc-14d-i386.d,
457 * testsuite/ld-ifunc/ifunc-14e-i386.d,
458 * testsuite/ld-ifunc/ifunc-14f-i386.d,
459 * testsuite/ld-ifunc/ifunc-15-i386.d,
460 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
461 * testsuite/ld-ifunc/ifunc-16-i386.d,
462 * testsuite/ld-ifunc/ifunc-17a-i386.d,
463 * testsuite/ld-ifunc/ifunc-17b-i386.d,
464 * testsuite/ld-ifunc/ifunc-18a-i386.d,
465 * testsuite/ld-ifunc/ifunc-18b-i386.d,
466 * testsuite/ld-ifunc/ifunc-19a-i386.d,
467 * testsuite/ld-ifunc/ifunc-19b-i386.d,
468 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
469 * testsuite/ld-ifunc/ifunc-2-i386.d,
470 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
471 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
472 * testsuite/ld-ifunc/ifunc-20-i386.d,
473 * testsuite/ld-ifunc/ifunc-21-i386.d,
474 * testsuite/ld-ifunc/ifunc-22-i386.d,
475 * testsuite/ld-ifunc/ifunc-26.d,
476 * testsuite/ld-ifunc/ifunc-5a-i386.d,
477 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
478 * testsuite/ld-ifunc/ifunc-5b-i386.d,
479 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
480 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
481 * testsuite/ld-ifunc/ifunc-6a-i386.d,
482 * testsuite/ld-ifunc/ifunc-6b-i386.d,
483 * testsuite/ld-ifunc/ifunc-7a-i386.d,
484 * testsuite/ld-ifunc/ifunc-7b-i386.d,
485 * testsuite/ld-ifunc/ifunc-8-i386.d,
486 * testsuite/ld-ifunc/ifunc-9-i386.d,
487 * testsuite/ld-ifunc/pr17154-i386-now.d,
488 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
489
490 2020-02-06 Alan Modra <amodra@gmail.com>
491
492 * testsuite/lib/ld-lib.exp (is_generic): Delete.
493 * testsuite/ld-unique/unique.exp: Exclude tic6x.
494
495 2020-02-06 Alan Modra <amodra@gmail.com>
496
497 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
498 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
499
500 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
501
502 PR gas/25380
503 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
504 directives.
505 * testsuite/ld-i386/tls-gd1.S: Likewise.
506 * testsuite/ld-x86-64/pr21481b.S: Likewise.
507
508 2020-01-30 Jan Beulich <jbeulich@suse.com>
509
510 * ld.texi: Remove space between @option and brace.
511
512 2020-01-29 Alan Modra <amodra@gmail.com>
513
514 PR 25477
515 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
516 correct concat.
517 (ldelf_after_open): Add prefix parameter.
518 * ldelf.h (ldelf_after_open): Update prototype.
519 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
520 to ldelf_after_open.
521 * Makefile.am: Correct z80 dependencies.
522 * Makefile.in: Regenerate.
523
524 2020-01-28 Alan Modra <amodra@gmail.com>
525
526 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
527 in first phase.
528
529 2020-01-27 Alan Modra <amodra@gmail.com>
530
531 * testsuite/ld-elfvers/vers.exp: Replace case statements with
532 switch statements.
533 * testsuite/ld-ifunc/ifunc.exp: Likewise.
534 * testsuite/ld-unique/unique.exp: Likewise.
535
536 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
537 Alan Modra <amodra@gmail.com>
538
539 PR ld/25458
540 * testsuite/ld-elf/pr25458.map: New file.
541 * testsuite/ld-elf/pr25458.rd: Likewise.
542 * testsuite/ld-elf/pr25458a.s: Likewise.
543 * testsuite/ld-elf/pr25458b.s: Likewise.
544 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
545
546 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
547
548 PR ld/25416
549 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
550 compiler support.
551
552 2020-01-22 Alan Modra <amodra@gmail.com>
553
554 * testsuite/ld-powerpc/tlsdesc3.d,
555 * testsuite/ld-powerpc/tlsdesc3.wf,
556 * testsuite/ld-powerpc/tlsdesc4.d,
557 * testsuite/ld-powerpc/tlsdesc4.s,
558 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
559 * testsuite/ld-powerpc/powerpc.exp: Run them.
560
561 2020-01-22 Alan Modra <amodra@gmail.com>
562
563 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
564 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
565 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
566 (params): Init new field.
567 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
568 Document.
569 * testsuite/ld-powerpc/tlsdesc.s,
570 * testsuite/ld-powerpc/tlsdesc.d,
571 * testsuite/ld-powerpc/tlsdesc.wf,
572 * testsuite/ld-powerpc/tlsdesc2.d,
573 * testsuite/ld-powerpc/tlsdesc2.wf,
574 * testsuite/ld-powerpc/tlsexenors.d,
575 * testsuite/ld-powerpc/tlsexenors.r,
576 * testsuite/ld-powerpc/tlsexers.d,
577 * testsuite/ld-powerpc/tlsexers.r,
578 * testsuite/ld-powerpc/tlsexetocnors.d,
579 * testsuite/ld-powerpc/tlsexetocrs.d,
580 * testsuite/ld-powerpc/tlsexetocrs.r,
581 * testsuite/ld-powerpc/tlsopt6.d,
582 * testsuite/ld-powerpc/tlsopt6.wf: New.
583 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
584
585 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
586
587 PR 25417
588 * ldlang.c (ldlang_open_ctf): Fix error message typo.
589 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
590
591 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
592
593 * testsuite/ld-elf/pr23900-1.d: Adjusted.
594
595 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
596
597 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
598
599 2020-01-20 Nick Clifton <nickc@redhat.com>
600
601 * po/pt_BR.po: Updated Brazilian Portuguese translation.
602 * po/uk.po: Updated Ukranian translation.
603
604 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
605
606 PR ld/25416
607 * testsuite/ld-x86-64/pr25416-1.s: New file
608 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
609 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
610 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
611 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
612 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
613 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
614 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
615 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
616 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
617 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
618 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
619 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
620 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
621 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
622 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
623 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
624
625 2020-01-20 Alan Modra <amodra@gmail.com>
626
627 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
628 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
629 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
630 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
631 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
632
633 2020-01-18 Roland McGrath <mcgrathr@google.com>
634
635 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
636 to admit whatever absolute address. The label-relative address is
637 what the test needs to verify.
638
639 2020-01-18 Nick Clifton <nickc@redhat.com>
640
641 * configure: Regenerate.
642 * po/ld.pot: Regenerate.
643
644 2020-01-18 Nick Clifton <nickc@redhat.com>
645
646 Binutils 2.34 branch created.
647
648 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
649
650 * scripttempl/elf32msp430_3.sc: Remove.
651
652 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
653
654 * scripttempl/elf32msp430.sc: Add input section rules for
655 .upper.{text,data,rodata,bss}.
656 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
657 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
658
659 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
660
661 PR 20694
662 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
663
664 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
665
666 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
667 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
668
669 2020-01-15 Alan Modra <amodra@gmail.com>
670
671 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
672 * testsuite/ld-powerpc/funref.s: Align func_tab.
673 * testsuite/ld-powerpc/funref2.s: Likewise.
674 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
675
676 2020-01-14 Lili Cui <lili.cui@intel.com>
677
678 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
679
680 2020-01-13 Alan Modra <amodra@gmail.com>
681
682 * po/BLD-POTFILES.in: Regenerate.
683
684 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
685
686 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
687
688 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
689
690 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
691 emulations.
692 * configure.tgt: Likewise.
693 * Makefile.in: Regenerate.
694 * emulparams/arcelf_prof.sh: Remove file.
695 * emulparams/arclinux_prof.sh: Likewise.
696
697 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
698
699 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
700 located at an arbitrary address. Use DWARF.sc file.
701 * scripttempl/elfarc.sc: Use DWARF.sc file.
702
703 2020-01-07 Alan Modra <amodra@gmail.com>
704
705 * testsuite/ld-mips-elf/eh-frame5.s,
706 * testsuite/ld-mips-elf/ehdr_start-new.s,
707 * testsuite/ld-mips-elf/ehdr_start-o32.s,
708 * testsuite/ld-mips-elf/mips16-call-global-1.s,
709 * testsuite/ld-mips-elf/mips16-intermix-1.s,
710 * testsuite/ld-mips-elf/mips16-pic-1b.s,
711 * testsuite/ld-mips-elf/mips16-pic-4c.s,
712 * testsuite/ld-mips-elf/no-shared-1-n64.s,
713 * testsuite/ld-mips-elf/no-shared-1-o32.s,
714 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
715 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
716 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
717 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
718 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
719 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
720 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
721 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
722 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
723 * testsuite/ld-mips-elf/pie.s,
724 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
725
726 2020-01-06 Nick Clifton <nickc@redhat.com>
727
728 PR 25327
729 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
730 command line when building libcomm1.o and pr13250 tests.
731 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
732
733 2020-01-06 Nick Clifton <nickc@redhat.com>
734
735 PR 25326
736 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
737 command line when building pr19579 binaries.
738
739 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
740
741 * emultempl/pe.em: Add new option --enable-reloc-section.
742 * emultempl/pep.em: Likewise.
743 * ld.texi: Document --enable-reloc-section.
744 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
745 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
746 * pe-dll.h: Add extern declaration of option flag.
747 * pep-dll.c (pe_dll_enable_reloc_section):
748 Add alias define for pep_dll_enable_reloc_section.
749 * pep-dll.h: Add extern declaration of option flag.
750
751 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
752
753 * Makefile.am: Add new target z80-elf
754 * configure.tgt: Likewise.
755 * Makefile.in: Regenerate.
756 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
757 * emulparams/elf32z80.sh: New file.
758 * emultempl/z80elf.em: Likewise.
759 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
760 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
761 * testsuite/ld-scripts/fill16.d: Fix for Z80.
762 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
763 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
764 * testsuite/ld-z80/arch_r800.d: Likewise.
765 * testsuite/ld-z80/arch_z180.d: Likewise.
766 * testsuite/ld-z80/arch_z80.d: Likewise.
767 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
768 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
769 * testsuite/ld-z80/labels.s: Likewise.
770 * testsuite/ld-z80/relocs.s: Likewise.
771 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
772 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
773 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
774 * testsuite/ld-z80/z80.exp: Likewise.
775 * NEWS: Mention the new support.
776
777 2020-01-02 Tamar Christina <tamar.christina@arm.com>
778
779 PR 25210
780 PR 24753
781 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
782 Remove SEC_LINKER_CREATED.
783 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
784 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
785
786 2020-01-01 Alan Modra <amodra@gmail.com>
787
788 Update year range in copyright notice of all files.
789
790 For older changes see ChangeLog-2019
791 \f
792 Copyright (C) 2020 Free Software Foundation, Inc.
793
794 Copying and distribution of this file, with or without modification,
795 are permitted in any medium without royalty provided the copyright
796 notice and this notice are preserved.
797
798 Local Variables:
799 mode: change-log
800 left-margin: 8
801 fill-column: 74
802 version-control: never
803 End:
This page took 0.046388 seconds and 4 git commands to generate.