12005-12-30 Jie Zhang <jie.zhang@analog.com> 2 3 * readelf.c (get_machine_name): Add case for Blackfin. 4 52005-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 112005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de> 12 13 * MAINTAINERS: Add myself as VAX maintainer. 14 152005-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 202005-12-21 H.J. Lu <hjl@gnu.org> 21 22 * MAINTAINERS: Add myself as x86_64 maintainer. 23 242005-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 302005-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 362005-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 422005-11-21 Arnold Metselaar <arnoldm@sourceware.org> 43 44 * MAINTAINERS: add myself as Z80 maintainer 45 462005-11-17 Andrew Haley <aph@redhat.com> 47 48 * cxxfilt.c (main): Flush output at newline. 49 502005-11-16 Mark Mitchell <mark@codesourcery.com> 51 52 * doc/binutils.texi: Include config.texi and @file documentation 53 for manual pages. 54 552005-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 692005-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 782005-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 872005-11-07 Steve Ellcey <sje@cup.hp.com> 88 89 * configure: Regenerate after modifying bfd/warning.m4. 90 912005-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 982005-10-25 Alan Modra <amodra@bigpond.net.au> 99 100 * po/POTFILES.in: Regenerate. 101 * po/binutils.pot: Regenerate. 102 1032005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> 104 105 * MAINTAINERS: Add self as BFIN maintainer. 106 1072005-10-18 Jie Zhang <jie.zhang@analog.com> 108 109 * MAINTAINERS: Add self as BFIN maintainer. 110 1112005-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 1162005-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 1332005-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 1392005-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 1452005-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 1502005-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 1552005-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 1642005-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 1832005-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 1892005-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 2072005-09-30 Mark Mitchell <mark@codesourcery.com> 208 209 * dlltool.c (main): Fix typo. 210 * windres.c (main): Likewise. 211 2122005-09-30 H.J. Lu <hongjiu.lu@intel.com> 213 214 * Makefile.in: Regenerated. 215 2162005-09-30 H.J. Lu <hongjiu.lu@intel.com> 217 218 * sysinfo.y (main): Undo last change. 219 2202005-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 2402005-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 2462005-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 2552005-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 2672005-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 2842005-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 3262005-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 3372005-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 3422005-09-26 Mark Mitchell <mark@codesourcery.com> 343 344 * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch. 345 3462005-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 3512005-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 3562005-09-07 H.J. Lu <hongjiu.lu@intel.com> 357 358 * readelf.c (get_elf_section_flags): Handle 64bit sh_flags. 359 3602005-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 3682005-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 3772005-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 3862005-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 3922005-08-15 Daniel Jacobowitz <dan@codesourcery.com> 393 394 * doc/binutils.texi (objdump): Document -M e300. 395 3962005-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 4012005-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 4062005-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 4232005-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 4322005-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 4372005-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 4432005-07-21 Eric Christopher <echristo@apple.com> 444 445 * MAINTAINERS: Change affiliation. 446 4472005-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 4522005-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 4592005-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 4642005-07-16 Alan Modra <amodra@bigpond.net.au> 465 466 * Makefile.am: Run "make dep-am". 467 * Makefile.in: Regenerate. 468 4692005-07-15 Eric Christopher <echristo@redhat.com> 470 471 * MAINTAINERS: Change affiliation. 472 4732005-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 4812005-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 4882005-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 4962005-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 5052005-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 5122005-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 5212005-06-30 Ben Elliston <bje@gnu.org> 522 523 * Makefile.am (check-DEJAGNU): Don't search for expect. 524 * Makefile.in: Regenerate. 525 5262005-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 5322005-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 5412005-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 5502005-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 5662005-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 6162005-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 6222005-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 6282005-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 6382005-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 6442005-06-06 Alan Modra <amodra@bigpond.net.au> 645 646 * NEWS: Mention new powerpc ld support. 647 6482005-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 6562005-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 6622005-05-31 Richard Henderson <rth@redhat.com> 663 664 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE. 665 6662005-05-29 Richard Henderson <rth@redhat.com> 667 668 * readelf.c (get_alpha_dynamic_type): New. 669 (get_dynamic_type): Call it. 670 6712005-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 6762005-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 6872005-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 6972005-05-19 Zack Weinberg <zack@codesourcery.com> 698 699 * Makefile.am: Have 'all' depend on 'info'. 700 * Makefile.in: Regenerate. 701 7022005-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 7072005-05-17 Daniel Jacobowitz <dan@codesourcery.com> 708 709 * doc/Makefile.am (config.texi): Don't use $<. 710 * doc/Makefile.in: Regenerated. 711 7122005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org> 713 714 * deflex.l: Ignore CRs 715 7162005-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. 724 (DISTCLEANFILES): Remove. 725 (install-data-local): Renamed from install. 726 (info-local): Renamed from info. 727 * Makefile.in, aclocal.m4, config.in, configure, 728 doc/Makefile.in: Regenerated. 729 7302005-05-14 Alan Modra <amodra@bigpond.net.au> 731 732 * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not 733 DT_PPC_GLINK. 734 7352005-05-13 Fred Fish <fnf@specifixinc.com> 736 737 * readelf.c: Fix a couple of obvious comment typos, 738 'debug_str' -> 'debug_ranges' and proecess' -> 'process'. 739 7402005-05-13 H.J. Lu <hongjiu.lu@intel.com> 741 742 * readelf.c (dump_ia64_unwind): Get stamp with proper size. 743 7442005-05-12 Nick Clifton <nickc@redhat.com> 745 746 * readelf.c (display_debug_lines): If pointer_size has not been 747 found then assume that it is 4 in order to prevent a seg fault 748 when process_extend_line_op attempts to read the line data. 749 7502005-05-11 Alan Modra <amodra@bigpond.net.au> 751 752 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK. 753 (get_dynamic_type): Call the above. 754 7552005-05-07 Nick Clifton <nickc@redhat.com> 756 757 * Update the address and phone number of the FSF organization in 758 the GPL notices in the following files: 759 aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c, 760 arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h, 761 budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h, 762 cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c, 763 dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c, 764 ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c, 765 objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c, 766 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c, 767 size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y, 768 syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c, 769 windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi 770 7712005-05-06 Jan Beulich <jbeulich@novell.com> 772 773 * objcopy.c (copy_file): Don't delete output upon error here. 774 (copy_main): Delete output upon error. 775 7762005-05-02 Ben Elliston <bje@au.ibm.com> 777 778 * dlltool.c (dtab): Remove empty function. 779 (process_duplicates): Remove calls to dtab(). 780 7812005-05-01 Maciej W. Rozycki <macro@linux-mips.org> 782 783 * doc/binutils.texi (strip, objcopy): Clarify the description of 784 the "--strip-debug" option. Fix a typo. 785 7862005-04-29 H.J. Lu <hongjiu.lu@intel.com> 787 788 * bucomm.c: Undo the last change. 789 * bucomm.h: Likewise. 790 7912005-04-29 Ben Elliston <bje@au.ibm.com> 792 793 * syslex.l (word, number, unit): Remove unused variables. 794 * nlmheader.y (keyword_tokens): Make static. 795 * coffdump.c (dump_coff_symbol, coff_dump): Make static. 796 * coffgrok.c (lofile, last_function_symbol, last_function_type, 797 last_struct, last_enum, cur_sfile): Make variables static. 798 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS, 799 sysroff_swap_tr_in, sysroff_print_tr_out): Make static. 800 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth, 801 names, pnames): Likewise. 802 8032005-04-29 Ben Elliston <bje@au.ibm.com> 804 805 * ar.c (mri_mode): Make static. 806 * arsup.c (obfd, real_name, outfile): Likewise. 807 * binemul.c (ar_emul_create): Remove unused function. 808 (ar_emul_default_create): Likewise. 809 * binemul.h (ar_emul_create): Remove declaration. 810 (ar_emul_default_create): Likewise. 811 (struct bin_emulation_xfer_struct): Remove ar_create member. 812 * bucomm.c (report): Make static. 813 * bucomm.h (report): Remove declaration. 814 * cxxfilt.c (mbuffer): Make static. 815 (main): Use unsigned ints for some loop control variables. 816 * readelf.c: Make many global variables static. 817 * size.c (berkeley_format): Make static. 818 (long_options): Likewise. 819 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create 820 structure initialiser. 821 (bin_aix5_emulation): Likewise. 822 * emul_vanilla.c (bin_vanilla_emulation): Likewise. 823 8242005-04-27 Ben Elliston <bje@au.ibm.com> 825 826 * syslex.l: Adjust top-of-file comment: this file is part of GNU 827 binutils, not GNU ld. 828 8292005-04-25 Nick Clifton <nickc@redhat.com> 830 831 PR872 832 * objcopy.c (copy_archive): Initialise 'obfd' field of new 833 name_list structure. 834 835 * objcopy.c (copy_usage): Fix description of -K switch. 836 837 * doc/binutils.texi (strip, objcopy): Fix description of -K 838 switch. 839 8402005-04-20 Daniel Jacobowitz <dan@codesourcery.com> 841 842 * readelf.c (display_debug_frames): Use data factor for 843 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf. 844 8452005-04-19 H.J. Lu <hongjiu.lu@intel.com> 846 847 * objdump.c (dump_section_header): Skip linker created section. 848 8492005-04-17 H.J. Lu <hongjiu.lu@intel.com> 850 851 * objdump.c (dump_section_header): Support SEC_GROUP. 852 8532005-04-16 Nick Clifton <nickc@redhat.com> 854 855 * readelf.c (debug_apply_rela_addends): Remove redundant %s from 856 printf string. 857 8582005-04-15 Nick Clifton <nickc@redhat.com> 859 860 * objcopy.c (copy_file): Issue an error message when attmepting to 861 copy an empty input file. 862 8632005-04-14 Alan Modra <amodra@bigpond.net.au> 864 865 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. 866 * configure.in: Include ../bfd/warning.m4 contents. 867 * Makefile.in: Regenerate. 868 * configure: Regenerate. 869 * doc/Makefile.in: Regenerate. 870 8712005-04-12 Alan Modra <amodra@bigpond.net.au> 872 873 * Makefile.am: Run "make dep-am". 874 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command. 875 (sysroff.o, defparse.o, deflex.o): Likewise. 876 (nlmheader.o, rcparse.o, rclex.o): Likewise. 877 * Makefile.in: Regenerate. 878 * aclocal.m4: Regenerate. 879 * config.in: Regenerate. 880 * configure: Regenerate. 881 8822005-04-11 Jan Beulich <jbeulich@novell.com> 883 884 * MAINTAINERS: Add myself as ix86 Intel mode maintainer. 885 8862005-04-06 Nick Clifton <nickc@redhat.com> 887 H.J. Lu <hongjiu.lu@intel.com> 888 889 * po/rw.po: New translation: Kinyarwanda. 890 * configure.in (ALL_LINGUAS): Add rw. 891 * configure: Regenerate. 892 8932005-04-04 Maciej W. Rozycki <macro@linux-mips.org> 894 895 * readelf.c (debug_apply_rela_addends): Reorder r_info as 896 necessary for 64-bit MIPS. 897 8982005-04-04 Maciej W. Rozycki <macro@linux-mips.org> 899 900 * doc/binutils.texi (readelf): Remove a duplicate paragraph. 901 9022005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> 903 904 PR binutils/813 905 * objdump.c (dump_symbols): Add a check to see if the section for 906 the symbol is chosen using process_section_p. 907 9082005-04-01 H.J. Lu <hongjiu.lu@intel.com> 909 910 * NEWS: Mention new readelf options, "-N/--full-section-name" 911 and "-g/--section-groups". 912 913 * doc/binutils.texi: Document new readelf options, 914 "-N/--full-section-name" and "-g/--section-groups". 915 9162005-03-31 H.J. Lu <hongjiu.lu@intel.com> 917 918 * readelf.c (do_full_section_name): New. 919 (options): Add "--full-section-name"/'N'. 920 (usage): Add -N/--full-section-name. 921 (parse_args): Handle 'N'. 922 (process_section_headers): Print out the full section name if 923 do_full_section_name isn't 0. 924 9252005-03-31 Nick Clifton <nickc@redhat.com> 926 927 * configure.in: Add a check for <unistd.h> providing a prototype 928 for getopt() which is compatible with the one in 929 include/getopt.h. If so then define HAVE_DECL_GETOPT. 930 * configure: Regenerate. 931 * config.in (HAVE_DECL_GETOPT): Add. 932 * aclocal.m4: Regenerate. 933 * addr2line.c: Include "config.h" before "bfd.h" so that 934 HAVE_DECL_GETOPT is defined before getopt.h is included. 935 9362005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de> 937 938 * doc/binutils.texi: Document new VAX disassembler-specific option 939 -M entry:0xfooba8. 940 * NEWS: Mention the new option. 941 9422005-03-29 Anil Paranjpe <anilp1@kpitcummins.com> 943 944 * MAINTAINERS: Add myself as H8300 maintainer. 945 9462005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 947 948 * objdump.c (disassemble_bytes): Remove cast. 949 9502005-03-25 Daniel Jacobowitz <dan@codesourcery.com> 951 952 * BRANCHES: Add binutils-csl-arm-2005q1-branch and 953 binutils-2_16-branch. 954 9552005-03-25 Mark Kettenis <kettenis@gnu.org> 956 957 * MAINTAINERS: Add myself as M88k maintainer. 958 9592005-03-24 Danny Smith <dannysmith@users.sourceforge.net> 960 961 * winduni.c (unicode_from_ascii): Don't declare variables 962 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode 963 string len. 964 9652005-03-24 Dmitry Diky <diwil@spec.ru> 966 967 * MAINTAINERS: Add myself as MSP430 maintainer. 968 9692005-03-23 Nick Clifton <nickc@redhat.com> 970 971 * po/fr.po: Updated translation. 972 9732005-03-22 Nick Clifton <nickc@redhat.com> 974 975 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write 976 privileges list. 977 9782005-03-17 Paul Brook <paul@codesourcery.com> 979 Dan Jacobowitz <dan@codesourcery.com> 980 Mark Mitchell <mark@codesourcery.com> 981 982 * binutils/readelf.c (get_arm_segment_type): New function. 983 (get_segment_type): Use it. 984 9852005-03-18 Paul Brook <paul@codesourcery.com> 986 987 * objdump.c (objdump_print_addr): Avoid uninitialized warning. 988 9892005-03-17 Diego Novillo <dnovillo@redhat.com> 990 991 * MAINTAINERS: Remove self as maintainer of x86 intel 992 mode. 993 9942005-03-16 Nick Clifton <nickc@redhat.com> 995 Ben Elliston <bje@au.ibm.com> 996 997 * configure.in (werror): New switch: Add -Werror to the 998 compiler command line. Enabled by default. Disable via 999 --disable-werror. 1000 * configure: Regenerate. 1001 10022005-03-15 Daniel Marques <marques@cs.cornell.edu> 1003 Nick Clifton <nickc@redhat.com> 1004 1005 * objcopy.c (globalize_specific_list): New linked list of symbols 1006 to convert from local binding into global binding. 1007 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and 1008 OPTION_GLOBALIZE_SYMBOLS. 1009 (copy_options): Add "globalize-symbol" and "globalize-symbols". 1010 (copy_usage): Document the new switches. 1011 (filter_symbols): Convert defined local symbols mentioned on the 1012 globalize_specific_list into global symbols. 1013 (copy_object): Perform actions if the globalize_specific_list is 1014 not empty. 1015 (copy_main): Handle new switches. 1016 * NEWS: Mention new feature. 1017 * doc/binutils.texi: Document new switches. 1018 10192005-03-15 Alan Modra <amodra@bigpond.net.au> 1020 1021 * po/es.po: Commit new Spanish translation. 1022 1023 * po/fr.po: Commit new French translation. 1024 10252005-03-14 Alan Modra <amodra@bigpond.net.au> 1026 1027 * po/tr.po: Commit new Turkish translation. 1028 10292005-03-11 Nick Clifton <nickc@redhat.com> 1030 1031 * po/fr.po: Updated French translation. 1032 10332005-03-10 Nick Clifton <nickc@redhat.com> 1034 1035 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro". 1036 * configure: Regenerate. 1037 * po/ro.po: New file. 1038 1039 * po/ru.po: Updated file. 1040 10412005-03-05 Alan Modra <amodra@bigpond.net.au> 1042 1043 * po/binutils.pot: Regenerate. 1044 10452005-03-02 Jan Beulich <jbeulich@novell.com> 1046 1047 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink. 1048 * objcopy.c (copy_file): Likewise. 1049 (strip_main): Likewise. 1050 10512005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net> 1052 Nick Clifton <nickc@redhat.com> 1053 1054 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC: 1055 (struct objdump_disasm_info): Add 'reloc' field. 1056 (disassemble_bytes): Fix check for when an insn has a reloc 1057 associated with it. Improve comment explaining why the use of 1058 octets is wrong. Set the 'reloc' field in objdump_disasm_info 1059 structure. 1060 (objdump_print_addr): Use new 'reloc' field to lookup the correct 1061 address for the symbol associated with the current instruction's 1062 relocation. 1063 (disassemble_info): Initialise 'reloc' field. 1064 10652005-02-28 Jakub Jelinek <jakub@redhat.com> 1066 1067 * readelf.c (get_file_type, get_machine_name, get_osabi_name, 1068 get_segment_type, get_section_type_name, get_elf_class, 1069 get_data_encoding, get_group_flags, dynamic_section_mips_val, 1070 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name, 1071 get_AT_name, process_mips_specific, process_gnu_liblist, 1072 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of 1073 sprintf where needed. 1074 (get_dynamic_type): Likewise. Increase buff to 64 bytes. 1075 (get_elf_section_flags): Increase buff to 33 bytes. Avoid 1076 using strcat. 1077 (get_dynamic_flags): Renamed to... 1078 (print_dynamic_flags): ... this. Print the flags to stdout instead 1079 of returning them as string. 1080 (process_dynamic_section): Adjust caller. 1081 10822005-02-25 H.J. Lu <hongjiu.lu@intel.com> 1083 1084 * readelf.c (display_debug_ranges): Print out offset for end of 1085 list. 1086 10872005-02-23 Alan Modra <amodra@bigpond.net.au> 1088 1089 * dlltool.c: Warning fixes. 1090 * objdump.c: Likewise. 1091 10922005-02-22 Alan Modra <amodra@bigpond.net.au> 1093 1094 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler. 1095 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate 1096 dependencies. Run "make dep-am". 1097 * nlmconv.c: Warning fixes. 1098 * readelf.c: Likewise. 1099 * srconv.c: Likewise. 1100 * sysdump.c: Likewise. 1101 * sysinfo.y: Likewise. 1102 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead 1103 of strcpy. 1104 * Makefile.in: Regenerate. 1105 11062005-02-21 H.J. Lu <hongjiu.lu@intel.com> 1107 1108 * objcopy.c (parse_flags): Replace SEC_SHARED with 1109 SEC_COFF_SHARED. 1110 1111 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and 1112 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump 1113 SEC_COFF_SHARED for COFF only. 1114 11152005-02-21 Alan Modra <amodra@bigpond.net.au> 1116 1117 * Makefile.am: Run "make dep-am" 1118 * Makefile.in: Regenerate. 1119 * doc/Makefile.in: Regenerate. 1120 11212005-02-21 Alan Modra <amodra@bigpond.net.au> 1122 1123 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET. 1124 (byte_get_little_endian): Don't handle size of -8. 1125 (byte_get_signed, byte_get_big_endian): Likewise. 1126 (print_dec_vma, print_hex_vma): New functions. 1127 (print_vma): Use them. Return chars output. 1128 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm. 1129 (process_symbol_table): Handle alpha and s390 .hash. 1130 11312005-02-18 H.J. Lu <hongjiu.lu@intel.com> 1132 1133 * readelf.c (display_debug_loc): Print out offset for end of 1134 list. 1135 11362005-02-18 Joseph S. Myers <joseph@codesourcery.com> 1137 1138 * Makefile.am (TOOL_PROGS): Add objdump. 1139 * Makefile.in: Regenerate. 1140 11412005-02-17 Alan Modra <amodra@bigpond.net.au> 1142 1143 * deflex.l (YY_NO_UNPUT): Define. 1144 * rclex.l (YY_NO_UNPUT): Define. 1145 * rcparse.y (null_unichar): New static var. 1146 (res_null_text): Use it rather than attempting to init from wchar_t. 1147 * windres.c: Include assert.h and time.h before getopt.h. 1148 Include config.h and unistd.h too. 1149 11502005-02-15 Nick Clifton <nickc@redhat.com> 1151 1152 * nlmconv.c: Provide a full prototype for the localtime() function 1153 in order to avoid a compile time warning. 1154 11552005-02-11 H.J. Lu <hongjiu.lu@intel.com> 1156 1157 * readelf.c (group_count): Don't initialize it. 1158 (process_section_groups): Reurn 1 if we won't do unwind nor 1159 section groups. Set group_count to 0 before counting group 1160 sections and return 1 if there are no group sections. Reread 1161 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip 1162 section 0. 1163 (process_object): Only set do_unwind to 0 if 1164 process_section_groups return 0. 1165 11662005-02-10 Ian Lance Taylor <ian@airs.com> 1167 1168 * MAINTAINERS: Update my e-mail address. 1169 11702005-02-10 Mark Mitchell <mark@codesourcery.com> 1171 1172 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian) 1173 maintainers. 1174 11752005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> 1176 1177 * MAINTAINERS: Add self as maintainer of MAXQ. 1178 11792005-01-31 Richard Sandiford <rsandifo@redhat.com> 1180 1181 * readelf.c (eh_addr_size): New variable. 1182 (find_section): Move earlier in file. Return empty sections too. 1183 (process_program_headers): Use find_section to find .dynamic. 1184 (process_section_headers): Initialize eh_addr_size. 1185 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind) 1186 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind) 1187 (display_debug_frames): Use it instead of local addr_size variable. 1188 (size_of_encoded_value): Get pointer size from eh_addr_size rather 1189 than is_32bit_elf. 1190 11912005-01-31 Andrew Cagney <cagney@gnu.org> 1192 1193 * configure: Regenerate to track ../gettext.m4. 1194 11952005-01-31 Nick Clifton <nickc@redhat.com> 1196 1197 * version.c (print_version): Bump the copyright date to 2005. 1198 11992005-01-25 Alan Modra <amodra@bigpond.net.au> 1200 1201 * nm.c (display_rel_file): Read dynamic syms before calling 1202 bfd_get_synthetic_symtab. 1203 12042005-01-21 Ben Elliston <bje@au.ibm.com> 1205 1206 * dlltool.c (dump_iat): Remove unused function. 1207 (gen_exp_file): Remove #if 0'd code. 1208 (make_one_lib_file): Likewise. 1209 * srconv.c: Remove #if 0'd code throughout. 1210 * size.c (lprint_number): Remove. 1211 (print_berkeley_format): Remove #if 0'd code. 1212 * ar.c (do_quick_append): Remove declaration and definiton. 1213 (main): Remove #if 0'd code. 1214 * filemode.c (filemodestring): Remove #if 0'd function. 1215 * sysdump.c (unit_info_list): Remove function. 1216 (object_body_list): Likewise. 1217 (program_structure): Likewise. 1218 (debug_list): Likewise. 1219 (module): Remove #if 0'd code. 1220 12212005-01-20 Mark Mitchell <mark@codesourcery.com> 1222 1223 * BRANCHES: Add binutils-2_15-branch. 1224 1225 * MAINTAINERS: Document branch policy. 1226 * BRANCHES: New file. 1227 12282005-01-19 Fred Fish <fnf@specifixinc.com> 1229 1230 * NEWS: Make note of the new MIPS disassembly option "no-aliases". 1231 * doc/binutils.texi (objdump): Document the "no-aliases" 1232 disassembly option. 1233 12342005-01-17 Eugene Kotlyarov <ekot@narod.ru> 1235 1236 PR binutils/647 1237 * rcparse.y (RCDATA): Allow a filename to be supplied as the 1238 parameter. Parse it with define_rcdata_file(). 1239 * resrc.c (define_rcdata_file): New function. 1240 * windres.h: Provide a prototype for the new function. 1241 1242 * resrc.c (define_user_file): Fix typo by replacing "font file" 1243 with "file". 1244 12452005-01-16 Jason Thorpe <thorpej@netbsd.org> 1246 1247 * MAINTAINERS: Update my email address. 1248 12492005-01-16 Danny Smith <dannysmith@users.sourceforge.net> 1250 1251 * dlltool.c (set_dll_name_from_def): New function. Strip name 1252 to basename, with warning. 1253 (def_name): Use it. 1254 (def_library): Likwise. 1255 (main): Strip arg of --dllname to basename, with warning. 1256 Only use basename of exp_name when inferring dll_name. 1257 12582005-01-11 Nick Clifton <nickc@redhat.com> 1259 1260 PR binutils/637 1261 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the 1262 footnote in order to prevent the sed script in the Makefile from 1263 converting it into c++filt. 1264 12652005-01-10 H.J. Lu <hongjiu.lu@intel.com> 1266 1267 BZ 635 1268 readelf.c (saved_base_address): Removed. 1269 (decode_64bit_range): Likewise. 1270 (decode_range): Likewise. 1271 (display_64bit_debug_ranges): Likewise. 1272 (debug_info): Add range_lists, num_range_lists and 1273 max_range_lists. 1274 (read_and_display_attr_value): Handle do_debug_ranges. 1275 (process_debug_info): Likewise. 1276 (display_debug_ranges): Rewrite. 1277 (process_object): Free range_lists. 1278 12792005-01-10 Andreas Schwab <schwab@suse.de> 1280 1281 * configure.in: Don't define SKIP_ZEROES. 1282 * configure: Regenerate. 1283 * objdump.c (disassemble_data): Set skip_zeroes and 1284 skip_zeroes_at_end in disasm_info to defaults. 1285 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define. 1286 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and 1287 always define. 1288 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from 1289 objdump_disasm_info. 1290 12912005-01-05 H.J. Lu <hongjiu.lu@intel.com> 1292 1293 * readelf.c (display_debug_loc): Display base address 1294 specifiers. Always output <End of list>. 1295 12962005-01-05 H.J. Lu <hongjiu.lu@intel.com> 1297 1298 * readelf.c (have_frame_base): New. 1299 (need_base_address): Likewise. 1300 (saved_base_address): Likewise. 1301 (decode_location_expression): Return 1 if DW_AT_frame_base is 1302 needed. 1303 (debug_info): Add base_address and a have_frame_base pointer. 1304 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with 1305 saved_base_address. Record base address. Set have_frame_base. 1306 Record if a location list has DW_AT_frame_base. Display if a 1307 location expression has no DW_AT_frame_base but needs one. Set 1308 saved_base_address only if needed. 1309 (process_debug_info): Clear have_frame_base, saved_base_address 1310 and set need_base_address. 1311 (display_debug_loc): Display if a location expression has no 1312 DW_AT_frame_base but needs one. Display if start >= end. Don't 1313 adjust for section address. Properly handle base address. 1314 (process_object): Free the have_frame_base pointer in 1315 debug_info. 1316 13172005-01-04 H.J. Lu <hongjiu.lu@intel.com> 1318 1319 * readelf.c (display_debug_loc): Display offsets for hole and 1320 overlap. 1321 (display_debug_str): Add a newline at the end. 1322 13232005-01-04 Armin Diehl <diehl@nordrhein.de> 1324 1325 PR binutils/630 1326 * nlmconv.c (main): Only store the basename of the output filename 1327 in the module table. 1328 13292005-01-04 H.J. Lu <hongjiu.lu@intel.com> 1330 1331 BZ 615 1332 * readelf.c (process_debug_info): New. 1333 (debug_info): Add num_loc_offsets, loc_offsets and 1334 last_loc_offset_p. 1335 (get_debug_info): Use process_debug_info. 1336 (display_debug_loc): Properly handle location list. Warn if bad 1337 location lists are encoutnered. 1338 (read_and_process_attr_value): New. 1339 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4. 1340 (display_debug_info): Use process_debug_info. 1341 (process_object): Also free loc_offsets in debug_information. 1342 1343For older changes see ChangeLog-2004 1344 1345Local Variables: 1346mode: change-log 1347left-margin: 8 1348fill-column: 74 1349version-control: never 1350End: 1351