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