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