]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
x86: Properly merge -z ibt and -z shstk
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5c1bd3f5
L
12020-10-07 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/26711
4 * testsuite/ld-i386/i386.exp: Run ld/26711 tests.
5 * testsuite/ld-x86-64/x86-64.exp: Likewise.
6 * testsuite/ld-i386/pr26711-1.d: Likewise.
7 * testsuite/ld-i386/pr26711-2.d: Likewise.
8 * testsuite/ld-i386/pr26711-3.d: Likewise.
9 * testsuite/ld-x86-64/pr26711-1-x32.d: Likewise.
10 * testsuite/ld-x86-64/pr26711-1.d: Likewise.
11 * testsuite/ld-x86-64/pr26711-2-x32.d: Likewise.
12 * testsuite/ld-x86-64/pr26711-2.d: Likewise.
13 * testsuite/ld-x86-64/pr26711-3-x32.d: Likewise.
14 * testsuite/ld-x86-64/pr26711-3.d: Likewise.
15 * testsuite/ld-x86-64/pr26711.s: Likewise.
16
93b9bf16
AM
172020-09-10 Alan Modra <amodra@gmail.com>
18
19 Apply from master
20 2020-08-24 Alan Modra <amodra@gmail.com>
21 * testsuite/ld-powerpc/tls32.d: Update for TPREL_HA/LO optimisation.
22 * testsuite/ld-powerpc/tlsexe32.d: Likewise.
23 * testsuite/ld-powerpc/tlsldopt32.d: Likewise.
24 * testsuite/ld-powerpc/tlsmark32.d: Likewise.
25 * testsuite/ld-powerpc/tlsopt4_32.d: Likewise.
26 * testsuite/ld-powerpc/tprel.s,
27 * testsuite/ld-powerpc/tprel.d,
28 * testsuite/ld-powerpc/tprel32.d: New tests.
29 * testsuite/ld-powerpc/tprelbad.s,
30 * testsuite/ld-powerpc/tprelbad.d: New test.
31 * testsuite/ld-powerpc/powerpc.exp: Run them.
32
463ec189
NC
332020-06-03 Nick Clifton <nickc@redhat.com>
34
35 Import from mainline:
36 2020-05-18 Nick Clifton <nickc@redhat.com>
37
38 PR 25993
39 * emultempl/pe.em (_after_open): Check for duplicate filename
40 pointers before renaming the dll.
41 * emultempl/pep.em (_after_open): Likewise.
42
aaf3f059
TC
432020-04-08 Tamar Christina <tamar.christina@arm.com>
44
45 Backport from mainline.
46 2020-04-01 Tamar Christina <tamar.christina@arm.com>
47
48 PR ld/16017
49 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
50 * testsuite/ld-arm/thumb-plt-got.d: New test.
51
97f92b3e
TC
522020-04-08 Tamar Christina <tamar.christina@arm.com>
53
54 Backport from mainline.
55 2020-04-01 Tamar Christina <tamar.christina@arm.com>
56
57 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
58 * testsuite/ld-arm/thumb-plt.d: New test.
59 * testsuite/ld-arm/thumb-plt.s: New test.
60
23820109
L
612020-03-25 H.J. Lu <hongjiu.lu@intel.com>
62
63 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
64 test only for GCC 10 or newer.
65
aaa1e160
AM
662020-03-25 Alan Modra <amodra@gmail.com>
67
68 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
69 clear new fields.
70 * testplug2.c (parse_symdefstr): Likewise.
71 * testplug3.c (parse_symdefstr): Likewise.
72 * testplug4.c (parse_symdefstr): Likewise.
73
0318fc4e
AM
742020-02-28 Alan Modra <amodra@gmail.com>
75
76 Apply from master
77 2020-02-19 Alan Modra <amodra@gmail.com>
78 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
79
acc4a8b8
AM
802020-02-22 Alan Modra <amodra@gmail.com>
81
82 PR 25585
83 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
84 checking.
85
804b7fd4
NC
862020-02-14 Nick Clifton <nickc@redhat.com>
87
88 Import from the mainline:
89 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
90
91 PR binutils/25355
92 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
93 * testsuite/ld-plugin/pr25355.c: New file.
94 * testsuite/ld-plugin/pr25355.d: Likewise.
95 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
96 only dump.
97
871ac467
NC
982020-02-01 Nick Clifton <nickc@redhat.com>
99
100 * configure: Regenerate.
101
d7f734bc
NC
1022020-02-01 Nick Clifton <nickc@redhat.com>
103
104 Binutils 2.34 release.
871ac467 105 * configure: Regenerate.
d7f734bc 106
7b647b69
AM
1072020-01-29 Alan Modra <amodra@gmail.com>
108
109 Apply from master
c75ee076
AM
110 2020-01-29 Alan Modra <amodra@gmail.com>
111 PR 25477
112 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
113 correct concat.
114 (ldelf_after_open): Add prefix parameter.
115 * ldelf.h (ldelf_after_open): Update prototype.
116 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
117 to ldelf_after_open.
118 * Makefile.am: Correct z80 dependencies.
119 * Makefile.in: Regenerate.
120
fbcb30f2
AM
121 2020-01-28 Alan Modra <amodra@gmail.com>
122 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
123 in first phase.
124
7b647b69
AM
125 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
126 Alan Modra <amodra@gmail.com>
127 PR ld/25458
128 * testsuite/ld-elf/pr25458.map: New file.
129 * testsuite/ld-elf/pr25458.rd: Likewise.
130 * testsuite/ld-elf/pr25458a.s: Likewise.
131 * testsuite/ld-elf/pr25458b.s: Likewise.
132 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
133
86688db0
NC
1342020-01-20 Nick Clifton <nickc@redhat.com>
135
136 * po/pt_BR.po: Updated Brazilian Portuguese translation.
137 * po/uk.po: Updated Ukranian translation.
138
32040fe7
RM
1392020-01-18 Roland McGrath <mcgrathr@google.com>
140
141 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
142 to admit whatever absolute address. The label-relative address is
143 what the test needs to verify.
144
5e54caac
NC
1452020-01-18 Nick Clifton <nickc@redhat.com>
146
147 * configure: Regenerate.
148 * po/ld.pot: Regenerate.
149
ae774686
NC
1502020-01-18 Nick Clifton <nickc@redhat.com>
151
152 Binutils 2.34 branch created.
153
6d0be74b
JL
1542020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
155
156 * scripttempl/elf32msp430_3.sc: Remove.
157
0c3d9485
JL
1582020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
159
160 * scripttempl/elf32msp430.sc: Add input section rules for
161 .upper.{text,data,rodata,bss}.
162 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
163 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
164
0d1cc75d
LB
1652020-01-15 Lars Brinkhoff <lars@nocrew.org>
166
167 PR 20694
168 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
169
131cb553
JL
1702020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
171
172 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
173 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
174
e1c6cf61
AM
1752020-01-15 Alan Modra <amodra@gmail.com>
176
177 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
178 * testsuite/ld-powerpc/funref.s: Align func_tab.
179 * testsuite/ld-powerpc/funref2.s: Likewise.
180 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
181
e44925ae
LC
1822020-01-14 Lili Cui <lili.cui@intel.com>
183
184 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
185
8c7e1c04
AM
1862020-01-13 Alan Modra <amodra@gmail.com>
187
188 * po/BLD-POTFILES.in: Regenerate.
189
4f18d742
CZ
1902020-01-13 Claudiu Zissulescu <claziss@gmail.com>
191
192 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
193
5e4f7e05
CZ
1942020-01-13 Claudiu Zissulescu <claziss@gmail.com>
195
196 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
197 emulations.
198 * configure.tgt: Likewise.
199 * Makefile.in: Regenerate.
200 * emulparams/arcelf_prof.sh: Remove file.
201 * emulparams/arclinux_prof.sh: Likewise.
202
8cb31bad
CZ
2032020-01-13 Claudiu Zissulescu <claziss@gmail.com>
204
205 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
206 located at an arbitrary address. Use DWARF.sc file.
207 * scripttempl/elfarc.sc: Use DWARF.sc file.
208
85e290dc
AM
2092020-01-07 Alan Modra <amodra@gmail.com>
210
211 * testsuite/ld-mips-elf/eh-frame5.s,
212 * testsuite/ld-mips-elf/ehdr_start-new.s,
213 * testsuite/ld-mips-elf/ehdr_start-o32.s,
214 * testsuite/ld-mips-elf/mips16-call-global-1.s,
215 * testsuite/ld-mips-elf/mips16-intermix-1.s,
216 * testsuite/ld-mips-elf/mips16-pic-1b.s,
217 * testsuite/ld-mips-elf/mips16-pic-4c.s,
218 * testsuite/ld-mips-elf/no-shared-1-n64.s,
219 * testsuite/ld-mips-elf/no-shared-1-o32.s,
220 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
221 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
222 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
223 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
224 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
225 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
226 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
227 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
228 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
229 * testsuite/ld-mips-elf/pie.s,
230 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
231
0e1f1593
NC
2322020-01-06 Nick Clifton <nickc@redhat.com>
233
234 PR 25327
235 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
236 command line when building libcomm1.o and pr13250 tests.
237 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
238
d2dbcb18
NC
2392020-01-06 Nick Clifton <nickc@redhat.com>
240
241 PR 25326
242 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
243 command line when building pr19579 binaries.
244
dc9bd8c9
HD
2452020-01-03 Hannes Domani <ssbssa@yahoo.de>
246
247 * emultempl/pe.em: Add new option --enable-reloc-section.
248 * emultempl/pep.em: Likewise.
249 * ld.texi: Document --enable-reloc-section.
250 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
251 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
252 * pe-dll.h: Add extern declaration of option flag.
253 * pep-dll.c (pe_dll_enable_reloc_section):
254 Add alias define for pep_dll_enable_reloc_section.
255 * pep-dll.h: Add extern declaration of option flag.
256
6655dba2
SB
2572020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
258
259 * Makefile.am: Add new target z80-elf
260 * configure.tgt: Likewise.
261 * Makefile.in: Regenerate.
262 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
263 * emulparams/elf32z80.sh: New file.
264 * emultempl/z80elf.em: Likewise.
265 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
266 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
267 * testsuite/ld-scripts/fill16.d: Fix for Z80.
268 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
269 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
270 * testsuite/ld-z80/arch_r800.d: Likewise.
271 * testsuite/ld-z80/arch_z180.d: Likewise.
272 * testsuite/ld-z80/arch_z80.d: Likewise.
273 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
274 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
275 * testsuite/ld-z80/labels.s: Likewise.
276 * testsuite/ld-z80/relocs.s: Likewise.
277 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
278 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
279 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
280 * testsuite/ld-z80/z80.exp: Likewise.
281 * NEWS: Mention the new support.
282
0db131fb
TC
2832020-01-02 Tamar Christina <tamar.christina@arm.com>
284
285 PR 25210
286 PR 24753
287 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
288 Remove SEC_LINKER_CREATED.
289 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
290 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
291
b14ce8bf
AM
2922020-01-01 Alan Modra <amodra@gmail.com>
293
294 Update year range in copyright notice of all files.
295
0b114740 296For older changes see ChangeLog-2019
3499769a 297\f
0b114740 298Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
299
300Copying and distribution of this file, with or without modification,
301are permitted in any medium without royalty provided the copyright
302notice and this notice are preserved.
303
304Local Variables:
305mode: change-log
306left-margin: 8
307fill-column: 74
308version-control: never
309End: