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