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