objdump disassembly of files without symbols
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
41da0822
AM
12020-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
95099889
AM
72020-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
a15de1f5
L
172020-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
9979ab66
SM
222020-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
a0dcf297
NC
282020-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
a9b90127
AM
372020-03-06 Alan Modra <amodra@gmail.com>
38
39 PR 25637
40 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
41
d1faf7ca
AM
422020-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
eef64366
CE
482020-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
5be2b2f5
NC
532020-03-03 Nick Clifton <nickc@redhat.com>
54
55 PR 25625
56 * prdbg.c (pr_tag_type): Remove call to abort.
57
b312fea1
AM
582020-03-02 Aaron Merey <amerey@redhat.com>
59
60 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
61 selection.
62
ba3265d0
NC
632020-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
736990c4
NC
722020-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
dc1e8a47
AM
782020-02-26 Alan Modra <amodra@gmail.com>
79
80 * elfedit.c: Indent labels correctly.
81 * readelf.c: Likewise.
82 * resres.c: Likewise.
83
ecda9016
L
842020-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
83d4d556
NC
902020-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
bd0cf5a6
NC
962020-02-20 Nelson Chu <nelson.chu@sifive.com>
97
98 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
99 is changed.
100
741cb839
EC
1012020-02-19 Jordan Rupprecht <rupprecht@google.com>
102
103 * objdump.c (show_line): call bfd_demangle when using do_demangle.
104
9f1528a1
AB
1052020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
106
107 * configure: Regenerate.
108
3a5d12fb
FS
1092020-02-10 Fangrui Song <maskray@google.com>
110
111 * objcopy.c (parse_flags): Handle "exclude".
112 * doc/binutils.texi: Document the support.
113
678d457f
AM
1142020-02-10 Aaron Merey <amerey@redhat.com>
115
116 * binutils/testsuite/binutils-all/debuginfod.exp:
117 Replace set ::env with setenv.
46471187
AM
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.
678d457f 122
e8319fde
NC
1232020-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
9fc0b501
SB
1282020-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
e1104d08
NC
1342020-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
c2e6f744 1392020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
140
141 * objdump.c (print_jump_visualisation): New function.
142 (disassemble_bytes): Call new function.
143
02e0be69
AM
1442020-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
e8b79122
AM
1522020-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
27a45f42
AS
1582020-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
0b398d69
ST
1652020-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
a8c4d40b
L
1712020-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
cb6ad9bb
NC
1772020-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
53943f32
NC
1822020-01-31 Nick Clifton <nickc@redhat.com>
183
184 * po/sv.po: Updated Swedish translation.
185
55be8fd0
NC
1862020-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
82ef9cad
RM
1912020-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
e3696f67
AM
1962020-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
2f796de6
NC
2012020-01-24 Nick Clifton <nickc@redhat.com>
202
203 * readelf.c (get_build_id): Fix warning messages about corrupt
204 notes.
205
24e648d4
NC
2062020-01-23 Nick Clifton <nickc@redhat.com>
207
208 * po/fr.po: Updated French translation.
209
c48acf6f
YC
2102020-01-22 Yuri Chornoivan <yurchor@mageia.org>
211
212 PR 25417
213 * readelf.c (get_alpha_symbol_other): Fix error message typo.
214
26916852
NC
2152020-01-20 Nick Clifton <nickc@redhat.com>
216
217 * po/pt.po: Updated Portuguese translation.
218 * po/uk.po: Updated Ukranian translation.
219
b248e9ce
NC
2202020-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
1b1bb2c6
NC
2252020-01-18 Nick Clifton <nickc@redhat.com>
226
227 * configure: Regenerate.
228 * po/binutils.pot: Regenerate.
229
ae774686
NC
2302020-01-18 Nick Clifton <nickc@redhat.com>
231
232 Binutils 2.34 branch created.
233
82a9ed20
TT
2342020-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
6a1939f5
NC
2412020-01-13 Nick Clifton <nickc@redhat.com>
242
c87c17c1 243 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
244 * testsuite/binutils-all/debuginfod.exp: New tests.
245
1d67fe3b
TT
2462020-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
a788aedd
AM
2682020-01-13 Alan Modra <amodra@gmail.com>
269
a4f2b7c5
AM
270 PR 25360
271 PR 25361
a788aedd
AM
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
805f38bc
AM
2802020-01-13 Alan Modra <amodra@gmail.com>
281
282 PR 25362
283 * nm.c (display_rel_file): Free dyn_syms.
284
ffebb0bb
NC
2852020-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
ade4fd9b
NC
2932020-01-09 Nick Clifton <nickc@redhat.com>
294
295 * po/zh_TW.po: Updated Traditional Chinese translation.
296
2972020-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
6655dba2
SB
3222020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
323
324 * readelf.c: Add support for new Z*) relocations and machine
325 types.
326
b14ce8bf
AM
3272020-01-01 Alan Modra <amodra@gmail.com>
328
329 Update year range in copyright notice of all files.
330
0b114740 331For older changes see ChangeLog-2019
3499769a 332\f
0b114740 333Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
334
335Copying and distribution of this file, with or without modification,
336are permitted in any medium without royalty provided the copyright
337notice and this notice are preserved.
338
339Local Variables:
340mode: change-log
341left-margin: 8
342fill-column: 74
343version-control: never
344End:
This page took 0.264033 seconds and 4 git commands to generate.