ChangeLog revision 1.9 1 1.9 christos 2024-01-15 Nick Clifton <nickc (a] redhat.com>
2 1.1 christos
3 1.8 christos * configure: Regenerate.
4 1.9 christos * po/binutils.pot: Regernate.
5 1.9 christos
6 1.9 christos 2024-01-15 Nick Clifton <nickc (a] redhat.com>
7 1.9 christos
8 1.9 christos * 2.42 branch point.
9 1.9 christos
10 1.9 christos 2023-12-04 Tom Tromey <tom (a] tromey.com>
11 1.9 christos
12 1.9 christos * dwarf.c (display_debug_names): Handle empty .debug_names hash
13 1.9 christos table. Name entries start at 1.
14 1.9 christos
15 1.9 christos 2023-11-15 Arsen Arsenovi <arsen (a] aarsen.me>
16 1.9 christos
17 1.9 christos * aclocal.m4: Regenerate.
18 1.9 christos * configure: Regenerate.
19 1.9 christos * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
20 1.9 christos temporary file, to suppress xgettext checking charset names.
21 1.9 christos
22 1.9 christos 2023-11-14 Nick Clifton <nickc (a] redhat.com>
23 1.9 christos
24 1.9 christos PR 31062
25 1.9 christos * objdump.c (decompressed_dumps): New local variable.
26 1.9 christos (usage): Mention the -z/--decompress option.
27 1.9 christos (long_options): Add --decompress.
28 1.9 christos (dump_section_header): Add "COMPRESSED" to the Flags field of any
29 1.9 christos compressed section.
30 1.9 christos (dump_section): Warn users when dumping a compressed section.
31 1.9 christos (display_any_bfd): Decompress the section if decompressed_dumps is
32 1.9 christos true.
33 1.9 christos (main): Handle the -z/--decompress option.
34 1.9 christos * NEWS: Mention the new feature.
35 1.9 christos * doc/binutils.texi: Document the new feature.
36 1.9 christos * testsuite/binutils-all/objdump.s: Update expected output.
37 1.9 christos * testsuite/binutils-all/objdump.exp: Add test of -Z -s.
38 1.9 christos * testsuite/binutils-all/objdump.Zs: New file.
39 1.9 christos
40 1.9 christos * readelf.c (maybe_expand_or_relocate_section): New function.
41 1.9 christos Contains common code found in dump functions. Adds a note message
42 1.9 christos if a compressed section is not being decompressed.
43 1.9 christos (dump_section_as_strings): Use new function.
44 1.9 christos (dump_section_as_bytes): Likewise.
45 1.9 christos
46 1.9 christos 2023-11-10 Simon Marchi <simon.marchi (a] efficios.com>
47 1.9 christos
48 1.9 christos * readelf.c (decode_AMDGPU_machine_flags): Handle gfx1100,
49 1.9 christos gfx1101, gfx1102.
50 1.9 christos
51 1.9 christos 2023-11-10 Vsevolod Alekseyev <sevaa (a] sprynet.com>
52 1.9 christos
53 1.9 christos PR 30880
54 1.9 christos * dwarf.c (read_and_display_attr_value): Fix loclist handling.
55 1.9 christos (display_loclists_list): Likewise.
56 1.9 christos
57 1.9 christos 2023-10-24 Tom de Vries <tdevries (a] suse.de>
58 1.9 christos
59 1.9 christos * dwarf.c (display_gdb_index): Handle unknown name of main.
60 1.9 christos
61 1.9 christos 2023-10-10 Tom de Vries <tdevries (a] suse.de>
62 1.9 christos
63 1.9 christos * dwarf.c (display_lang): New function, factored out of ...
64 1.9 christos (read_and_display_attr_value): ... here.
65 1.9 christos (display_gdb_index): Handle v9 .gdb_index.
66 1.9 christos
67 1.9 christos 2023-10-05 A. Wilcox <awilfox (a] adelielinux.org>w
68 1.9 christos
69 1.9 christos PR 30916
70 1.9 christos * testsuite/binutils-all/addr2line.exp: Do not use PowerPC
71 1.9 christos specific options when working with a MUSL target.
72 1.9 christos
73 1.9 christos 2023-10-02 Vsevolod Alekseyev <sevaa (a] sprynet.com>
74 1.9 christos
75 1.9 christos PR 29267
76 1.9 christos * dwarf.c (fetch_indexed_value): Delete.
77 1.9 christos (fetch_indexed_offset): Correct base address calculation.
78 1.9 christos (read_and_display_attr_value): Replace uses of fetch_indexed_value
79 1.9 christos with fetch_indexed_offset.
80 1.9 christos
81 1.9 christos 2023-09-28 Frederic Cambus <fred (a] statdns.com>
82 1.9 christos
83 1.9 christos * readelf.c (get_segment_type): Handle PT_OPENBSD_NOBTCFI segment
84 1.9 christos type.
85 1.9 christos
86 1.9 christos 2023-09-26 Nick Clifton <nickc (a] redhat.com>
87 1.9 christos
88 1.9 christos * testsuite/binutils-all/ar.exp: Remove assumption of the setting
89 1.9 christos of umask when creating test archive files.
90 1.9 christos
91 1.9 christos 2023-09-25 Vsevolod Alekseyev <sevaa (a] sprynet.com>
92 1.9 christos
93 1.9 christos PR 30792
94 1.9 christos * dwarf.h (struct debug_info): Remove range_versions field.
95 1.9 christos * dwarf.c (fetch_indexed_offset): New function.
96 1.9 christos (read_and_display_attr_value): Use it for DW_FORM_rnglistx.
97 1.9 christos Remove code to initialise range_versions.
98 1.9 christos (skip_attribute): New function.
99 1.9 christos (read_bases): Read and reccord all range and address bases in a CU.
100 1.9 christos (process_debug_info): Call read_bases.
101 1.9 christos (display_debug_rnglists): Rename to display_debug_rnglists_unit_header
102 1.9 christos and only display the range list header information.
103 1.9 christos (display_debug_ranges): Adjust.
104 1.9 christos
105 1.9 christos 2023-09-05 Nick Clifton <nickc (a] redhat.com>
106 1.9 christos
107 1.9 christos PR 30684
108 1.9 christos * readelf.c (extra_sym_info): New variable.
109 1.9 christos (section_name_valid): Also check for filedata being NULL.
110 1.9 christos (section_name_print): Delete.
111 1.9 christos (section_index_real): New function. Returns true if the given
112 1.9 christos section index references a real section.
113 1.9 christos (print_symbol): Rename to print_sumbol_name.
114 1.9 christos (printable_section_name): Use a rotating array of static buffers
115 1.9 christos for the return string.
116 1.9 christos (printable_section_name_from_index): Merge code from
117 1.9 christos dump_relocations and get_symbol_index_type into here.
118 1.9 christos (long_option_values): Add OPTION_NO_EXTRA_SYM_INFO.
119 1.9 christos (options): Add "extra-sym-info" and "no-extra-sym-info".
120 1.9 christos (usage): Mention new options.
121 1.9 christos (parse_args): Parse new options.
122 1.9 christos (get_symbol_index_type): Delete.
123 1.9 christos (print_dynamic_symbol_size): Rename to print_symbol_size.
124 1.9 christos (print_dynamic_symbol): Rename to print_symbol.
125 1.9 christos (print_symbol_table_heading): New function.
126 1.9 christos (process_symbol_table): Use new function.
127 1.9 christos * doc/binutils.texi: Document the new option.
128 1.9 christos * NEWS: Mention the new feature.
129 1.9 christos
130 1.9 christos 2023-08-23 Nick Clifton <nickc (a] redhat.com>
131 1.9 christos
132 1.9 christos PR 30781
133 1.9 christos * dwarf.h (debug_info): Add range_versions field.
134 1.9 christos * dwarf.c (read_and_display_attr_value): When recording a range
135 1.9 christos arribute also ecord the dwarf version number.
136 1.9 christos (is_range_list_for_this_section): New function.
137 1.9 christos (display_debug_ranges): Only show debug ranges whose version is
138 1.9 christos suitable for the secction being displayed.
139 1.9 christos
140 1.9 christos 2023-07-30 Jose E. Marchesi <jose.marchesi (a] oracle.com>
141 1.9 christos
142 1.9 christos * readelf.c (get_machine_flags): Recognize and pretty print BPF
143 1.9 christos machine flags.
144 1.9 christos
145 1.9 christos 2023-07-24 Johannes Schauer Marin Rodrigues <josch (a] debian.org>
146 1.9 christos
147 1.9 christos * doc/binutils.texi (objcopy): Document change in behaviour of
148 1.9 christos objcopy's --preserve-dates command line option.
149 1.9 christos
150 1.9 christos 2023-07-09 Fangrui Song <maskray (a] google.com>
151 1.9 christos
152 1.9 christos PR 30592
153 1.9 christos * NEWS: Mention the new feature for objcopy.
154 1.9 christos * doc/binutils.texi: Mention "large".
155 1.9 christos * objcopy.c (parse_flags): Parse "large".
156 1.9 christos (check_new_section_flags): Error if "large" is used with a
157 1.9 christos non-x86-64 ELF target.
158 1.9 christos * testsuite/binutils-all/x86-64/large-sections.d: New.
159 1.9 christos * testsuite/binutils-all/x86-64/large-sections.s: New.
160 1.9 christos * testsuite/binutils-all/x86-64/large-sections-i386.d: New.
161 1.9 christos * testsuite/binutils-all/x86-64/large-sections-2.d: New.
162 1.9 christos * testsuite/binutils-all/x86-64/large-sections-2-x32.d: New.
163 1.9 christos
164 1.9 christos 2023-07-03 Nick Clifton <nickc (a] redhat.com>
165 1.9 christos
166 1.9 christos * README-how-to-make-a-release: Change some version numbers.
167 1.9 christos * configure: Regenerate.
168 1.9 christos * po/binutils.pot: Regenerate.
169 1.9 christos
170 1.9 christos 2023-07-03 Nick Clifton <nickc (a] redhat.com>
171 1.9 christos
172 1.9 christos 2.41 Branch Point.
173 1.9 christos
174 1.9 christos 2023-06-30 Nick Clifton <nickc (a] redhat.com>
175 1.9 christos
176 1.9 christos PR 30598
177 1.9 christos * strings.c (set_string_min): New function.
178 1.9 christos (main): Use it.
179 1.9 christos (print_unicode_stream): Calculate buffer size using a size_t.
180 1.9 christos
181 1.9 christos 2023-06-30 Nick Clifton <nickc (a] redhat.com>
182 1.9 christos
183 1.9 christos PR 30595
184 1.9 christos * strings.c (main): Check for an excessively large minimum string
185 1.9 christos length.
186 1.9 christos
187 1.9 christos 2023-06-21 Nick Clifton <nickc (a] redhat.com>
188 1.9 christos
189 1.9 christos * testsuite/lib/binutils-common.exp (prune_warnings_extra): Prune
190 1.9 christos warnings about -z execstack creating an executable stack.
191 1.9 christos
192 1.9 christos 2023-05-30 Nick Clifton <nickc (a] redhat.com>
193 1.9 christos
194 1.9 christos * od-pe.c (targ_info): New array.
195 1.9 christos (get_target_specific_info): New function
196 1.9 christos (decode_machine_number): Retire. Use get_target_specific_info
197 1.9 christos instead.
198 1.9 christos (is_pe_object_magic): Likewise.
199 1.9 christos (dump_pe_file_header): Display more information.
200 1.9 christos Rework layout to be similar to that from 'objdump -p'.
201 1.9 christos Add code to handle larger than normnal AOUT headers.
202 1.9 christos
203 1.9 christos 2023-05-30 Nick Clifton <nickc (a] redhat.com>
204 1.9 christos
205 1.9 christos * od-pe.c (decode_machine_number): Add ARMMAGIC value of 0xa00.
206 1.9 christos (is_pe_object_magic): Likewise.
207 1.9 christos
208 1.9 christos 2023-05-26 Nick Clifton <nickc (a] redhat.com>
209 1.9 christos
210 1.9 christos * od-pe.c: New file: Dumps fields in PE format headers.
211 1.9 christos * configure.ac (od_vectors): Add objdump_private_desc_pe for PE
212 1.9 christos format targets.
213 1.9 christos (od_files): Add od-pe for PE format targets.
214 1.9 christos * configure: Regenerate.
215 1.9 christos * Makefile.am (CFILES): Add od-pe.c
216 1.9 christos (EXTRA_objdump_SOURCE): Likewise.
217 1.9 christos * Makefile.in: Generate.
218 1.9 christos * NEWS: Mention the new feature.
219 1.9 christos * doc/binutils.texi: Document the new support.
220 1.9 christos * objdump.c (wide_output): Change from local to global.
221 1.9 christos * objdump.h (wide_output): Prototype.
222 1.9 christos (objdump_private_desc_pe): Prototype.
223 1.9 christos * testsuite/binutils-all/objdump.exp: Add a test of the new feature.
224 1.9 christos
225 1.9 christos 2023-05-09 Enze Li <enze.li (a] gmx.com>
226 1.9 christos
227 1.9 christos * README: Correct a typo.
228 1.9 christos
229 1.9 christos 2023-05-02 Nick Clifton <nickc (a] redhat.com>
230 1.9 christos
231 1.9 christos * MAINTAINERS: Remove Dimity Diky as MSP430 maintainer.
232 1.9 christos
233 1.9 christos 2023-04-20 Nick Clifton <nickc (a] redhat.com>
234 1.9 christos
235 1.9 christos * SECURITY.txt: New file.
236 1.9 christos
237 1.9 christos 2023-04-19 Nick Clifton <nickc (a] redhat.com>
238 1.9 christos
239 1.9 christos PR 30355
240 1.9 christos * dwarf.c (read_and_display_attr_value): Correctly handle
241 1.9 christos DW_loclistx attributes that index a version 5 .debug_loclists
242 1.9 christos section.
243 1.9 christos
244 1.9 christos 2023-04-17 Nick Clifton <nickc (a] redhat.com>
245 1.9 christos
246 1.9 christos PR 30142
247 1.9 christos * rescoff.c (write_coff_file): Add the SEC_READONLY flag to the
248 1.9 christos .rsrc section.
249 1.9 christos
250 1.9 christos 2023-04-11 Nick Clifton <nickc (a] redhat.com>
251 1.9 christos
252 1.9 christos PR 30327
253 1.9 christos * dwarf.c (read_and_display_attr_value): Warn if the number of
254 1.9 christos views is greater than the number of locations.
255 1.9 christos
256 1.9 christos PR 30313
257 1.9 christos * dwarf.c (display_debug_lines_decoded): Check for an overlarge
258 1.9 christos number of files or directories.
259 1.9 christos
260 1.9 christos PR 30312
261 1.9 christos * dwarf.c (prealloc_cu_tu_list): Always allocate at least one
262 1.9 christos entry.
263 1.9 christos
264 1.9 christos PR 30311
265 1.9 christos * readelf.c (uncompress_section_contents): Check for a
266 1.9 christos suspiciously large uncompressed size.
267 1.9 christos
268 1.9 christos 2023-03-30 Nick Clifton <nickc (a] redhat.com>
269 1.9 christos
270 1.9 christos PR 30284
271 1.9 christos * dwarf.c (read_and_display_attr_value): Detect and ignore
272 1.9 christos negative base values.
273 1.9 christos
274 1.9 christos 2023-03-23 Frederic Cambus <fred (a] statdns.com>
275 1.9 christos
276 1.9 christos * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment
277 1.9 christos type.
278 1.9 christos
279 1.9 christos 2023-03-14 Nick Clifton <nickc (a] redhat.com>
280 1.9 christos
281 1.9 christos PR 30227
282 1.9 christos * dwarf.c (process_cu_tu_index): Prevent excessive memory
283 1.9 christos allocation when nused is large and ncols is zero.
284 1.9 christos
285 1.9 christos 2023-02-09 Tom Tromey <tromey (a] adacore.com>
286 1.9 christos
287 1.9 christos * dwarf-mode.el: Bump version to 1.8.
288 1.9 christos (dwarf-insert-substructure): Tighten regexp.
289 1.9 christos (dwarf-refresh-all): New defun.
290 1.9 christos (dwarf-mode-map): Bind "A" to dwarf-refresh-all.
291 1.9 christos (dwarf-mode): Remove old FIXME.
292 1.9 christos
293 1.9 christos 2023-02-07 Nick Clifton <nickc (a] redhat.com>
294 1.9 christos
295 1.9 christos PR 30080
296 1.9 christos * doc/binutils.texi (nm): Update description of the 'n' symbol
297 1.9 christos type.
298 1.9 christos
299 1.9 christos 2023-01-31 Nick Clifton <nickc (a] redhat.com>
300 1.9 christos
301 1.9 christos * po/sv.po: Updated Swedish translation.
302 1.9 christos
303 1.9 christos 2023-01-23 Nick Clifton <nickc (a] redhat.com>
304 1.9 christos
305 1.9 christos * po/sv.po: Updated Swedish translation.
306 1.9 christos
307 1.9 christos 2023-01-18 Nick Clifton <nickc (a] redhat.com>
308 1.9 christos
309 1.9 christos PR 29993
310 1.9 christos * objcopy.c (merge_gnu_build_notes): Remember the last non-deleted
311 1.9 christos note in order to speed up the scan for matching notes.
312 1.9 christos
313 1.9 christos 2023-01-16 Nick Clifton <nickc (a] redhat.com>
314 1.9 christos
315 1.9 christos * po/sv.po: Updated Swedish translation.
316 1.9 christos
317 1.9 christos 2023-01-09 Nick Clifton <nickc (a] redhat.com>
318 1.9 christos
319 1.9 christos * po/bg.po: Updated Bulgarian translation.
320 1.9 christos * po/ro.po: Updated Romainian translation.
321 1.9 christos
322 1.9 christos 2023-01-05 Nick Clifton <nickc (a] redhat.com>
323 1.9 christos
324 1.9 christos * MAINTAINERS: Remove Stephen Casner as the PDP11 maintainer.
325 1.9 christos
326 1.9 christos 2023-01-03 Nick Clifton <nickc (a] redhat.com>
327 1.9 christos
328 1.9 christos * po/fr.po: Updated French translation.
329 1.9 christos * po/uk.po: Updated Ukrainian translation.
330 1.9 christos
331 1.9 christos 2023-01-03 Luis Machado <luis.machado (a] arm.com>
332 1.9 christos
333 1.9 christos * readelf.c (get_note_type): Add support for NT_ARM_SSVE and
334 1.9 christos NT_ARM_ZA note types.
335 1.9 christos
336 1.9 christos 2022-12-31 Nick Clifton <nickc (a] redhat.com>
337 1.9 christos
338 1.9 christos * 2.40 branch created.
339 1.9 christos
340 1.9 christos 2022-12-31 Nick Clifton <nickc (a] redhat.com>
341 1.9 christos
342 1.9 christos * po/ro.po: Updated Romanian translation.
343 1.9 christos
344 1.9 christos 2022-12-21 Nick Clifton <nickc (a] redhat.com>
345 1.9 christos
346 1.9 christos PR 29924
347 1.9 christos * objdump.c (load_specific_debug_section): Check for excessively
348 1.9 christos large sections.
349 1.9 christos
350 1.9 christos 2022-12-19 Tom Tromey <tromey (a] adacore.com>
351 1.9 christos
352 1.9 christos * dwarf-mode.el (dwarf-do-refresh): Avoid compiler warning.
353 1.9 christos
354 1.9 christos 2022-12-19 Nick Clifton <nickc (a] redhat.com>
355 1.9 christos
356 1.9 christos PR 29914
357 1.9 christos * dwarf.c (fetch_indexed_value): Fail if the section is not big
358 1.9 christos enough to contain a header size field.
359 1.9 christos (display_debug_addr): Fail if the computed address size is too big
360 1.9 christos or too small.
361 1.9 christos
362 1.9 christos 2022-12-16 Nick Clifton <nickc (a] redhat.com>
363 1.9 christos
364 1.9 christos PR 29908
365 1.9 christos * dwarf.c (display_debug_addr): Check for corrupt header lengths.
366 1.9 christos
367 1.9 christos 2022-12-01 Nick Clifton <nickc (a] redhat.com>
368 1.9 christos
369 1.9 christos PR 25202
370 1.9 christos * objcopy.c (copy_object): Set VerilogDataEndianness to the
371 1.9 christos endianness of the input file.
372 1.9 christos (copy_main): Verifiy the value set by the --verilog-data-width
373 1.9 christos option.
374 1.9 christos * testsuite/binutils-all/objcopy.exp: Add tests of the new behaviour.
375 1.9 christos * testsuite/binutils-all/verilog-I4.hex: New file.
376 1.9 christos
377 1.9 christos 2022-11-21 Nick Clifton <nickc (a] redhat.com>
378 1.9 christos
379 1.9 christos PR 29764
380 1.9 christos * doc/binutils.texi (objdump): Note that the -m option supports
381 1.9 christos the <architecture>:<machine> syntax.
382 1.9 christos
383 1.9 christos 2022-11-04 Nick Clifton <nickc (a] redhat.com>
384 1.9 christos
385 1.9 christos * README-how-to-make-a-release: Add instructions for uploading the
386 1.9 christos gprofng documentation.
387 1.9 christos
388 1.9 christos 2022-10-31 Nick Clifton <nickc (a] redhat.com>
389 1.9 christos
390 1.9 christos PR 29457
391 1.9 christos * configure.ac: Add --enable-colored-disassembly.
392 1.9 christos * objdump.c: Add --disassembler-color=terminal.
393 1.9 christos * doc/binutils.texi (objdump): Document the new option.
394 1.9 christos * NEWS: Mention new feature.
395 1.9 christos * config.in: Regenerate in.
396 1.9 christos * configure: Regenerate.
397 1.9 christos
398 1.9 christos 2022-10-19 Nick Clifton <nickc (a] redhat.com>
399 1.9 christos
400 1.9 christos * MAINTAINERS: Add section on patches, copyright and DCO.
401 1.9 christos
402 1.9 christos 2022-10-12 Nick Clifton <nickc (a] redhat.com>
403 1.9 christos
404 1.9 christos PR 29665
405 1.9 christos * objcopy.c (copy_object): Use the input filename when
406 1.9 christos reporting that a .gnu_debuglink section already exists.
407 1.9 christos
408 1.9 christos 2022-10-03 Nick Clifton <nickc (a] redhat.com>
409 1.9 christos
410 1.9 christos * readelf.c (get_32bit_section_headers): Return false if the
411 1.9 christos e_shoff field is zero.
412 1.9 christos (get_64bit_section_headers): Likewise.
413 1.9 christos
414 1.9 christos 2022-09-28 Nick Clifton <nickc (a] redhat.com>
415 1.9 christos
416 1.9 christos PR 29628
417 1.9 christos * size.c (usage): Add -f.
418 1.9 christos * doc/binutils.texi (size): Add -f.
419 1.9 christos
420 1.9 christos 2022-09-20 Nick Clifton <nickc (a] redhat.com>
421 1.9 christos
422 1.9 christos * objcopy.c (copy_object): Do not issue a warning message when
423 1.9 christos encountering empty .gnu.build.attribute sections.
424 1.9 christos
425 1.9 christos 2022-09-14 Rupesh Potharla <Rupesh.Potharla (a] amd.com>
426 1.9 christos
427 1.9 christos * testsuite/binutils-all/readelf.exp (readelf_wi_test): Extend
428 1.9 christos regexps to allow for output genreated by the Clang compiler.
429 1.9 christos
430 1.9 christos 2022-09-12 Aaron Merey <amerey (a] redhat.com>
431 1.9 christos
432 1.9 christos * objcopy.c (might_need_separate_debug_info): Add with_source_code to
433 1.9 christos the options that cause this function to return true.
434 1.9 christos (main.c): Add with_source_code to the options that enable
435 1.9 christos dump_any_debugging.
436 1.9 christos
437 1.9 christos 2022-09-09 Nick Clifton <nickc (a] redhat.com>
438 1.9 christos
439 1.9 christos PR 29532
440 1.9 christos * objcopy.c (setup_section): Leave group sections intact when
441 1.9 christos creating separate debuginfo files.
442 1.9 christos
443 1.9 christos 2022-09-08 Nick Clifton <nickc (a] redhat.com>
444 1.9 christos
445 1.9 christos PR 29523
446 1.9 christos * dwarf.c (display_debug_lines_decoded): Correctly handle DWARF-5
447 1.9 christos directory and filename tables.
448 1.9 christos
449 1.9 christos 2022-09-02 Aaron Merey <amerey (a] redhat.com>
450 1.9 christos
451 1.9 christos PR 29075
452 1.9 christos * objdump.c (find_separate_debug): New function. Finds the bfd
453 1.9 christos corresponding to the separate debuginfod of a given bfd.
454 1.9 christos (find_alt_debug): New function. Finds the bfd corresponding to the
455 1.9 christos .gnu_debugaltlink of a given bfd.
456 1.9 christos (slurp_file): Add bfd parameter. If a source file cannot be found
457 1.9 christos attempt to download it from debuginfod, if enabled.
458 1.9 christos (try_print_file_open): Add bfd parameter and pass it to slurp_file.
459 1.9 christos (show_line): If debuginfod is enabled, call
460 1.9 christos bfd_find_nearest_line_with_alt instead of bfd_find_nearest_line.
461 1.9 christos
462 1.9 christos 2022-09-01 Nick Clifton <nickc (a] redhat.com>
463 1.9 christos
464 1.9 christos PR 29534
465 1.9 christos * dllwrap.c: Replace uses of choose_temp_base() with
466 1.9 christos make_temp_file().
467 1.9 christos * dlltool.c: Likewise.
468 1.9 christos * resrc.c: Likewise.
469 1.9 christos
470 1.9 christos 2022-08-23 Nick Clifton <nickc (a] redhat.com>
471 1.9 christos
472 1.9 christos PR 29489
473 1.9 christos * dlltool.c (deterministic): New variable.
474 1.9 christos (gen_lib_file): If deterministic is true set the
475 1.9 christos BFD_DETERMINISTIC_OUTPUT flag.
476 1.9 christos (usage): Mention --deterministic-libraries and
477 1.9 christos --non-deterministic-libraries.
478 1.9 christos (long_options): Add new options.
479 1.9 christos (main): Parse new options.
480 1.9 christos * doc/binutils.texi: Document the new options.
481 1.9 christos * NEWS: Mention the new feature.
482 1.9 christos
483 1.9 christos 2022-08-22 Nick Clifton <nickc (a] redhat.com>
484 1.9 christos
485 1.9 christos * readelf.c (check_magic_number): New function. Checks the magic
486 1.9 christos bytes at the start of a file. If they are not the ELF format
487 1.9 christos magic values, then attempts to generate a helpful error message.
488 1.9 christos (process_file_header): Call check_magic_number.
489 1.9 christos
490 1.9 christos 2022-08-09 Nick Clifton <nickc (a] redhat.com>
491 1.9 christos
492 1.9 christos PR 29457
493 1.9 christos * objdump.c (disassembler_color): Change type to an enum.
494 1.9 christos (disassembler_extended_color): Remove.
495 1.9 christos (usage): Update.
496 1.9 christos (objdump_color_for_assembler_style): Update.
497 1.9 christos (main): Update initialisation of disassembler_color. If not
498 1.9 christos initialised via a command line option, set based upon terminal
499 1.9 christos output.
500 1.9 christos * doc/binutils.texi: Update description of disassmbler-color
501 1.9 christos option.
502 1.9 christos * testsuite/binutils-all/arc/objdump.exp: Add
503 1.9 christos --disassembler-color=off option when disassembling.
504 1.9 christos * testsuite/binutils-all/arm/objdump.exp: Likewise.
505 1.9 christos
506 1.9 christos 2022-08-08 Nick Clifton <nickc (a] redhat.com>
507 1.9 christos
508 1.9 christos * README-how-to-make-a-release: Add a link to the NEWS files in
509 1.9 christos the release announcement email.
510 1.8 christos
511 1.8 christos 2022-07-08 Nick Clifton <nickc (a] redhat.com>
512 1.8 christos
513 1.8 christos * 2.39 branch created.
514 1.8 christos
515 1.8 christos 2022-07-01 Nick Clifton <nickc (a] redhat.com>
516 1.8 christos
517 1.8 christos * dwarf.c (display_debug_rnglists): Add newline at end of listing.
518 1.8 christos
519 1.8 christos 2022-06-30 Nick Clifton <nickc (a] redhat.com>
520 1.8 christos
521 1.8 christos * dwarf.c (dwarf_select_sections_by_name): If the entry's value is
522 1.8 christos zero then clear the corresponding variable.
523 1.8 christos (dwarf_select_sections_by_letters): Likewise.
524 1.8 christos * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE
525 1.8 christos debuginfod tests to fail.
526 1.8 christos
527 1.8 christos 2022-06-28 Nick Clifton <nickc (a] redhat.com>
528 1.8 christos
529 1.8 christos PR 29267
530 1.8 christos * dwarf.c (display_debug_rnglists): New function, broken out of..
531 1.8 christos (display_debug_ranges): ... here.
532 1.8 christos (read_and_display_attr_value): Correct calculation of index
533 1.8 christos displayed for DW_FORM_loclistx and DW_FORM_rnglistx.
534 1.8 christos * testsuite/binutils-all/x86-64/pr26808.dump: Update expected
535 1.8 christos output.
536 1.8 christos
537 1.8 christos 2022-06-27 Nick Clifton <nickc (a] redhat.com>
538 1.8 christos
539 1.8 christos PR 29289
540 1.8 christos * dwarf.c (display_debug_names): Replace assert with a warning
541 1.8 christos message.
542 1.8 christos
543 1.8 christos 2022-06-27 Nick Clifton <nickc (a] redhat.com>
544 1.8 christos
545 1.8 christos PR 29290
546 1.8 christos * dwarf.c (read_and_display_attr_value): Check that debug_info_p
547 1.8 christos is set before dereferencing it.
548 1.8 christos
549 1.8 christos 2022-06-27 Nick Clifton <nickc (a] redhat.com>
550 1.8 christos
551 1.8 christos * dwarf.c (fetch_indexed_string): Do not use length of first table
552 1.8 christos in string section as the length of every table in the section.
553 1.8 christos
554 1.8 christos * testsuite/binutils-all/pr26112.r: Update expected output.
555 1.8 christos
556 1.8 christos 2022-06-22 Kumar N, Bhuvanendra <Kavitha.Natarajan (a] amd.com>
557 1.8 christos
558 1.8 christos * dwarf.c (fetch_indexed_string): Added new parameter
559 1.8 christos str_offsets_base to calculate the string offset.
560 1.8 christos (read_and_display_attr_value): Read DW_AT_str_offsets_base
561 1.8 christos attribute.
562 1.8 christos (process_debug_info): While allocating memory and initializing
563 1.8 christos debug_information, do it for do_debug_info also, if its true.
564 1.8 christos (load_separate_debug_files): Load .debug_str_offsets if exists.
565 1.8 christos * dwarf.h (struct debug_info): Add str_offsets_base field.
566 1.8 christos
567 1.8 christos 2022-06-22 Marcus Nilsson <brainbomb (a] gmail.com>
568 1.8 christos
569 1.8 christos * readelf.c: (slurp_relr_relocs) Use malloc instead of xmalloc
570 1.8 christos when allocating space for relocations.
571 1.8 christos
572 1.8 christos 2022-06-21 Kumar N, Bhuvanendra <Kavitha.Natarajan (a] amd.com>
573 1.8 christos
574 1.8 christos * dwarf.h (struct debug_info): Add rnglists_base field.
575 1.8 christos * dwarf.c (read_and_display_attr_value): Read attribute DW_AT_rnglists_base.
576 1.8 christos (display_debug_rnglists_list): While handling DW_RLE_base_addressx,
577 1.8 christos DW_RLE_startx_endx, DW_RLE_startx_length items, pass the proper parameter
578 1.8 christos value to fetch_indexed_addr(), i.e. fetch the proper entry in .debug_addr section.
579 1.8 christos (display_debug_ranges): Add rnglists_base to the .debug_rnglists base address.
580 1.8 christos (load_separate_debug_files): Load .debug_addr section, if exists.
581 1.8 christos
582 1.8 christos 2022-05-20 Nick Clifton <nickc (a] redhat.com>
583 1.8 christos
584 1.8 christos * dwarf.c (dwarf_select_sections_by_names): Return zero if no
585 1.8 christos sections were selected.
586 1.8 christos (dwarf_select_sections_by_letters): Likewise.
587 1.8 christos * dwarf.h: (dwarf_select_sections_by_names): Update prototype.
588 1.8 christos (dwarf_select_sections_by_letters): Update prototype.
589 1.8 christos * objdump.c (might_need_separate_debug_info): New function.
590 1.8 christos (dump_bfd): Call new function before attempting to load separate
591 1.8 christos debug info files.
592 1.8 christos (main): Do not enable dwarf section dumping for -WK or -WN.
593 1.8 christos * readelf.c (parse_args): Do not enable dwarf section dumping for
594 1.8 christos -wK or -wN.
595 1.8 christos (might_need_separate_debug_info): New function.
596 1.8 christos (process_object): Call new function before attempting to load
597 1.8 christos separate debug info files.
598 1.8 christos * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE
599 1.8 christos debuginfod tests to pass.
600 1.8 christos * testsuite/binutils-all/objdump.Wk: Add extra regexps.
601 1.8 christos * testsuite/binutils-all/readelf.k: Add extra regexps.
602 1.8 christos
603 1.8 christos 2022-05-19 Nick Clifton <nickc (a] redhat.com>
604 1.8 christos
605 1.8 christos * dlltool.c (run): Initialise errmsg_fmt.
606 1.8 christos * dllwrap.c (run): Likewise.
607 1.8 christos * resrc.c (run_cmd): Likewise.
608 1.8 christos * mclex.c (mc_add_keyword): Initialise usz.
609 1.8 christos * srconv.c (wd_hd): Initialise hd.spare2.
610 1.8 christos * windmc.c (mc_add_node_lang): Initialise s.
611 1.8 christos (mc_generate_bin_item): Initialise cvt_txt.
612 1.8 christos (main): Initialise u.
613 1.8 christos
614 1.8 christos 2022-05-18 Nick Clifton <nickc (a] redhat.com>
615 1.8 christos
616 1.8 christos PR 29135
617 1.8 christos * nm.c (non_weak): New variable.
618 1.8 christos (filter_symbols): When non-weak is true, ignore weak symbols.
619 1.8 christos (long_options): Add --no-weak.
620 1.8 christos (usage): Mention --no-weak.
621 1.8 christos (main): Handle -W/--no-weak.
622 1.8 christos * doc/binutils.texi: Document new feature.
623 1.8 christos * NEWS: Mention the new feature.
624 1.8 christos * testsuite/binutils-all/nm.exp: Add test of new feature.
625 1.8 christos * testsuite/binutils-all/no-weak.s: New test source file.
626 1.8 christos
627 1.8 christos 2022-04-25 Nick Clifton <nickc (a] redhat.com>
628 1.8 christos
629 1.8 christos PR 29072
630 1.8 christos * testsuite/lib/binutils-common.exp (prune_warnings_extra): Filter
631 1.8 christos out notes about the executable stacjk behaviour beign deprecated.
632 1.8 christos
633 1.8 christos 2022-04-12 Nick Clifton <nickc (a] redhat.com>
634 1.8 christos
635 1.8 christos PR 28992
636 1.8 christos * objcopy.c (is_strip_section_1): Do not delete debuglink sections
637 1.8 christos when stripping debug information.
638 1.8 christos
639 1.8 christos 2022-04-06 Nick Clifton <nickc (a] redhat.com>
640 1.8 christos
641 1.8 christos PR 28981
642 1.8 christos * dwarf.c (fetch_indexed_value): Rename to fecth_indexed_addr and
643 1.8 christos return the address, rather than a string.
644 1.8 christos (fetch_indexed_value): New function - returns a value indexed by a
645 1.8 christos DW_FORM_loclistx or DW_FORM_rnglistx form.
646 1.8 christos (read_and_display_attr_value): Add support for DW_FORM_loclistx
647 1.8 christos and DW_FORM_rnglistx.
648 1.8 christos (process_debug_info): Load the loclists and rnglists sections.
649 1.8 christos (display_loclists_list): Add support for DW_LLE_base_addressx,
650 1.8 christos DW_LLE_startx_endx, DW_LLE_startx_length and
651 1.8 christos DW_LLE_default_location.
652 1.8 christos (display_offset_entry_loclists): New function. Displays a
653 1.8 christos .debug_loclists section that contains offset entry tables.
654 1.8 christos (display_debug_loc): Call the new function.
655 1.8 christos (display_debug_rnglists_list): Add support for
656 1.8 christos DW_RLE_base_addressx, DW_RLE_startx_endx and DW_RLE_startx_length.
657 1.8 christos (display_debug_ranges): Display the contents of the section's
658 1.8 christos header.
659 1.8 christos * dwarf.h (struct debug_info): Add loclists_base field.
660 1.8 christos * testsuite/binutils-all/dw5.W: Update expected output.
661 1.8 christos * testsuite/binutils-all/x86-64/pr26808.dump: Likewise.
662 1.8 christos
663 1.8 christos 2022-04-01 John Baldwin <jhb (a] FreeBSD.org>
664 1.8 christos
665 1.8 christos * readelf.c (get_freebsd_elfcore_note_type): Handle
666 1.8 christos NT_FREEBSD_X86_SEGBASES.
667 1.8 christos
668 1.8 christos 2022-03-31 Nick Clifton <nickc (a] redhat.com>
669 1.8 christos
670 1.8 christos * arlex.l: Accept the plus character as part of a filename.
671 1.8 christos
672 1.8 christos 2022-03-16 Fangrui Song <maskray (a] google.com>
673 1.8 christos
674 1.8 christos PR binutils/28926
675 1.8 christos * objcopy.c (filter_symbols): Apply weaken to STB_GNU_UNIQUE symbols
676 1.8 christos * NEWS: Mention feature.
677 1.8 christos * testsuite/binutils-all/objcopy.exp (objcopy_test_symbol_manipulation): New test.
678 1.8 christos * testsuite/binutils-all/weaken-gnu-unique.s: New.
679 1.8 christos
680 1.8 christos 2022-03-16 Martin Storsj <martin (a] martin.st>
681 1.8 christos
682 1.8 christos PR 28885
683 1.8 christos * dlltool.c (main): use imp_name rather than dll_name when
684 1.8 christos generating a temporary file name.
685 1.8 christos
686 1.8 christos 2022-03-16 Simon Marchi <simon.marchi (a] efficios.com>
687 1.8 christos
688 1.8 christos * readelf.c (dump_relocations): Handle EM_AMDGPU.
689 1.8 christos
690 1.8 christos 2022-03-16 Simon Marchi <simon.marchi (a] efficios.com>
691 1.8 christos
692 1.8 christos * Makefile.am (readelf_CFLAGS): New.
693 1.8 christos (readelf_LDADD): Add MSGPACK_LIBS.
694 1.8 christos * Makefile.in: Re-generate.
695 1.8 christos * config.in: Re-generate.
696 1.8 christos * configure: Re-generate.
697 1.8 christos * configure.ac: Add --with-msgpack flag and check for msgpack
698 1.8 christos using pkg-config.
699 1.8 christos * readelf.c: Include msgpack.h if HAVE_MSGPACK.
700 1.8 christos (print_note_contents_hex): New.
701 1.8 christos (print_indents): New.
702 1.8 christos (dump_msgpack_obj): New.
703 1.8 christos (dump_msgpack): New.
704 1.8 christos (print_amdgpu_note): New.
705 1.8 christos (process_note): Handle NT_AMDGPU_METADATA note contents.
706 1.8 christos Use print_note_contents_hex.
707 1.8 christos
708 1.8 christos 2022-03-16 Simon Marchi <simon.marchi (a] efficios.com>
709 1.8 christos
710 1.8 christos * readelf.c (get_amdgpu_elf_note_type): New.
711 1.8 christos (process_note): Handle "AMDGPU" notes.
712 1.8 christos
713 1.8 christos 2022-03-16 Simon Marchi <simon.marchi (a] efficios.com>
714 1.8 christos
715 1.8 christos * readelf.c: Include elf/amdgcn.h.
716 1.8 christos (decode_AMDGPU_machine_flags): New.
717 1.8 christos (get_machine_flags): Handle flags for EM_AMDGPU machine type.
718 1.8 christos
719 1.8 christos 2022-03-16 Simon Marchi <simon.marchi (a] efficios.com>
720 1.8 christos
721 1.8 christos * readelf.c (get_osabi_name): Handle EM_AMDGPU OS ABIs.
722 1.8 christos
723 1.8 christos 2022-03-16 Nick Clifton <nickc (a] redhat.com>
724 1.8 christos
725 1.8 christos * po/sr.po: Updated Serbian translation.
726 1.8 christos
727 1.8 christos 2022-03-15 Tom Tromey <tromey (a] adacore.com>
728 1.8 christos
729 1.8 christos * dwarf-mode.el: Now 1.7.
730 1.8 christos (dwarf--sentinel): Switch to the process buffer.
731 1.8 christos
732 1.8 christos 2022-03-11 Vladimir Mezentsev <vladimir.mezentsev (a] oracle.com>
733 1.8 christos
734 1.8 christos * MAINTAINERS: Add gprofng maintainer.
735 1.8 christos * README-how-to-make-a-release: Add gprofng.
736 1.8 christos
737 1.8 christos 2022-03-10 Nick Clifton <nickc (a] redhat.com>
738 1.8 christos
739 1.8 christos * dwarf.c (use_debuginfod): New variable. Set to 1.
740 1.8 christos (load_separate_debug_info): Only call
741 1.8 christos debuginfod_fetch_separate_debug_info is use_debuginfod is true.
742 1.8 christos (dwarf_select_sections_by_names): Add do-not-use-debuginfod and
743 1.8 christos use-debuginfod options.
744 1.8 christos (dwarf_select_sections_by_letters): Add D and E options.
745 1.8 christos * dwarf.h (use_debuginfod): New extern.
746 1.8 christos * objdump.c (usage): Mention the new options.
747 1.8 christos * readelf.c (usage): Likewise.
748 1.8 christos * doc/binutils.texi: Document the new options.
749 1.8 christos * doc/debug-options.texi: Describe the new options.
750 1.8 christos * NEWS: Mention the new feature.
751 1.8 christos * testsuite/binutils-all/debuginfod.exp: Add tests of the new
752 1.8 christos options.
753 1.8 christos
754 1.8 christos 2021-03-06 Maciej W. Rozycki <macro (a] orcam.me.uk>
755 1.8 christos
756 1.8 christos * testsuite/binutils-all/mips/mips1-branch-alias.d: New test.
757 1.8 christos * testsuite/binutils-all/mips/mips1-branch-noalias.d: New test.
758 1.8 christos * testsuite/binutils-all/mips/mips2-branch-alias.d: New test.
759 1.8 christos * testsuite/binutils-all/mips/mips2-branch-noalias.d: New test.
760 1.8 christos * testsuite/binutils-all/mips/mips32r6-branch-alias.d: New test.
761 1.8 christos * testsuite/binutils-all/mips/mips32r6-branch-noalias.d: New
762 1.8 christos test.
763 1.8 christos * testsuite/binutils-all/mips/micromips-branch-alias.d: New
764 1.8 christos test.
765 1.8 christos * testsuite/binutils-all/mips/micromips-branch-noalias.d: New
766 1.8 christos test.
767 1.8 christos * testsuite/binutils-all/mips/mips-branch-alias.s: New test
768 1.8 christos source.
769 1.8 christos * testsuite/binutils-all/mips/micromips-branch-alias.s: New test
770 1.8 christos source.
771 1.8 christos * testsuite/binutils-all/mips/mips.exp: Run the new tests.
772 1.8 christos
773 1.8 christos 2022-03-04 Simon Marchi <simon.marchi (a] polymtl.ca>
774 1.8 christos
775 1.8 christos * readelf.c (process_dynamic_section): Fix indentation.
776 1.8 christos
777 1.8 christos 2022-02-09 Nick Clifton <nickc (a] redhat.com>
778 1.8 christos
779 1.8 christos * README-how-to-make-a-release: Update after the 2.38 release.
780 1.8 christos
781 1.8 christos 2022-01-27 Nick Clifton <nickc (a] redhat.com>
782 1.8 christos
783 1.8 christos * po/sv.po: Updated Swedish translation.
784 1.8 christos
785 1.8 christos 2022-01-24 Nick Clifton <nickc (a] redhat.com>
786 1.8 christos
787 1.8 christos * po/bg.po: Updated Bulgarian translation.
788 1.8 christos * po/fr.po: Updated French translation.
789 1.8 christos * po/ro.po: Updated Romanian translation.
790 1.8 christos * po/uk.po: Updated Ukranian translation.
791 1.8 christos
792 1.8 christos 2022-01-22 Martin Storsj <martin (a] martin.st>
793 1.8 christos
794 1.8 christos * dlltool.c (main): Allow inferring tmp_prefix from the dll name
795 1.8 christos from a def file.
796 1.8 christos
797 1.8 christos 2022-01-22 Nick Clifton <nickc (a] redhat.com>
798 1.8 christos
799 1.8 christos * configure: Regenerate.
800 1.8 christos * po/binutils.pot: Regenerate.
801 1.8 christos
802 1.8 christos 2022-01-22 Nick Clifton <nickc (a] redhat.com>
803 1.8 christos
804 1.8 christos * 2.38 release branch created.
805 1.8 christos
806 1.8 christos 2022-01-17 Nick Clifton <nickc (a] redhat.com>
807 1.8 christos
808 1.8 christos * Makefile.in: Regenerate.
809 1.8 christos
810 1.8 christos 2022-01-11 Fangrui Song <maskray (a] google.com>
811 1.8 christos
812 1.8 christos PR binutils/28759
813 1.8 christos * ar.c (long_options): Add --thin.
814 1.8 christos (usage) Add --thin. Deprecate -T without diagnostics.
815 1.8 christos * doc/binutils.texi: Add doc.
816 1.8 christos * NEWS: Mention --thin.
817 1.8 christos * binutils/testsuite/binutils-all/ar.exp: Add tests.
818 1.8 christos
819 1.8 christos 2022-01-11 Martin Storsj <martin (a] martin.st>
820 1.8 christos
821 1.8 christos * dlltool.c (main): If a prefix has not been provided, attempt to
822 1.8 christos use a deterministic one based upon the dll name.
823 1.8 christos
824 1.8 christos 2022-01-07 Pavel Mayorov <pmayorov (a] cloudlinux.com>
825 1.8 christos
826 1.8 christos PR 28718
827 1.8 christos * dwarf.c: Revert previous delta.
828 1.8 christos (debug_get_real_type): Reject indirect types that point to
829 1.8 christos indirect types.
830 1.8 christos (debug_get_type_name, debug_get_type_size, debug_write_type):
831 1.8 christos Likewise.
832 1.8 christos
833 1.8 christos 2022-01-06 Nick Clifton <nickc (a] redhat.com>
834 1.8 christos
835 1.8 christos * debug.c (debug_write_type): Allow for malicious recursion via
836 1.8 christos indirect debug types.
837 1.8 christos
838 1.8 christos 2022-01-04 Nick Clifton <nickc (a] redhat.com>
839 1.8 christos
840 1.8 christos PR 28716
841 1.8 christos * dwarf.c (load_build_id_debug_file): Remove spurious printf.
842 1.8 christos
843 1.8 christos 2021-12-16 Nick Clifton <nickc (a] redhat.com>
844 1.8 christos
845 1.8 christos PR 28697
846 1.8 christos * dwarf.c (load_build_id_debug_file): New function.
847 1.8 christos (try_build_id_prefix): New function.
848 1.8 christos (check_for_and_load_links): Call load_build_id_debug_file.
849 1.8 christos (debug_displays): Add entry for .note.gnu.build-id.
850 1.8 christos * dwarf.h (enum dwarf_section_display_enum): Add
851 1.8 christos note_gnu_build_id.
852 1.8 christos * testsuite/binutils-all/debuginfod.exp (test_fetch_debuglink):
853 1.8 christos Fix regexp for loads via debuglink section.
854 1.8 christos
855 1.8 christos 2021-12-03 Chenghua Xu <xuchenghua (a] loongson.cn>
856 1.8 christos
857 1.8 christos * MAINTAINERS: Add myself and Zhensong Liu
858 1.8 christos as the LoongArch maintainer.
859 1.8 christos
860 1.8 christos 2021-12-02 Nick Clifton <nickc (a] redhat.com>
861 1.8 christos
862 1.8 christos PR 28645
863 1.8 christos * dwarf.c (process_cu_tu_index): Add test for overruning section
864 1.8 christos whilst processing slots.
865 1.8 christos
866 1.8 christos 2021-11-30 Roland McGrath <mcgrathr (a] google.com>
867 1.8 christos
868 1.8 christos * doc/local.mk: Give each man page target its missing dependency on
869 1.8 christos doc/$(am__dirstamp).
870 1.8 christos
871 1.8 christos 2021-11-30 Nick Clifton <nickc (a] redhat.com>
872 1.8 christos
873 1.8 christos * dwarf.c (find_debug_info_for_offset): Use dwarf_vma type for
874 1.8 christos offsets, sizes and ranges.
875 1.8 christos (display_loc_list): Likewise. Also use print_dwarf_vma to print
876 1.8 christos the offset.
877 1.8 christos (display_loclists_list): Likewise.
878 1.8 christos (display_loc_list_dwo): Likewise.
879 1.8 christos (display_debug_str): Likewise.
880 1.8 christos (display_debug_aranges): Likewise.
881 1.8 christos (display_debug_ranges_list): Likewise.
882 1.8 christos (display_debug_rnglists_list): Likewise.
883 1.8 christos (display_debug_ranges): Likewise.
884 1.8 christos
885 1.8 christos 2021-11-29 Nick Clifton <nickc (a] redhat.com>
886 1.8 christos
887 1.8 christos PR 28632
888 1.8 christos * strings.c (usage): Update desciption of -n option.
889 1.8 christos * doc/binutils.texi: Likewise.
890 1.8 christos
891 1.8 christos 2021-11-24 Nick Clifton <nickc (a] redhat.com>
892 1.8 christos
893 1.8 christos PR 28564
894 1.8 christos * sysdump.c (getCHARS): Check for an out of bounds read.
895 1.8 christos
896 1.8 christos 2021-11-16 Fangrui Song <maskray (a] google.com>
897 1.8 christos
898 1.8 christos * readelf.c (enum relocation_type): New.
899 1.8 christos (slurp_relr_relocs): New.
900 1.8 christos (dump_relocations): Change is_rela to rel_type.
901 1.8 christos Dump RELR.
902 1.8 christos (dynamic_relocations): Add DT_RELR.
903 1.8 christos (process_relocs): Check SHT_RELR and DT_RELR.
904 1.8 christos (process_dynamic_section): Store into dynamic_info for
905 1.8 christos DT_RELR/DT_RELRENT/DT_RELRSZ.
906 1.8 christos
907 1.8 christos 2021-11-09 Nick Clifton <nickc (a] redhat.com>
908 1.8 christos
909 1.8 christos * nm.c: Add --unicode option to control how unicode characters are
910 1.8 christos handled.
911 1.8 christos * objdump.c: Likewise.
912 1.8 christos * readelf.c: Likewise.
913 1.8 christos * strings.c: Likewise.
914 1.8 christos * binutils.texi: Document the new feature.
915 1.8 christos * NEWS: Document the new feature.
916 1.8 christos * testsuite/binutils-all/unicode.exp: New file.
917 1.8 christos * testsuite/binutils-all/nm.hex.unicode
918 1.8 christos * testsuite/binutils-all/strings.escape.unicode
919 1.8 christos * testsuite/binutils-all/objdump.highlight.unicode
920 1.8 christos * testsuite/binutils-all/readelf.invalid.unicode
921 1.8 christos
922 1.8 christos 2021-11-03 Tom Tromey <tromey (a] adacore.com>
923 1.8 christos
924 1.8 christos * dwarf.c (display_debug_loc): Use section name in warnings.
925 1.8 christos
926 1.8 christos 2021-10-25 Nick Alcock <nick.alcock (a] oracle.com>
927 1.8 christos
928 1.8 christos * objdump.c (usage): --ctf now has an optional argument.
929 1.8 christos (main): Adjust accordingly.
930 1.8 christos (dump_ctf): Default it.
931 1.8 christos * doc/ctf.options.texi: Adjust.
932 1.1 christos
933 1.8 christos 2021-10-25 Nick Alcock <nick.alcock (a] oracle.com>
934 1.8 christos
935 1.8 christos * objdump.c (usage): --ctf-parent now takes a name, not a section.
936 1.8 christos (dump_ctf): Don't open a separate section; use the parent_name in
937 1.8 christos ctf_dict_open instead. Use ctf_archive_next, not ctf_archive_iter,
938 1.8 christos so we can pass down a member count.
939 1.8 christos (dump_ctf_archive_member): Add the member count; don't return
940 1.8 christos anything. Import parents into children no matter what the
941 1.8 christos parent's name, while still avoiding displaying the header for the
942 1.8 christos common parent name of ".ctf".
943 1.8 christos * readelf.c (usage): Adjust similarly.
944 1.8 christos (dump_section_as_ctf): Likewise.
945 1.8 christos (dump_ctf_archive_member): Likewise. Never stop iterating over
946 1.8 christos archive members, even if ctf_dump of one member fails.
947 1.8 christos * doc/ctf.options.texi: Adjust.
948 1.8 christos
949 1.8 christos 2021-10-19 Nick Clifton <nickc (a] redhat.com>
950 1.8 christos
951 1.8 christos * nm.c (filter_symbols): Test for a NULL name before checking to
952 1.8 christos see if the symbol is __gnu_lto_slim.
953 1.8 christos * objcopy.c (filter_symbols): Likewise.
954 1.8 christos
955 1.8 christos 2021-09-30 Nick Clifton <nickc (a] redhat.com>
956 1.8 christos
957 1.8 christos * objcopy.c (filter_symbols): Fail if attempting to dredefine
958 1.8 christos symbols in an LTO object file.
959 1.8 christos
960 1.8 christos 2021-09-27 Nick Alcock <nick.alcock (a] oracle.com>
961 1.8 christos
962 1.8 christos * configure: Regenerate.
963 1.8 christos
964 1.8 christos 2021-09-20 Andrew Burgess <andrew.burgess (a] embecosm.com>
965 1.8 christos
966 1.8 christos * testsuite/binutils-all/riscv/riscv.exp: New file.
967 1.8 christos * testsuite/binutils-all/riscv/unknown.d: New file.
968 1.8 christos * testsuite/binutils-all/riscv/unknown.s: New file.
969 1.8 christos
970 1.8 christos 2021-09-07 Luis Machado <luis.machado (a] linaro.org>
971 1.8 christos
972 1.8 christos Revert: [AArch64] MTE corefile support
973 1.8 christos
974 1.8 christos 2021-05-21 Luis Machado <luis.machado (a] linaro.org>
975 1.8 christos
976 1.8 christos * readelf.c (get_note_type): Handle NT_MEMTAG note types.
977 1.8 christos
978 1.8 christos 2021-08-11 Nick Clifton <nickc (a] redhat.com>
979 1.8 christos
980 1.8 christos * po/pt.po: Updated Portuguese translation.
981 1.8 christos
982 1.8 christos 2021-08-10 Nick Clifton <nickc (a] redhat.com>
983 1.8 christos
984 1.8 christos * po/sr.po: Updated Serbian translation.
985 1.8 christos
986 1.8 christos 2021-07-16 Nick Clifton <nickc (a] redhat.com>
987 1.3 christos
988 1.7 christos * po/sv.po: Updated Swedish translation.
989 1.6 christos
990 1.8 christos 2021-07-14 Clment Chigot <clement.chigot (a] atos.net>
991 1.6 christos
992 1.8 christos * dwarf.h (struct dwarf_section): Add XCOFF name.
993 1.8 christos * dwarf.c (struct dwarf_section_display): Update.
994 1.8 christos * objdump.c (load_debug_section): Add XCOFF name handler.
995 1.8 christos (dump_dwarf_section): Likewise.
996 1.3 christos
997 1.8 christos 2021-07-12 Nick Clifton <nickc (a] redhat.com>
998 1.6 christos
999 1.7 christos * po/fr.po: Updated French translation.
1000 1.6 christos
1001 1.8 christos 2021-07-10 Alan Modra <amodra (a] gmail.com>
1002 1.8 christos
1003 1.8 christos PR 28069
1004 1.8 christos * dwarf.c (display_discr_list): Remove assertions. Delete "end"
1005 1.8 christos parameter, use initial "data" pointer as the end. Formatting.
1006 1.8 christos Don't count down bytes as they are read.
1007 1.8 christos (read_and_display_attr_value): Adjust display_discr_list call.
1008 1.8 christos (read_and_print_leb128): Don't pass __FILE__ and __LINE__ to
1009 1.8 christos report_leb_status.
1010 1.8 christos * dwarf.h (report_leb_status): Don't report file and line
1011 1.8 christos numbers. Delete file and lnum parameters,
1012 1.8 christos (READ_ULEB, READ_SLEB): Adjust.
1013 1.8 christos
1014 1.8 christos 2021-07-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1015 1.8 christos
1016 1.8 christos * configure.ac: Check for strnlen declaration.
1017 1.8 christos * configure, config.in: Regenerate.
1018 1.8 christos
1019 1.8 christos 2021-07-05 Alan Modra <amodra (a] gmail.com>
1020 1.8 christos
1021 1.8 christos PR 28047
1022 1.8 christos * dwarf.c (get_type_abbrev_from_form): Add cu_end parameter.
1023 1.8 christos Check DW_FORM_ref1 etc. arg against cu_end rather than end of
1024 1.8 christos section. Adjust all callers.
1025 1.8 christos
1026 1.8 christos 2021-07-03 Nick Clifton <nickc (a] redhat.com>
1027 1.8 christos
1028 1.8 christos * configure: Regenerate.
1029 1.8 christos * po/opcodes.pot: Regenerate.
1030 1.8 christos * README-how-to-make-a-release: Update.
1031 1.8 christos
1032 1.8 christos 2021-07-03 Nick Clifton <nickc (a] redhat.com>
1033 1.8 christos
1034 1.8 christos * 2.37 release branch created.
1035 1.8 christos
1036 1.8 christos 2021-07-02 Alan Modra <amodra (a] gmail.com>
1037 1.8 christos
1038 1.8 christos PR 28048
1039 1.8 christos * dwarf.c (get_type_signedness): Don't run off end of buffer
1040 1.8 christos printing DW_FORM_string attribute.
1041 1.8 christos
1042 1.8 christos 2021-07-01 Nick Clifton <nickc (a] redhat.com>
1043 1.8 christos
1044 1.8 christos PR 28029
1045 1.8 christos * testsuite/binutils-all/debuginfod.exp: Replace -wK with -wk.
1046 1.8 christos
1047 1.8 christos 2021-07-01 Andrei Homescu <ah (a] immunant.com>
1048 1.8 christos
1049 1.8 christos * readelf.c (process_archive): Reset file position to the
1050 1.8 christos beginning when calling process_object for thin archive members.
1051 1.8 christos * testsuite/binutils-all/readelf.exp: Add test.
1052 1.8 christos * testsuite/binutils-all/readelf.h.thin: New file.
1053 1.8 christos
1054 1.8 christos 2021-06-30 Tom Tromey <tom (a] tromey.com>
1055 1.8 christos
1056 1.8 christos * dwarf.c (read_and_display_attr_value): Handle
1057 1.8 christos DW_FORM_implicit_const.
1058 1.8 christos
1059 1.8 christos 2021-06-30 Richard Henderson <richard.henderson (a] linaro.org>
1060 1.8 christos
1061 1.8 christos * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf
1062 1.8 christos and DW_CFA_def_cfa_offset_sf have a signed offset.
1063 1.8 christos
1064 1.8 christos 2021-06-19 Alan Modra <amodra (a] gmail.com>
1065 1.8 christos
1066 1.8 christos * dwarf.c (display_debug_lines_decoded): Use memcpy rather than
1067 1.8 christos strncpy when trimming file name length to MAX_FILENAME_LENGTH.
1068 1.8 christos Don't make an unnecessary copy when length is good.
1069 1.8 christos
1070 1.8 christos 2021-06-18 H.J. Lu <hongjiu.lu (a] intel.com>
1071 1.8 christos
1072 1.8 christos * readelf.c (print_gnu_property_note): Handle
1073 1.8 christos GNU_PROPERTY_UINT32_AND_LO, GNU_PROPERTY_UINT32_AND_HI,
1074 1.8 christos GNU_PROPERTY_UINT32_OR_LO and GNU_PROPERTY_UINT32_OR_HI.
1075 1.8 christos
1076 1.8 christos 2021-06-15 Nick Clifton <nickc (a] redhat.com>
1077 1.8 christos
1078 1.8 christos * readelf.c (get_note_type): Add support for NT_GO_BUILDID.
1079 1.8 christos
1080 1.8 christos 2021-06-15 Alan Modra <amodra (a] gmail.com>
1081 1.8 christos
1082 1.8 christos * readelf.c (locate_dynamic_section, is_pie): New functions.
1083 1.8 christos (get_file_type): Replace e_type parameter with filedata. Call
1084 1.8 christos is_pie for ET_DYN. Update all callers.
1085 1.8 christos (process_program_headers): Use local variables dynamic_addr and
1086 1.8 christos dynamic_size, updating filedata on exit from function. Set
1087 1.8 christos dynamic_size of 1 to indicate no dynamic section or segment.
1088 1.8 christos Update tests of dynamic_size throughout.
1089 1.8 christos * testsuite/binutils-all/x86-64/pr27708.dump: Update expected output.
1090 1.8 christos
1091 1.8 christos 2021-06-14 Eric Botcazou <ebotcazou (a] adacore.com>
1092 1.8 christos
1093 1.8 christos * dwarf.c (struct abbrev_attr): Change type of implicit_const.
1094 1.8 christos (add_abbrev_attr): Likewise.
1095 1.8 christos (process_abbrev_set): Likewise.
1096 1.8 christos (display_debug_abbrev): Adjust to above change.
1097 1.8 christos
1098 1.8 christos 2021-06-12 Alan Modra <amodra (a] gmail.com>
1099 1.8 christos
1100 1.8 christos * readelf.c (process_file_header): Don't clear section_headers.
1101 1.8 christos
1102 1.8 christos 2021-06-12 Alan Modra <amodra (a] gmail.com>
1103 1.8 christos
1104 1.8 christos * readelf.c (get_section_headers): Don't test e_shoff here, leave
1105 1.8 christos that to get_32bit_section_headers or get_64bit_section_headers.
1106 1.8 christos (process_object): Throw away section header read to print file
1107 1.8 christos header extension.
1108 1.8 christos
1109 1.8 christos 2021-06-11 Alan Modra <amodra (a] gmail.com>
1110 1.8 christos
1111 1.8 christos * readelf.c (struct filedata): Move archive_file_offset and
1112 1.8 christos archive_file_size earlier.
1113 1.8 christos (free_filedata): Clear using memset.
1114 1.8 christos
1115 1.8 christos 2021-06-11 Alan Modra <amodra (a] gmail.com>
1116 1.8 christos
1117 1.8 christos * readelf.c (GET_ELF_SYMBOLS): Delete. Replace with..
1118 1.8 christos (get_elf_symbols): ..this new function throughout.
1119 1.8 christos (get_32bit_section_headers): Don't free section_headers.
1120 1.8 christos (get_64bit_section_headers): Likewise.
1121 1.8 christos (get_section_headers): New function, use throughout in place of
1122 1.8 christos 32bit and 64bit variants.
1123 1.8 christos (get_dynamic_section): Similarly.
1124 1.8 christos (process_section_headers): Don't free filedata memory here.
1125 1.8 christos (get_file_header): Don't get section headers here..
1126 1.8 christos (process_object): ..Read them here instead. Don't exit without
1127 1.8 christos freeing filedata memory.
1128 1.8 christos
1129 1.8 christos 2021-06-09 Nick Clifton <nickc (a] redhat.com>
1130 1.8 christos
1131 1.8 christos * MAINTAINERS: Remove Daniel Jacobwitz from the maintainers list.
1132 1.8 christos
1133 1.8 christos 2021-06-07 Jan Beulich <jbeulich (a] suse.com>
1134 1.8 christos
1135 1.8 christos * dwarf.c (display_debug_aranges): Add u suffix to constant.
1136 1.8 christos
1137 1.8 christos 2021-05-29 Alan Modra <amodra (a] gmail.com>
1138 1.8 christos
1139 1.8 christos * objdump (usage): Add missing \n.
1140 1.8 christos
1141 1.8 christos 2021-05-29 Alan Modra <amodra (a] gmail.com>
1142 1.8 christos
1143 1.8 christos * readelf.c (parse_args): Call dwarf_select_sections_all on
1144 1.8 christos --debug-dump without optarg.
1145 1.8 christos (usage): Associate -w and --debug-dump options closely.
1146 1.8 christos Split up help message. Remove extraneous blank lines around
1147 1.8 christos ctf help.
1148 1.8 christos * objdump.c (usage): Similarly.
1149 1.8 christos
1150 1.8 christos 2021-05-29 Maciej W. Rozycki <macro (a] orcam.me.uk>
1151 1.8 christos
1152 1.8 christos * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Correct CFC0
1153 1.8 christos operand disassembly.
1154 1.8 christos * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
1155 1.8 christos
1156 1.8 christos 2021-05-29 Maciej W. Rozycki <macro (a] orcam.me.uk>
1157 1.8 christos
1158 1.8 christos * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Use `mips:3000'
1159 1.8 christos machine for disassembly.
1160 1.8 christos * testsuite/binutils-all/mips/mips-xpa-virt-2.d: Likewise.
1161 1.8 christos * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
1162 1.8 christos * testsuite/binutils-all/mips/mips-xpa-virt-4.d: Likewise.
1163 1.8 christos
1164 1.8 christos 2021-05-28 H.J. Lu <hongjiu.lu (a] intel.com>
1165 1.8 christos
1166 1.8 christos PR ld/27905
1167 1.8 christos * readelf.c (decode_x86_feature_2): Revert commit 50c95a739c9.
1168 1.8 christos
1169 1.8 christos 2021-05-27 Alan Modra <amodra (a] gmail.com>
1170 1.8 christos
1171 1.8 christos * readelf (usage): Order -w letters to match --debug-dump= and
1172 1.8 christos move common '=' for --debug-dump out of brackets.
1173 1.8 christos
1174 1.8 christos 2021-05-26 H.J. Lu <hongjiu.lu (a] intel.com>
1175 1.8 christos
1176 1.8 christos PR ld/27905
1177 1.8 christos * readelf.c (decode_x86_feature_2): Support
1178 1.8 christos GNU_PROPERTY_X86_FEATURE_2_CODE16.
1179 1.8 christos
1180 1.8 christos 2021-05-23 Tiezhu Yang <yangtiezhu (a] loongson.cn>
1181 1.8 christos
1182 1.8 christos * readelf.c (get_machine_name): Change Loongson Loongarch to
1183 1.8 christos LoongArch.
1184 1.8 christos
1185 1.8 christos 2021-05-21 Luis Machado <luis.machado (a] linaro.org>
1186 1.8 christos
1187 1.8 christos * readelf.c (get_note_type): Add missing NT_ARM_* entries.
1188 1.8 christos
1189 1.8 christos 2021-05-21 Luis Machado <luis.machado (a] linaro.org>
1190 1.8 christos
1191 1.8 christos * readelf.c (get_note_type): Handle NT_MEMTAG note types.
1192 1.8 christos
1193 1.8 christos 2021-05-19 Eli Schwartz <eschwartz (a] archlinux.org>
1194 1.8 christos
1195 1.8 christos * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
1196 1.8 christos
1197 1.8 christos 2021-05-19 Alan Modra <amodra (a] gmail.com>
1198 1.8 christos
1199 1.8 christos PR 27884
1200 1.8 christos * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return
1201 1.8 christos param with map_return, and return map for DW_FORM_ref_addr.
1202 1.8 christos (get_type_signedness): Adjust calls to get_type_abbrev_from_form.
1203 1.8 christos Pass returned cu map start and end to recursive call.
1204 1.8 christos (read_and_display_attr_value): Similarly.
1205 1.8 christos
1206 1.8 christos 2021-05-19 Alan Modra <amodra (a] gmail.com>
1207 1.8 christos
1208 1.8 christos PR 27879
1209 1.8 christos * sysdump.c (getBARRAY): Sanity check size against max.
1210 1.8 christos (getINT): Avoid UB shift left.
1211 1.8 christos
1212 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1213 1.8 christos
1214 1.8 christos * dwarf.c (process_cu_tu_index): Avoid pointer UB. Use _mul_overflow.
1215 1.8 christos Delete dead code.
1216 1.8 christos
1217 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1218 1.8 christos
1219 1.8 christos * dwarf.c (display_gdb_index): Avoid pointer UB and overflow in
1220 1.8 christos length calculations.
1221 1.8 christos
1222 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1223 1.8 christos
1224 1.8 christos * dwarf.c (display_debug_names): Complain when header length is
1225 1.8 christos too small. Avoid pointer UB. Sanity check augmentation string,
1226 1.8 christos CU table, TU table and foreign TU table sizes.
1227 1.8 christos
1228 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1229 1.8 christos
1230 1.8 christos * dwarf.c (display_debug_frames): Delete initial_length_size.
1231 1.8 christos Avoid pointer UB. Constrain data reads to length given in header.
1232 1.8 christos Sanity check cie header length. Only skip up to next FDE on
1233 1.8 christos finding augmentation data too long.
1234 1.8 christos
1235 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1236 1.8 christos
1237 1.8 christos * dwarf.c (read_cie): Add more sanity checks to ensure data
1238 1.8 christos pointer is not bumped past end.
1239 1.8 christos
1240 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1241 1.8 christos
1242 1.8 christos * dwarf.c (display_debug_ranges): Delete initial_length_size.
1243 1.8 christos Correct fallback size calculated on finding a reloc. Constrain
1244 1.8 christos data reads to length given in header. Avoid pointer UB.
1245 1.8 christos
1246 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1247 1.8 christos
1248 1.8 christos * dwarf.c (display_debug_rnglists_list): Avoid pointer UB.
1249 1.8 christos
1250 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1251 1.8 christos
1252 1.8 christos * dwarf.c (display_debug_str_offsets): Constrain reads to length
1253 1.8 christos given in header.
1254 1.8 christos
1255 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1256 1.8 christos
1257 1.8 christos * dwarf.c (display_debug_aranges): Delete initial_length_size.
1258 1.8 christos Use end_ranges to constrain data reads to header length. Avoid
1259 1.8 christos pointer UB.
1260 1.8 christos
1261 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1262 1.8 christos
1263 1.8 christos * dwarf.c (display_loc_list): Avoid pointer UB. Correct check
1264 1.8 christos before reading uleb length. Warn on excess length.
1265 1.8 christos
1266 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1267 1.8 christos
1268 1.8 christos * dwarf.c (display_debug_macro): Print strings that might not
1269 1.8 christos be zero terminated with %*s. Don't bump curr if unterminated.
1270 1.8 christos
1271 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1272 1.8 christos
1273 1.8 christos * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size.
1274 1.8 christos Simplify length sanity check, and check for too small lengths.
1275 1.8 christos Constrain data reads to header length. Avoid pointer UB.
1276 1.8 christos
1277 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1278 1.8 christos
1279 1.8 christos * dwarf.c (display_debug_macinfo): Print strings that might not
1280 1.8 christos be zero terminated with %*s. Don't bump curr if unterminated.
1281 1.8 christos
1282 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1283 1.8 christos
1284 1.8 christos * dwarf.c (display_debug_pubnames_worker): Delete initial_length_size.
1285 1.8 christos Simplify length check. Constrain reads to length given by header.
1286 1.8 christos
1287 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1288 1.8 christos
1289 1.8 christos * dwarf.c (display_debug_lines_decoded): Don't use strnlen when
1290 1.8 christos we have already checked for NUL termination.
1291 1.8 christos
1292 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1293 1.8 christos
1294 1.8 christos * dwarf.c (read_debug_line_header): Delete initial_length_size.
1295 1.8 christos Avoid pointer UB. Keep within length specified by header.
1296 1.8 christos Delete dead code.
1297 1.8 christos
1298 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1299 1.8 christos
1300 1.8 christos * dwarf.c (process_debug_info): Always do the first CU length
1301 1.8 christos scan for sanity checks. Remove initial_length_size var and
1302 1.8 christos instead calculate end_cu. Use end_cu to limit data reads.
1303 1.8 christos Delete now dead code checking length.
1304 1.8 christos
1305 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1306 1.8 christos
1307 1.8 christos * dwarf.c (SAFE_BYTE_GET_INTERNAL): Assert only when ENABLE_CHECKING.
1308 1.8 christos
1309 1.8 christos 2021-05-15 Alan Modra <amodra (a] gmail.com>
1310 1.8 christos
1311 1.8 christos * bucomm.h (_mul_overflow): Define.
1312 1.8 christos * dwarf.c (get_encoded_value): Avoid pointer UB.
1313 1.8 christos
1314 1.8 christos 2021-05-13 Alan Modra <amodra (a] gmail.com>
1315 1.8 christos
1316 1.8 christos PR 27861
1317 1.8 christos * dwarf.c (display_debug_str_offsets): Sanity check dwarf5
1318 1.8 christos header length.
1319 1.8 christos
1320 1.8 christos 2021-05-13 Alan Modra <amodra (a] gmail.com>
1321 1.8 christos
1322 1.8 christos PR 27860
1323 1.8 christos * dwarf.c (display_debug_frames): Sanity check cie_off before
1324 1.8 christos attempting to read cie.
1325 1.8 christos
1326 1.8 christos 2021-05-12 Alan Modra <amodra (a] gmail.com>
1327 1.8 christos
1328 1.8 christos * dwarf.c (process_extended_line_op): Don't bump data pointer past
1329 1.8 christos end when strnlen doesn't find string terminator.
1330 1.8 christos (decode_location_expression): Remove dead code.
1331 1.8 christos (skip_attr_bytes): Remove const from end param. Ensure data
1332 1.8 christos pointer doesn't pass end.
1333 1.8 christos (get_type_signedness): Remove const from end param.
1334 1.8 christos (read_and_display_attr_value): Ensure data pointer doesn't pass end.
1335 1.8 christos (display_debug_lines_raw, display_debug_lines_decoded): Likewise.
1336 1.8 christos (display_debug_pubnames_worker): Likewise.
1337 1.8 christos (display_debug_pubnames_worker): Use SAFE_BYTE_GET_AND INC rather
1338 1.8 christos than blindly incrementing data pointer.
1339 1.8 christos (display_debug_addr, display_debug_str_offsets): Likewise. Don't
1340 1.8 christos compare pointers, compare lengths.
1341 1.8 christos
1342 1.8 christos 2021-05-12 Alan Modra <amodra (a] gmail.com>
1343 1.8 christos
1344 1.8 christos * dwarf.c (SAFE_BYTE_GET_INTERNAL): Define.
1345 1.8 christos (SAFE_BYTE_GET, SAFE_BYTE_GET_AND_INC): Define using the above.
1346 1.8 christos (SAFE_SIGNED_BYTE_GET, SAFE_SIGNED_BYTE_GET_AND_INC): Likewise.
1347 1.8 christos (display_discr_list): Use SAFE_BYTE_GET_AND_INC rather than
1348 1.8 christos SAFE_BYTE_GET followed by increment.
1349 1.8 christos (process_debug_info): Likewise, and test bytes remaining before
1350 1.8 christos incrementing section_begin rather than using pointer comparison.
1351 1.8 christos (display_debug_names): Pass lvalue as SAFE_BYTE_GET PTR.
1352 1.8 christos (process_cu_tu_index): Likewise for SAFE_BYTE_GET_AND_INC.
1353 1.8 christos
1354 1.8 christos 2021-05-12 Alan Modra <amodra (a] gmail.com>
1355 1.8 christos
1356 1.8 christos * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete.
1357 1.8 christos (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with
1358 1.8 christos SAFE_BYTE_GET_AND_INC.
1359 1.8 christos (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa.
1360 1.8 christos (process_debug_info, process_cu_tu_index): Likewise.
1361 1.8 christos * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian),
1362 1.8 christos (byte_get, byte_get_little_endian, byte_get_big_endian),
1363 1.8 christos (byte_get_signed): Make size param unsigned. Remove code dealing
1364 1.8 christos with 4-byte elf_vma.
1365 1.8 christos (byte_get_64): Delete.
1366 1.8 christos * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian),
1367 1.8 christos (byte_get, byte_get_little_endian, byte_get_big_endian),
1368 1.8 christos (byte_get_signed): Update prototypes.
1369 1.8 christos (byte_get_64): Delete.
1370 1.8 christos
1371 1.8 christos 2021-05-12 Alan Modra <amodra (a] gmail.com>
1372 1.8 christos
1373 1.8 christos PR 27836
1374 1.8 christos * dwarf.c (display_debug_frames): Don't compare pointers derived
1375 1.8 christos from user input. Test offset against bounds instead.
1376 1.8 christos
1377 1.8 christos 2021-05-12 Alan Modra <amodra (a] gmail.com>
1378 1.8 christos
1379 1.8 christos PR 27853
1380 1.8 christos * dwarf.c (display_formatted_table): Test for data >= end rather
1381 1.8 christos than data == end.
1382 1.8 christos (process_extended_line_op): Likewise.
1383 1.8 christos (display_debug_lines_raw): Likewise.
1384 1.8 christos (display_debug_lines_decoded): Likewise.
1385 1.8 christos
1386 1.8 christos 2021-05-12 Alan Modra <amodra (a] gmail.com>
1387 1.8 christos
1388 1.8 christos PR 27849
1389 1.8 christos * dwarf.c (fetch_indexed_string): Correct length sanity checks.
1390 1.8 christos Sanity check section size for version and padding too. Correct
1391 1.8 christos index sanity check. Handle multiple tables in .debug_str_offsets.
1392 1.8 christos
1393 1.8 christos 2021-05-11 Hans-Peter Nilsson <hp (a] axis.com>
1394 1.8 christos
1395 1.8 christos * dwarf.c (process_abbrev_set): Properly parenthesize before
1396 1.8 christos casting to unsigned long.
1397 1.8 christos
1398 1.8 christos 2021-05-11 Alan Modra <amodra (a] gmail.com>
1399 1.8 christos
1400 1.8 christos PR 27845
1401 1.8 christos * dwarf.c (process_abbrev_set): Replace start and end parameters
1402 1.8 christos with section, abbrev_base, abbrev_size, abbrev_offset. Update
1403 1.8 christos all callers. Sanity check parameters correctly and emit warnings
1404 1.8 christos here rather than..
1405 1.8 christos (process_debug_info): ..here.
1406 1.8 christos
1407 1.8 christos 2021-05-10 Thomas Wolff <towo (a] towo.net>
1408 1.8 christos
1409 1.8 christos PR 4356
1410 1.8 christos PR 26865
1411 1.8 christos PR 27594
1412 1.8 christos * windres.c (quot): Revert previous delta. Do not use double
1413 1.8 christos quotes when spaces are detected in options.
1414 1.8 christos * doc/binutils.texi (windres): Remove suggestion that the
1415 1.8 christos --preprocessor option can take arguments.
1416 1.8 christos
1417 1.8 christos 2021-05-10 Alan Modra <amodra (a] gmail.com>
1418 1.8 christos
1419 1.8 christos * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from
1420 1.8 christos END rather than adding amount to PTR.
1421 1.8 christos (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise.
1422 1.8 christos
1423 1.8 christos 2021-05-09 Alan Modra <amodra (a] gmail.com>
1424 1.8 christos
1425 1.8 christos * objcopy.c (eq_string): Delete.
1426 1.8 christos (create_symbol_htab): Use htab_eq_string.
1427 1.8 christos
1428 1.8 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
1429 1.8 christos
1430 1.8 christos * README-how-to-make-a-release: Update html & pdf entries.
1431 1.8 christos
1432 1.8 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
1433 1.8 christos
1434 1.8 christos * doc/Makefile.am (html-local, binutils/index.html): New targets.
1435 1.8 christos * doc/Makefile.in: Regenerate.
1436 1.8 christos
1437 1.8 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
1438 1.8 christos
1439 1.8 christos * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
1440 1.8 christos * doc/Makefile.in: Regenerate.
1441 1.8 christos
1442 1.8 christos 2021-05-07 Nick Clifton <nickc (a] redhat.com>
1443 1.8 christos
1444 1.8 christos * readelf.c (no_processor_specific_unwind): New function.
1445 1.8 christos (process_unwind): Use no_processor_specific_unwind for X86
1446 1.8 christos targets.
1447 1.8 christos
1448 1.8 christos 2021-05-07 Michael Forney <mforney (a] mforney.org>
1449 1.8 christos
1450 1.8 christos * dwarf.c: Don't omit second operand of '?' operator.
1451 1.8 christos
1452 1.8 christos 2021-04-30 Nick Clifton <nickc (a] redhat.com>
1453 1.8 christos
1454 1.8 christos PR 27796
1455 1.8 christos * dwarf.c (load_debug_sup_file): Allocate memory for filename in
1456 1.8 christos .debug_sup section.
1457 1.8 christos
1458 1.8 christos 2021-04-29 Nick Clifton <nickc (a] redhat.com>
1459 1.8 christos
1460 1.8 christos PR 27594
1461 1.8 christos * doc/binutils.texi (windres): Correct the description of the
1462 1.8 christos default value of the --preprocessor argument.
1463 1.8 christos
1464 1.8 christos 2021-04-27 Nick Clifton <nickc (a] redhat.com>
1465 1.8 christos
1466 1.8 christos PR 27779
1467 1.8 christos * dwarf.c (parse_gnu_debuglink): Reject empty names.
1468 1.8 christos (parse_gnu_debugaltlink): Likewise.
1469 1.8 christos
1470 1.8 christos 2021-04-22 Clment Chigot <clement.chigot (a] atos.net>
1471 1.8 christos
1472 1.8 christos * od-xcoff.c (dump_xcoff32_symbols): Adapt to new
1473 1.8 christos aux structures.
1474 1.8 christos
1475 1.8 christos 2021-04-21 Nick Lott <nick.lott (a] gmail.com>
1476 1.8 christos
1477 1.8 christos PR 27672
1478 1.8 christos * readelf.c (sym_base): New variable.
1479 1.8 christos (enum print_mode): Add more modes.
1480 1.8 christos (print_vma): Add suport for new modes.
1481 1.8 christos (options): Add sym-base.
1482 1.8 christos (usage): Add sym-base.
1483 1.8 christos (parse_args): Add support for --sym-base.
1484 1.8 christos (print_dynamic_symbol_size): New function.
1485 1.8 christos (print_dynamic_symbol): Use new function.
1486 1.8 christos * doc/binutils.texi: Document the new feature.
1487 1.8 christos * NEWS: Mention the new feature.
1488 1.8 christos
1489 1.8 christos 2021-04-21 Nick Clifton <nickc (a] redhat.com>
1490 1.8 christos
1491 1.8 christos * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
1492 1.8 christos Adjust expected output to allow for named section symbols.
1493 1.8 christos * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
1494 1.8 christos Likewise.
1495 1.8 christos * testsuite/binutils-all/readelf.s-64: Likewise.
1496 1.8 christos * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
1497 1.8 christos * testsuite/binutils-all/readelf.ss-tmips: Likewise.
1498 1.8 christos * testsuite/binutils-all/readelf.ss-unused: Likewise.
1499 1.8 christos
1500 1.8 christos 2021-04-21 Luo Longjun <luolongjun (a] huawei.com>
1501 1.8 christos
1502 1.8 christos * readelf.c (print_dynamic_symbol): Print the section name for
1503 1.8 christos section symbols without a name of their own.
1504 1.8 christos
1505 1.8 christos 2021-04-20 Andreas Krebbel <krebbel (a] linux.ibm.com>
1506 1.8 christos
1507 1.8 christos * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and
1508 1.8 christos add him to Past Maintainers.
1509 1.8 christos Update my email address.
1510 1.8 christos
1511 1.8 christos 2021-04-19 Nick Clifton <nickc (a] redhat.com>
1512 1.8 christos
1513 1.8 christos PR 21702
1514 1.8 christos * arsup.c (ar_addmod): Enable plugin support, if available.
1515 1.8 christos
1516 1.8 christos 2021-04-19 Nick Clifton <nickc (a] redhat.com>
1517 1.8 christos
1518 1.8 christos * rename.c: (get_stat_atime_ns): Add prototype.
1519 1.8 christos (get_stat_mtime_ns): Add prototype.
1520 1.8 christos
1521 1.8 christos 2021-04-16 Alan Modra <amodra (a] gmail.com>
1522 1.8 christos
1523 1.8 christos PR 27725
1524 1.8 christos * rename.c (get_stat_atime, get_stat_mtime): Make static.
1525 1.8 christos (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
1526 1.8 christos
1527 1.8 christos 2021-04-15 Pekka Seppnen <pexu (a] sourceware.mail.kapsi.fi>
1528 1.8 christos
1529 1.8 christos PR 27725
1530 1.8 christos * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED.
1531 1.8 christos (get_stat_mtime_ns): Likewise.
1532 1.8 christos
1533 1.8 christos 2021-04-15 Alan Modra <amodra (a] gmail.com>
1534 1.8 christos
1535 1.8 christos PR 27725
1536 1.8 christos * configure.ac: Check for sys/time.h and utimensat. Use standard
1537 1.8 christos checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond
1538 1.8 christos members of struct stat.
1539 1.8 christos * rename.c: Prefer sys/time.h for utimes over utime.h for utime.
1540 1.8 christos (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define
1541 1.8 christos (get_stat_atime_ns, get_stat_mtime_ns): New inline functions.
1542 1.8 christos (get_stat_atime, get_stat_mtime): Likewise.
1543 1.8 christos (set_times): Choose first available of utimensat, utimes, utime.
1544 1.8 christos Use above inline functions to set timespec and timeval values.
1545 1.8 christos * configure: Regenerate.
1546 1.8 christos * config.in: Regenerate.
1547 1.8 christos * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of
1548 1.8 christos file timestamp when --preserve-dates is used.
1549 1.8 christos
1550 1.8 christos 2021-04-15 Alan Modra <amodra (a] gmail.com>
1551 1.8 christos
1552 1.8 christos PR 27456
1553 1.8 christos * rename.c (smart_rename): When TO and FROM are equal, just set
1554 1.8 christos file timestamp.
1555 1.8 christos * objcopy.c (strip_main, copy_main): Always call smart_rename.
1556 1.8 christos
1557 1.8 christos 2021-04-14 H.J. Lu <hongjiu.lu (a] intel.com>
1558 1.8 christos
1559 1.8 christos PR binutils/27708
1560 1.8 christos * testsuite/binutils-all/x86-64/pr27708.dump: New file.
1561 1.8 christos * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
1562 1.8 christos * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
1563 1.8 christos test.
1564 1.8 christos
1565 1.8 christos 2021-04-14 Mark Harmstone <mark (a] harmstone.com>
1566 1.8 christos
1567 1.8 christos PR 27686
1568 1.8 christos * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
1569 1.8 christos end of the structure.
1570 1.8 christos
1571 1.8 christos 2021-04-14 Frederic Cambus <fred (a] statdns.com>
1572 1.8 christos
1573 1.8 christos * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
1574 1.8 christos checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
1575 1.8 christos
1576 1.8 christos 2021-04-14 Alan Modra <amodra (a] gmail.com>
1577 1.8 christos
1578 1.8 christos PR 27716
1579 1.8 christos * objdump.c (show_line): Don't limit paths to PATH_MAX.
1580 1.8 christos * readelf.c (struct filedata): Change program_interpreter from
1581 1.8 christos a char array to a char pointer.
1582 1.8 christos (process_program_headers): Sanity check PT_INTERP p_filesz.
1583 1.8 christos Malloc program_interpreter using p_filesz and read directly from
1584 1.8 christos file.
1585 1.8 christos (process_dynamic_section): Check program_interpreter is non-NULL.
1586 1.8 christos (free_filedata): New function, split out from..
1587 1.8 christos (process_object): ..here.
1588 1.8 christos (close_debug_file): Call free_filedata.
1589 1.8 christos * sysdep.h: Don't include sys/param.h.
1590 1.8 christos (PATH_MAX): Don't define.
1591 1.8 christos * configure.ac: Don't check for sys/param.h.
1592 1.8 christos * configure: Regenerate.
1593 1.8 christos
1594 1.8 christos 2021-04-13 Frederic Cambus <fred (a] statdns.com>
1595 1.8 christos
1596 1.8 christos * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
1597 1.8 christos check for NT_NETBSD_PAX.
1598 1.8 christos
1599 1.8 christos 2021-04-12 Alan Modra <amodra (a] gmail.com>
1600 1.8 christos
1601 1.8 christos * configure.ac (--enable-checking): Add support.
1602 1.8 christos * config.in: Regenerate.
1603 1.8 christos * configure: Regenerate.
1604 1.8 christos
1605 1.8 christos 2021-04-09 Alan Modra <amodra (a] gmail.com>
1606 1.8 christos
1607 1.8 christos * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
1608 1.8 christos dynrelcount.
1609 1.8 christos (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
1610 1.8 christos (disassemble_section, disassemble_data): Likewise.
1611 1.8 christos
1612 1.8 christos 2021-04-06 Alan Modra <amodra (a] gmail.com>
1613 1.8 christos
1614 1.8 christos * objdump.c (objdump_symbol_at_address): Return asymbol*.
1615 1.8 christos
1616 1.8 christos 2021-04-06 Alan Modra <amodra (a] gmail.com>
1617 1.8 christos
1618 1.8 christos * NEWS: Mention C99 requirement.
1619 1.8 christos * README: Likewise. Modernise examples and "Reporting bugs".
1620 1.8 christos
1621 1.8 christos 2021-04-05 Alan Modra <amodra (a] gmail.com>
1622 1.8 christos
1623 1.8 christos * configure.ac: Assume long long is available. Don't test for
1624 1.8 christos strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
1625 1.8 christos inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
1626 1.8 christos strcoll, setlocale, setmode or location of time_t. Don't check
1627 1.8 christos for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
1628 1.8 christos (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
1629 1.8 christos * sysdep.h: Don't include alloca-conf.h, include config.h instead.
1630 1.8 christos Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
1631 1.8 christos locale.h, string.h and stdlib.h unconditionally. Remove various
1632 1.8 christos fallback declarations. Assume long long is available.
1633 1.8 christos * addr2line.c: Don't test HAVE_SETLOCALE.
1634 1.8 christos * ar.c: Likewise.
1635 1.8 christos * coffdump.c: Likewise.
1636 1.8 christos * dlltool.c: Likewise.
1637 1.8 christos * dllwrap.c: Likewise.
1638 1.8 christos * elfedit.c: Likewise.
1639 1.8 christos * nm.c: Likewise.
1640 1.8 christos * objcopy.c: Likewise.
1641 1.8 christos * objdump.c: Likewise.
1642 1.8 christos * readelf.c: Likewise.
1643 1.8 christos * size.c: Likewise.
1644 1.8 christos * srconv.c: Likewise.
1645 1.8 christos * strings.c: Likewise.
1646 1.8 christos * sysdump.c: Likewise.
1647 1.8 christos * windmc.c: Likewise.
1648 1.8 christos * windres.c: Likewise.
1649 1.8 christos * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
1650 1.8 christos * dwarf.c: Include limits.h unconditionally. Assume long long
1651 1.8 christos is available.
1652 1.8 christos * nm.c: Don't test HAVE_STRCOLL.
1653 1.8 christos * readelf.c: Don't test HAVE_WCHAR_H.
1654 1.8 christos * strings.c: Assume long long is available.
1655 1.8 christos * syslex.l: Include string.h unconditionally.
1656 1.8 christos * aclocal.m4: Regenerate.
1657 1.8 christos * config.in: Regenerate.
1658 1.8 christos * configure: Regenerate.
1659 1.8 christos * Makefile.in: Regenerate.
1660 1.8 christos * doc/Makefile.in: Regenerate.
1661 1.8 christos
1662 1.8 christos 2021-04-01 Martin Liska <mliska (a] suse.cz>
1663 1.8 christos
1664 1.8 christos * elfcomm.h (strneq): Remove strneq and use startswith.
1665 1.8 christos * readelf.c (ia64_process_unwind): Likewise.
1666 1.8 christos (process_note): Likewise.
1667 1.8 christos
1668 1.8 christos 2021-04-01 Martin Liska <mliska (a] suse.cz>
1669 1.8 christos
1670 1.8 christos * dllwrap.c: Use startswith function.
1671 1.8 christos * objcopy.c (is_dwo_section): Likewise.
1672 1.8 christos (handle_remove_section_option): Likewise.
1673 1.8 christos (copy_main): Likewise.
1674 1.8 christos * objdump.c (is_significant_symbol_name): Likewise.
1675 1.8 christos
1676 1.8 christos 2021-04-01 Martin Liska <mliska (a] suse.cz>
1677 1.8 christos
1678 1.8 christos * dwarf.c (display_debug_lines_raw): Replace const_strneq with
1679 1.8 christos startswith.
1680 1.8 christos (display_debug_lines_decoded): Likewise.
1681 1.8 christos (display_debug_links): Likewise.
1682 1.8 christos * elfcomm.c (setup_archive): Likewise.
1683 1.8 christos * elfcomm.h (const_strneq): Likewise.
1684 1.8 christos * readelf.c (process_section_headers): Likewise.
1685 1.8 christos (slurp_ia64_unwind_table): Likewise.
1686 1.8 christos (slurp_hppa_unwind_table): Likewise.
1687 1.8 christos (decode_arm_unwind): Likewise.
1688 1.8 christos (display_debug_section): Likewise.
1689 1.8 christos (process_note): Likewise.
1690 1.8 christos
1691 1.8 christos 2021-03-31 Alan Modra <amodra (a] gmail.com>
1692 1.8 christos
1693 1.8 christos * sysdep.h (POISON_BFD_BOOLEAN): Define.
1694 1.8 christos * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
1695 1.8 christos * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
1696 1.8 christos * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
1697 1.8 christos * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
1698 1.8 christos * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
1699 1.8 christos * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
1700 1.8 christos * windmc.c, * windmc.h, * windres.c, * winduni.c,
1701 1.8 christos * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
1702 1.8 christos and TRUE with true throughout.
1703 1.8 christos
1704 1.8 christos 2021-03-31 Alan Modra <amodra (a] gmail.com>
1705 1.8 christos
1706 1.8 christos * coffdump.c: Include stdint.h in place of bfd_stdint.h.
1707 1.8 christos * dwarf.c: Likewise.
1708 1.8 christos
1709 1.8 christos 2021-03-31 Alan Modra <amodra (a] gmail.com>
1710 1.8 christos
1711 1.8 christos * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
1712 1.8 christos
1713 1.8 christos 2021-03-29 Alan Modra <amodra (a] gmail.com>
1714 1.8 christos
1715 1.8 christos * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
1716 1.8 christos * dwarf.c (read_and_display_attr_value): Likewise.
1717 1.8 christos (display_debug_str_offsets): Likewise.
1718 1.8 christos * objdump.c (dump_bfd): Likewise.
1719 1.8 christos * readelf.c (dump_section_as_strings): Likewise.
1720 1.8 christos (dump_section_as_bytes): Likewise.
1721 1.8 christos
1722 1.8 christos 2021-03-29 Alan Modra <amodra (a] gmail.com>
1723 1.8 christos
1724 1.8 christos * objdump.c (process_links): Use type int.
1725 1.8 christos * readelf.c (request_dump): Don't increment do_dump, set it.
1726 1.8 christos * windint.h (target_is_bigendian): Use type bfd_boolean.
1727 1.8 christos * windmc.c (target_is_bigendian): Likewise.
1728 1.8 christos * windres.c (target_is_bigendian): Likewise.
1729 1.8 christos
1730 1.8 christos 2021-03-22 Martin Liska <mliska (a] suse.cz>
1731 1.8 christos
1732 1.8 christos * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
1733 1.8 christos with startswith.
1734 1.8 christos * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
1735 1.8 christos * objcopy.c (is_mergeable_note_section): Likewise.
1736 1.8 christos * objdump.c (dump_dwarf_section): Likewise.
1737 1.8 christos * prdbg.c (pr_method_type): Likewise.
1738 1.8 christos (pr_class_baseclass): Likewise.
1739 1.8 christos (tg_class_baseclass): Likewise.
1740 1.8 christos * readelf.c (process_lto_symbol_tables): Likewise.
1741 1.8 christos * stabs.c (ULLHIGH): Likewise.
1742 1.8 christos (parse_stab_argtypes): Likewise.
1743 1.8 christos (stab_demangle_function_name): Likewise.
1744 1.8 christos
1745 1.8 christos 2021-03-19 H.J. Lu <hongjiu.lu (a] intel.com>
1746 1.8 christos
1747 1.8 christos * readelf.c (get_machine_name): Add EM_INTELGT.
1748 1.8 christos
1749 1.8 christos 2021-03-18 Nick Clifton <nickc (a] redhat.com>
1750 1.8 christos
1751 1.8 christos PR 27478
1752 1.8 christos * readelf.c (dump_section_as_strings): Mention separate filename.
1753 1.8 christos (dump_section_as_bytes): Likewise.
1754 1.8 christos (dump_section_as_ctf): Likewise.
1755 1.8 christos (initialise_dumkps_byname): Only issue a warning for missing
1756 1.8 christos sections if processing the main file.
1757 1.8 christos (process_section_contents): Only issue a warning for unsumped
1758 1.8 christos section numbers in the main file.
1759 1.8 christos (initialise_dump_sects): New function. Contains code extracted
1760 1.8 christos from ...
1761 1.8 christos (process_object): ... here. Also call initialise_dump_sects for
1762 1.8 christos separate files.
1763 1.8 christos
1764 1.8 christos 2021-03-16 Nick Clifton <nickc (a] redhat.com>
1765 1.8 christos
1766 1.8 christos PR 27534
1767 1.8 christos * readelf.c (display_debug_section): Also retain .debug_addr
1768 1.8 christos sections.
1769 1.8 christos
1770 1.8 christos 2021-03-16 Nick Clifton <nickc (a] redhat.com>
1771 1.8 christos
1772 1.8 christos PR 27533
1773 1.8 christos * readelf.c (process_section_contents): Only dump debug
1774 1.8 christos information for separate files unless process_links is enabled.
1775 1.8 christos (process_object): Always call process_section_contents for
1776 1.8 christos separate info files.
1777 1.8 christos
1778 1.8 christos 2021-03-15 Nick Clifton <nickc (a] redhat.com>
1779 1.8 christos
1780 1.8 christos PR 27487
1781 1.8 christos * nm.c (FORMAT_JUST_SYMBOLS): Define.
1782 1.8 christos (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
1783 1.8 christos (long_options): Add just-symbols.
1784 1.8 christos (set_output_format): Add support for just-symbols.
1785 1.8 christos (get_print_format): Likewise.
1786 1.8 christos (do_not_print_object_filename): New function.
1787 1.8 christos (do_not_print_archive_filename): New function.
1788 1.8 christos (do_not_print_archive_member): New function.
1789 1.8 christos (do_not_print_symbol_filename): New function.
1790 1.8 christos (just_print_symbol_name): New function.
1791 1.8 christos (main): Handle --just-symbols.
1792 1.8 christos * NEWS: Mention the new feature.
1793 1.8 christos * doc/binutils.texi: Document the new feature.
1794 1.8 christos
1795 1.8 christos 2021-03-12 Clment Chigot <clement.chigot (a] atos.net>
1796 1.8 christos
1797 1.8 christos * od-xcoff.c: Replace RTB by TRL entry.
1798 1.8 christos
1799 1.8 christos 2021-03-05 Craig Blackmore <craig.blackmore (a] embecosm.com>
1800 1.8 christos Andrew Burgess <andrew.burgess (a] embecosm.com>
1801 1.8 christos
1802 1.8 christos * readelf.c (get_note_type): Handle NT_RISCV_CSR.
1803 1.8 christos
1804 1.8 christos 2021-03-05 Craig Blackmore <craig.blackmore (a] embecosm.com>
1805 1.8 christos Andrew Burgess <andrew.burgess (a] embecosm.com>
1806 1.8 christos
1807 1.8 christos * readelf.c (get_note_type): Handle NT_GDB_TDESC.
1808 1.8 christos
1809 1.8 christos 2021-03-05 Nick Clifton <nickc (a] redhat.com>
1810 1.8 christos
1811 1.8 christos PR 27387
1812 1.8 christos * dwarf.c (display_debug_macro): Handle the displaying of
1813 1.8 christos DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
1814 1.8 christos .debug_macro.dwo sections.
1815 1.8 christos
1816 1.8 christos 2021-03-04 Nick Clifton <nickc (a] redhat.com>
1817 1.8 christos
1818 1.8 christos PR 27478
1819 1.8 christos * objdump.c (process_links): New variable.
1820 1.8 christos (usage): Add --process-links.
1821 1.8 christos (long_options): Likewise.
1822 1.8 christos (dump_bfd): Stop processing once the bfd has been loaded unless
1823 1.8 christos this is the main file or process_links has been enabled.
1824 1.8 christos (main): Handle the process-links option.
1825 1.8 christos * readelf.c (process_links): New variable.
1826 1.8 christos (struct filedata): Add is_separate field.
1827 1.8 christos (options): Add --process-links.
1828 1.8 christos (usage): Likewise.
1829 1.8 christos (parse_args): Likewise.
1830 1.8 christos (process_file_header): Include the filename when dumping
1831 1.8 christos information for separate debuginfo files.
1832 1.8 christos (process_program_headers): Likewise.
1833 1.8 christos (process_section_headers): Likewise.
1834 1.8 christos (process_section_groups): Likewise.
1835 1.8 christos (process_relocs): Likewise.
1836 1.8 christos (process_dynamic_section): Likewise.
1837 1.8 christos (process_version_sections): Likewise.
1838 1.8 christos (display_lto_symtab): Likewise.
1839 1.8 christos (process_symbol_table): Likewise.
1840 1.8 christos (process_syminfo): Likewise.
1841 1.8 christos (initialise_dumps_by_name): Likewise.
1842 1.8 christos (process_section_contents): Likewise.
1843 1.8 christos (process_notes_at): Likewise.
1844 1.8 christos (process_notes): Likewise.
1845 1.8 christos (open_file): Add is_separate parameter. Use to initialise the
1846 1.8 christos is_separate field in the filedata structure.
1847 1.8 christos (open_deug): Update call to open_file.
1848 1.8 christos (process_object): Add processing of the contents of separate
1849 1.8 christos debuginfo files, gated by the process_links variable.
1850 1.8 christos (process_archive): Update call to open_file.
1851 1.8 christos (process_file): Initialise the is_separate field in the filedata
1852 1.8 christos structure.
1853 1.8 christos * dwarf.c (load_separate_debug_info_file): Only report the
1854 1.8 christos loading of a separate file if debug links are being dumped.
1855 1.8 christos * objcopy.c (keep_section_symbols): New variable.
1856 1.8 christos (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
1857 1.8 christos (strip_options): Add keep-section-symbols.
1858 1.8 christos (copy_options): Likewise.
1859 1.8 christos (copy_usage): Likewise.
1860 1.8 christos (strip_usage): Likewise.
1861 1.8 christos (copy_object): Keep section symbols if requested by command line
1862 1.8 christos option.
1863 1.8 christos (strip_main): Handle --keep-section-symbols.
1864 1.8 christos (copy_main): Likewise.
1865 1.8 christos * doc/binutils.texi: Document the new options.
1866 1.8 christos * NEWS: Mention the new features.
1867 1.8 christos * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
1868 1.8 christos Update options passed to objdump. Use diff rather than cmp to
1869 1.8 christos compare the dumped data.
1870 1.8 christos * testsuite/binutils-all/objdump.WK2: Update regexp.
1871 1.8 christos * testsuite/binutils-all/objdump.WK3: Update regexp.
1872 1.8 christos * testsuite/binutils-all/objdump.exp: Use --process-links
1873 1.8 christos instead of --dwarf=follow-links.
1874 1.8 christos * testsuite/binutils-all/readelf.exp (readelf_test): Include
1875 1.8 christos readelf's output in the log when the test fails.
1876 1.8 christos Add the -P option to the -wKis test.
1877 1.8 christos * testsuite/binutils-all/readelf.wKis: Update expected output.
1878 1.8 christos
1879 1.8 christos 2021-03-03 Alan Modra <amodra (a] gmail.com>
1880 1.8 christos
1881 1.8 christos PR 27493
1882 1.8 christos * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
1883 1.8 christos * NEWS: Mention feature.
1884 1.8 christos
1885 1.8 christos 2021-03-01 H.J. Lu <hongjiu.lu (a] intel.com>
1886 1.8 christos
1887 1.8 christos PR binutils/27486
1888 1.8 christos * dwarf.c (load_separate_debug_info): Issue warning only if
1889 1.8 christos do_debug_links is set.
1890 1.8 christos * testsuite/binutils-all/compress.exp: Run objdump and readelf
1891 1.8 christos with missing debug file.
1892 1.8 christos
1893 1.8 christos 2021-03-01 Alan Modra <amodra (a] gmail.com>
1894 1.8 christos
1895 1.8 christos PR 27128
1896 1.8 christos * doc/binutils.texi: Add nm --with-symbol-versions and
1897 1.8 christos --without-symbol-versions documentation.
1898 1.8 christos * nm.c (with_symbol_versions): New variable.
1899 1.8 christos (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
1900 1.8 christos (long_options): Make --with-symbol-versions entry twiddle the flag.
1901 1.8 christos Add --without-symbol-versions.
1902 1.8 christos (print_symname): Strip version when !with_symbol_versions. Add
1903 1.8 christos dynamic version info under control of with_symbol_versions.
1904 1.8 christos (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
1905 1.8 christos
1906 1.8 christos 2021-02-26 Fangrui Song <maskray (a] google.com>
1907 1.8 christos
1908 1.8 christos PR 27408
1909 1.8 christos * readelf.c (quiet): New option flag.
1910 1.8 christos (enum long_option_values): New enum to hold long option value.
1911 1.8 christos (long_options): Add --quiet.
1912 1.8 christos (usage): Mention --quiet.
1913 1.8 christos (display_rel_file): If quiet is enabled, suppress "no symbols".
1914 1.8 christos (main): Handle the new option.
1915 1.8 christos * NEWS: Mention --quiet.
1916 1.8 christos * docs/binutils.texi: Document --quiet.
1917 1.8 christos
1918 1.8 christos 2021-02-26 Tom de Vries <tdevries (a] suse.de>
1919 1.8 christos
1920 1.8 christos * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
1921 1.8 christos
1922 1.8 christos 2021-02-26 Tom de Vries <tdevries (a] suse.de>
1923 1.8 christos
1924 1.8 christos PR 27390
1925 1.8 christos * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
1926 1.8 christos DW_FORM_addrx*.
1927 1.8 christos (read_and_display_attr_value): Likewise.
1928 1.8 christos
1929 1.8 christos 2021-02-25 Nick Clifton <nickc (a] redhat.com>
1930 1.8 christos
1931 1.8 christos * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
1932 1.8 christos forms.
1933 1.8 christos (read_and_display_attr_value): Handle sup forms.
1934 1.8 christos (display_debug_sup): New function. Displays the contents of a
1935 1.8 christos .debug_sup section.
1936 1.8 christos (load_debug_sup_file): New function. Loads the contents of a file
1937 1.8 christos referenced by a .debug_sup section.
1938 1.8 christos (check_for_and_load_links): Call load_debug_sup_file.
1939 1.8 christos (debug_displays): Add entry for .debug_sup.
1940 1.8 christos * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
1941 1.8 christos * readelf.c (process_section_headers): Add support for debug_sup.
1942 1.8 christos * doc/debug.options.texi: Note that the =links option will display
1943 1.8 christos the contents of .debug_sup sections.
1944 1.8 christos * NEWS: Mention the new support.
1945 1.8 christos
1946 1.8 christos 2021-02-25 Alan Modra <amodra (a] gmail.com>
1947 1.8 christos
1948 1.8 christos PR 27456
1949 1.8 christos * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
1950 1.8 christos
1951 1.8 christos 2021-02-24 Nick Clifton <nickc (a] redhat.com>
1952 1.8 christos
1953 1.8 christos PR 27285
1954 1.8 christos * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
1955 1.8 christos when adding together the section sizes.
1956 1.8 christos
1957 1.8 christos 2021-02-24 Nick Clifton <nickc (a] redhat.com>
1958 1.8 christos
1959 1.8 christos * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
1960 1.8 christos build notes.
1961 1.8 christos * readelf.c (print_gnu_build_attribute_description): Likewise.
1962 1.8 christos
1963 1.8 christos 2021-02-24 Alan Modra <amodra (a] gmail.com>
1964 1.8 christos Siddhesh Poyarekar <siddhesh (a] gotplt.org>
1965 1.8 christos
1966 1.8 christos PR 27456
1967 1.8 christos * bucomm.h (smart_rename): Update prototype.
1968 1.8 christos * rename.c (smart_rename): Add fromfd and preserve_dates params.
1969 1.8 christos Pass fromfd and target_stat to simple_copy. Call set_times
1970 1.8 christos when preserve_dates.
1971 1.8 christos (simple_copy): Accept fromfd rather than from filename. Add
1972 1.8 christos target_stat param. Rewind fromfd rather than opening. Open
1973 1.8 christos "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
1974 1.8 christos * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
1975 1.8 christos closing output temp file, and pass tmpfd to smart_rename.
1976 1.8 christos * arsup.c (temp_fd): Rename from real_fd.
1977 1.8 christos (ar_save): Dup temp_fd and pass to smart_rename.
1978 1.8 christos * objcopy.c (strip_main, copy_main): Likewise, and pass
1979 1.8 christos preserve_dates.
1980 1.8 christos
1981 1.8 christos 2021-02-24 Alan Modra <amodra (a] gmail.com>
1982 1.8 christos
1983 1.8 christos PR 27456
1984 1.8 christos * rename.c: Tidy throughout.
1985 1.8 christos (smart_rename): Always copy. Remove windows specific code.
1986 1.8 christos
1987 1.8 christos 2021-02-20 Alan Modra <amodra (a] gmail.com>
1988 1.8 christos
1989 1.8 christos * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
1990 1.8 christos (run_dump_test): Fail if expecting errors from a file like we do
1991 1.8 christos for error strings, if no error is seen.
1992 1.8 christos
1993 1.8 christos 2021-02-19 Alan Modra <amodra (a] gmail.com>
1994 1.8 christos
1995 1.8 christos * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
1996 1.8 christos
1997 1.8 christos 2021-02-19 Siddhesh Poyarekar <siddhesh (a] gotplt.org>
1998 1.8 christos
1999 1.8 christos * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
2000 1.8 christos SMART_RENAME.
2001 1.8 christos * arsup.c (ar_save): Likewise.
2002 1.8 christos * objcopy (strip_main): Don't copy TMPFD. Don't set times on
2003 1.8 christos temporary file and adjust call to SMART_RENAME.
2004 1.8 christos (copy_main): Likewise.
2005 1.8 christos * rename.c [!S_ISLNK]: Remove definitions.
2006 1.8 christos (try_preserve_permissions): Remove function.
2007 1.8 christos (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
2008 1.8 christos rename system call only if TO does not exist.
2009 1.8 christos * bucomm.h (smart_rename): Adjust declaration.
2010 1.8 christos
2011 1.8 christos 2021-02-18 Nick Clifton <nickc (a] redhat.com>
2012 1.8 christos
2013 1.8 christos * objcopy.c (merge_gnu_build_notes): Handle notes with a start
2014 1.8 christos address that is higher than the end address.
2015 1.8 christos
2016 1.8 christos 2021-02-17 Alan Modra <amodra (a] gmail.com>
2017 1.8 christos
2018 1.8 christos * dwarf.c: Include limits.h.
2019 1.8 christos (CHAR_BIT): Provide backup define.
2020 1.8 christos (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
2021 1.8 christos signed overflow checking.
2022 1.8 christos * testsuite/binutils-all/pr26548.s,
2023 1.8 christos * testsuite/binutils-all/pr26548.d,
2024 1.8 christos * testsuite/binutils-all/pr26548e.d: New tests.
2025 1.8 christos * testsuite/binutils-all/readelf.exp: Run them.
2026 1.8 christos (readelf_test): Drop unused "xfails" parameter. Update all uses.
2027 1.8 christos
2028 1.8 christos 2021-02-16 Jan Beulich <jbeulich (a] suse.com>
2029 1.8 christos
2030 1.8 christos * dwarf.c (process_debug_info): Initialize "dwo_id".
2031 1.8 christos
2032 1.8 christos 2021-02-15 Alan Modra <amodra (a] gmail.com>
2033 1.8 christos
2034 1.8 christos * objdump.c (load_specific_debug_section): Don't call
2035 1.8 christos bfd_cache_section_contents. Rearrange so that
2036 1.8 christos bfd_get_full_section_contents is not called on path where
2037 1.8 christos bfd_simple_get_relocated_section_contents is called.
2038 1.8 christos Don't set section->user_data.
2039 1.8 christos (free_debug_section): Always free section->start. Don't twiddle
2040 1.8 christos section flags.
2041 1.8 christos * readelf.c (load_specific_debug_section): Don't set user_data.
2042 1.8 christos * dwarf.h (struct dwarf_section): Remove use_data field.
2043 1.8 christos * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
2044 1.8 christos
2045 1.8 christos 2021-02-15 Alan Modra <amodra (a] gmail.com>
2046 1.8 christos
2047 1.8 christos * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
2048 1.8 christos * testsuite/binutils-all/objdump.exp: Likewise.
2049 1.8 christos
2050 1.8 christos 2021-02-14 Alan Modra <amodra (a] gmail.com>
2051 1.8 christos
2052 1.8 christos * objdump.c (slurp_symtab): Don't add an extra entry for NULL
2053 1.8 christos to the symbol array.
2054 1.8 christos (slurp_dynamic_symtab): Likewise.
2055 1.8 christos (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
2056 1.8 christos
2057 1.8 christos 2021-02-14 Alan Modra <amodra (a] gmail.com>
2058 1.8 christos
2059 1.8 christos * Makefile.in: Regenerate.
2060 1.8 christos * doc/Makefile.in: Regenerate.
2061 1.8 christos
2062 1.8 christos 2021-02-13 Mike Frysinger <vapier (a] gentoo.org>
2063 1.8 christos
2064 1.8 christos * aclocal.m4: Regenerate.
2065 1.8 christos
2066 1.8 christos 2021-02-12 Nick Clifton <nickc (a] redhat.com>
2067 1.8 christos
2068 1.8 christos * configure.ac (follow-debug-links): Add option to enable or
2069 1.8 christos disable the following of debug links by default. Set the
2070 1.8 christos default for the option to be 'follow'.
2071 1.8 christos * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
2072 1.8 christos (dwarf_select_sections_by_names): Add no-follow-links option.
2073 1.8 christos (dwarf_select_sections_by_letter): Add 'N' option.
2074 1.8 christos * objdump.c (usage): Add conditional text describing the
2075 1.8 christos follow links option.
2076 1.8 christos (slurp_symtab): Ensure that there is a NULL entry at the end
2077 1.8 christos of the symbol table.
2078 1.8 christos (slurp_dynamic_symtab): Likewise.
2079 1.8 christos (dump_bfd): When extending the symbol table, ensure that there
2080 1.8 christos is still a NULL entry at the end.
2081 1.8 christos * readelf.c (usage): Add conditional text describing the
2082 1.8 christos follow links option.
2083 1.8 christos * doc/binutils.texi: Update documentation for objcopy and
2084 1.8 christos readelf.
2085 1.8 christos * doc/debug.options.texi: Update documentation of the
2086 1.8 christos follow-links option.
2087 1.8 christos * config.in: Regenerate.
2088 1.8 christos * configure: Regenerate.
2089 1.8 christos * testsuite/binutils-all/compress.exp: Add the -WN option to
2090 1.8 christos objdump command lines that are not expecting to follow links.
2091 1.8 christos * testsuite/binutils-all/readelf.exp: Add the
2092 1.8 christos --debug-dump=no-follow-links option to tests that are not
2093 1.8 christos expecting to follow debug links.
2094 1.8 christos * NEWS: Mention the new behaviour.
2095 1.8 christos
2096 1.8 christos 2021-02-12 Alan Modra <amodra (a] gmail.com>
2097 1.8 christos
2098 1.8 christos * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
2099 1.8 christos gas or ld fails to build a testcase rather than "unresolved".
2100 1.8 christos Report "fail" when readelf returns an error status rather than
2101 1.8 christos "unresolved".
2102 1.8 christos * testsuite/binutils-all/ar.exp: Likewise.
2103 1.8 christos * testsuite/binutils-all/compress.exp: Likewise.
2104 1.8 christos * testsuite/binutils-all/readelf.exp: Likewise.
2105 1.8 christos
2106 1.8 christos 2021-02-12 Alan Modra <amodra (a] gmail.com>
2107 1.8 christos
2108 1.8 christos * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
2109 1.8 christos "c" with "ccc" labels.
2110 1.8 christos
2111 1.8 christos 2021-02-12 Tom de Vries <tdevries (a] suse.de>
2112 1.8 christos
2113 1.8 christos * dwarf.h (debug_info): Fix typo in comment.
2114 1.8 christos
2115 1.8 christos 2021-02-12 Tom de Vries <tdevries (a] suse.de>
2116 1.8 christos
2117 1.8 christos * dwarf.c (display_debug_str_offsets): Handle multiple sets of
2118 1.8 christos entries.
2119 1.8 christos
2120 1.8 christos 2021-02-12 Tom de Vries <tdevries (a] suse.de>
2121 1.8 christos
2122 1.8 christos * dwarf.c (process_debug_info): Print DWO ID.
2123 1.8 christos
2124 1.8 christos 2021-02-11 Alan Modra <amodra (a] gmail.com>
2125 1.8 christos
2126 1.8 christos PR 27290
2127 1.8 christos PR 27293
2128 1.8 christos PR 27295
2129 1.8 christos * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
2130 1.8 christos Use bfd_malloc_and_get_section.
2131 1.8 christos (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
2132 1.8 christos check namesz. Return NULL if descsz is too small. Ensure
2133 1.8 christos string table is terminated.
2134 1.8 christos (elf32_avr_get_device_info): Formatting. Add note_size param.
2135 1.8 christos Sanity check note.
2136 1.8 christos (elf32_avr_dump_mem_usage): Adjust to suit.
2137 1.8 christos
2138 1.8 christos 2021-02-10 Tom de Vries <tdevries (a] suse.de>
2139 1.8 christos
2140 1.8 christos PR binutils/27391
2141 1.8 christos * dwarf.c (load_dwo_file): Handle case that name is absolute path.
2142 1.8 christos
2143 1.8 christos 2021-02-10 Tom de Vries <tdevries (a] suse.de>
2144 1.8 christos
2145 1.8 christos PR binutils/27371
2146 1.8 christos * dwarf.c (display_debug_ranges): Filter range lists according to
2147 1.8 christos section.
2148 1.8 christos
2149 1.8 christos 2021-02-09 Tom de Vries <tdevries (a] suse.de>
2150 1.8 christos
2151 1.8 christos PR binutils/27370
2152 1.8 christos * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
2153 1.8 christos
2154 1.8 christos 2021-02-09 Tom de Vries <tdevries (a] suse.de>
2155 1.8 christos
2156 1.8 christos PR binutils/27386
2157 1.8 christos * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
2158 1.8 christos DW_UT_split_compile.
2159 1.8 christos
2160 1.8 christos 2021-02-09 Alan Modra <amodra (a] gmail.com>
2161 1.8 christos
2162 1.8 christos * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
2163 1.8 christos symbianelf.
2164 1.8 christos
2165 1.8 christos 2021-02-07 Alan Modra <amodra (a] gmail.com>
2166 1.8 christos
2167 1.8 christos * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
2168 1.8 christos uninitialised on invalid input.
2169 1.8 christos
2170 1.8 christos 2021-02-06 Alan Modra <amodra (a] gmail.com>
2171 1.8 christos
2172 1.8 christos PR 27349
2173 1.8 christos * rename.c (smart_rename): Test for existence and type of output
2174 1.8 christos file with lstat.
2175 1.8 christos
2176 1.8 christos 2021-02-05 Nick Clifton <nickc (a] redhat.com>
2177 1.8 christos
2178 1.8 christos * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
2179 1.8 christos
2180 1.8 christos 2021-02-05 Eli Zaretskii <eliz (a] gnu.org>
2181 1.8 christos
2182 1.8 christos PR 27252
2183 1.8 christos * elfedit.c (check_file):
2184 1.8 christos * bucomm.c (get_file_size): Fix typos in comments.
2185 1.8 christos
2186 1.8 christos 2021-02-05 Alan Modra <amodra (a] gmail.com>
2187 1.8 christos
2188 1.8 christos PR 27345
2189 1.8 christos * arsup.c (ar_save): Use stat rather than lstat.
2190 1.8 christos
2191 1.8 christos 2021-02-03 Alan Modra <amodra (a] gmail.com>
2192 1.8 christos
2193 1.8 christos PR 27270
2194 1.8 christos PR 27284
2195 1.8 christos PR 26945
2196 1.8 christos * ar.c: Don't include libbfd.h.
2197 1.8 christos (write_archive): Replace xmalloc+strcpy with xstrdup. Use
2198 1.8 christos bfd_stat rather than fstat on iostream. Move stat and fd tests
2199 1.8 christos outside of _WIN32 ifdef. Delete skip_stat variable.
2200 1.8 christos * arsup.c (temp_name, real_ofd): New static variables.
2201 1.8 christos (ar_open): Use make_tempname and bfd_fdopenw.
2202 1.8 christos (ar_save): Adjust to suit ar_open changes. Move stat output
2203 1.8 christos of _WIN32 ifdef.
2204 1.8 christos * objcopy.c: Don't include libbfd.h.
2205 1.8 christos (copy_file): Use bfd_stat.
2206 1.8 christos
2207 1.8 christos 2021-02-02 H.J. Lu <hongjiu.lu (a] intel.com>
2208 1.8 christos
2209 1.8 christos PR binutils/27281
2210 1.8 christos * readelf.c (process_section_headers): Add 'R' and 'D' to
2211 1.8 christos "Key to Flags:".
2212 1.8 christos * testsuite/binutils-all/retain1a.d: Updated.
2213 1.8 christos
2214 1.8 christos 2021-01-30 Nick Clifton <nickc (a] redhat.com>
2215 1.8 christos
2216 1.8 christos * README-how-to-make-a-release: Small updates after the 2.35.2
2217 1.8 christos release.
2218 1.8 christos
2219 1.8 christos 2021-01-28 Eli Zaretskii <eliz (a] gnu.org>
2220 1.8 christos
2221 1.8 christos PR 4356
2222 1.8 christos * windres.c (quot): Use double quotes to protect strings on
2223 1.8 christos Windows platforms.
2224 1.8 christos
2225 1.8 christos 2021-01-28 Eli Zaretskii <eliz (a] gnu.org>
2226 1.8 christos
2227 1.8 christos PR 27252
2228 1.8 christos * bucomm.c (get_file_size): Add code to handle /dev/null on
2229 1.8 christos Windows systems.
2230 1.8 christos * elfedit.c (check_file): Likewise.
2231 1.8 christos
2232 1.8 christos 2021-01-27 Nick Clifton <nickc (a] redhat.com>
2233 1.8 christos
2234 1.8 christos * objcopy.c (copy_main): Remove conditional control of the calls
2235 1.8 christos to free, simplifying the code and making it easier to detect
2236 1.8 christos typos.
2237 1.8 christos
2238 1.8 christos 2021-01-26 Frederic Cambus <fred (a] statdns.com>
2239 1.8 christos
2240 1.8 christos * objcopy.c (copy_main): Fix a double free happening when both
2241 1.8 christos --localize-symbols and --globalize-symbols options are invoked
2242 1.8 christos together.
2243 1.8 christos
2244 1.8 christos 2021-01-24 Nick Clifton <nickc (a] redhat.com>
2245 1.8 christos
2246 1.8 christos * README-how-to-make-a-release: Minor updates after the 2.36 release.
2247 1.8 christos
2248 1.8 christos 2021-01-16 Alan Modra <amodra (a] gmail.com>
2249 1.8 christos
2250 1.8 christos * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
2251 1.8 christos
2252 1.8 christos 2021-01-15 Alan Modra <amodra (a] gmail.com>
2253 1.8 christos
2254 1.8 christos PR 26539
2255 1.8 christos * readelf.c (uncompress_section_contents): Always call inflateEnd.
2256 1.8 christos
2257 1.8 christos 2021-01-14 Alexandre Oliva <oliva (a] gnu.org>
2258 1.8 christos
2259 1.8 christos * MAINTAINERS: Update my email address.
2260 1.8 christos
2261 1.8 christos 2021-01-14 Nick Clifton <nickc (a] redhat.com>
2262 1.8 christos
2263 1.8 christos * po/sv.po: Updated Swedish translation.
2264 1.8 christos
2265 1.8 christos 2021-01-13 Alan Modra <amodra (a] gmail.com>
2266 1.8 christos
2267 1.8 christos * Makefile.in: Regenerate.
2268 1.8 christos * doc/Makefile.in: Regenerate.
2269 1.8 christos
2270 1.8 christos 2021-01-13 Zebediah Figura <z.figura12 (a] gmail.com>
2271 1.8 christos
2272 1.8 christos PR 27037
2273 1.8 christos * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
2274 1.8 christos and before exit.
2275 1.8 christos (i386_x64_trampoline): Add SEH annotations.
2276 1.8 christos (struct mac): Add how_seh field.
2277 1.8 christos (make_delay_head): If how_set field is true add SEh instructions.
2278 1.8 christos
2279 1.8 christos 2021-01-12 H.J. Lu <hongjiu.lu (a] intel.com>
2280 1.8 christos
2281 1.8 christos PR binutils/26792
2282 1.8 christos * configure.ac: Use GNU_MAKE_JOBSERVER.
2283 1.8 christos * aclocal.m4: Regenerated.
2284 1.8 christos * configure: Likewise.
2285 1.8 christos
2286 1.8 christos 2021-01-12 Nick Clifton <nickc (a] redhat.com>
2287 1.8 christos
2288 1.8 christos * po/fr.po: Updated French translation.
2289 1.8 christos
2290 1.8 christos 2021-01-11 H.J. Lu <hongjiu.lu (a] intel.com>
2291 1.8 christos
2292 1.8 christos PR ld/27173
2293 1.8 christos * configure: Regenerated.
2294 1.8 christos
2295 1.8 christos 2021-01-11 Nick Clifton <nickc (a] redhat.com>
2296 1.6 christos
2297 1.7 christos * po/pt.po: Updated Portuguese translation.
2298 1.8 christos * po/sr.po: Updated Serbian translation.
2299 1.6 christos * po/uk.po: Updated Ukranian translation.
2300 1.6 christos
2301 1.8 christos 2021-01-09 H.J. Lu <hongjiu.lu (a] intel.com>
2302 1.8 christos
2303 1.8 christos * configure: Regenerated.
2304 1.8 christos
2305 1.8 christos 2021-01-09 Nick Clifton <nickc (a] redhat.com>
2306 1.3 christos
2307 1.3 christos * configure: Regenerate.
2308 1.6 christos * po/binutils.pot: Regenerate.
2309 1.6 christos
2310 1.8 christos 2021-01-09 Nick Clifton <nickc (a] redhat.com>
2311 1.3 christos
2312 1.8 christos * 2.36 release branch crated.
2313 1.8 christos * README-how-to-make-a-release: Add note about updating Makefiles
2314 1.8 christos and libtool files.
2315 1.8 christos * BRANCHES: Add binutils-2.36-branch.
2316 1.3 christos
2317 1.8 christos 2021-01-09 Alan Modra <amodra (a] gmail.com>
2318 1.3 christos
2319 1.8 christos * configure: Regenerate.
2320 1.3 christos
2321 1.8 christos 2021-01-07 Samuel Thibault <samuel.thibault (a] gnu.org>
2322 1.3 christos
2323 1.8 christos * configure: Regenerate.
2324 1.3 christos
2325 1.8 christos 2021-01-07 H.J. Lu <hongjiu.lu (a] intel.com>
2326 1.3 christos
2327 1.8 christos PR 27109
2328 1.8 christos * objcopy.c (copy_object): Handle section symbols for
2329 1.8 christos non-relocatable inputs.
2330 1.8 christos * testsuite/binutils-all/readelf.exp (readelf_test): Check
2331 1.8 christos is_elf_unused_section_symbols.
2332 1.8 christos * testsuite/binutils-all/readelf.s-64: Updated.
2333 1.8 christos * testsuite/binutils-all/readelf.ss: Likewise.
2334 1.8 christos * testsuite/binutils-all/readelf.ss-64: Likewise.
2335 1.8 christos * testsuite/binutils-all/readelf.s-64-unused: New file.
2336 1.8 christos * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
2337 1.8 christos * testsuite/binutils-all/readelf.ss-unused: Likewise.
2338 1.8 christos * testsuite/lib/binutils-common.exp
2339 1.8 christos (is_elf_unused_section_symbols): New proc.
2340 1.8 christos
2341 1.8 christos 2021-01-06 Reuben Thomas <rrt (a] sc3d.org>
2342 1.8 christos
2343 1.8 christos * binutils/readelf.c: Correct grammar in comment.
2344 1.8 christos
2345 1.8 christos 2021-01-01 Nicolas Boulenguez <nicolas (a] debian.org>
2346 1.8 christos
2347 1.8 christos * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
2348 1.8 christos * doc/binutils.texi: Correct grammar.
2349 1.8 christos * readelf.c (process_version_sections): Correct spelling of auxiliary
2350 1.8 christos in warning.
2351 1.8 christos * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
2352 1.1 christos
2353 1.8 christos 2021-01-01 Alan Modra <amodra (a] gmail.com>
2354 1.1 christos
2355 1.3 christos Update year range in copyright notice of all files.
2356 1.1 christos
2357 1.8 christos For older changes see ChangeLog-2020
2358 1.1 christos
2360 1.3 christos Copyright (C) 2021-2024 Free Software Foundation, Inc.
2361 1.3 christos
2362 1.3 christos Copying and distribution of this file, with or without modification,
2363 1.3 christos are permitted in any medium without royalty provided the copyright
2364 1.3 christos notice and this notice are preserved.
2365 1.1 christos
2366 1.1 christos Local Variables:
2367 1.1 christos mode: change-log
2368 1.1 christos left-margin: 8
2369 1.1 christos fill-column: 74
2370 1.1 christos version-control: never
2371 End:
2372