* ieee.c: Extensive changes to write code to put types in the
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 3471f5ad591ce12cb3a75c5055886b657af70d49..09f07906e5a04843d5701e606169b5e11c1af8b4 100644 (file)
@@ -1,3 +1,173 @@
+Mon Feb 12 14:19:59 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c: Extensive changes to write code to put types in the
+       global type block when possible, to output ranges for all memory
+       occupied by the module, and to improve efficiency.
+
+       * debug.c (struct debug_handle): Remove class_mark field.  Add
+       id_list and compare_list fields.
+       (struct debug_class_id): Define.
+       (struct debug_type_compare_list): Define.
+       (debug_write): Initialize info->id_list
+       (debug_write_name): Remove reference to info->class_mark.
+       (debug_write_type): Get id for all structs and classes.  Simplify
+       test for whether struct has already been written.
+       (debug_write_class_type): Get id for all classes.  Simplify test
+       for whether class has already been written.
+       (debug_write_block): Don't write out blocks other than the top
+       level block if they have no local variables.
+       (debug_set_class_id): New static function.
+       (debug_type_samep): New static function.
+       (debug_class_type_samep): New static function.
+       * prdbg.c (pr_start_struct_type): Always print id.
+       (pr_start_class_type): Likewise.
+       (pr_tag_type): Likewise.
+
+       * stabs.c (struct stab_handle): Add syms and symcount fields.
+       (start_stab): Add syms and symcount parameters.  Change all
+       callers.
+       (parse_stab_string): Look up global variables in the symbol table
+       to get the right value.
+       * budbg.h (start_stab): Update declaration.
+       * rddbg.c (read_section_stabs_debugging_info): Add syms and
+       symcount parameters.  Change all callers.
+
+       * stabs.c (parse_stab_array_type): If the index type is 0, use
+       int.
+
+Wed Feb  7 14:17:45 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c (ieee_start_compilation_unit): Clear modified and
+       modified_alloc fields of info.
+
+       * configure.in: Check for --enable-shared.  Substitute new
+       variables BFDLIB and OPCODES.
+       * configure: Rebuild.
+       * Makefile.in (BFDLIB): Set to @BFDLIB@.
+       (OPCODES): Set to @OPCODES@.
+
+Mon Feb  5 16:18:42 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       Support for building bfd and opcodes as shared libraries, based on
+       patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
+       * configure.in (HLDFLAGS): New substitution.
+       * configure: Rebuild.
+       * Makefile.in (HLDFLAGS): New variable.  Make all links use
+       $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS).
+       (BFDLIB_DEP): New variable.  Replace all occurrences of $(BFD) as
+       a dependency with $(BFDLIB_DEP).  Remove $(BFD) as a dependency if
+       there is also a dependency on $(ADDL_DEPS).
+       (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd.
+       (OPCODES_DEP): New variable.  Replace all occurrends of $(OPCODES)
+       as a dependency with $(OPCODES_DEP).
+       (OPCODES): Set to -L../opcodes -lopcodes.
+       (ADDL_DEPS): New variable.  Replace all occurrences of
+       $(ADDL_LIBS) as a dependency with $(ADDL_DEPS).
+       (check): Set LD_LIBRARY_PATH in the environment.
+       (config.status): Depend upon BFD configure.host and config.bfd.
+
+Fri Feb  2 17:02:59 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * objdump.c: #include stdarg.h or varargs.h.
+       (objdump_print_value): Change FILE* arg to struct disassemble_info*.
+       All callers updated.  Use fprintf_func.
+       (objdump_print_address): Consistently use fprintf_func.
+       (objdump_sprintf): New function.
+       (disassemble_data): Print insn into a buffer, print raw insn ourselves,
+       then print insn mnemonic.
+
+Fri Feb  2 16:48:55 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate.
+
+Thu Feb  1 09:38:18 1996  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
+       (powerpc*-*-cygwin32): New.
+       * configure: Regenerated.
+
+Wed Jan 31 13:22:03 1996  Richard Henderson  <rth@tamu.edu>
+
+       * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
+
+Mon Jan 29 17:36:29 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       Based on patches from H J Lu <hjl@zoom.com>:
+       * objcopy.c (remove_leading_char): New static variable.
+       (OPTION_REMOVE_LEADING_CHAR): Define.
+       (copy_usage): Mention --remove-leading-char.
+       (filter_symbols): If remove_leading_char, and the first character
+       of a global symbol matches the symbol leading char of the BFD,
+       remove the first character.
+       (copy_object): Filter the symbols if remove_leading_char is set.
+       (copy_main): Handle --remove-leading-char.
+       * binutils.texi, objcopy.1: Document --remove-leading-char.
+
+Sat Jan 27 15:40:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * objdump.c (fprintf): Add prototype to avoid compiler warning on
+       SunOS.
+
+Fri Jan 26 11:53:42 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * binutils.texi (nm): Improve documentation on symbol types.
+       (objdump): Reference the stabs manual from the discussion of the
+       --stabs option.
+
+Thu Jan 25 11:21:46 1996  Raymond Jou  <rjou@mexican.cygnus.com>
+
+       * mpw-make.sed: Add a "stamps" target.
+
+Thu Jan 25 13:51:44 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (dump_headers, dump_section_header): Change objdump -h
+       output to be simpler and to include section file offsets.
+
+Wed Jan 24 12:06:05 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * stabs.c (parse_stab_members): Don't adjust voffset.
+
+       * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
+       (struct ieee_write_type): Add name field.
+       (struct ieee_type_class): Remove name field.  Change all uses to
+       use new name field in type instead.
+       (struct ieee_name_type): Likewise.
+       (ieee_start_struct_type): Initialize name field of type.
+       (ieee_start_class_type): Don't initialize classdef entry of tag.
+       (ieee_class_method_var): Don't adjust voffset.
+       (ieee_end_class_type): Likewise.
+       (ieee_tag_type): Initialize new name field of type.
+       (ieee_typdef): Set name after copying in type information.
+
+       * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1.
+
+       * ieee.c (struct ieee_modified_type): Define.
+       (struct ieee_handle): Add modified and modified_alloc fields.
+       (ieee_get_modified_info): New static function.
+       (ieee_pointer_type): Cache type index.
+       (ieee_const_type): Likewise.
+       (ieee_volatile_type): Likewise.
+
+       * ieee.c (ieee_define_named_type): When creating a tag for an
+       anonymous struct, copy the name into memory.
+       (ieee_tag_type): Likewise.
+       * debug.c (debug_write_type): Only check and set id field for an
+       unnamed object.
+       (debug_write_class_type): Likewise.
+
+       * ieee.c: Various changes to write out types for functions and
+       references, and to not write out unnecessary function types.
+
+       * ieee.c (struct ieee_var): Remove variable field.  Add kind
+       field, and define some enum constants for it.
+       (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
+       (parse_ieee_atn): Make an indirect slot for an external variable,
+       although we otherwise don't record it.  Set kind field rather than
+       variable field of pvar.
+       (ieee_read_cxx_class): Try to get the type of a static member.
+       (ieee_read_reference): Check kind field rather than variable
+       field.
+
 Tue Jan 23 15:54:18 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * ieee.c: Various changes to handle reading C++ reference type
@@ -370,7 +540,7 @@ Fri Dec 15 16:30:57 1995  Ian Lance Taylor  <ian@cygnus.com>
 Fri Dec 15 07:51:34 1995  steve chamberlain  <sac@slash.cygnus.com>
 
        * dlltool.c (fill_ordinals): Start from 1 if no other instructions
-       given.
+       given.
 
 Tue Dec 12 12:05:21 1995  Ian Lance Taylor  <ian@cygnus.com>
 
This page took 0.02416 seconds and 4 git commands to generate.