
1: 2005-12-30 Jie Zhang <jie.zhang@analog.com> 2: 3: * readelf.c (get_machine_name): Add case for Blackfin. 4: 5: 2005-12-27 Alan Modra <amodra@bigpond.net.au> 6: 7: * Makefile.am: Run "make dep-am". 8: (Makefile): Remove dependency. 9: * Makefile.in: Regenerate. 10: 11: 2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de> 12: 13: * MAINTAINERS: Add myself as VAX maintainer. 14: 15: 2005-12-22 Randolph Chung <tausq@debian.org> 16: 17: * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ 18: entry to names[] array for SOM binaries. 19: 20: 2005-12-21 H.J. Lu <hjl@gnu.org> 21: 22: * MAINTAINERS: Add myself as x86_64 maintainer. 23: 24: 2005-12-16 Nathan Sidwell <nathan@codesourcery.com> 25: 26: Second part of ms1 to mt renaming. 27: * readelf.c (guess_is_rela): Use EM_MT. 28: (dump_relocations, get_machine_name): Adjust. 29: 30: 2005-12-12 Nathan Sidwell <nathan@codesourcery.com> 31: 32: * Makefile.am: Replace ms1 files with mt files. 33: * Makefile.in: Rebuilt. 34: * readelf.c (elf/mt.h): Adjust #include. 35: 36: 2005-11-30 Nick Clifton <nickc@redhat.com> 37: 38: * configure.in (ALL_LINGUAS): Add fi. 39: * configure: Regenerate. 40: * po/fi.po: New file: Finnish translation. 41: 42: 2005-11-21 Arnold Metselaar <arnoldm@sourceware.org> 43: 44: * MAINTAINERS: add myself as Z80 maintainer 45: 46: 2005-11-17 Andrew Haley <aph@redhat.com> 47: 48: * cxxfilt.c (main): Flush output at newline. 49: 50: 2005-11-16 Mark Mitchell <mark@codesourcery.com> 51: 52: * doc/binutils.texi: Include config.texi and @file documentation 53: for manual pages. 54: 55: 2005-11-15 Jan Beulich <jbeulich@novell.com> 56: 57: * objcopy.c (keep_file_symbols): New. 58: (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS. 59: (strip_options): Add --keep-file-symbols. 60: (copy_options): Likewise. 61: (copy_usage): Likewise. 62: (strip_usage): Likewise. 63: (filter_symbols): Act upon keep_file_symbols. 64: (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS. 65: (copy_main): Likewise. 66: * doc/binutils.texi: Document --keep-file-symbols for objcopy 67: and strip. 68: 69: 2005-11-14 Daniel Jacobowitz <dan@codesourcery.com> 70: 71: * readelf.c (struct dump_list_entry, request_dump_byname) 72: (initialise_dumps_byname): New. 73: (parse_args): Call request_dump_byname. 74: (process_section_contents): Call initialise_dumps_byname. 75: * doc/binutils.texi (readelf): Mention -x NAME. 76: * NEWS: Likewise. 77: 78: 2005-11-11 Nick Clifton <nickc@redhat.com> 79: 80: PR 1150 81: * readelf.c (get_mips_symbol_other): New function. 82: (get_symbol_other): New function. 83: (process_symbol_table): Call get_symbol_other() to get a 84: description of the st_other field if it contains more information 85: than just the visibility. 86: 87: 2005-11-07 Steve Ellcey <sje@cup.hp.com> 88: 89: * configure: Regenerate after modifying bfd/warning.m4. 90: 91: 2005-10-30 H.J. Lu <hongjiu.lu@intel.com> 92: 93: * Makefile.am: Run "make dep-am". 94: * Makefile.in: Regenerated. 95: 96: * dep-in.sed: Replace " ./" with " ". 97: 98: 2005-10-25 Alan Modra <amodra@bigpond.net.au> 99: 100: * po/POTFILES.in: Regenerate. 101: * po/binutils.pot: Regenerate. 102: 103: 2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> 104: 105: * MAINTAINERS: Add self as BFIN maintainer. 106: 107: 2005-10-18 Jie Zhang <jie.zhang@analog.com> 108: 109: * MAINTAINERS: Add self as BFIN maintainer. 110: 111: 2005-10-11 Danny Smith <dannysmith@users.sourceforge.net> 112: 113: * rclex.l (handle quotes): Stop parsing hex notation escaped 114: chars after the first two digits, 115: 116: 2005-10-11 Nick Clifton <nickc@redhat.com> 117: 118: PR binutils/1437 119: * cxxfilt.c (flags): Remove DMGL_TYPES; 120: (long_options): Rename --no-types to --types. 121: (usage): Likewise. 122: (demangle_it): Add a comment describing why _ and $ prefixes are 123: skipped. Use printf rather than puts to emit the demangled output 124: in order to avoid emitting a new line character. 125: (main): Have the -t flag enable type demangling. 126: Emit a newline after every demangled command line argument. 127: Copy whitespace from stdin to stdout. 128: * doc/binutils.texi (c++filt): Document the change to the -t 129: switch. 130: Document why demangling names on the command line is slightly 131: different to demangling names read from the standard input. 132: 133: 2005-10-10 Mark Mitchell <mark@codesourcery.com> 134: 135: * doc/Makefile.am (config.texi): Set top_srcdir. 136: * doc/Makefile.in: Regenerated. 137: * doc/binutils.texi: Use at-file.texi from libiberty. 138: 139: 2005-10-10 H.J. Lu <hongjiu.lu@intel.com> 140: 141: PR binutils/1436 142: * readelf.c (ABSADDR): New. 143: (dump_ia64_unwind): Use ABSADDR to get the unwind info address. 144: 145: 2005-10-10 Thomas Weidenmueller <w3seek@reactos.com> 146: 147: * resbin.c (res_to_bin_accelerator): Place the terminating NUL at 148: the correct location in the bindata structure. 149: 150: 2005-10-10 Bryce Schober <bryce.schober@dynonavionics.com> 151: 152: * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be 153: -reg-names-std. 154: 155: 2005-10-04 Nick Clifton <nickc@redhat.com> 156: 157: * cxxfilt.c: Treat mangled names specified on the command line in 158: the same way as mangled names read from stdin. 159: Add -i switch to disable the display of implementation details. 160: Add -t switch to disable the demangling of types. 161: * NEWS: Mention the new switches. 162: * doc/binutils.texi (cxxfilt): Document the -i and -t switches. 163: 164: 2005-10-03 Mark Mitchell <mark@codesourcery.com> 165: 166: * addr2line.c (usage): Document @file. 167: * ar.c (usage): Likewise. 168: * coffdump (usage): Likewise. 169: * cxxfilt.c (usage): Likewise. 170: * dlltool.c (usage): Likewise. 171: * dllwrap.c (usage): Likewise. 172: * nlmconv.c (usage): Likewise. 173: * nm.c (usage): Likewise. 174: * objcopy.c (usage): Likewise. 175: * objdump.c (usage): Likewise. 176: * readelf.c (usage): Likewise. 177: * size.c (usage): Likeise. 178: * srconv.c (usage): Likewise. 179: * strings.c (usage): Likewise. 180: * windres.c (usage): Likewise. 181: * doc/binutils.texi: Add section on common options. 182: 183: 2005-10-03 H.J. Lu <hongjiu.lu@intel.com> 184: 185: * NEWS: Mention -W/--dwarf. 186: 187: * doc/binutils.texi: Document -W/--dwarf for objdump. 188: 189: 2005-10-01 Paul Brook <paul@codesourcery.com> 190: 191: * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use, 192: arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch, 193: arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch, 194: arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use, 195: arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA, 196: arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t, 197: arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal, 198: arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions, 199: arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed, 200: arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size, 201: arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args, 202: arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals, 203: arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New. 204: (display_arm_attribute, process_arm_specific): New functions. 205: (process_arch_specific): Add EM_ARM. 206: 207: 2005-09-30 Mark Mitchell <mark@codesourcery.com> 208: 209: * dlltool.c (main): Fix typo. 210: * windres.c (main): Likewise. 211: 212: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 213: 214: * Makefile.in: Regenerated. 215: 216: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 217: 218: * sysinfo.y (main): Undo last change. 219: 220: 2005-08-30 Mark Mitchell <mark@codesourcery.com> 221: 222: * addr2line.c (main): Use expandargv. 223: * ar.c (main): Likewise. 224: * coffdump.c (main): Likewise. 225: * cxxfilt.c (main): Likewise. 226: * dlltool.c (main): Likewise. 227: * dllwrap.c (main): Likewise. 228: * nlmconv.c (main): Likewise. 229: * nm.c (main): Likewise. 230: * objcopy.c (main): Likewise. 231: * objdump.c (main): Likewise. 232: * readelf.c (main): Likewise. 233: * size.c (main): Likeiwse. 234: * srcconv.c (main): Likewise. 235: * strings.c (main): Likewise. 236: * sysdump.c (main): Likewise. 237: * sysinfo.y (main): Likewise. 238: * windres.c (main): Likewise. 239: 240: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 241: 242: * Makefile.am: Run "make dep-am". 243: * Makefile.in: Regenerated. 244: * aclocal.m4: Likewise. 245: 246: 2005-09-30 Catherine Moore <clm@cm00re.com> 247: 248: * Makefile.am: Bfin support. 249: * Makefile.in: Regenerated. 250: * aclocal.m4: Regenerated. 251: * readelf.c (elf/bfin.h): Include. 252: (guess_is_rela): EM_BLACKFIN support. 253: (dump_relocations): Likewise. 254: 255: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 256: 257: * dwarf.c (fetch_indirect_string): Adjust for section address. 258: (process_debug_info): Likewise. 259: (display_debug_loc): Likewise. 260: (display_debug_ranges): Likewise. 261: 262: * objdump.c (mach_o_dwarf_sections): New. 263: (generic_dwarf_sections): Likewise. 264: (check_mach_o_dwarf): Likewise. 265: (dump_dwarf): Call check_mach_o_dwarf. 266: 267: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 268: 269: * Makefile.am (objdump_SOURCES): Add dwarf.c. 270: * Makefile.in: Regenerated. 271: 272: * objdump.c: Include "dwarf.h". 273: (usage): Add -W/--dwarf. 274: (long_options): Likewise. 275: (dump_dwarf_section_info): New. 276: (load_debug_section): Likewise. 277: (free_debug_section): Likewise. 278: (dump_dwarf_section): Likewise. 279: (dump_dwarf): Likewise. 280: (dump_bfd): Load symbol table and call dump_dwarf if 281: dump_dwarf_section_info isn't zero. 282: (main): Handle -W/--dwarf. 283: 284: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 285: 286: * readelf.c: Reordered. 287: (is_relocatable): New. 288: (dwarf_section): New structure for DWARF section. 289: (load_debug_section): New. 290: (free_debug_section): Likewise. 291: (debug_str_section): Likewise. 292: (debug_abbrev_section): Likewise. 293: (debug_str_contents): Removed. 294: (debug_str_size): Likewise. 295: (debug_loc_contents): Likewise. 296: (debug_loc_size): Likewise. 297: (debug_range_contents): Likewise. 298: (debug_range_size): Likewise. 299: (load_debug_str): Likewise. 300: (free_debug_str): Likewise. 301: (load_debug_loc): Likewise. 302: (free_debug_loc): Likewise. 303: (load_debug_arange): Likewise. 304: (free_debug_arange): Likewise. 305: (load_debug_abbrev): Likewise. 306: (free_debug_abbrev): Likewise. 307: (fetch_indirect_string): Updated. 308: (debug_apply_rela_addends): Likewise. 309: (process_debug_info): Likewise. 310: (get_debug_info): Likewise. 311: (display_debug_lines): Likewise. 312: (display_debug_pubnames): Likewise. 313: (display_debug_macinfo): Likewise. 314: (display_debug_abbrev): Likewise. 315: (display_debug_loc): Likewise. 316: (display_debug_str): Likewise. 317: (display_debug_info): Likewise. 318: (display_debug_aranges): Likewise. 319: (display_debug_ranges): Likewise. 320: (display_debug_frames): Likewise. 321: (display_debug_not_supported): Likewise. 322: (debug_displays): Likewise. 323: (display_debug_section): Likewise. 324: (get_file_header): Set is_relocatable. 325: 326: 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 327: 328: * readelf.c (debug_apply_rela_addends): Relocate the whole 329: section. 330: (process_debug_info): Don't call debug_apply_rela_addends. 331: (display_debug_frames): Likewise. 332: (get_debug_info): Call debug_apply_rela_addends. 333: (debug_displays): Add the "relocate" field. 334: (display_debug_section): Call debug_apply_rela_addends if 335: needed. 336: 337: 2005-09-30 Matthias Kurz <mk@baerlap.north.de> 338: 339: * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris 340: version of <locale.h> when ENABLE_NLS is not defined. 341: 342: 2005-09-26 Mark Mitchell <mark@codesourcery.com> 343: 344: * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch. 345: 346: 2005-09-20 Richard Henderson <rth@redhat.com> 347: 348: * readelf.c (display_debug_lines): Use unsigned long for address 349: increments. Use 0x prefix for all hex numbers. 350: 351: 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> 352: 353: * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and 354: SHT_ARM_ATTRIBUTES. 355: 356: 2005-09-07 H.J. Lu <hongjiu.lu@intel.com> 357: 358: * readelf.c (get_elf_section_flags): Handle 64bit sh_flags. 359: 360: 2005-09-02 H.J. Lu <hongjiu.lu@intel.com> 361: 362: * readelf.c (debug_abbrev_contents): New. 363: (debug_abbrev_size): Likewise. 364: (load_debug_abbrev): Likewise. 365: (free_debug_abbrev): Likewise. 366: (process_debug_info): Use them. 367: 368: 2005-08-17 H.J. Lu <hongjiu.lu@intel.com> 369: 370: PR binutils/1179 371: * objdump.c (disassemble_bytes): Don't adjust 372: adjust_section_vma. 373: (adjust_addresses): Don't adjust vma for debugging section. 374: Adjust lma only for relocatable files. 375: (dump_bfd): Tell adjust_addresses if it is a relocatable file. 376: 377: 2005-08-16 H.J. Lu <hongjiu.lu@intel.com> 378: 379: * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined. 380: 381: * configure.in (AC_GNU_SOURCE): Added. 382: (AC_CHECK_DECLS): Add stpcpy. 383: * configure: Regenerated. 384: * config.in: Likewise. 385: 386: 2005-08-16 Jakub Jelinek <jakub@redhat.com> 387: 388: * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL, 389: UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname 390: buffer sizes. 391: 392: 2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> 393: 394: * doc/binutils.texi (objdump): Document -M e300. 395: 396: 2005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 397: 398: * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux. 399: Don't access table entries past the end of the table. 400: 401: 2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 402: 403: * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER. 404: (get_parisc_section_type_name): Handle SHT_PARISC_DLKM. 405: 406: 2005-08-11 H.J. Lu <hongjiu.lu@intel.com> 407: 408: * NEWS: Mention "-t/--section-details" and 409: "-N/--full-section-name". 410: 411: * doc/binutils.texi: Document "-t/--section-details". Remove 412: "-N/--full-section-name". 413: 414: * readelf.c (do_full_section_name): Renamed to ... 415: (do_section_details): This. 416: (option): Rename "-N/--full-section-name" to 417: "-t/--section-details". 418: (usage): Likewise. 419: (parse_args): Likewise. 420: (get_elf_section_flags): Support do_section_details. 421: (process_section_headers): Updated for do_section_details. 422: 423: 2005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 424: 425: * readelf.c (get_parisc_dynamic_type): Add new dynamic types. 426: (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when 427: e_machine is EM_PARISC. 428: (get_parisc_segment_type): Add new segment types. 429: (get_parisc_section_type_name): Add new section names. 430: (dynamic_section_parisc_val): Add new table entries. 431: 432: 2005-08-01 Filip Navara <navaraf@reactos.com> 433: 434: * dlltool.c (alphafunc): Remove and replace usage with nfunc. 435: (nfunc): Fix sorting of fastcall symbols when --kill-at is used. 436: 437: 2005-07-25 H.J. Lu <hongjiu.lu@intel.com> 438: 439: * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON. 440: (get_symbol_index_type): Likewise. 441: (get_elf_section_flags): Handle SHF_X86_64_LARGE. 442: 443: 2005-07-21 Eric Christopher <echristo@apple.com> 444: 445: * MAINTAINERS: Change affiliation. 446: 447: 2005-07-19 Ben Elliston <bje@au.ibm.com> 448: 449: * readelf.c (read_and_display_attr_value): Remove comment adjacent 450: to DW_ATE_decimal_float about it being a GNU extension. 451: 452: 2005-07-18 Nick Clifton <nickc@redhat.com> 453: 454: * binemul.c: Fix name of Red Hat. 455: * binemul.h: Likewise. 456: * emul_aix.c: Likewise. 457: * emul_vanilla: Likewise. 458: 459: 2005-07-18 Ben Elliston <bje@au.ibm.com> 460: 461: * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding 462: value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float. 463: 464: 2005-07-16 Alan Modra <amodra@bigpond.net.au> 465: 466: * Makefile.am: Run "make dep-am". 467: * Makefile.in: Regenerate. 468: 469: 2005-07-15 Eric Christopher <echristo@redhat.com> 470: 471: * MAINTAINERS: Change affiliation. 472: 473: 2005-07-14 Jim Blandy <jimb@redhat.com> 474: 475: * readelf.c: #include "elf/m32c.h" 476: (guess_is_rela, dump_relocations, get_machine_name): Add cases for 477: EM_M32C. 478: * Makefile.am (readelf.o): Update dependencies. 479: * Makefile.in: Regenerated. 480: 481: 2005-07-08 Ben Elliston <bje@au.ibm.com> 482: 483: * bucomm.h: Include <stdarg.h> unconditionally, not only when 484: ANSI_PROTOTYPES is defined. Remove #ifdef logic. 485: * dlltool.c: Likewise. 486: * dllwrap.c: Likewise. 487: 488: 2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 489: 490: * bucomm.h (report): Add format attribute. 491: * dlltool.c (inform): Likewise. 492: * dllwrap.c (display, inform, warn): Likewise. 493: * objdump.c (objdump_sprintf): Likewise. 494: * readelf.c (error, warn): Likewise. Fix format bugs. 495: 496: 2005-07-05 Dmitry V. Levin <ldv@altlinux.org> 497: Nick Clifton <nickc@redhat.com> 498: 499: * strings.c (filename_and_size_t): New typedef. 500: (strings_a_section): Skip sections with size greater or equal to 501: the file size. Cache the file size to avoid repeated stat()s. 502: (strings_object_file): Pass filename_and_size_t argument to 503: strings_a_section() via bfd_map_over_sections(). 504: 505: 2005-07-04 Alan Modra <amodra@bigpond.net.au> 506: 507: PR 1004 508: * objcopy.c (copy_object): Use bfd_make_section_with_flags. 509: (write_debugging_info): Likewise. 510: (setup_section): Use bfd_make_section_anyway_with_flags. 511: 512: 2005-07-01 Steve Ellcey <sje@cup.hp.com> 513: 514: * configure.in (AM_BINUTILS_WARNINGS): Add. 515: (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. 516: * configure: Regenerate. 517: * config.in: Regenerate. 518: * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*. 519: * bucomm.h: (NEED_DECLARATION_*): Ditto. 520: 521: 2005-06-30 Ben Elliston <bje@gnu.org> 522: 523: * Makefile.am (check-DEJAGNU): Don't search for expect. 524: * Makefile.in: Regenerate. 525: 526: 2005-06-30 Ben Elliston <bje@gnu.org> 527: 528: * Makefile.am (EXPECT): Set to expect. 529: (RUNTEST): Likewise, set to runtest. 530: * Makefile.in: Regenerate. 531: 532: 2005-06-17 Jakub Jelinek <jakub@redhat.com> 533: 534: * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define. 535: (process_section_headers): Use it. 536: (process_relocs): Don't crash if symsec is not SHT_SYMTAB 537: or SHT_DYNSYM. 538: (process_version_sections): Use sizeof (Elf_External_Versym) 539: instead of sh_entsize. 540: 541: 2005-06-16 Nick Clifton <nickc@redhat.com> 542: 543: * rename.c (simple_copy): Only define if it is going to be used. 544: (smart_rename): Mark the preserve_dates parameter as possibly 545: being unused. 546: 547: * resres.c (write_res_data): Prevent a potential compile time 548: warning by casting the return value from fwrite. 549: 550: 2005-06-14 H.J. Lu <hongjiu.lu@intel.com> 551: 552: PR 995 553: * ar.c (BUFSIZE): Moved to ... 554: * bucomm.h (BUFSIZE): Here. 555: 556: * bucomm.c: Include <assert.h>. 557: (bfd_get_archive_filename): New. 558: * bucomm.h (bfd_get_archive_filename): New. 559: 560: * objcopy.c (copy_unknown_object): New. 561: (copy_object): Use bfd_get_archive_filename when reporting input 562: error. Don't call fatal on unknown arch. 563: (copy_archive): Call copy_unknown_object on unknown format or 564: arch. 565: 566: 2005-06-14 Jakub Jelinek <jakub@redhat.com> 567: 568: * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions. 569: (get_data): Add nmemb argument. Return NULL if nmemb * size 570: overflows. If var == NULL, allocate one extra byte and 571: clear it. 572: (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers, 573: get_64bit_program_headers, get_program_headers, 574: get_32bit_section_headers, get_64bit_section_headers, 575: get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers, 576: process_section_groups, process_relocs, slurp_ia64_unwind_table, 577: ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind, 578: get_32bit_dynamic_section, get_64bit_dynamic_section, 579: process_dynamic_section, process_version_sections, get_dynamic_data, 580: process_symbol_table, dump_section, load_debug_str, load_debug_loc, 581: load_debug_range, read_and_display_attr_value, process_debug_info, 582: get_debug_info, frame_need_space, display_debug_frames, 583: display_debug_section, process_mips_specific, process_gnu_liblist, 584: process_corefile_note_segment): Adjust get_data callers. Use 585: cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where 586: passed size is a product of 2 numbers. 587: 588: * readelf.c (print_mode): Fix comment typo. 589: (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks. 590: (dump_relocations): Fix a thinko in check for invalid st_name. 591: (process_program_headers): Don't crash if string_table is NULL. 592: (process_section_headers): Don't crash if e_shstrndx is invalid. 593: Ensure string_table_length is 0 if string_table == NULL. 594: Don't return just because string_table is NULL. 595: (process_section_groups): Don't crash if symtab's sh_link or 596: symbol's st_name is invalid. Fix a memory leak. Fix check for 597: invalid section number entry. 598: (process_relocs): Don't crash if relocation or symbol section's 599: sh_link is invalid. 600: (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if 601: relocation section's sh_info is invalid. 602: (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol 603: table's sh_link is invalid. 604: (process_version_sections): Don't crash on version or symbol 605: section's sh_link is invalid. Don't crash if symbol's st_shndx 606: is invalid. 607: (process_symbol_table): Don't crash if string table is corrupt 608: or symbol's st_name, st_shndx, vna_name or vda_name is invalid. 609: (debug_apply_rela_addends): Don't crash if relocation section's 610: sh_info or sh_link is invalid. 611: (display_debug_loc): Warn for unterminated .debug_loc section 612: or start offsets not within .debug_loc section boundaries. 613: (process_gnu_liblist): Don't crash if liblist section's sh_link 614: or entry's l_name is invalid. 615: 616: 2005-06-09 Jakub Jelinek <jakub@redhat.com> 617: 618: * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL. 619: If q->howto->name == NULL, print q->howto->type as number instead. 620: (dump_reloc_set): Likewise. 621: 622: 2005-06-07 Eric Christopher <echristo@redhat.com> 623: 624: * readelf.c (guess_is_rela): Support ms1. 625: (dump_relocations): Ditto. 626: (get_machine_name): Ditto. 627: 628: 2005-06-07 Aldy Hernandez <aldyh@redhat.com> 629: Michael Snyder <msnyder@redhat.com> 630: Stan Cox <scox@redhat.com> 631: 632: * Makefile.am (readelf.o): Depend on ms1.h. 633: 634: * Makefile.in: Regenerate. 635: 636: * readelf.c: Include ms1.h. 637: 638: 2005-06-06 H.J. Lu <hongjiu.lu@intel.com> 639: 640: PR 990 641: * nm.c (print_symbol): Call bfd_find_line before 642: bfd_find_nearest_line. 643: 644: 2005-06-06 Alan Modra <amodra@bigpond.net.au> 645: 646: * NEWS: Mention new powerpc ld support. 647: 648: 2005-06-03 Steve Ellcey <sje@cup.hp.com> 649: 650: * configure.in: Check for getc_unlocked prototype. 651: * configure: Regenerate. 652: * config.in: Regenerate. 653: * strings.c (get_char): Only call getc_unlocked if we have seen a 654: prototype. 655: 656: 2005-06-03 Nick Clifton <nickc@redhat.com> 657: 658: * configure.in (ALL_LINGUAS): Add zh_TW 659: * configure: Regenerate. 660: * po/zh_TW.po: New Chinese (traditional) translation. 661: 662: 2005-05-31 Richard Henderson <rth@redhat.com> 663: 664: * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE. 665: 666: 2005-05-29 Richard Henderson <rth@redhat.com> 667: 668: * readelf.c (get_alpha_dynamic_type): New. 669: (get_dynamic_type): Call it. 670: 671: 2005-05-24 H.J. Lu <hongjiu.lu@intel.com> 672: 673: * readelf.c (process_section_groups): Report group section 674: index. Check if the section member index is valid. 675: 676: 2005-05-23 Fred Fish <fnf@specifixinc.com> 677: 678: * addr2line.c (unwind_inlines): New flag for 'i' option. 679: (usage): Document '-i' option. 680: (long_options): Recognize '--inlines'. 681: (translate_addresses): Loop, calling bfd_find_inliner_info as 682: necessary and printing multiple output lines. 683: (main): Handle 'i' option. 684: * doc/binutils.texi (addr2line): Document '-i' option. 685: * NEWS: Mention new addr2line '-i' option. 686: 687: 2005-05-23 Nick Clifton <nickc@redhat.com> 688: 689: * readelf.c (fetch_indirect_string): Display a warning message 690: when a corrupt DW_FORM_strp value is encountered. 691: 692: (process_debug_info): Mention that the compilation unit offset is 693: being displayed in hexadecimal. 694: 695: (display_debug_lines): Fix typo in name of .debug_line section. 696: 697: 2005-05-19 Zack Weinberg <zack@codesourcery.com> 698: 699: * Makefile.am: Have 'all' depend on 'info'. 700: * Makefile.in: Regenerate. 701: 702: 2005-05-19 Ben Elliston <bje@au.ibm.com> 703: 704: * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding 705: value of DW_ATE_GNU_decimal_float. 706: 707: 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> 708: 709: * doc/Makefile.am (config.texi): Don't use $<. 710: * doc/Makefile.in: Regenerated. 711: 712: 2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org> 713: 714: * deflex.l: Ignore CRs 715: 716: 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> 717: 718: * acinclude.m4: Remove obsolete code. 719: * configure.in: Update AC_PREREQ. 720: * doc/Makefile.am (binutils_TEXINFOS): Define. 721: (config.texi): Depend on distributed files instead of built 722: files. 723: (binutils.dvi, binutils.info): Remove unnecessary rules.