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