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