]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
28d13567
AM
12020-03-16 Alan Modra <amodra@gmail.com>
2
3 * readelf.c (get_symbols): New function.
4 (process_relocs, ia64_process_unwind, hppa_process_unwind),
5 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
6
60e63c3e
AM
72020-03-16 Alan Modra <amodra@gmail.com>
8
9 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
10 Detect shift overflows and check that terminating byte is found.
11 Print an error on a bad uleb128.
12
1bd6175a
AM
132020-03-14 Alan Modra <amodra@gmail.com>
14
15 * readelf.c (process_file): Clean ba_cache.
16
780f96ae
AM
172020-03-14 Alan Modra <amodra@gmail.com>
18
19 * elfcomm.h (setup_archive): Update prototype.
20 * elfcomm.c (setup_archive): Add file_size parameter and sanity
21 check longnames_size.
22 (setup_nested_archive): Get file size and pass to setup_archive.
23 * elfedit.c (process_archive): Likewise.
24 * readelf.c (process_archive): Pass filedata->file_size to
25 setup_archive.
26
f761cb13
AM
272020-03-14 Alan Modra <amodra@gmail.com>
28
29 * readelf.c (dump_section_as_strings): Free memory on error exit.
30 (dump_section_as_bytes, process_notes_at): Likewise.
31 (get_build_id): Free enote.
32
06d949ec
KR
332020-03-13 Kamil Rytarowski <n54@gmx.com>
34
35 * readelf.c (get_netbsd_elfcore_note_type): Add support for
36 NT_NETBSDCORE_LWPSTATUS notes.
37
fd486f32
AM
382020-03-13 Alan Modra <amodra@gmail.com>
39
40 * elfcomm.c (get_archive_member_name): Always return malloc'd
41 string or NULL.
42 * elfedit.c (process_archive): Tidy memory on all return paths.
43 * readelf.c (process_archive): Likewise.
44 (process_symbol_table): Likewise.
45 (ba_cache): New, replacing ..
46 (get_symbol_for_build_attribute): ..static vars here. Free
47 strtab and symtab before loading new ones. Reject symtab without
48 valid strtab in loop, breaking out of loop on valid symtab.
49 (process_file): Free ba_cache symtab and strtab here, resetting
50 ba_cache.
51
8fb879cd
AM
522020-03-12 Alan Modra <amodra@gmail.com>
53
54 * readelf.c (process_section_headers): Don't just set
55 filedata->section_headers NULL, free it first. Similarly for
56 dynamic_symbols, dynamic_strings, dynamic_syminfo and
57 symtab_shndx_list. Zero associated counts too.
58 (process_object): Free symtab_shndx_list.
59 (process_file): Free various allocated filedata tables.
60
5496f3c6
NC
612020-03-11 Nick Clifton <nickc@redhat.com>
62
63 PR 25611
64 PR 25614
65 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
66 li_segment_size fields.
67 * dwarf.c (read_debug_line_header): Record the address size and
68 segment selector size values (if present) in the lineinfo
69 structure.
70 (display_formatted_table): Warn if the format count is empty but
71 the table itself is not empty.
72 Display the format count and entry count at the start of the table
73 dump.
74 (display_debug_lines_raw): Display the address size and segement
75 selector size fields, if present.
76 * testsuite/binutils-all/dw5.W: Update expected output.
77
9cc89dc0
AM
782020-03-11 Alan Modra <amodra@gmail.com>
79
80 PR 25651
81 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
82 pad_to_set on second block of code dealing with padding.
83 Replace "c" with "num_sec" and don't recalculate number of
84 sections on second block. Size arrays using sizeof (element)
85 rather than sizeof (element type).
86
41da0822
AM
872020-03-10 Alan Modra <amodra@gmail.com>
88
89 * objdump.c (disassemble_section): Don't call qsort unless
90 sym count is at least two.
91 (disassemble_data): Don't call memcpy with NULL src.
92
95099889
AM
932020-03-09 Alan Modra <amodra@gmail.com>
94
95 PR 25645
96 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
97 to get_data rather than multiplying.
98 (dump_ia64_vms_dynamic_relocs): Likewise.
99 (process_version_sections): Correct order of size and nmemb args
100 in get_data call.
101 (process_mips_specific): Likewise.
102
a15de1f5
L
1032020-03-08 H.J. Lu <hongjiu.lu@intel.com>
104
105 * readelf.c (get_dynamic_data): Replace "memory chekers" with
106 "memory checkers" in comments.
107
9979ab66
SM
1082020-03-06 Simon Marchi <simon.marchi@efficios.com>
109
110 PR 25491
111 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
112 * doc/Makefile.in: Re-generate.
113
a0dcf297
NC
1142020-03-06 Nick Clifton <nickc@redhat.com>
115
116 * objcopy.c (check_new_section_flags): New function. Reject the
117 SEC_COFF_SHARED flag if the target is not a COFF binary.
118 (copy_object): Call check_new_section_flags.
119 (setup_section): Likewise.
120 * doc/binutils.texi (objcopy): Add a note that the 'share' section
121 flag cannot be applied to ELF binaries.
122
a9b90127
AM
1232020-03-06 Alan Modra <amodra@gmail.com>
124
125 PR 25637
126 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
127
d1faf7ca
AM
1282020-03-05 Alan Modra <amodra@gmail.com>
129
130 PR 25629
131 * objcopy.c (filter_symbols): Don't segfault on NULL
132 prefix_symbols_string.
133
eef64366
CE
1342020-03-04 Christian Eggers <ceggers@gmx.de>
135
136 * objcopy.c (copy_object): Convert from bytes to octets for
137 --gap-fill and --pad-to.
138
5be2b2f5
NC
1392020-03-03 Nick Clifton <nickc@redhat.com>
140
141 PR 25625
142 * prdbg.c (pr_tag_type): Remove call to abort.
143
b312fea1
AM
1442020-03-02 Aaron Merey <amerey@redhat.com>
145
146 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
147 selection.
148
ba3265d0
NC
1492020-03-02 Nick Clifton <nickc@redhat.com>
150
151 PR 25543
152 * readelf.c (dump_section_as_strings): Display new-line characters
153 as \n and then insert a line break.
154 * testsuite/binutils-all/pr25543.s: New test.
155 * testsuite/binutils-all/pr25543.d: Test driver.
156 * testsuite/binutils-all/readelf.exp: Run the new test.
157
736990c4
NC
1582020-02-27 Nick Clifton <nickc@redhat.com>
159
160 PR 25526
161 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
162 get_data is unable to load the string table.
163
dc1e8a47
AM
1642020-02-26 Alan Modra <amodra@gmail.com>
165
166 * elfedit.c: Indent labels correctly.
167 * readelf.c: Likewise.
168 * resres.c: Likewise.
169
ecda9016
L
1702020-02-25 H.J. Lu <hongjiu.lu@intel.com>
171
172 PR binutils/25584
173 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
174 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
175
83d4d556
NC
1762020-02-24 Nick Clifton <nickc@redhat.com>
177
178 PR 25499
179 * doc/binutils.texi (objdump): Fix typo in description of
180 objdump's -g option.
181
bd0cf5a6
NC
1822020-02-20 Nelson Chu <nelson.chu@sifive.com>
183
184 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
185 is changed.
186
741cb839
EC
1872020-02-19 Jordan Rupprecht <rupprecht@google.com>
188
189 * objdump.c (show_line): call bfd_demangle when using do_demangle.
190
9f1528a1
AB
1912020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * configure: Regenerate.
194
3a5d12fb
FS
1952020-02-10 Fangrui Song <maskray@google.com>
196
197 * objcopy.c (parse_flags): Handle "exclude".
198 * doc/binutils.texi: Document the support.
199
678d457f
AM
2002020-02-10 Aaron Merey <amerey@redhat.com>
201
202 * binutils/testsuite/binutils-all/debuginfod.exp:
203 Replace set ::env with setenv.
46471187
AM
204 Start server before setting environment variable.
205 Specify tmpdir as the location of the server's
206 database.
207 Check additional server metrics at start-up.
678d457f 208
e8319fde
NC
2092020-02-07 Nick Clifton <nickc@redhat.com>
210
211 * README-how-to-make-a-release: Add note about updating the
212 GAS/NEWS URL in the next release.
213
9fc0b501
SB
2142020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
215
216 PR 25469
217 * readelf.c (get_machine_flags): Add support for Z80N machine
218 number.
219
e1104d08
NC
2202020-02-07 Nick Clifton <nickc@redhat.com>
221
222 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
223 of the truncated file name.
224
c2e6f744 2252020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
226
227 * objdump.c (print_jump_visualisation): New function.
228 (disassemble_bytes): Call new function.
229
02e0be69
AM
2302020-02-06 Alan Modra <amodra@gmail.com>
231
232 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
233 TCL procedure.
234 (supports_gnu_osabi): New procedure.
235 (is_generic): New, from ld-lib.exp.
236 (supports_gnu_unique): Use the above.
237
e8b79122
AM
2382020-02-04 Alan Modra <amodra@gmail.com>
239
240 * Makefile.am (CFILES): Add od-elf32_avr.c.
241 * Makefile.in: Regenerate.
242 * po/POTFILES.in: Regenerate.
243
27a45f42
AS
2442020-02-03 Andreas Schwab <schwab@linux-m68k.org>
245
246 * readelf.c (dump_relocations, dump_relocations)
247 (decode_arm_unwind_bytecode, process_dynamic_section)
248 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
249 error message.
250
0b398d69
ST
2512020-02-03 Sergei Trofimovich <siarheit@google.com>
252
253 * coffdump.c (program_name): Drop redundant definition.
254 * srconv.c (program_name): Likewise
255 * sysdump.c (program_name): Likewise
256
a8c4d40b
L
2572020-02-02 H.J. Lu <hongjiu.lu@intel.com>
258
259 PR gas/25380
260 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
261 same file with different section pointers.
262
cb6ad9bb
NC
2632020-02-01 Nick Clifton <nickc@redhat.com>
264
265 * README-how-to-make-a-release: Update with more details on the
266 release making process.
267
53943f32
NC
2682020-01-31 Nick Clifton <nickc@redhat.com>
269
270 * po/sv.po: Updated Swedish translation.
271
55be8fd0
NC
2722020-01-28 Nick Clifton <nickc@redhat.com>
273
274 * readelf.c (get_build_id): Simplify warning message about corrupt
275 notes encountered whilst scanning for the build-id.
276
82ef9cad
RM
2772020-01-27 Roland McGrath <mcgrathr@google.com>
278
279 * objcopy.c (compare_gnu_build_notes): Fix comparison results
280 for overlapping ranges so that (A == B) == (B == A) holds.
281
e3696f67
AM
2822020-01-27 Alan Modra <amodra@gmail.com>
283
284 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
285 case statement with switch statement.
286
2f796de6
NC
2872020-01-24 Nick Clifton <nickc@redhat.com>
288
289 * readelf.c (get_build_id): Fix warning messages about corrupt
290 notes.
291
24e648d4
NC
2922020-01-23 Nick Clifton <nickc@redhat.com>
293
294 * po/fr.po: Updated French translation.
295
c48acf6f
YC
2962020-01-22 Yuri Chornoivan <yurchor@mageia.org>
297
298 PR 25417
299 * readelf.c (get_alpha_symbol_other): Fix error message typo.
300
26916852
NC
3012020-01-20 Nick Clifton <nickc@redhat.com>
302
303 * po/pt.po: Updated Portuguese translation.
304 * po/uk.po: Updated Ukranian translation.
305
b248e9ce
NC
3062020-01-18 Nick Clifton <nickc@redhat.com>
307
308 * README-how-to-make-a-release: Update notes on how to cut a
309 branch for a release.
310
1b1bb2c6
NC
3112020-01-18 Nick Clifton <nickc@redhat.com>
312
313 * configure: Regenerate.
314 * po/binutils.pot: Regenerate.
315
ae774686
NC
3162020-01-18 Nick Clifton <nickc@redhat.com>
317
318 Binutils 2.34 branch created.
319
82a9ed20
TT
3202020-01-17 Thomas Troeger <tstroege@gmx.de>
321
322 * objdump.c (jump_info_visualize_address): Discard jumps that are
323 no longer needed.
324 (disassemble_bytes): Only compute the maximum level if jumps were
325 detected.
326
6a1939f5
NC
3272020-01-13 Nick Clifton <nickc@redhat.com>
328
c87c17c1 329 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
330 * testsuite/binutils-all/debuginfod.exp: New tests.
331
1d67fe3b
TT
3322020-01-13 Thomas Troeger <tstroege@gmx.de>
333
334 * objdump.c (visualize_jumps, color_output, extended_color_output)
335 (detected_jumps): New variables.
336 (usage): Add the new jump visualization options.
337 (option_values): Add new option value.
338 (long_options): Add the new option.
339 (jump_info_new, jump_info_free): New functions.
340 (jump_info_min_address, jump_info_max_address): Likewise.
341 (jump_info_end_address, jump_info_is_start_address): Likewise.
342 (jump_info_is_end_address, jump_info_size): Likewise.
343 (jump_info_unlink, jump_info_insert): Likewise.
344 (jump_info_add_front, jump_info_move_linked): Likewise.
345 (jump_info_intersect, jump_info_merge): Likewise.
346 (jump_info_sort, jump_info_visualize_address): Likewise.
347 (disassemble_jumps): New function - used to locate jumps.
348 (disassemble_bytes): Add ascii art generation.
349 (disassemble_section): Add scan to locate jumps.
350 (main): Parse the new visualization option.
351 * doc/binutils.texi: Document the new feature.
352 * NEWS: Mention the new feature.
353
a788aedd
AM
3542020-01-13 Alan Modra <amodra@gmail.com>
355
a4f2b7c5
AM
356 PR 25360
357 PR 25361
a788aedd
AM
358 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
359 fde_fc col_type and col_offset.
360 * readelf.c (apply_relocations): Move symsec check earlier.
361 (free_debug_section): Free reloc_info.
362 (process_notes_at): Free pnotes on error path.
363 (process_object): Free dump_sects here..
364 (process_archive): ..not here.
365
805f38bc
AM
3662020-01-13 Alan Modra <amodra@gmail.com>
367
368 PR 25362
369 * nm.c (display_rel_file): Free dyn_syms.
370
ffebb0bb
NC
3712020-01-09 Nick Clifton <nickc@redhat.com>
372
373 PR 25220
374 * objcopy.c (empty_name): New variable.
375 (need_sym_before): Prevent an attempt to free a static variable.
376 (filter_symbols): Avoid strcmp test by checking for pointer
377 equality.
378
ade4fd9b
NC
3792020-01-09 Nick Clifton <nickc@redhat.com>
380
381 * po/zh_TW.po: Updated Traditional Chinese translation.
382
3832020-01-09 Aaron Merey <amerey@redhat.com>
384
385 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
386 * Makefile.in: Regenerate.
387 * NEWS: Update.
388 * config.in: Regenerate.
389 * configure: Regenerate.
390 * configure.ac: Call AC_DEBUGINFOD.
391 * doc/Makefile.in: Regenerate.
392 * doc/binutils.texi: Add section on using binutils
393 with debuginfod.
394 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
395 Query debuginfod servers for the target debug file.
396 (load_separate_debug_info): Call
397 debuginfod_fetch_separate_debug_info if configured with
398 debuginfod.
399 (load_separate_debug_files): Add file argument to
400 load_separate_debug_info calls.
401 * dwarf.h (get_build_id): Add declaration.
402 * objdump.c (get_build_id): New function. Get build-id of file.
403 * readelf.c (get_build_id): Likewise.
404 * testsuite/binutils-all/debuginfod.exp: New tests.
405 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
406 section.
407
6655dba2
SB
4082020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
409
410 * readelf.c: Add support for new Z*) relocations and machine
411 types.
412
b14ce8bf
AM
4132020-01-01 Alan Modra <amodra@gmail.com>
414
415 Update year range in copyright notice of all files.
416
0b114740 417For older changes see ChangeLog-2019
3499769a 418\f
0b114740 419Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
420
421Copying and distribution of this file, with or without modification,
422are permitted in any medium without royalty provided the copyright
423notice and this notice are preserved.
424
425Local Variables:
426mode: change-log
427left-margin: 8
428fill-column: 74
429version-control: never
430End: