2b885b5fb3e3608b450a0519780c30d1c02aff2b
[binutils-gdb.git] / ld / ChangeLog
1 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR gas/25380
4 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
5 directives.
6 * testsuite/ld-i386/tls-gd1.S: Likewise.
7 * testsuite/ld-x86-64/pr21481b.S: Likewise.
8
9 2020-01-30 Jan Beulich <jbeulich@suse.com>
10
11 * ld.texi: Remove space between @option and brace.
12
13 2020-01-29 Alan Modra <amodra@gmail.com>
14
15 PR 25477
16 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
17 correct concat.
18 (ldelf_after_open): Add prefix parameter.
19 * ldelf.h (ldelf_after_open): Update prototype.
20 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
21 to ldelf_after_open.
22 * Makefile.am: Correct z80 dependencies.
23 * Makefile.in: Regenerate.
24
25 2020-01-28 Alan Modra <amodra@gmail.com>
26
27 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
28 in first phase.
29
30 2020-01-27 Alan Modra <amodra@gmail.com>
31
32 * testsuite/ld-elfvers/vers.exp: Replace case statements with
33 switch statements.
34 * testsuite/ld-ifunc/ifunc.exp: Likewise.
35 * testsuite/ld-unique/unique.exp: Likewise.
36
37 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
38 Alan Modra <amodra@gmail.com>
39
40 PR ld/25458
41 * testsuite/ld-elf/pr25458.map: New file.
42 * testsuite/ld-elf/pr25458.rd: Likewise.
43 * testsuite/ld-elf/pr25458a.s: Likewise.
44 * testsuite/ld-elf/pr25458b.s: Likewise.
45 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
46
47 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
48
49 PR ld/25416
50 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
51 compiler support.
52
53 2020-01-22 Alan Modra <amodra@gmail.com>
54
55 * testsuite/ld-powerpc/tlsdesc3.d,
56 * testsuite/ld-powerpc/tlsdesc3.wf,
57 * testsuite/ld-powerpc/tlsdesc4.d,
58 * testsuite/ld-powerpc/tlsdesc4.s,
59 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
60 * testsuite/ld-powerpc/powerpc.exp: Run them.
61
62 2020-01-22 Alan Modra <amodra@gmail.com>
63
64 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
65 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
66 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
67 (params): Init new field.
68 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
69 Document.
70 * testsuite/ld-powerpc/tlsdesc.s,
71 * testsuite/ld-powerpc/tlsdesc.d,
72 * testsuite/ld-powerpc/tlsdesc.wf,
73 * testsuite/ld-powerpc/tlsdesc2.d,
74 * testsuite/ld-powerpc/tlsdesc2.wf,
75 * testsuite/ld-powerpc/tlsexenors.d,
76 * testsuite/ld-powerpc/tlsexenors.r,
77 * testsuite/ld-powerpc/tlsexers.d,
78 * testsuite/ld-powerpc/tlsexers.r,
79 * testsuite/ld-powerpc/tlsexetocnors.d,
80 * testsuite/ld-powerpc/tlsexetocrs.d,
81 * testsuite/ld-powerpc/tlsexetocrs.r,
82 * testsuite/ld-powerpc/tlsopt6.d,
83 * testsuite/ld-powerpc/tlsopt6.wf: New.
84 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
85
86 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
87
88 PR 25417
89 * ldlang.c (ldlang_open_ctf): Fix error message typo.
90 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
91
92 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
93
94 * testsuite/ld-elf/pr23900-1.d: Adjusted.
95
96 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
97
98 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
99
100 2020-01-20 Nick Clifton <nickc@redhat.com>
101
102 * po/pt_BR.po: Updated Brazilian Portuguese translation.
103 * po/uk.po: Updated Ukranian translation.
104
105 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
106
107 PR ld/25416
108 * testsuite/ld-x86-64/pr25416-1.s: New file
109 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
110 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
111 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
112 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
113 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
114 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
115 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
116 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
117 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
118 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
119 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
120 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
121 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
122 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
123 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
124 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
125
126 2020-01-20 Alan Modra <amodra@gmail.com>
127
128 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
129 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
130 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
131 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
132 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
133
134 2020-01-18 Roland McGrath <mcgrathr@google.com>
135
136 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
137 to admit whatever absolute address. The label-relative address is
138 what the test needs to verify.
139
140 2020-01-18 Nick Clifton <nickc@redhat.com>
141
142 * configure: Regenerate.
143 * po/ld.pot: Regenerate.
144
145 2020-01-18 Nick Clifton <nickc@redhat.com>
146
147 Binutils 2.34 branch created.
148
149 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
150
151 * scripttempl/elf32msp430_3.sc: Remove.
152
153 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
154
155 * scripttempl/elf32msp430.sc: Add input section rules for
156 .upper.{text,data,rodata,bss}.
157 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
158 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
159
160 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
161
162 PR 20694
163 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
164
165 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
166
167 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
168 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
169
170 2020-01-15 Alan Modra <amodra@gmail.com>
171
172 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
173 * testsuite/ld-powerpc/funref.s: Align func_tab.
174 * testsuite/ld-powerpc/funref2.s: Likewise.
175 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
176
177 2020-01-14 Lili Cui <lili.cui@intel.com>
178
179 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
180
181 2020-01-13 Alan Modra <amodra@gmail.com>
182
183 * po/BLD-POTFILES.in: Regenerate.
184
185 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
186
187 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
188
189 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
190
191 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
192 emulations.
193 * configure.tgt: Likewise.
194 * Makefile.in: Regenerate.
195 * emulparams/arcelf_prof.sh: Remove file.
196 * emulparams/arclinux_prof.sh: Likewise.
197
198 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
199
200 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
201 located at an arbitrary address. Use DWARF.sc file.
202 * scripttempl/elfarc.sc: Use DWARF.sc file.
203
204 2020-01-07 Alan Modra <amodra@gmail.com>
205
206 * testsuite/ld-mips-elf/eh-frame5.s,
207 * testsuite/ld-mips-elf/ehdr_start-new.s,
208 * testsuite/ld-mips-elf/ehdr_start-o32.s,
209 * testsuite/ld-mips-elf/mips16-call-global-1.s,
210 * testsuite/ld-mips-elf/mips16-intermix-1.s,
211 * testsuite/ld-mips-elf/mips16-pic-1b.s,
212 * testsuite/ld-mips-elf/mips16-pic-4c.s,
213 * testsuite/ld-mips-elf/no-shared-1-n64.s,
214 * testsuite/ld-mips-elf/no-shared-1-o32.s,
215 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
216 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
217 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
218 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
219 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
220 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
221 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
222 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
223 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
224 * testsuite/ld-mips-elf/pie.s,
225 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
226
227 2020-01-06 Nick Clifton <nickc@redhat.com>
228
229 PR 25327
230 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
231 command line when building libcomm1.o and pr13250 tests.
232 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
233
234 2020-01-06 Nick Clifton <nickc@redhat.com>
235
236 PR 25326
237 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
238 command line when building pr19579 binaries.
239
240 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
241
242 * emultempl/pe.em: Add new option --enable-reloc-section.
243 * emultempl/pep.em: Likewise.
244 * ld.texi: Document --enable-reloc-section.
245 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
246 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
247 * pe-dll.h: Add extern declaration of option flag.
248 * pep-dll.c (pe_dll_enable_reloc_section):
249 Add alias define for pep_dll_enable_reloc_section.
250 * pep-dll.h: Add extern declaration of option flag.
251
252 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
253
254 * Makefile.am: Add new target z80-elf
255 * configure.tgt: Likewise.
256 * Makefile.in: Regenerate.
257 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
258 * emulparams/elf32z80.sh: New file.
259 * emultempl/z80elf.em: Likewise.
260 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
261 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
262 * testsuite/ld-scripts/fill16.d: Fix for Z80.
263 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
264 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
265 * testsuite/ld-z80/arch_r800.d: Likewise.
266 * testsuite/ld-z80/arch_z180.d: Likewise.
267 * testsuite/ld-z80/arch_z80.d: Likewise.
268 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
269 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
270 * testsuite/ld-z80/labels.s: Likewise.
271 * testsuite/ld-z80/relocs.s: Likewise.
272 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
273 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
274 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
275 * testsuite/ld-z80/z80.exp: Likewise.
276 * NEWS: Mention the new support.
277
278 2020-01-02 Tamar Christina <tamar.christina@arm.com>
279
280 PR 25210
281 PR 24753
282 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
283 Remove SEC_LINKER_CREATED.
284 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
285 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
286
287 2020-01-01 Alan Modra <amodra@gmail.com>
288
289 Update year range in copyright notice of all files.
290
291 For older changes see ChangeLog-2019
292 \f
293 Copyright (C) 2020 Free Software Foundation, Inc.
294
295 Copying and distribution of this file, with or without modification,
296 are permitted in any medium without royalty provided the copyright
297 notice and this notice are preserved.
298
299 Local Variables:
300 mode: change-log
301 left-margin: 8
302 fill-column: 74
303 version-control: never
304 End: