Commit | Line | Data |
---|---|---|
1bd6175a AM |
1 | 2020-03-14 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * readelf.c (process_file): Clean ba_cache. | |
4 | ||
780f96ae AM |
5 | 2020-03-14 Alan Modra <amodra@gmail.com> |
6 | ||
7 | * elfcomm.h (setup_archive): Update prototype. | |
8 | * elfcomm.c (setup_archive): Add file_size parameter and sanity | |
9 | check longnames_size. | |
10 | (setup_nested_archive): Get file size and pass to setup_archive. | |
11 | * elfedit.c (process_archive): Likewise. | |
12 | * readelf.c (process_archive): Pass filedata->file_size to | |
13 | setup_archive. | |
14 | ||
f761cb13 AM |
15 | 2020-03-14 Alan Modra <amodra@gmail.com> |
16 | ||
17 | * readelf.c (dump_section_as_strings): Free memory on error exit. | |
18 | (dump_section_as_bytes, process_notes_at): Likewise. | |
19 | (get_build_id): Free enote. | |
20 | ||
06d949ec KR |
21 | 2020-03-13 Kamil Rytarowski <n54@gmx.com> |
22 | ||
23 | * readelf.c (get_netbsd_elfcore_note_type): Add support for | |
24 | NT_NETBSDCORE_LWPSTATUS notes. | |
25 | ||
fd486f32 AM |
26 | 2020-03-13 Alan Modra <amodra@gmail.com> |
27 | ||
28 | * elfcomm.c (get_archive_member_name): Always return malloc'd | |
29 | string or NULL. | |
30 | * elfedit.c (process_archive): Tidy memory on all return paths. | |
31 | * readelf.c (process_archive): Likewise. | |
32 | (process_symbol_table): Likewise. | |
33 | (ba_cache): New, replacing .. | |
34 | (get_symbol_for_build_attribute): ..static vars here. Free | |
35 | strtab and symtab before loading new ones. Reject symtab without | |
36 | valid strtab in loop, breaking out of loop on valid symtab. | |
37 | (process_file): Free ba_cache symtab and strtab here, resetting | |
38 | ba_cache. | |
39 | ||
8fb879cd AM |
40 | 2020-03-12 Alan Modra <amodra@gmail.com> |
41 | ||
42 | * readelf.c (process_section_headers): Don't just set | |
43 | filedata->section_headers NULL, free it first. Similarly for | |
44 | dynamic_symbols, dynamic_strings, dynamic_syminfo and | |
45 | symtab_shndx_list. Zero associated counts too. | |
46 | (process_object): Free symtab_shndx_list. | |
47 | (process_file): Free various allocated filedata tables. | |
48 | ||
5496f3c6 NC |
49 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
50 | ||
51 | PR 25611 | |
52 | PR 25614 | |
53 | * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and | |
54 | li_segment_size fields. | |
55 | * dwarf.c (read_debug_line_header): Record the address size and | |
56 | segment selector size values (if present) in the lineinfo | |
57 | structure. | |
58 | (display_formatted_table): Warn if the format count is empty but | |
59 | the table itself is not empty. | |
60 | Display the format count and entry count at the start of the table | |
61 | dump. | |
62 | (display_debug_lines_raw): Display the address size and segement | |
63 | selector size fields, if present. | |
64 | * testsuite/binutils-all/dw5.W: Update expected output. | |
65 | ||
9cc89dc0 AM |
66 | 2020-03-11 Alan Modra <amodra@gmail.com> |
67 | ||
68 | PR 25651 | |
69 | * objcopy.c (copy_object): Test "gaps" not gap_fill_set or | |
70 | pad_to_set on second block of code dealing with padding. | |
71 | Replace "c" with "num_sec" and don't recalculate number of | |
72 | sections on second block. Size arrays using sizeof (element) | |
73 | rather than sizeof (element type). | |
74 | ||
41da0822 AM |
75 | 2020-03-10 Alan Modra <amodra@gmail.com> |
76 | ||
77 | * objdump.c (disassemble_section): Don't call qsort unless | |
78 | sym count is at least two. | |
79 | (disassemble_data): Don't call memcpy with NULL src. | |
80 | ||
95099889 AM |
81 | 2020-03-09 Alan Modra <amodra@gmail.com> |
82 | ||
83 | PR 25645 | |
84 | * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb | |
85 | to get_data rather than multiplying. | |
86 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
87 | (process_version_sections): Correct order of size and nmemb args | |
88 | in get_data call. | |
89 | (process_mips_specific): Likewise. | |
90 | ||
a15de1f5 L |
91 | 2020-03-08 H.J. Lu <hongjiu.lu@intel.com> |
92 | ||
93 | * readelf.c (get_dynamic_data): Replace "memory chekers" with | |
94 | "memory checkers" in comments. | |
95 | ||
9979ab66 SM |
96 | 2020-03-06 Simon Marchi <simon.marchi@efficios.com> |
97 | ||
98 | PR 25491 | |
99 | * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. | |
100 | * doc/Makefile.in: Re-generate. | |
101 | ||
a0dcf297 NC |
102 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
103 | ||
104 | * objcopy.c (check_new_section_flags): New function. Reject the | |
105 | SEC_COFF_SHARED flag if the target is not a COFF binary. | |
106 | (copy_object): Call check_new_section_flags. | |
107 | (setup_section): Likewise. | |
108 | * doc/binutils.texi (objcopy): Add a note that the 'share' section | |
109 | flag cannot be applied to ELF binaries. | |
110 | ||
a9b90127 AM |
111 | 2020-03-06 Alan Modra <amodra@gmail.com> |
112 | ||
113 | PR 25637 | |
114 | * objcopy.c (filter_symbols): Correct rem_leading_char logic. | |
115 | ||
d1faf7ca AM |
116 | 2020-03-05 Alan Modra <amodra@gmail.com> |
117 | ||
118 | PR 25629 | |
119 | * objcopy.c (filter_symbols): Don't segfault on NULL | |
120 | prefix_symbols_string. | |
121 | ||
eef64366 CE |
122 | 2020-03-04 Christian Eggers <ceggers@gmx.de> |
123 | ||
124 | * objcopy.c (copy_object): Convert from bytes to octets for | |
125 | --gap-fill and --pad-to. | |
126 | ||
5be2b2f5 NC |
127 | 2020-03-03 Nick Clifton <nickc@redhat.com> |
128 | ||
129 | PR 25625 | |
130 | * prdbg.c (pr_tag_type): Remove call to abort. | |
131 | ||
b312fea1 AM |
132 | 2020-03-02 Aaron Merey <amerey@redhat.com> |
133 | ||
134 | * binutils/testsuite/binutils-all/debuginfod.exp: Improve port | |
135 | selection. | |
136 | ||
ba3265d0 NC |
137 | 2020-03-02 Nick Clifton <nickc@redhat.com> |
138 | ||
139 | PR 25543 | |
140 | * readelf.c (dump_section_as_strings): Display new-line characters | |
141 | as \n and then insert a line break. | |
142 | * testsuite/binutils-all/pr25543.s: New test. | |
143 | * testsuite/binutils-all/pr25543.d: Test driver. | |
144 | * testsuite/binutils-all/readelf.exp: Run the new test. | |
145 | ||
736990c4 NC |
146 | 2020-02-27 Nick Clifton <nickc@redhat.com> |
147 | ||
148 | PR 25526 | |
149 | * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if | |
150 | get_data is unable to load the string table. | |
151 | ||
dc1e8a47 AM |
152 | 2020-02-26 Alan Modra <amodra@gmail.com> |
153 | ||
154 | * elfedit.c: Indent labels correctly. | |
155 | * readelf.c: Likewise. | |
156 | * resres.c: Likewise. | |
157 | ||
ecda9016 L |
158 | 2020-02-25 H.J. Lu <hongjiu.lu@intel.com> |
159 | ||
160 | PR binutils/25584 | |
161 | * ar.c (main): Pass 0 to bfd_plugin_set_program_name. | |
162 | * nm.c (main): Pass 1 to bfd_plugin_set_program_name. | |
163 | ||
83d4d556 NC |
164 | 2020-02-24 Nick Clifton <nickc@redhat.com> |
165 | ||
166 | PR 25499 | |
167 | * doc/binutils.texi (objdump): Fix typo in description of | |
168 | objdump's -g option. | |
169 | ||
bd0cf5a6 NC |
170 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
171 | ||
172 | * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR | |
173 | is changed. | |
174 | ||
741cb839 EC |
175 | 2020-02-19 Jordan Rupprecht <rupprecht@google.com> |
176 | ||
177 | * objdump.c (show_line): call bfd_demangle when using do_demangle. | |
178 | ||
9f1528a1 AB |
179 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
180 | ||
181 | * configure: Regenerate. | |
182 | ||
3a5d12fb FS |
183 | 2020-02-10 Fangrui Song <maskray@google.com> |
184 | ||
185 | * objcopy.c (parse_flags): Handle "exclude". | |
186 | * doc/binutils.texi: Document the support. | |
187 | ||
678d457f AM |
188 | 2020-02-10 Aaron Merey <amerey@redhat.com> |
189 | ||
190 | * binutils/testsuite/binutils-all/debuginfod.exp: | |
191 | Replace set ::env with setenv. | |
46471187 AM |
192 | Start server before setting environment variable. |
193 | Specify tmpdir as the location of the server's | |
194 | database. | |
195 | Check additional server metrics at start-up. | |
678d457f | 196 | |
e8319fde NC |
197 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
198 | ||
199 | * README-how-to-make-a-release: Add note about updating the | |
200 | GAS/NEWS URL in the next release. | |
201 | ||
9fc0b501 SB |
202 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
203 | ||
204 | PR 25469 | |
205 | * readelf.c (get_machine_flags): Add support for Z80N machine | |
206 | number. | |
207 | ||
e1104d08 NC |
208 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
209 | ||
210 | * dwarf.c (display_debug_lines_decoded): Force a NUL termination | |
211 | of the truncated file name. | |
212 | ||
c2e6f744 | 213 | 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com> |
ece12829 TT |
214 | |
215 | * objdump.c (print_jump_visualisation): New function. | |
216 | (disassemble_bytes): Call new function. | |
217 | ||
02e0be69 AM |
218 | 2020-02-06 Alan Modra <amodra@gmail.com> |
219 | ||
220 | * testsuite/lib/binutils-common.exp (match_target): Accept '!' before | |
221 | TCL procedure. | |
222 | (supports_gnu_osabi): New procedure. | |
223 | (is_generic): New, from ld-lib.exp. | |
224 | (supports_gnu_unique): Use the above. | |
225 | ||
e8b79122 AM |
226 | 2020-02-04 Alan Modra <amodra@gmail.com> |
227 | ||
228 | * Makefile.am (CFILES): Add od-elf32_avr.c. | |
229 | * Makefile.in: Regenerate. | |
230 | * po/POTFILES.in: Regenerate. | |
231 | ||
27a45f42 AS |
232 | 2020-02-03 Andreas Schwab <schwab@linux-m68k.org> |
233 | ||
234 | * readelf.c (dump_relocations, dump_relocations) | |
235 | (decode_arm_unwind_bytecode, process_dynamic_section) | |
236 | (get_symbol_visibility, get_alpha_symbol_other): Add newline to | |
237 | error message. | |
238 | ||
0b398d69 ST |
239 | 2020-02-03 Sergei Trofimovich <siarheit@google.com> |
240 | ||
241 | * coffdump.c (program_name): Drop redundant definition. | |
242 | * srconv.c (program_name): Likewise | |
243 | * sysdump.c (program_name): Likewise | |
244 | ||
a8c4d40b L |
245 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
246 | ||
247 | PR gas/25380 | |
248 | * objdump.c (sym_ok): Return FALSE if 2 sections are in the | |
249 | same file with different section pointers. | |
250 | ||
cb6ad9bb NC |
251 | 2020-02-01 Nick Clifton <nickc@redhat.com> |
252 | ||
253 | * README-how-to-make-a-release: Update with more details on the | |
254 | release making process. | |
255 | ||
53943f32 NC |
256 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
257 | ||
258 | * po/sv.po: Updated Swedish translation. | |
259 | ||
55be8fd0 NC |
260 | 2020-01-28 Nick Clifton <nickc@redhat.com> |
261 | ||
262 | * readelf.c (get_build_id): Simplify warning message about corrupt | |
263 | notes encountered whilst scanning for the build-id. | |
264 | ||
82ef9cad RM |
265 | 2020-01-27 Roland McGrath <mcgrathr@google.com> |
266 | ||
267 | * objcopy.c (compare_gnu_build_notes): Fix comparison results | |
268 | for overlapping ranges so that (A == B) == (B == A) holds. | |
269 | ||
e3696f67 AM |
270 | 2020-01-27 Alan Modra <amodra@gmail.com> |
271 | ||
272 | * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace | |
273 | case statement with switch statement. | |
274 | ||
2f796de6 NC |
275 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
276 | ||
277 | * readelf.c (get_build_id): Fix warning messages about corrupt | |
278 | notes. | |
279 | ||
24e648d4 NC |
280 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
281 | ||
282 | * po/fr.po: Updated French translation. | |
283 | ||
c48acf6f YC |
284 | 2020-01-22 Yuri Chornoivan <yurchor@mageia.org> |
285 | ||
286 | PR 25417 | |
287 | * readelf.c (get_alpha_symbol_other): Fix error message typo. | |
288 | ||
26916852 NC |
289 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
290 | ||
291 | * po/pt.po: Updated Portuguese translation. | |
292 | * po/uk.po: Updated Ukranian translation. | |
293 | ||
b248e9ce NC |
294 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
295 | ||
296 | * README-how-to-make-a-release: Update notes on how to cut a | |
297 | branch for a release. | |
298 | ||
1b1bb2c6 NC |
299 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
300 | ||
301 | * configure: Regenerate. | |
302 | * po/binutils.pot: Regenerate. | |
303 | ||
ae774686 NC |
304 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
305 | ||
306 | Binutils 2.34 branch created. | |
307 | ||
82a9ed20 TT |
308 | 2020-01-17 Thomas Troeger <tstroege@gmx.de> |
309 | ||
310 | * objdump.c (jump_info_visualize_address): Discard jumps that are | |
311 | no longer needed. | |
312 | (disassemble_bytes): Only compute the maximum level if jumps were | |
313 | detected. | |
314 | ||
6a1939f5 NC |
315 | 2020-01-13 Nick Clifton <nickc@redhat.com> |
316 | ||
c87c17c1 | 317 | * objdump.c (disassemble_bytes): Remove C99-ism. |
6a1939f5 NC |
318 | * testsuite/binutils-all/debuginfod.exp: New tests. |
319 | ||
1d67fe3b TT |
320 | 2020-01-13 Thomas Troeger <tstroege@gmx.de> |
321 | ||
322 | * objdump.c (visualize_jumps, color_output, extended_color_output) | |
323 | (detected_jumps): New variables. | |
324 | (usage): Add the new jump visualization options. | |
325 | (option_values): Add new option value. | |
326 | (long_options): Add the new option. | |
327 | (jump_info_new, jump_info_free): New functions. | |
328 | (jump_info_min_address, jump_info_max_address): Likewise. | |
329 | (jump_info_end_address, jump_info_is_start_address): Likewise. | |
330 | (jump_info_is_end_address, jump_info_size): Likewise. | |
331 | (jump_info_unlink, jump_info_insert): Likewise. | |
332 | (jump_info_add_front, jump_info_move_linked): Likewise. | |
333 | (jump_info_intersect, jump_info_merge): Likewise. | |
334 | (jump_info_sort, jump_info_visualize_address): Likewise. | |
335 | (disassemble_jumps): New function - used to locate jumps. | |
336 | (disassemble_bytes): Add ascii art generation. | |
337 | (disassemble_section): Add scan to locate jumps. | |
338 | (main): Parse the new visualization option. | |
339 | * doc/binutils.texi: Document the new feature. | |
340 | * NEWS: Mention the new feature. | |
341 | ||
a788aedd AM |
342 | 2020-01-13 Alan Modra <amodra@gmail.com> |
343 | ||
a4f2b7c5 AM |
344 | PR 25360 |
345 | PR 25361 | |
a788aedd AM |
346 | * dwarf.c (display_debug_frames): Move fde_fc earlier. Free |
347 | fde_fc col_type and col_offset. | |
348 | * readelf.c (apply_relocations): Move symsec check earlier. | |
349 | (free_debug_section): Free reloc_info. | |
350 | (process_notes_at): Free pnotes on error path. | |
351 | (process_object): Free dump_sects here.. | |
352 | (process_archive): ..not here. | |
353 | ||
805f38bc AM |
354 | 2020-01-13 Alan Modra <amodra@gmail.com> |
355 | ||
356 | PR 25362 | |
357 | * nm.c (display_rel_file): Free dyn_syms. | |
358 | ||
ffebb0bb NC |
359 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
360 | ||
361 | PR 25220 | |
362 | * objcopy.c (empty_name): New variable. | |
363 | (need_sym_before): Prevent an attempt to free a static variable. | |
364 | (filter_symbols): Avoid strcmp test by checking for pointer | |
365 | equality. | |
366 | ||
ade4fd9b NC |
367 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
368 | ||
369 | * po/zh_TW.po: Updated Traditional Chinese translation. | |
370 | ||
371 | 2020-01-09 Aaron Merey <amerey@redhat.com> | |
372 | ||
373 | * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod. | |
374 | * Makefile.in: Regenerate. | |
375 | * NEWS: Update. | |
376 | * config.in: Regenerate. | |
377 | * configure: Regenerate. | |
378 | * configure.ac: Call AC_DEBUGINFOD. | |
379 | * doc/Makefile.in: Regenerate. | |
380 | * doc/binutils.texi: Add section on using binutils | |
381 | with debuginfod. | |
382 | * dwarf.c (debuginfod_fetch_separate_debug_info): New function. | |
383 | Query debuginfod servers for the target debug file. | |
384 | (load_separate_debug_info): Call | |
385 | debuginfod_fetch_separate_debug_info if configured with | |
386 | debuginfod. | |
387 | (load_separate_debug_files): Add file argument to | |
388 | load_separate_debug_info calls. | |
389 | * dwarf.h (get_build_id): Add declaration. | |
390 | * objdump.c (get_build_id): New function. Get build-id of file. | |
391 | * readelf.c (get_build_id): Likewise. | |
392 | * testsuite/binutils-all/debuginfod.exp: New tests. | |
393 | * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id | |
394 | section. | |
395 | ||
6655dba2 SB |
396 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
397 | ||
398 | * readelf.c: Add support for new Z*) relocations and machine | |
399 | types. | |
400 | ||
b14ce8bf AM |
401 | 2020-01-01 Alan Modra <amodra@gmail.com> |
402 | ||
403 | Update year range in copyright notice of all files. | |
404 | ||
0b114740 | 405 | For older changes see ChangeLog-2019 |
3499769a | 406 | \f |
0b114740 | 407 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
408 | |
409 | Copying and distribution of this file, with or without modification, | |
410 | are permitted in any medium without royalty provided the copyright | |
411 | notice and this notice are preserved. | |
412 | ||
413 | Local Variables: | |
414 | mode: change-log | |
415 | left-margin: 8 | |
416 | fill-column: 74 | |
417 | version-control: never | |
418 | End: |