]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
* readelf.c (process_archive): Fix error handling. Remove memory
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index 10dbaaf2a99ce7be56f7a3bef28a80556502706d..2d7d37657a6de442f4c88343257b17e205c697c2 100644 (file)
@@ -1,3 +1,278 @@
+2003-08-11  Ian Lance Taylor  <ian@airs.com>
+
+       * readelf.c (process_archive): Fix error handling.  Remove memory
+       leak.
+
+       * readelf.c: Add ability to read archives.
+       (archive_file_offset): New variable.
+       (archive_file_size): New variable.
+       (get_data): Include archive_file_offset in file offset
+       calculation when fseeking.
+       (process_program_headers): Likewise.
+       (process_symbol_table): Likewise.
+       (process_dynamic_segment): Handle computation of end of file
+       position when the file is in an archive.
+       (process_object): New function.  Contains the body of
+       process_file().
+       (process_archive): New function.  Call process_object on each
+       member of an archive.
+       (process_file): Detect archives and handle appropriately.
+       * Makefile.am: Add dependency on aout/ar.h for readelf.c
+       * Makefile.in: Regenerate.
+       * NEWS: Document readelf's new ability.
+       * doc/binutils: Alter text to say that readelf supports archives
+       and 64-bit ELF files.
+       
+2003-08-08  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-08-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * objcopy.c: Remove unnecessary prototypes and casts.
+       * objdump.c: Remove unnecessary casts.
+       * readelf.c: Convert to C90.  Remove unnecessary prototypes and casts.
+       (get_osabi_name): Move so we don't need a forward declaration.
+
+2003-08-04  Bradley Harrington  <bharring@us.ibm.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c (include_paths, include_path_count): New vars.
+       (usage): Describe --include.
+       (long_options): Add "include".
+       (add_include_path): New function.
+       (struct print_file_list): Make filename const.  Add modname.
+       (try_print_file_open, update_source_path): New functions.
+       (show_line): Use them.
+       (main): Handle 'I' option.  Don't check for NULL xrealloc arg.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c: Remove unnecessary prototypes.
+       (disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
+       code, and print relocs when dump_dynamic_reloc_info.
+       (disassemble_data): Read and handle dynamic relocs.  Correct reloc
+       skip code.  Formatting.
+       (dump_bfd): Don't dump dynamic relocs when disassembling.
+
+2003-07-29  Ben Elliston  <bje@wasabisystems.com>
+
+       * MAINTAINERS: Remove self as M88k maintainer.  Future M88k
+       maintenance defaults to the blanket write privilege maintainers.
+
+2003-07-29  Michael Meissner  <gnu@the-meissners.org>
+
+       * MAINTAINERS: Updated my email address.
+
+2003-07-29  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c: Update to ISO C.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (disassemble_data): Do not ignore sections without the
+       LOAD flag when disassemble_all is true.  Only print a message
+       about disassembling a section if it contains some data.
+
+       * po/fr.po: Updated French translation.
+
+2003-07-23  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c: Switch to ISO C.  Remove debugging code accidentally
+       left in.  Some formatting tidy ups.
+
+2003-07-22  Salvador Eduardo Tropea <set@computer.org>
+
+       * objdump.c: New command line option --debugging-tags.
+       * doc/binutils.texi: Document new command line option.
+       * prdbg.c: Code to print the debug info as tags compatible 
+       with ctags.
+       * budbg.h: Adjust prototype.
+       * NEWS: Mention new switch
+        
+2003-07-18  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (main) :Accept multiple -M switch.
+        * doc/binutils.texi: Document that multiple -M switches are
+        accepted and that a single -M switch can contain comma
+        separated options.
+
+2003-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (main): Issue a warning message if multiple -M
+       switches are used.
+       
+       * doc/binutils.texi (objdump): Update documentation about -M
+       option.
+       
+2003-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: New Spanish translation.
+
+2003-07-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/binutils.pot: Regenerate.
+
+2003-07-05  Christopher Faylor  <cgf@redhat.com>
+
+       * dlltool.c (prefix_encode): Use a fixed length for alpha.
+
+2003-07-04  Christopher Faylor  <cgf@redhat.com>
+
+       * dlltool.c (prefix_encode): New function.  Encode temp file prefix
+       from pid.
+       (dlltmp): Pass address of pointer being alloced or suffer neverending
+       mallocs.
+       (make_one_lib_file): Allocate enough space for new longer stub names.
+       (gen_lib_file): Ditto.
+       (main): Generate the temp file prefix from the pid if prefix was not
+       specified on the command line.
+
+2003-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_data): Print (unsigned) hex values for size and
+       offset in error messages.
+       (process_section_headers): If the string table could not be
+       allocated, do not continue.
+
+2003-07-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (dynamic_segment_ia64_val): Print address and newline
+       for sections by default.  Comment fix.
+
+2003-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * rcparse.y (res_text_field): New res_id variable.
+       (res_null_text): New static const struct res_id object,
+       with empty unicode name field.
+       (control): Pop parsing of optresidc up one level. Set
+       res_text_field to $2 except for controls which do not accept
+       a text field.  Set res_text_field to res_null_text for the
+       special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
+       (control_params): Adjust to use res_text_field rather
+       than optresidc.
+       (COMBOBOX): Add comment about discrepency between documented
+       vs. observed default style.
+       * resrc.c (define_control): Make first param const.
+       * windres.h (define_control): Adjust prototype.
+
+2003-06-27  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (copy_object): Replace call to
+       bfd_create_gnu_debuglink_section with seperate calls to
+       bfd_add_gnu_debuglink_section and
+       bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
+       symbol tables.
+
+2003-06-26  Roland McGrath  <roland@redhat.com>
+
+       * readelf.c (loadaddr): Variable removed.
+       (dynamic_info, version_info): Fix type long -> bfd_vma.
+       (program_headers): New variable.
+       (get_program_headers): New function, broken out of
+       process_program_headers.
+       (process_program_headers): Call it.  Don't set `loadaddr'.
+       (slurp_ia64_unwind_table): Use get_program_headers.
+       (process_corefile_note_segments):  Likewise.
+       (offset_from_vma): New function.
+       (process_relocs, process_dynamic_segment): Call that instead of
+       subtracting `loadaddr'.
+       (process_version_sections, process_symbol_table): Likewise.
+       (process_mips_specific): Likewise.
+
+2003-06-26  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy (enum strip_action): Add STRIP_NONDEBUG.
+        (OPTION_ONLY_KEEP_DEBUG): New.
+        (strip_options): Add --only-keep-debug.
+        (copy_options): Likewise.
+        (is_strip_section): Invert return value if STRIP_NONDEBUG is
+        active.
+        (copy_object): Do not copy private data when STRIP_NONDEBUG is
+        active.
+        (setup_section): Likewise.
+        (strip_main): Handle --only-keep-debug.
+        (copy_main): Likewise.
+       * NEWS: Mention new switch
+       * doc/binutils.texi: Document new switch.
+
+2003-06-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * NEWS: Correct spelling of "relocatable".
+       * objdump.c: Likewise.
+       * sysroff.info: Likewise.
+
+2003-06-19  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (print_vma): When printing DEC_5 values, if the
+       number is bigger than 99999 switch to using hexadecimal
+       notation.
+
+2003-06-11  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (gnu_debuglink_filename): New variable.
+        (OPTION_ADD_GNU_DEBUGLINK): New switch
+        (copy_options): Describe --add-gnu-debuglink switch.
+        Mention that --strip-debug removes sections as well.
+        (is_strip_section): Process the sections removed and kept
+        lists before checking for debugging sections.
+        (add_redefine_syms_file): Make function static.
+        (copy_object): Use is_strip_section.
+        Check to see if a .gnu_debuglink section should be added.  If
+        so, call bfd_add_gnu_debuglink.
+        (setup_section): Use is_strip_section.
+        (copy_section): Use is_strip_section.
+        (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
+       * NEWS: Mention new objcopy switch.
+        * doc/binutils.texi: Document new switch.
+
+2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
+
+       * po/Make-in (DESTDIR): New.
+       (install-data-yes): Support $(DESTDIR).
+       (uninstall): Likewise.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2003-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (get_segment_type): Handle PT_GNU_STACK.
+
+2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * NEWS: Document the new BSD/POSIX single-character mapping for
+       .comment/.note sections.
+       
+2003-06-02  Chris Demetriou  <cgd@broadcom.com>
+            Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * objcopy.c (redefine_list_append): Add an argument that
+       indicates the context from which this function is being
+       called.  Change all callers.
+       (copy_options): Add a new option, --redefine-syms.
+       (copy_usage): Document new option.
+       (copy_main): Handle the --redefine-syms option.
+       * doc/binutils.text (objcopy): Document new option.
+
+2003-05-31  Richard Henderson  <rth@redhat.com>
+
+       * readelf.c (byte_get_signed): New.
+       (get_encoded_value): New.
+       (display_debug_frames): Use it.  Always pre-process opcodes.
+
+2003-05-20  Michal Ludvig  <mludvig@suse.cz>
+
+       * readelf.c (display_debug_frames): Print both registers
+       for DW_CFA_register.
+
+2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * configure.in: Accept i[3-7]86 variants. Escape '[]' for
+       i[3-7]86-*-interix.
+       * configure.in: Regenerate.
+
 2003-05-13  Michael Eager <eager@mvista.com>
 
        * objcopy.c: Treat identical src/dst file names as if only one