]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
RISC-V: PR27200, allow the first input non-ABI binary to be linked with any one.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
e6ca1878
JB
12021-02-16 Jan Beulich <jbeulich@suse.com>
2
3 * dwarf.c (process_debug_info): Initialize "dwo_id".
4
208599d9
AM
52021-02-15 Alan Modra <amodra@gmail.com>
6
7 * objdump.c (load_specific_debug_section): Don't call
8 bfd_cache_section_contents. Rearrange so that
9 bfd_get_full_section_contents is not called on path where
10 bfd_simple_get_relocated_section_contents is called.
11 Don't set section->user_data.
12 (free_debug_section): Always free section->start. Don't twiddle
13 section flags.
14 * readelf.c (load_specific_debug_section): Don't set user_data.
15 * dwarf.h (struct dwarf_section): Remove use_data field.
16 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
17
1781a9d0
AM
182021-02-15 Alan Modra <amodra@gmail.com>
19
20 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
21 * testsuite/binutils-all/objdump.exp: Likewise.
22
1944212b
AM
232021-02-14 Alan Modra <amodra@gmail.com>
24
25 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
26 to the symbol array.
27 (slurp_dynamic_symtab): Likewise.
28 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
29
0d0a0d86
AM
302021-02-14 Alan Modra <amodra@gmail.com>
31
32 * Makefile.in: Regenerate.
33 * doc/Makefile.in: Regenerate.
34
adeab0c5
MF
352021-02-13 Mike Frysinger <vapier@gentoo.org>
36
37 * aclocal.m4: Regenerate.
38
c46b7066
NC
392021-02-12 Nick Clifton <nickc@redhat.com>
40
41 * configure.ac (follow-debug-links): Add option to enable or
42 disable the following of debug links by default. Set the
43 default for the option to be 'follow'.
44 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
45 (dwarf_select_sections_by_names): Add no-follow-links option.
46 (dwarf_select_sections_by_letter): Add 'N' option.
47 * objdump.c (usage): Add conditional text describing the
48 follow links option.
49 (slurp_symtab): Ensure that there is a NULL entry at the end
50 of the symbol table.
51 (slurp_dynamic_symtab): Likewise.
52 (dump_bfd): When extending the symbol table, ensure that there
53 is still a NULL entry at the end.
54 * readelf.c (usage): Add conditional text describing the
55 follow links option.
56 * doc/binutils.texi: Update documentation for objcopy and
57 readelf.
58 * doc/debug.options.texi: Update documentation of the
59 follow-links option.
60 * config.in: Regenerate.
61 * configure: Regenerate.
62 * testsuite/binutils-all/compress.exp: Add the -WN option to
63 objdump command lines that are not expecting to follow links.
64 * testsuite/binutils-all/readelf.exp: Add the
65 --debug-dump=no-follow-links option to tests that are not
66 expecting to follow debug links.
67 * NEWS: Mention the new behaviour.
68
17e04eff
AM
692021-02-12 Alan Modra <amodra@gmail.com>
70
71 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
72 gas or ld fails to build a testcase rather than "unresolved".
73 Report "fail" when readelf returns an error status rather than
74 "unresolved".
75 * testsuite/binutils-all/ar.exp: Likewise.
76 * testsuite/binutils-all/compress.exp: Likewise.
77 * testsuite/binutils-all/readelf.exp: Likewise.
78
8f054a7a
AM
792021-02-12 Alan Modra <amodra@gmail.com>
80
81 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
82 "c" with "ccc" labels.
83
528a4f87
TV
842021-02-12 Tom de Vries <tdevries@suse.de>
85
86 * dwarf.h (debug_info): Fix typo in comment.
87
95abb394
TV
882021-02-12 Tom de Vries <tdevries@suse.de>
89
90 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
91 entries.
92
d60f7998
TV
932021-02-12 Tom de Vries <tdevries@suse.de>
94
95 * dwarf.c (process_debug_info): Print DWO ID.
96
1cfcf300
AM
972021-02-11 Alan Modra <amodra@gmail.com>
98
99 PR 27290
100 PR 27293
101 PR 27295
102 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
103 Use bfd_malloc_and_get_section.
104 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
105 check namesz. Return NULL if descsz is too small. Ensure
106 string table is terminated.
107 (elf32_avr_get_device_info): Formatting. Add note_size param.
108 Sanity check note.
109 (elf32_avr_dump_mem_usage): Adjust to suit.
110
d9d9d8ef
TV
1112021-02-10 Tom de Vries <tdevries@suse.de>
112
113 PR binutils/27391
114 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
115
52ff20fe
TV
1162021-02-10 Tom de Vries <tdevries@suse.de>
117
118 PR binutils/27371
119 * dwarf.c (display_debug_ranges): Filter range lists according to
120 section.
121
5f128a25
TV
1222021-02-09 Tom de Vries <tdevries@suse.de>
123
124 PR binutils/27370
125 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
126
9b87f84a
TV
1272021-02-09 Tom de Vries <tdevries@suse.de>
128
129 PR binutils/27386
130 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
131 DW_UT_split_compile.
132
a57d1773
AM
1332021-02-09 Alan Modra <amodra@gmail.com>
134
135 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
136 symbianelf.
137
de8d4203
AM
1382021-02-07 Alan Modra <amodra@gmail.com>
139
140 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
141 uninitialised on invalid input.
142
51a25252
AM
1432021-02-06 Alan Modra <amodra@gmail.com>
144
145 PR 27349
146 * rename.c (smart_rename): Test for existence and type of output
147 file with lstat.
148
e37d88e5
NC
1492021-02-05 Nick Clifton <nickc@redhat.com>
150
151 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
152
887854ba
EZ
1532021-02-05 Eli Zaretskii <eliz@gnu.org>
154
155 PR 27252
156 * elfedit.c (check_file):
157 * bucomm.c (get_file_size): Fix typos in comments.
158
c180f095
AM
1592021-02-05 Alan Modra <amodra@gmail.com>
160
161 PR 27345
162 * arsup.c (ar_save): Use stat rather than lstat.
163
95b91a04
AM
1642021-02-03 Alan Modra <amodra@gmail.com>
165
166 PR 27270
167 PR 27284
168 PR 26945
169 * ar.c: Don't include libbfd.h.
170 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
171 bfd_stat rather than fstat on iostream. Move stat and fd tests
172 outside of _WIN32 ifdef. Delete skip_stat variable.
173 * arsup.c (temp_name, real_ofd): New static variables.
174 (ar_open): Use make_tempname and bfd_fdopenw.
175 (ar_save): Adjust to suit ar_open changes. Move stat output
176 of _WIN32 ifdef.
177 * objcopy.c: Don't include libbfd.h.
178 (copy_file): Use bfd_stat.
179
5424d7ed
L
1802021-02-02 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR binutils/27281
183 * readelf.c (process_section_headers): Add 'R' and 'D' to
184 "Key to Flags:".
185 * testsuite/binutils-all/retain1a.d: Updated.
186
72a51a06
NC
1872021-01-30 Nick Clifton <nickc@redhat.com>
188
189 * README-how-to-make-a-release: Small updates after the 2.35.2
190 release.
191
cc3edc52
EZ
1922021-01-28 Eli Zaretskii <eliz@gnu.org>
193
194 PR 4356
195 * windres.c (quot): Use double quotes to protect strings on
196 Windows platforms.
197
a7ad3cb1
EZ
1982021-01-28 Eli Zaretskii <eliz@gnu.org>
199
200 PR 27252
201 * bucomm.c (get_file_size): Add code to handle /dev/null on
202 Windows systems.
203 * elfedit.c (check_file): Likewise.
204
67965ba2
NC
2052021-01-27 Nick Clifton <nickc@redhat.com>
206
207 * objcopy.c (copy_main): Remove conditional control of the calls
208 to free, simplifying the code and making it easier to detect
209 typos.
210
e37709f0
FC
2112021-01-26 Frederic Cambus <fred@statdns.com>
212
213 * objcopy.c (copy_main): Fix a double free happening when both
214 --localize-symbols and --globalize-symbols options are invoked
215 together.
216
9b351c9b
NC
2172021-01-24 Nick Clifton <nickc@redhat.com>
218
219 * README-how-to-make-a-release: Minor updates after the 2.36 release.
220
ad92f33d
AM
2212021-01-16 Alan Modra <amodra@gmail.com>
222
223 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
224
3624a6c1
AM
2252021-01-15 Alan Modra <amodra@gmail.com>
226
227 PR 26539
228 * readelf.c (uncompress_section_contents): Always call inflateEnd.
229
c14dee84
AO
2302021-01-14 Alexandre Oliva <oliva@gnu.org>
231
232 * MAINTAINERS: Update my email address.
233
5a10699f
NC
2342021-01-14 Nick Clifton <nickc@redhat.com>
235
236 * po/sv.po: Updated Swedish translation.
237
5347ed60
AM
2382021-01-13 Alan Modra <amodra@gmail.com>
239
240 * Makefile.in: Regenerate.
241 * doc/Makefile.in: Regenerate.
242
2ce40d1a
ZF
2432021-01-13 Zebediah Figura <z.figura12@gmail.com>
244
245 PR 27037
246 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
247 and before exit.
248 (i386_x64_trampoline): Add SEH annotations.
249 (struct mac): Add how_seh field.
250 (make_delay_head): If how_set field is true add SEh instructions.
251
d546b610
L
2522021-01-12 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR binutils/26792
255 * configure.ac: Use GNU_MAKE_JOBSERVER.
256 * aclocal.m4: Regenerated.
257 * configure: Likewise.
258
6d104cac
NC
2592021-01-12 Nick Clifton <nickc@redhat.com>
260
261 * po/fr.po: Updated French translation.
262
83b33c6c
L
2632021-01-11 H.J. Lu <hongjiu.lu@intel.com>
264
265 PR ld/27173
266 * configure: Regenerated.
267
a8aa72b9
NC
2682021-01-11 Nick Clifton <nickc@redhat.com>
269
270 * po/pt.po: Updated Portuguese translation.
271 * po/sr.po: Updated Serbian translation.
272 * po/uk.po: Updated Ukranian translation.
273
a4966cd9
L
2742021-01-09 H.J. Lu <hongjiu.lu@intel.com>
275
276 * configure: Regenerated.
277
573fe3fb
NC
2782021-01-09 Nick Clifton <nickc@redhat.com>
279
280 * configure: Regenerate.
281 * po/binutils.pot: Regenerate.
282
055bc77a
NC
2832021-01-09 Nick Clifton <nickc@redhat.com>
284
285 * 2.36 release branch crated.
573fe3fb
NC
286 * README-how-to-make-a-release: Add note about updating Makefiles
287 and libtool files.
288 * BRANCHES: Add binutils-2.36-branch.
055bc77a 289
64307045
AM
2902021-01-09 Alan Modra <amodra@gmail.com>
291
292 * configure: Regenerate.
293
f4782128
ST
2942021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
295
296 * configure: Regenerate.
297
d1bcae83
L
2982021-01-07 H.J. Lu <hongjiu.lu@intel.com>
299
300 PR 27109
301 * objcopy.c (copy_object): Handle section symbols for
302 non-relocatable inputs.
303 * testsuite/binutils-all/readelf.exp (readelf_test): Check
304 is_elf_unused_section_symbols.
305 * testsuite/binutils-all/readelf.s-64: Updated.
306 * testsuite/binutils-all/readelf.ss: Likewise.
307 * testsuite/binutils-all/readelf.ss-64: Likewise.
308 * testsuite/binutils-all/readelf.s-64-unused: New file.
309 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
310 * testsuite/binutils-all/readelf.ss-unused: Likewise.
311 * testsuite/lib/binutils-common.exp
312 (is_elf_unused_section_symbols): New proc.
313
6987d5a1
RT
3142021-01-06 Reuben Thomas <rrt@sc3d.org>
315
316 * binutils/readelf.c: Correct grammar in comment.
317
f9a6a8f0
AM
3182021-01-01 Nicolas Boulenguez <nicolas@debian.org>
319
320 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
321 * doc/binutils.texi: Correct grammar.
322 * readelf.c (process_version_sections): Correct spelling of auxiliary
323 in warning.
324 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
325
250d07de
AM
3262021-01-01 Alan Modra <amodra@gmail.com>
327
328 Update year range in copyright notice of all files.
329
c2795844 330For older changes see ChangeLog-2020
3499769a 331\f
c2795844 332Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
333
334Copying and distribution of this file, with or without modification,
335are permitted in any medium without royalty provided the copyright
336notice and this notice are preserved.
337
338Local Variables:
339mode: change-log
340left-margin: 8
341fill-column: 74
342version-control: never
343End: