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