]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
Change the readelf and objdump programs so that they will automatically follow links...
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2021-02-12 Nick Clifton <nickc@redhat.com>
2
3 * configure.ac (follow-debug-links): Add option to enable or
4 disable the following of debug links by default. Set the
5 default for the option to be 'follow'.
6 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
7 (dwarf_select_sections_by_names): Add no-follow-links option.
8 (dwarf_select_sections_by_letter): Add 'N' option.
9 * objdump.c (usage): Add conditional text describing the
10 follow links option.
11 (slurp_symtab): Ensure that there is a NULL entry at the end
12 of the symbol table.
13 (slurp_dynamic_symtab): Likewise.
14 (dump_bfd): When extending the symbol table, ensure that there
15 is still a NULL entry at the end.
16 * readelf.c (usage): Add conditional text describing the
17 follow links option.
18 * doc/binutils.texi: Update documentation for objcopy and
19 readelf.
20 * doc/debug.options.texi: Update documentation of the
21 follow-links option.
22 * config.in: Regenerate.
23 * configure: Regenerate.
24 * testsuite/binutils-all/compress.exp: Add the -WN option to
25 objdump command lines that are not expecting to follow links.
26 * testsuite/binutils-all/readelf.exp: Add the
27 --debug-dump=no-follow-links option to tests that are not
28 expecting to follow debug links.
29 * NEWS: Mention the new behaviour.
30
31 2021-02-12 Alan Modra <amodra@gmail.com>
32
33 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
34 gas or ld fails to build a testcase rather than "unresolved".
35 Report "fail" when readelf returns an error status rather than
36 "unresolved".
37 * testsuite/binutils-all/ar.exp: Likewise.
38 * testsuite/binutils-all/compress.exp: Likewise.
39 * testsuite/binutils-all/readelf.exp: Likewise.
40
41 2021-02-12 Alan Modra <amodra@gmail.com>
42
43 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
44 "c" with "ccc" labels.
45
46 2021-02-12 Tom de Vries <tdevries@suse.de>
47
48 * dwarf.h (debug_info): Fix typo in comment.
49
50 2021-02-12 Tom de Vries <tdevries@suse.de>
51
52 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
53 entries.
54
55 2021-02-12 Tom de Vries <tdevries@suse.de>
56
57 * dwarf.c (process_debug_info): Print DWO ID.
58
59 2021-02-11 Alan Modra <amodra@gmail.com>
60
61 PR 27290
62 PR 27293
63 PR 27295
64 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
65 Use bfd_malloc_and_get_section.
66 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
67 check namesz. Return NULL if descsz is too small. Ensure
68 string table is terminated.
69 (elf32_avr_get_device_info): Formatting. Add note_size param.
70 Sanity check note.
71 (elf32_avr_dump_mem_usage): Adjust to suit.
72
73 2021-02-10 Tom de Vries <tdevries@suse.de>
74
75 PR binutils/27391
76 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
77
78 2021-02-10 Tom de Vries <tdevries@suse.de>
79
80 PR binutils/27371
81 * dwarf.c (display_debug_ranges): Filter range lists according to
82 section.
83
84 2021-02-09 Tom de Vries <tdevries@suse.de>
85
86 PR binutils/27370
87 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
88
89 2021-02-09 Tom de Vries <tdevries@suse.de>
90
91 PR binutils/27386
92 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
93 DW_UT_split_compile.
94
95 2021-02-09 Alan Modra <amodra@gmail.com>
96
97 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
98 symbianelf.
99
100 2021-02-07 Alan Modra <amodra@gmail.com>
101
102 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
103 uninitialised on invalid input.
104
105 2021-02-06 Alan Modra <amodra@gmail.com>
106
107 PR 27349
108 * rename.c (smart_rename): Test for existence and type of output
109 file with lstat.
110
111 2021-02-05 Nick Clifton <nickc@redhat.com>
112
113 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
114
115 2021-02-05 Eli Zaretskii <eliz@gnu.org>
116
117 PR 27252
118 * elfedit.c (check_file):
119 * bucomm.c (get_file_size): Fix typos in comments.
120
121 2021-02-05 Alan Modra <amodra@gmail.com>
122
123 PR 27345
124 * arsup.c (ar_save): Use stat rather than lstat.
125
126 2021-02-03 Alan Modra <amodra@gmail.com>
127
128 PR 27270
129 PR 27284
130 PR 26945
131 * ar.c: Don't include libbfd.h.
132 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
133 bfd_stat rather than fstat on iostream. Move stat and fd tests
134 outside of _WIN32 ifdef. Delete skip_stat variable.
135 * arsup.c (temp_name, real_ofd): New static variables.
136 (ar_open): Use make_tempname and bfd_fdopenw.
137 (ar_save): Adjust to suit ar_open changes. Move stat output
138 of _WIN32 ifdef.
139 * objcopy.c: Don't include libbfd.h.
140 (copy_file): Use bfd_stat.
141
142 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
143
144 PR binutils/27281
145 * readelf.c (process_section_headers): Add 'R' and 'D' to
146 "Key to Flags:".
147 * testsuite/binutils-all/retain1a.d: Updated.
148
149 2021-01-30 Nick Clifton <nickc@redhat.com>
150
151 * README-how-to-make-a-release: Small updates after the 2.35.2
152 release.
153
154 2021-01-28 Eli Zaretskii <eliz@gnu.org>
155
156 PR 4356
157 * windres.c (quot): Use double quotes to protect strings on
158 Windows platforms.
159
160 2021-01-28 Eli Zaretskii <eliz@gnu.org>
161
162 PR 27252
163 * bucomm.c (get_file_size): Add code to handle /dev/null on
164 Windows systems.
165 * elfedit.c (check_file): Likewise.
166
167 2021-01-27 Nick Clifton <nickc@redhat.com>
168
169 * objcopy.c (copy_main): Remove conditional control of the calls
170 to free, simplifying the code and making it easier to detect
171 typos.
172
173 2021-01-26 Frederic Cambus <fred@statdns.com>
174
175 * objcopy.c (copy_main): Fix a double free happening when both
176 --localize-symbols and --globalize-symbols options are invoked
177 together.
178
179 2021-01-24 Nick Clifton <nickc@redhat.com>
180
181 * README-how-to-make-a-release: Minor updates after the 2.36 release.
182
183 2021-01-16 Alan Modra <amodra@gmail.com>
184
185 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
186
187 2021-01-15 Alan Modra <amodra@gmail.com>
188
189 PR 26539
190 * readelf.c (uncompress_section_contents): Always call inflateEnd.
191
192 2021-01-14 Alexandre Oliva <oliva@gnu.org>
193
194 * MAINTAINERS: Update my email address.
195
196 2021-01-14 Nick Clifton <nickc@redhat.com>
197
198 * po/sv.po: Updated Swedish translation.
199
200 2021-01-13 Alan Modra <amodra@gmail.com>
201
202 * Makefile.in: Regenerate.
203 * doc/Makefile.in: Regenerate.
204
205 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
206
207 PR 27037
208 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
209 and before exit.
210 (i386_x64_trampoline): Add SEH annotations.
211 (struct mac): Add how_seh field.
212 (make_delay_head): If how_set field is true add SEh instructions.
213
214 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
215
216 PR binutils/26792
217 * configure.ac: Use GNU_MAKE_JOBSERVER.
218 * aclocal.m4: Regenerated.
219 * configure: Likewise.
220
221 2021-01-12 Nick Clifton <nickc@redhat.com>
222
223 * po/fr.po: Updated French translation.
224
225 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
226
227 PR ld/27173
228 * configure: Regenerated.
229
230 2021-01-11 Nick Clifton <nickc@redhat.com>
231
232 * po/pt.po: Updated Portuguese translation.
233 * po/sr.po: Updated Serbian translation.
234 * po/uk.po: Updated Ukranian translation.
235
236 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
237
238 * configure: Regenerated.
239
240 2021-01-09 Nick Clifton <nickc@redhat.com>
241
242 * configure: Regenerate.
243 * po/binutils.pot: Regenerate.
244
245 2021-01-09 Nick Clifton <nickc@redhat.com>
246
247 * 2.36 release branch crated.
248 * README-how-to-make-a-release: Add note about updating Makefiles
249 and libtool files.
250 * BRANCHES: Add binutils-2.36-branch.
251
252 2021-01-09 Alan Modra <amodra@gmail.com>
253
254 * configure: Regenerate.
255
256 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
257
258 * configure: Regenerate.
259
260 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
261
262 PR 27109
263 * objcopy.c (copy_object): Handle section symbols for
264 non-relocatable inputs.
265 * testsuite/binutils-all/readelf.exp (readelf_test): Check
266 is_elf_unused_section_symbols.
267 * testsuite/binutils-all/readelf.s-64: Updated.
268 * testsuite/binutils-all/readelf.ss: Likewise.
269 * testsuite/binutils-all/readelf.ss-64: Likewise.
270 * testsuite/binutils-all/readelf.s-64-unused: New file.
271 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
272 * testsuite/binutils-all/readelf.ss-unused: Likewise.
273 * testsuite/lib/binutils-common.exp
274 (is_elf_unused_section_symbols): New proc.
275
276 2021-01-06 Reuben Thomas <rrt@sc3d.org>
277
278 * binutils/readelf.c: Correct grammar in comment.
279
280 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
281
282 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
283 * doc/binutils.texi: Correct grammar.
284 * readelf.c (process_version_sections): Correct spelling of auxiliary
285 in warning.
286 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
287
288 2021-01-01 Alan Modra <amodra@gmail.com>
289
290 Update year range in copyright notice of all files.
291
292 For older changes see ChangeLog-2020
293 \f
294 Copyright (C) 2021 Free Software Foundation, Inc.
295
296 Copying and distribution of this file, with or without modification,
297 are permitted in any medium without royalty provided the copyright
298 notice and this notice are preserved.
299
300 Local Variables:
301 mode: change-log
302 left-margin: 8
303 fill-column: 74
304 version-control: never
305 End: