2001-12-18 Michael Snyder <msnyder@redhat.com>
[binutils-gdb.git] / binutils / ChangeLog
index 5d09b39b378c070273b3b433f977f2773edc7ef1..de70a2ad3d914883ddb66903f4a0ffdd8057c378 100644 (file)
@@ -1,3 +1,161 @@
+2001-12-18  Michael Snyder  <msnyder@redhat.com>
+
+       * objcopy.c (copy_file): Accept corefiles (format bfd_core).
+       (copy_object): Don't set the start address or flags of a core file.
+       (copy_section): Don't relocate a core file.  Don't copy contents
+       if the input section has the contents flag set, but the output
+       section does not (which happens with the fake 'note' pseudo-
+       sections that BFD creates for corefiles).
+
+2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * readelf.c (get_machine_flags): Recognize header flags for ABI and
+       ASE extensions. More robust code for ISA checking. Ignore empty fields
+       in header flags for GNU extensions.
+
+2001-12-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * objcopy.c (copy_archive): Set output bfd format outside the loop.
+
+2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/ja.po: Import from translation project.
+       * configure.in (ALL_LINGUAS): Add ja.
+       * configure: Regenerate.
+
+2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * addr2line.c (main): Protoype.
+       * ar.c (main): Protoype.
+       * nm.c (main): Protoype.
+       * objcopy.c (main): Protoype.
+       * objdump.c (main): Protoype.
+       * size.c (main): Protoype.
+       * strings.c (main): Protoype.
+
+2001-12-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (symtab_shndx_hdr): New global.
+       (SECTION_HEADER_INDEX): Define.
+       (SECTION_HEADER_NUM): Define.
+       (SECTION_HEADER): Define.
+       (GET_ELF_SYMBOLS): Pass two params rather than three.
+       (get_32bit_elf_symbols): Take file and section args.  Read and
+       use SHT_SYMTAB_SHNDX.
+       (get_64bit_elf_symbols): Likewise.
+       (dump_relocations): Use SECTION_HEADER to index "section_headers".
+       (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
+       Remember symtab_shdx_hdr.
+       (process_program_headers): Scan from index 1 for segment map.
+       (slurp_ia64_unwind_table): Use SECTION_HEADER to index
+       "section_headers".
+       (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
+       (process_unwind): Likewise.
+       (process_version_sections): Likewise.
+       (process_symbol_table): Likewise.
+       (display_debug_info): Likewise.
+       (process_dynamic_segment): Fake up a symtab section for changed
+       GET_ELF_SYMBOLS.
+       (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
+       (process_program_headers): Kill signed/unsigned warning.
+       (load_debug_str): Likewise.
+       (display_debug_info): Likewise.
+
+2001-12-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
+
+2001-12-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (process_file_header): Print extended e_shnum and
+       e_shdtrndx values.  Set elf_header values for same.
+       (get_32bit_section_headers): Add "num" arg to read "num" headers.
+       (get_64bit_section_headers): Likewise.
+       (process_section_headers): Update calls.
+       (get_file_header): Call get_32bit_section_headers or 64bit variant.
+
+2001-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * objcopy.c (setup_section): Copy entsize.
+
+2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
+
+       * readelf.c (guess_is_rela): Add support for stormy16.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+
+2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * dllwrap.c (main) Replace multiple strings describing a
+       single error with a single, newline escaped sentence to permit
+       better translation into foreign languages.
+
+       * readelf.c (get_elf_class): Remove internalionalisation of ELF
+       class names.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * strings.c (get_char): Initialize value.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * arlex.l: Silence compile warnings.
+       * arsup.h: Likewise. Fix formatting.
+
+2001-12-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * strings.c: Include config.h before bfd.h.
+       (file_off): New type.
+       (file_open): Define.
+       (print_strings): Use file_off instead of file_ptr.  Print addresses
+       which don't fit into long correctly.
+       (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
+       available.
+       (strings_file): Use file_off instead of file_ptr.  Use file_open.
+       * configure.in: Check for getc_unlocked.
+       Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
+       be defined for it.
+       * configure: Rebuilt.
+       * config.h.in: Rebuilt.
+
+2001-11-29  H.J. Lu <hjl@gnu.org>
+
+       * bucomm.c (make_tempname): Revert the changes made on
+       2001-11-14 and 2001-11-12. They won't work with directories.
+
+2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
+       CFLAGS_FOR_TARGET to runtest in environment.
+       * Makefile.in: Rebuild.
+       * doc/Makefile.in: Rebuild.
+
+2001-11-28  Mike Stump  <mrs@wrs.com>
+
+       * objcopy.c (setup_section): Preserve SEC_RELOC when
+       --set-section-flags is used.
+
+2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * readelf.c (do_debug_str): New variable.
+       (display_debug_str): New function: Display the contents of a
+       .debug_str section.
+       (load_debug_str): New function: Load in the contents of a
+       .debug_str section.
+       (free_debug_str): New function: Free the memory used by
+       load_debug_str().
+       (fetch_indirect_string): Retrieve a string from the .debug_str
+       section.
+       (usage): Add -ws.
+       (parse_args): Accept -ws.
+       (process_section_headers): Allow the display of the .debug_str
+       section.
+       (read_and_display_attr_value): Use fetch_indirect_string.  Show
+       offset into .debug_str section.
+       (display_debug_info): Use load_debug_str and free_debug_str.
+       (debug_displays): Add .debug_str.
+       * doc/binutils.texi: Document -ws.
+
 2001-11-19  Andreas Jaeger  <aj@suse.de>
 
        * testsuite/binutils-all/objdump.exp: Add x86-64.