]> 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 07fc09dbb2c7ec8c9c7a8674454f3c0cf8e212a6..2d7d37657a6de442f4c88343257b17e205c697c2 100644 (file)
@@ -1,3 +1,51 @@
+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.