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