]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
objdump disassembly of files without symbols
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2020-03-10 Alan Modra <amodra@gmail.com>
2
3 * objdump.c (disassemble_section): Don't call qsort unless
4 sym count is at least two.
5 (disassemble_data): Don't call memcpy with NULL src.
6
7 2020-03-09 Alan Modra <amodra@gmail.com>
8
9 PR 25645
10 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
11 to get_data rather than multiplying.
12 (dump_ia64_vms_dynamic_relocs): Likewise.
13 (process_version_sections): Correct order of size and nmemb args
14 in get_data call.
15 (process_mips_specific): Likewise.
16
17 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
18
19 * readelf.c (get_dynamic_data): Replace "memory chekers" with
20 "memory checkers" in comments.
21
22 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
23
24 PR 25491
25 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
26 * doc/Makefile.in: Re-generate.
27
28 2020-03-06 Nick Clifton <nickc@redhat.com>
29
30 * objcopy.c (check_new_section_flags): New function. Reject the
31 SEC_COFF_SHARED flag if the target is not a COFF binary.
32 (copy_object): Call check_new_section_flags.
33 (setup_section): Likewise.
34 * doc/binutils.texi (objcopy): Add a note that the 'share' section
35 flag cannot be applied to ELF binaries.
36
37 2020-03-06 Alan Modra <amodra@gmail.com>
38
39 PR 25637
40 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
41
42 2020-03-05 Alan Modra <amodra@gmail.com>
43
44 PR 25629
45 * objcopy.c (filter_symbols): Don't segfault on NULL
46 prefix_symbols_string.
47
48 2020-03-04 Christian Eggers <ceggers@gmx.de>
49
50 * objcopy.c (copy_object): Convert from bytes to octets for
51 --gap-fill and --pad-to.
52
53 2020-03-03 Nick Clifton <nickc@redhat.com>
54
55 PR 25625
56 * prdbg.c (pr_tag_type): Remove call to abort.
57
58 2020-03-02 Aaron Merey <amerey@redhat.com>
59
60 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
61 selection.
62
63 2020-03-02 Nick Clifton <nickc@redhat.com>
64
65 PR 25543
66 * readelf.c (dump_section_as_strings): Display new-line characters
67 as \n and then insert a line break.
68 * testsuite/binutils-all/pr25543.s: New test.
69 * testsuite/binutils-all/pr25543.d: Test driver.
70 * testsuite/binutils-all/readelf.exp: Run the new test.
71
72 2020-02-27 Nick Clifton <nickc@redhat.com>
73
74 PR 25526
75 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
76 get_data is unable to load the string table.
77
78 2020-02-26 Alan Modra <amodra@gmail.com>
79
80 * elfedit.c: Indent labels correctly.
81 * readelf.c: Likewise.
82 * resres.c: Likewise.
83
84 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
85
86 PR binutils/25584
87 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
88 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
89
90 2020-02-24 Nick Clifton <nickc@redhat.com>
91
92 PR 25499
93 * doc/binutils.texi (objdump): Fix typo in description of
94 objdump's -g option.
95
96 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
97
98 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
99 is changed.
100
101 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
102
103 * objdump.c (show_line): call bfd_demangle when using do_demangle.
104
105 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
106
107 * configure: Regenerate.
108
109 2020-02-10 Fangrui Song <maskray@google.com>
110
111 * objcopy.c (parse_flags): Handle "exclude".
112 * doc/binutils.texi: Document the support.
113
114 2020-02-10 Aaron Merey <amerey@redhat.com>
115
116 * binutils/testsuite/binutils-all/debuginfod.exp:
117 Replace set ::env with setenv.
118 Start server before setting environment variable.
119 Specify tmpdir as the location of the server's
120 database.
121 Check additional server metrics at start-up.
122
123 2020-02-07 Nick Clifton <nickc@redhat.com>
124
125 * README-how-to-make-a-release: Add note about updating the
126 GAS/NEWS URL in the next release.
127
128 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
129
130 PR 25469
131 * readelf.c (get_machine_flags): Add support for Z80N machine
132 number.
133
134 2020-02-07 Nick Clifton <nickc@redhat.com>
135
136 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
137 of the truncated file name.
138
139 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
140
141 * objdump.c (print_jump_visualisation): New function.
142 (disassemble_bytes): Call new function.
143
144 2020-02-06 Alan Modra <amodra@gmail.com>
145
146 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
147 TCL procedure.
148 (supports_gnu_osabi): New procedure.
149 (is_generic): New, from ld-lib.exp.
150 (supports_gnu_unique): Use the above.
151
152 2020-02-04 Alan Modra <amodra@gmail.com>
153
154 * Makefile.am (CFILES): Add od-elf32_avr.c.
155 * Makefile.in: Regenerate.
156 * po/POTFILES.in: Regenerate.
157
158 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
159
160 * readelf.c (dump_relocations, dump_relocations)
161 (decode_arm_unwind_bytecode, process_dynamic_section)
162 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
163 error message.
164
165 2020-02-03 Sergei Trofimovich <siarheit@google.com>
166
167 * coffdump.c (program_name): Drop redundant definition.
168 * srconv.c (program_name): Likewise
169 * sysdump.c (program_name): Likewise
170
171 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR gas/25380
174 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
175 same file with different section pointers.
176
177 2020-02-01 Nick Clifton <nickc@redhat.com>
178
179 * README-how-to-make-a-release: Update with more details on the
180 release making process.
181
182 2020-01-31 Nick Clifton <nickc@redhat.com>
183
184 * po/sv.po: Updated Swedish translation.
185
186 2020-01-28 Nick Clifton <nickc@redhat.com>
187
188 * readelf.c (get_build_id): Simplify warning message about corrupt
189 notes encountered whilst scanning for the build-id.
190
191 2020-01-27 Roland McGrath <mcgrathr@google.com>
192
193 * objcopy.c (compare_gnu_build_notes): Fix comparison results
194 for overlapping ranges so that (A == B) == (B == A) holds.
195
196 2020-01-27 Alan Modra <amodra@gmail.com>
197
198 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
199 case statement with switch statement.
200
201 2020-01-24 Nick Clifton <nickc@redhat.com>
202
203 * readelf.c (get_build_id): Fix warning messages about corrupt
204 notes.
205
206 2020-01-23 Nick Clifton <nickc@redhat.com>
207
208 * po/fr.po: Updated French translation.
209
210 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
211
212 PR 25417
213 * readelf.c (get_alpha_symbol_other): Fix error message typo.
214
215 2020-01-20 Nick Clifton <nickc@redhat.com>
216
217 * po/pt.po: Updated Portuguese translation.
218 * po/uk.po: Updated Ukranian translation.
219
220 2020-01-18 Nick Clifton <nickc@redhat.com>
221
222 * README-how-to-make-a-release: Update notes on how to cut a
223 branch for a release.
224
225 2020-01-18 Nick Clifton <nickc@redhat.com>
226
227 * configure: Regenerate.
228 * po/binutils.pot: Regenerate.
229
230 2020-01-18 Nick Clifton <nickc@redhat.com>
231
232 Binutils 2.34 branch created.
233
234 2020-01-17 Thomas Troeger <tstroege@gmx.de>
235
236 * objdump.c (jump_info_visualize_address): Discard jumps that are
237 no longer needed.
238 (disassemble_bytes): Only compute the maximum level if jumps were
239 detected.
240
241 2020-01-13 Nick Clifton <nickc@redhat.com>
242
243 * objdump.c (disassemble_bytes): Remove C99-ism.
244 * testsuite/binutils-all/debuginfod.exp: New tests.
245
246 2020-01-13 Thomas Troeger <tstroege@gmx.de>
247
248 * objdump.c (visualize_jumps, color_output, extended_color_output)
249 (detected_jumps): New variables.
250 (usage): Add the new jump visualization options.
251 (option_values): Add new option value.
252 (long_options): Add the new option.
253 (jump_info_new, jump_info_free): New functions.
254 (jump_info_min_address, jump_info_max_address): Likewise.
255 (jump_info_end_address, jump_info_is_start_address): Likewise.
256 (jump_info_is_end_address, jump_info_size): Likewise.
257 (jump_info_unlink, jump_info_insert): Likewise.
258 (jump_info_add_front, jump_info_move_linked): Likewise.
259 (jump_info_intersect, jump_info_merge): Likewise.
260 (jump_info_sort, jump_info_visualize_address): Likewise.
261 (disassemble_jumps): New function - used to locate jumps.
262 (disassemble_bytes): Add ascii art generation.
263 (disassemble_section): Add scan to locate jumps.
264 (main): Parse the new visualization option.
265 * doc/binutils.texi: Document the new feature.
266 * NEWS: Mention the new feature.
267
268 2020-01-13 Alan Modra <amodra@gmail.com>
269
270 PR 25360
271 PR 25361
272 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
273 fde_fc col_type and col_offset.
274 * readelf.c (apply_relocations): Move symsec check earlier.
275 (free_debug_section): Free reloc_info.
276 (process_notes_at): Free pnotes on error path.
277 (process_object): Free dump_sects here..
278 (process_archive): ..not here.
279
280 2020-01-13 Alan Modra <amodra@gmail.com>
281
282 PR 25362
283 * nm.c (display_rel_file): Free dyn_syms.
284
285 2020-01-09 Nick Clifton <nickc@redhat.com>
286
287 PR 25220
288 * objcopy.c (empty_name): New variable.
289 (need_sym_before): Prevent an attempt to free a static variable.
290 (filter_symbols): Avoid strcmp test by checking for pointer
291 equality.
292
293 2020-01-09 Nick Clifton <nickc@redhat.com>
294
295 * po/zh_TW.po: Updated Traditional Chinese translation.
296
297 2020-01-09 Aaron Merey <amerey@redhat.com>
298
299 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
300 * Makefile.in: Regenerate.
301 * NEWS: Update.
302 * config.in: Regenerate.
303 * configure: Regenerate.
304 * configure.ac: Call AC_DEBUGINFOD.
305 * doc/Makefile.in: Regenerate.
306 * doc/binutils.texi: Add section on using binutils
307 with debuginfod.
308 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
309 Query debuginfod servers for the target debug file.
310 (load_separate_debug_info): Call
311 debuginfod_fetch_separate_debug_info if configured with
312 debuginfod.
313 (load_separate_debug_files): Add file argument to
314 load_separate_debug_info calls.
315 * dwarf.h (get_build_id): Add declaration.
316 * objdump.c (get_build_id): New function. Get build-id of file.
317 * readelf.c (get_build_id): Likewise.
318 * testsuite/binutils-all/debuginfod.exp: New tests.
319 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
320 section.
321
322 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
323
324 * readelf.c: Add support for new Z*) relocations and machine
325 types.
326
327 2020-01-01 Alan Modra <amodra@gmail.com>
328
329 Update year range in copyright notice of all files.
330
331 For older changes see ChangeLog-2019
332 \f
333 Copyright (C) 2020 Free Software Foundation, Inc.
334
335 Copying and distribution of this file, with or without modification,
336 are permitted in any medium without royalty provided the copyright
337 notice and this notice are preserved.
338
339 Local Variables:
340 mode: change-log
341 left-margin: 8
342 fill-column: 74
343 version-control: never
344 End: