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