| 1 | 2019-06-28 Nick Clifton <nickc@redhat.com> |
| 2 | |
| 3 | PR 24707 |
| 4 | * objdump.c (slurp_symtab): Fail with a helpful error message if |
| 5 | the symbol table is too large. Skip this check for MMO format |
| 6 | files. |
| 7 | |
| 8 | 2019-06-26 Nick Clifton <nickc@redhat.com> |
| 9 | |
| 10 | PR 24703 |
| 11 | * bucomm.c (bfd_nonfatal): If no bfd error code has been set then |
| 12 | indicate this in the output. |
| 13 | (bfd_nonfatal_message): Likewise. |
| 14 | |
| 15 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
| 16 | |
| 17 | * readelf.c (dump_ctf_indent_lines): Rename local variable |
| 18 | "spaces" to "blanks". |
| 19 | |
| 20 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
| 21 | |
| 22 | * objdump.c (dump_ctf_indent_lines): Rename local variable |
| 23 | "spaces" to "blanks". |
| 24 | |
| 25 | 2019-06-14 Alan Modra <amodra@gmail.com> |
| 26 | |
| 27 | * Makefile.in: Regenerate. |
| 28 | * aclocal.m4: Regenerate. |
| 29 | * doc/Makefile.in: Regenerate. |
| 30 | |
| 31 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
| 32 | |
| 33 | PR 24663 |
| 34 | * readelf.c (process_netbsd_elf_note): Add support for |
| 35 | NT_NETBSD_PAX. |
| 36 | (process_note): Add support for PaX notes. |
| 37 | |
| 38 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
| 39 | |
| 40 | PR 24665 |
| 41 | * readelf.c (get_netbsd_elfcore_note_type): Add support for SH |
| 42 | core notes. |
| 43 | |
| 44 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
| 45 | |
| 46 | PR 24664 |
| 47 | * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD |
| 48 | auxv notes. |
| 49 | |
| 50 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
| 51 | |
| 52 | PR 24662 |
| 53 | * readelf.c (get_alpha_symbol_other): New function. |
| 54 | (get_symbol_other): Use for Alpha symbols. |
| 55 | (is_32bit_pcrel_reloc): Add R_VAX_PCREL32. |
| 56 | |
| 57 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
| 58 | |
| 59 | PR 24661 |
| 60 | * readelf.c (decode_arm_unwind): Ensure that the local variable |
| 61 | 'addr' is always initialised. |
| 62 | |
| 63 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
| 64 | |
| 65 | PR 24651 |
| 66 | * strings.c (print_strings): Use %u to print unsigned values in |
| 67 | decimal. |
| 68 | |
| 69 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
| 70 | |
| 71 | PR 24649 |
| 72 | * arsup.c (ar_open): Use asprintf in place of xmalloc and |
| 73 | sprintf. |
| 74 | |
| 75 | 2019-06-03 Nick Clifton <nickc@redhat.com> |
| 76 | |
| 77 | Revert: |
| 78 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
| 79 | |
| 80 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based |
| 81 | targets. |
| 82 | (HAVE_LIBCTF): Define if libctf support is available. |
| 83 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. |
| 84 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being |
| 85 | defined. |
| 86 | * readelf.c: Likewise. |
| 87 | * configure: Regenerate. |
| 88 | * Makefile.in: Regenerate. |
| 89 | * config.in: Regenerate. |
| 90 | |
| 91 | 2019-05-30 Nick Alcock <nick.alcock@oracle.com> |
| 92 | |
| 93 | * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and |
| 94 | cts_offset. |
| 95 | * readelf.c (shdr_to_ctf_sect): Likewise. |
| 96 | |
| 97 | 2019-05-30 Nick Clifton <nickc@redhat.com> |
| 98 | |
| 99 | PR 24627 |
| 100 | * readelf.c (process_version_sections): Add 0x prefix to address |
| 101 | display. Correct indentation. |
| 102 | |
| 103 | 2019-05-30 Alan Modra <amodra@gmail.com> |
| 104 | |
| 105 | * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add |
| 106 | s12z to targets not supporting this feature. |
| 107 | |
| 108 | 2019-05-30 Alan Modra <amodra@gmail.com> |
| 109 | |
| 110 | * testsuite/lib/binutils-common.exp (run_dump_test): Support |
| 111 | tcl procedures for xfail args. |
| 112 | |
| 113 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
| 114 | |
| 115 | * README-how-to-make-a-release: Add libctf to list of directories |
| 116 | that need updates in their ChangeLogs. |
| 117 | |
| 118 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
| 119 | |
| 120 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based |
| 121 | targets. |
| 122 | (HAVE_LIBCTF): Define if libctf support is available. |
| 123 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. |
| 124 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being |
| 125 | defined. |
| 126 | * readelf.c: Likewise. |
| 127 | * configure: Regenerate. |
| 128 | * Makefile.in: Regenerate. |
| 129 | * config.in: Regenerate. |
| 130 | |
| 131 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
| 132 | |
| 133 | * MAINTAINERS: Add myself as CTF maintainer. |
| 134 | |
| 135 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
| 136 | |
| 137 | * objdump.c (ctf-api.h): New include. |
| 138 | (dump_ctf_section_info): New variable. |
| 139 | (dump_ctf_section_name): Likewise. |
| 140 | (usage): Describe new options. |
| 141 | (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT. |
| 142 | (main): Use them to add --ctf and --ctf-parent. |
| 143 | (read_section_stabs): Add new parameter, entsize_ptr. |
| 144 | (find_stabs_section): Adjust accordingly. |
| 145 | (make_ctfsect): New. |
| 146 | (dump_ctf_indent_lines): New. |
| 147 | (dump_ctf_archive_member): New. |
| 148 | (dump_ctf): New. |
| 149 | (dump_bfd): Call it. Free resources afterwards. |
| 150 | * readelf.c (ctf-api.h): New include. |
| 151 | (CTF_DUMP): New. |
| 152 | (static bfd_boolean do_ctf): Likewise. |
| 153 | (dump_ctf_parent_name): Likewise. |
| 154 | (dump_ctf_symtab_name): Likewise. |
| 155 | (dump_ctf_strtab_name): Likewise. |
| 156 | (OPTION_CTF_DUMP): Likewise. |
| 157 | (OPTION_CTF_PARENT): Likewise. |
| 158 | (OPTION_CTF_SYMBOLS): Likewise. |
| 159 | (OPTION_CTF_STRINGS): Likewise. |
| 160 | (options): Add them. |
| 161 | (usage): Likewise. |
| 162 | (parse_args): Handle the new options, requesting CTF_DUMP. |
| 163 | (process_section_contents): Handle CTF_DUMP. |
| 164 | (shdr_to_ctf_sect): New. |
| 165 | (dump_ctf_indent_lines): New. |
| 166 | (dump_section_as_ctf): New. |
| 167 | (main): Free resources. |
| 168 | * Makefile.am (LIBCTF): New variable. |
| 169 | (objdump_DEPENDENCIES): Use it. |
| 170 | (readelf_DEPENDENCIES): Likewise. |
| 171 | (objdump_LDADD): Likewise. |
| 172 | (readelf_LDADD): Likewise. |
| 173 | * aclocal.m4: Regenerated. |
| 174 | * Makefile.in: Likewise. |
| 175 | |
| 176 | * doc/binutils.texi (objdump): Document the new options. |
| 177 | (readelf): Likewise. |
| 178 | * doc/ctf.options.texi: New. |
| 179 | * doc/Makefile.in: Regenerated. |
| 180 | * NEWS: Mention the new feature. |
| 181 | |
| 182 | 2019-05-27 Alan Modra <amodra@gmail.com> |
| 183 | |
| 184 | * readelf.c (process_section_groups): Continue processing groups |
| 185 | when sh_entsize exceeds group size. |
| 186 | |
| 187 | 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com> |
| 188 | |
| 189 | * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS. |
| 190 | (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS. |
| 191 | (get_symbol_other): Call get_aarch64_symbol_other. |
| 192 | |
| 193 | 2019-05-24 Alan Modra <amodra@gmail.com> |
| 194 | |
| 195 | * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags. |
| 196 | |
| 197 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
| 198 | |
| 199 | * MAINTAINERS: Add myself as the maintainer for BPF. |
| 200 | |
| 201 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
| 202 | |
| 203 | * readelf.c: Include elf/bpf.h. |
| 204 | (guess_is_rela): Hanle EM_BPF. |
| 205 | (dump_relocations): Likewise. |
| 206 | (is_32bit_abs_reloc): Likewise. |
| 207 | * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of |
| 208 | ELF targets. |
| 209 | |
| 210 | 2019-05-21 Tamar Christina <tamar.christina@arm.com> |
| 211 | |
| 212 | * dwarf.c (dwarf_regnames_aarch64): Add SVE registers. |
| 213 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test. |
| 214 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test. |
| 215 | |
| 216 | 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com> |
| 217 | |
| 218 | PR 14798 |
| 219 | * testsuite/binutils-all/readelf.ss-mips: Update reference output. |
| 220 | * testsuite/binutils-all/readelf.ss-tmips: Likewise. |
| 221 | |
| 222 | 2019-05-20 Nick Clifton <nickc@redhat.com> |
| 223 | |
| 224 | * po/ca.po: Updated Catalan translation. |
| 225 | |
| 226 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
| 227 | |
| 228 | * NEWS: Mention Armv8.1-M Mainline and MVE. |
| 229 | |
| 230 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
| 231 | |
| 232 | * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values. |
| 233 | (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch. |
| 234 | |
| 235 | 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com> |
| 236 | |
| 237 | PR 19921 |
| 238 | * objcopy.c: Add new option --verilog-data-width. Use it to set |
| 239 | the value of VerilogDataWidth. |
| 240 | * doc/binutils.texi: Document the new option. |
| 241 | * testsuite/binutils-all/objcopy.exp: Run tests of new option. |
| 242 | * testsuite/binutils-all/verilog-1.hex: New file. |
| 243 | * testsuite/binutils-all/verilog-2.hex: New file. |
| 244 | * testsuite/binutils-all/verilog-4.hex: New file. |
| 245 | * testsuite/binutils-all/verilog-8.hex: New file. |
| 246 | * NEWS: Mention the new feature. |
| 247 | |
| 248 | 2019-05-10 Alan Modra <amodra@gmail.com> |
| 249 | |
| 250 | * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited), |
| 251 | (test_objdump_content_limited): Add text arg, use in place of .text. |
| 252 | (bintest_signed.o): Call get_standard_section_names for name of |
| 253 | text section. |
| 254 | |
| 255 | 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com> |
| 256 | |
| 257 | * objdump.c (sign_extend_address): New function. |
| 258 | (dump_bfd): Sign-extend user-specified start/stop addresses |
| 259 | for targets that need it. |
| 260 | * testsuite/binutils-all/objdump.exp: Add tests for objdump |
| 261 | with start and stop addresses in higher address ranges. |
| 262 | |
| 263 | 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com> |
| 264 | |
| 265 | * testsuite/binutils-all/objdump.exp: Correct executable |
| 266 | spelling. |
| 267 | * testsuite/binutils-all/compress.exp: Likewise. |
| 268 | |
| 269 | 2019-05-01 Nick Clifton <nickc@redhat.com> |
| 270 | |
| 271 | PR 24507 |
| 272 | * nm.c: (print_format): New variable. |
| 273 | (value_format_32bit, value_format_64bit): Delete. |
| 274 | (set_print_radix): Remove code to alter value_format strings. |
| 275 | (set_output_format): Record chosen format in print_format. |
| 276 | (get_print_format): New function - constructs a printf formatting |
| 277 | string according to the requirements of size, radix, and output |
| 278 | format. |
| 279 | (print_value): Use get_print_format. |
| 280 | * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix" |
| 281 | and "nm -t d". |
| 282 | |
| 283 | 2019-04-30 Alan Modra <amodra@gmail.com> |
| 284 | |
| 285 | * wrstabs.c (stab_start_class_type): Add assert to work around |
| 286 | gcc9 warning. Tidy. |
| 287 | |
| 288 | 2019-04-24 Nick Clifton <nickc@redhat.com> |
| 289 | |
| 290 | * objcopy.c (strip_main): Do not enable note merging by default if |
| 291 | just stripping debug or dwo information. |
| 292 | * doc/binutils.texi (strip): Update documentation. |
| 293 | |
| 294 | 2019-04-23 Nick Clifton <nickc@redhat.com> |
| 295 | |
| 296 | * README-how-to-make-a-release: Add note to update the symbolic |
| 297 | link from "docs" to "docs-2.x" on the sourceware website. |
| 298 | |
| 299 | 2019-04-16 Alan Modra <amodra@gmail.com> |
| 300 | |
| 301 | * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*. |
| 302 | * testsuite/binutils-all/copy-3.d: Likewise. |
| 303 | |
| 304 | 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> |
| 305 | |
| 306 | * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline. |
| 307 | |
| 308 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
| 309 | |
| 310 | * readelf.c (decode_x86_isa): Handle |
| 311 | GNU_PROPERTY_X86_ISA_1_AVX512_BF16. |
| 312 | * testsuite/binutils-all/i386/pr21231b.d: Updated. |
| 313 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. |
| 314 | |
| 315 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
| 316 | |
| 317 | * testsuite/binutils-all/nm.exp: Count i386-moss as ELF. |
| 318 | |
| 319 | 2019-03-26 Tamar Christina <tamar.christina@arm.com> |
| 320 | |
| 321 | * testsuite/binutils-all/aarch64/in-order-all.d: Update. |
| 322 | * testsuite/binutils-all/aarch64/in-order.d: Likewise. |
| 323 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. |
| 324 | * testsuite/binutils-all/aarch64/out-of-order.d: Likewise. |
| 325 | * testsuite/binutils-all/aarch64/out-of-order.s: Likewise. |
| 326 | * testsuite/binutils-all/arm/in-order-all.d: Likewise. |
| 327 | * testsuite/binutils-all/arm/in-order.d: Likewise. |
| 328 | * testsuite/binutils-all/arm/out-of-order-all.d: Likewise. |
| 329 | * testsuite/binutils-all/arm/out-of-order.d: Likewise. |
| 330 | * testsuite/binutils-all/arm/out-of-order.s: Likewise. |
| 331 | |
| 332 | 2019-03-26 Nick Clifton <nickc@redhat.com> |
| 333 | |
| 334 | * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30, |
| 335 | FRV and MEP. |
| 336 | |
| 337 | 2019-03-26 Alan Modra <amodra@gmail.com> |
| 338 | |
| 339 | * objdump.c (dump_relocs_in_section): Warning fix. |
| 340 | |
| 341 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
| 342 | |
| 343 | * testsuite/binutils-all/arm/in-order-all.d: New test. |
| 344 | * testsuite/binutils-all/arm/in-order.d: New test. |
| 345 | * testsuite/binutils-all/arm/objdump.exp: Support .d tests. |
| 346 | * testsuite/binutils-all/arm/out-of-order-all.d: New test. |
| 347 | * testsuite/binutils-all/arm/out-of-order.T: New test. |
| 348 | * testsuite/binutils-all/arm/out-of-order.d: New test. |
| 349 | * testsuite/binutils-all/arm/out-of-order.s: New test. |
| 350 | |
| 351 | |
| 352 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
| 353 | |
| 354 | * testsuite/binutils-all/aarch64/in-order-all.d: New test. |
| 355 | * testsuite/binutils-all/aarch64/out-of-order-all.d: New test. |
| 356 | * testsuite/binutils-all/aarch64/out-of-order.d: |
| 357 | |
| 358 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
| 359 | |
| 360 | * testsuite/binutils-all/aarch64/in-order.d: New test. |
| 361 | * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as |
| 362 | well. |
| 363 | |
| 364 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
| 365 | |
| 366 | * objdump.c (disassemble_bytes): Pass stop_offset. |
| 367 | * testsuite/binutils-all/aarch64/out-of-order.T: New test. |
| 368 | * testsuite/binutils-all/aarch64/out-of-order.d: New test. |
| 369 | * testsuite/binutils-all/aarch64/out-of-order.s: New test. |
| 370 | |
| 371 | 2019-03-19 Nick Clifton <nickc@redhat.com> |
| 372 | |
| 373 | PR 24360 |
| 374 | * objdump.c (load_specific_debug_section): Check that the amount |
| 375 | of memory to be allocated matches the size of the section. |
| 376 | |
| 377 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
| 378 | |
| 379 | * readelf.c (get_aarch64_dynamic_type): Add case for |
| 380 | DT_AARCH64_PAC_PLT. |
| 381 | (dynamic_section_aarch64_val): Likewise. |
| 382 | |
| 383 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
| 384 | Szabolcs Nagy <szabolcs.nagy@arm.com> |
| 385 | |
| 386 | * readelf.c (get_aarch64_dynamic_type): New. |
| 387 | (get_dynamic_type): Use above for EM_AARCH64. |
| 388 | (dynamic_section_aarch64_val): New. |
| 389 | (process_dynamic_section): Use above for EM_AARCH64. |
| 390 | |
| 391 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
| 392 | |
| 393 | * readelf.c (decode_aarch64_feature_1_and): New. |
| 394 | (print_gnu_property_note): Add case for AArch64 gnu notes. |
| 395 | |
| 396 | 2019-03-12 Alan Modra <amodra@gmail.com> |
| 397 | |
| 398 | * objdump.c (load_specific_debug_section): Don't compare section |
| 399 | size against file size. |
| 400 | (dump_relocs_in_section): Don't compare reloc size against file size. |
| 401 | Print "failed to read relocs" on bfd_get_reloc_upper_bound error. |
| 402 | |
| 403 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
| 404 | |
| 405 | PR 24295 |
| 406 | * doc/binutils.texi (ar cmdline): Fix spelling mistake. |
| 407 | |
| 408 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
| 409 | |
| 410 | * po/sv.po: Updated Swedish translation. |
| 411 | |
| 412 | 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com> |
| 413 | |
| 414 | PR 24287 |
| 415 | * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use |
| 416 | of "lmap" with a "foreach" loop. |
| 417 | |
| 418 | 2019-03-04 Nick Clifton <nickc@redhat.com> |
| 419 | |
| 420 | PR 24281 |
| 421 | * objcopy.c (copy_archive): Do not copy thin archives. |
| 422 | |
| 423 | 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com> |
| 424 | |
| 425 | * testsuite/lib/binutils-common.exp: Allow multiple "as" lines. |
| 426 | |
| 427 | 2019-02-25 Nick Clifton <nickc@redhat.com> |
| 428 | |
| 429 | * objdump.c (sym_ok): New function. |
| 430 | (find_symbol_for_address): Use new function. |
| 431 | (disassemble_section): Compare sections by name, not pointer. |
| 432 | (dump_dwarf): Move code to initialise byte_get pointer and iterate |
| 433 | over separate debug files from here to ... |
| 434 | (dump_bfd): ... here. Add parameter indicating that a separate |
| 435 | debug info file is being dumped. For main file, pull in the |
| 436 | symbol tables from all separate debug info files. |
| 437 | (display_object): Update call to dump_bfd. |
| 438 | * doc/binutils.texi: Document extened behaviour of the |
| 439 | --dwarf=follow-links option. |
| 440 | * NEWS: Mention this new feature. |
| 441 | * testsuite/binutils-all/objdump.WK2: Update expected output. |
| 442 | * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add |
| 443 | options and dump file parameters. |
| 444 | Add extra test. |
| 445 | * testsuite/binutils-all/objdump.WK3: New file. |
| 446 | * testsuite/binutils-all/readelf.exp: Change expected output for |
| 447 | readelf -wKis test. |
| 448 | * testsuite/binutils-all/readelf.wKis: New file. |
| 449 | |
| 450 | 2019-02-22 Nick Clifton <nickc@redhat.com> |
| 451 | |
| 452 | PR 23843 |
| 453 | * dwarf.h (struct separate_info): New structure for containing |
| 454 | information on separate debug info files. |
| 455 | * dwarf.c (struct dwo_info): New structure for containing dwo |
| 456 | links. |
| 457 | (first_dwo_info): Chain of dwo_info structures. |
| 458 | (first_separate_file): Chain of separate_info structures. |
| 459 | (separate_debug_file, separate_debug_filename): Delete. |
| 460 | (fetch_alt_indirect_string): Scan all separate debug info files |
| 461 | for the requested string. |
| 462 | (add_dwo_info): New function. |
| 463 | (add_dwo_name): New function. |
| 464 | (add_dwo_dir): New function. |
| 465 | (add_dwo_id: New function. |
| 466 | (free_dwo_info): New function. |
| 467 | (read_and_display_attr_value): Store DWO data using the new |
| 468 | functions. |
| 469 | (load_debug_section_with_follow): If necessary, scan the list of |
| 470 | separate debug info files for the requested section. |
| 471 | (add_separate_debug_file): New function. |
| 472 | (load_separate_debug_info): Call add_separate_debug_file to store |
| 473 | the information on the newly loaded file. |
| 474 | (load_dwo_file): Likewise. |
| 475 | (load_separate_debif_file): Rename to load_separate_debug_files. |
| 476 | Change return type to boolean. If following links then attempt to |
| 477 | load all separate debug info files, not just the first one. |
| 478 | (free_debug_memory): Release memory in dwo_info and separate_info |
| 479 | chains. |
| 480 | * objdump.c (dump_dwarf): Iterate over all loaded debg info files. |
| 481 | * readelf.c (process_object): Likewise. |
| 482 | * doc/debug.options.texi: Update descriptions of links and |
| 483 | follow-links options. |
| 484 | * testsuite/binutils-all/objdump.WK2: Update expected output. |
| 485 | * testsuite/binutils-all/readelf.k2: Likewise. |
| 486 | * NEWS: Announce the new feature. |
| 487 | |
| 488 | 2019-02-21 Nick Clifton <nickc@redhat.com> |
| 489 | |
| 490 | PR 24247 |
| 491 | * unwind-ia64.c: Include sysdep.h. |
| 492 | (unw_decode_x1): Check current pointer against end pointer before |
| 493 | accessing memory. |
| 494 | (unw_decode_x2): Likewise. |
| 495 | (unw_decode_x3): Likewise. |
| 496 | (unw_decode_x4): Likewise. |
| 497 | (unw_decode_r2): Likewise. |
| 498 | (unw_decode_p2_p5): Likewise. |
| 499 | (unw_decode_p7_p10): Likewise. |
| 500 | (unw_decode): Likewise. |
| 501 | |
| 502 | 2019-02-20 Nick Clifton <nickc@redhat.com> |
| 503 | |
| 504 | PR 24246 |
| 505 | * readelf.c (print_stapsdt_note): Harden against corrupt notes. |
| 506 | |
| 507 | PR 24244 |
| 508 | * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to |
| 509 | prevent walking off the end of the buffer. |
| 510 | (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128. |
| 511 | (unw_decode_x2): Likewise. |
| 512 | (unw_decode_x3): Likewise. |
| 513 | (unw_decode_x4): Likewise. |
| 514 | (unw_decode_r2): Pass the end parameter to unw_decode_uleb128. |
| 515 | (unw_decode_r3): Likewise. |
| 516 | (unw_decode_p7_p10): Likewise. |
| 517 | (unw_decode_b2): Likewise. |
| 518 | (unw_decode_b3_x4): Likewise. |
| 519 | |
| 520 | PR 24243 |
| 521 | * readelf.c (process_mips_specific): Check for an options section |
| 522 | that is too small to even contain a single option. |
| 523 | |
| 524 | PR 24242 |
| 525 | * readelf.c (print_ia64_vms_note): Harden against corrupt notes. |
| 526 | |
| 527 | 2019-02-20 Alan Modra <amodra@gmail.com> |
| 528 | |
| 529 | PR 24132 |
| 530 | PR 24138 |
| 531 | * readelf.c (get_data): Avoid possibility of overflow when |
| 532 | checking for a read that may extend past end of file. |
| 533 | (process_program_headers): Likewise. |
| 534 | |
| 535 | 2019-02-20 Alan Modra <amodra@gmail.com> |
| 536 | |
| 537 | PR 24233 |
| 538 | * objdump.c (dump_bfd_private_header): Print warning if |
| 539 | bfd_print_private_bfd_data returns false. |
| 540 | |
| 541 | 2019-02-12 Nick Clifton <nickc@redhat.com> |
| 542 | |
| 543 | PR 23440 |
| 544 | * README-how-to-make-a-release: Use git clean to delete spurious |
| 545 | files from the local source repository. |
| 546 | |
| 547 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 548 | |
| 549 | * size.c (berkeley_format): Delete. |
| 550 | (enum output_format): New enum. |
| 551 | (selected_output_format): New variable. |
| 552 | (usage): Update to mention GNU format. |
| 553 | (main): Update to extract options, and select format as needed. |
| 554 | Handle GNU format where needed. |
| 555 | (berkeley_sum): Renamed to... |
| 556 | (berkeley_or_gnu_sum): ...this, and updated to handle both formats. |
| 557 | (berkeley_format): Renamed to... |
| 558 | (berkeley_or_gnu_format): ...this, and updated to handle both |
| 559 | formats. |
| 560 | (print_sizes): Handle GNU format. |
| 561 | * doc/binutils.texi (size): Document new GNU format. |
| 562 | * testsuite/binutils-all/size.exp: Add test of extended |
| 563 | functionality. |
| 564 | * NEWS: Mention new functionality. |
| 565 | |
| 566 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 567 | |
| 568 | * doc/binutils.texi (size): Update example output for Berkeley |
| 569 | format output. |
| 570 | |
| 571 | 2019-02-07 Nick Clifton <nickc@redhat.com> |
| 572 | |
| 573 | * README-how-to-make-a-release: Add a note about updating the |
| 574 | obsolete targets in the bfd/config.bfd file. |
| 575 | |
| 576 | 2019-02-04 Nick Clifton <nickc@redhat.com> |
| 577 | |
| 578 | * README-how-to-make-a-release: Add more notes on making a release. |
| 579 | |
| 580 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
| 581 | |
| 582 | PR 24131 |
| 583 | * readelf.c (process_notes_at): Prevent an illegal memory access |
| 584 | when the note's namesize is zero. |
| 585 | (decode_tic6x_unwind_bytecode): Add code to handle the case where |
| 586 | no registers are specified in a frame pop instruction. |
| 587 | |
| 588 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
| 589 | |
| 590 | * po/bg.po: Updated Bulgarian translation. |
| 591 | |
| 592 | 2019-01-23 Nick Clifton <nickc@redhat.com> |
| 593 | |
| 594 | * po/fr.po: Updated French translation. |
| 595 | * po/pt.po: Updated Portuguese translation. |
| 596 | |
| 597 | 2019-01-21 Nick Clifton <nickc@redhat.com> |
| 598 | |
| 599 | * po/uk.po: Updated Ukranian translation. |
| 600 | |
| 601 | 2019-01-19 Nick Clifton <nickc@redhat.com> |
| 602 | |
| 603 | * configure: Regenerate. |
| 604 | * binutils/po/binutils.pot. |
| 605 | |
| 606 | * README-how-to-make-a-release: Update description on how to make |
| 607 | a branch. |
| 608 | |
| 609 | 2018-06-24 Nick Clifton <nickc@redhat.com> |
| 610 | |
| 611 | 2.32 branch created. |
| 612 | |
| 613 | 2019-01-17 Nick Clifton <nickc@redhat.com> |
| 614 | |
| 615 | * objdump.c (disassemble_section): When disassembling from a |
| 616 | symbol only stop at the next symbol if the original symbol was not |
| 617 | a function symbol. Otherwise continue disassembling until a new |
| 618 | function is reached. |
| 619 | * testsuite/binutils-all/objdump.exp: Add tests of extended |
| 620 | functionality. |
| 621 | * testsuite/binutils-all/disasm.s: New test source file. |
| 622 | |
| 623 | 2019-01-16 Kito Cheng <kito@andestech.com> |
| 624 | Nelson Chu <nelson@andestech.com> |
| 625 | |
| 626 | * readelf.c (get_riscv_section_type_name): New function. |
| 627 | (get_section_type_name): Add handler for RISC-V. |
| 628 | (riscv_attr_tag_t): Declare. |
| 629 | (riscv_attr_tag): New. |
| 630 | (display_riscv_attribute): New function. |
| 631 | (process_attributes): Add handler for RISC-V. |
| 632 | * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute |
| 633 | section. |
| 634 | |
| 635 | 2019-01-10 Nick Clifton <nickc@redhat.com> |
| 636 | |
| 637 | PR 23963 |
| 638 | * objdump.c (sanitize_string): New function. Removes control |
| 639 | characters from symbol names. |
| 640 | (dump_section_header): Use new function. |
| 641 | (objdump_print_symname): Likewise. |
| 642 | (objdump_print_addr_with_sym): Likewise. |
| 643 | (show_line): Likewise. |
| 644 | (disassemble_bytes): Likewise. |
| 645 | (disassemble_section): Likewise. |
| 646 | (load_specific_debug_section): Likewise. |
| 647 | (read_section_stabs): Likewise. |
| 648 | (print_section_stabs): Likewise. |
| 649 | (dump_section): Likewise. |
| 650 | (dump_reloc_set): Likewise. |
| 651 | (dump_relocs_in_section): Likewise. |
| 652 | (dump_bfd): Likewise. |
| 653 | (display_any_bfd): Likewise. |
| 654 | |
| 655 | 2019-01-09 Nick Clifton <nickc@redhat.com> |
| 656 | |
| 657 | PR 24049 |
| 658 | * readelf.c (process_archive): Use arch.file_name in error |
| 659 | messages until the qualified name is available. |
| 660 | |
| 661 | 2019-01-09 Andrew Paprocki <andrew@ishiboo.com> |
| 662 | |
| 663 | * configure: Regenerate. |
| 664 | |
| 665 | 2019-01-09 Alan Modra <amodra@gmail.com> |
| 666 | |
| 667 | * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores |
| 668 | unconditionally to tests needing the option rather than via a |
| 669 | list of targets. |
| 670 | |
| 671 | 2019-01-08 Nick Clifton <nickc@redhat.com> |
| 672 | |
| 673 | PR 24044 |
| 674 | * cxxfilt.c (hp_symbol_characters): Delete. |
| 675 | (main): Remove depcreated demangling styles. |
| 676 | * stabs.c (parse_stab_argtypes): Remove support for old gnu v2 |
| 677 | demangling opnames. |
| 678 | * testsuite/binutils-all/cxxfilt.exp: Use the |
| 679 | --no-strip-underscore option for targets that do prefix their |
| 680 | symbols with underscores. |
| 681 | Update tests to eliminate those that use gnu v2 encoding. |
| 682 | |
| 683 | 2019-01-08 Tamar Christina <tamar.christina@arm.com> |
| 684 | |
| 685 | PR 24065 |
| 686 | * testsuite/binutils-all/copy-6.d: New test. |
| 687 | * testsuite/binutils-all/objcopy.exp: Use it. |
| 688 | |
| 689 | 2019-01-08 Alan Modra <amodra@gmail.com> |
| 690 | |
| 691 | * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend |
| 692 | $srcdir/$subdir to source file name if it starts with "./". |
| 693 | |
| 694 | 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp> |
| 695 | |
| 696 | * readelf.c (get_machine_flags): Add RXv3 output. |
| 697 | |
| 698 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
| 699 | |
| 700 | PR 24005 |
| 701 | * objdump.c (load_specific_debug_section): Check for integer |
| 702 | overflow before attempting to allocate contents. |
| 703 | |
| 704 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
| 705 | |
| 706 | PR 24001 |
| 707 | * objcopy.c (copy_object): Free dhandle after writing out the |
| 708 | debug information. |
| 709 | * objdump.c (dump_bfd): Free dhandle after printing out the debug |
| 710 | information. |
| 711 | |
| 712 | |
| 713 | 2019-01-01 Alan Modra <amodra@gmail.com> |
| 714 | |
| 715 | Update year range in copyright notice of all files. |
| 716 | |
| 717 | For older changes see ChangeLog-2018 |
| 718 | \f |
| 719 | Copyright (C) 2019 Free Software Foundation, Inc. |
| 720 | |
| 721 | Copying and distribution of this file, with or without modification, |
| 722 | are permitted in any medium without royalty provided the copyright |
| 723 | notice and this notice are preserved. |
| 724 | |
| 725 | Local Variables: |
| 726 | mode: change-log |
| 727 | left-margin: 8 |
| 728 | fill-column: 74 |
| 729 | version-control: never |
| 730 | End: |