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