* stabs.c (struct stab_handle): Add field abfd.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 02010896cdbdb396e909dfc6d8b8ae58e9d3326c..ff68d684d6db8b275e8b5d1f3158896210d6608d 100644 (file)
@@ -1,3 +1,286 @@
+Fri Mar 22 15:49:08 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * stabs.c (struct stab_handle): Add field abfd.
+       (start_stab): Add abfd parameter.
+       (parse_stab_string): Skip the symbol leading char when searching
+       for the value of a global symbol.
+       * budbg.h (start_stab): Update declaration.
+       * rddbg.c (read_section_stabs_debugging_info): Pass abfd to
+       start_stab.
+       (read_symbol_stabs_debugging_info): Likewise.
+
+Thu Mar 21 12:40:48 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * wrstabs.c (stab_function_type): Output an empty typedef for an
+       unused argument, rather than making up a meaningless name.
+       (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable.
+
+       * ieee.c (struct ieee_info): Add global_vars field.
+       (parse_ieee_be): When ending the global typedef block, copy the
+       variables into info->global_vars.
+       (parse_ieee_atn): Don't require an NN record for a pmisc ATN.
+       (ieee_read_reference): Search the global variables after the local
+       variables.
+
+Wed Mar 20 18:08:19 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * objdump.c (disassemble_data): Make sure sym_name is always set.
+       (dump_section_header): Always put a space after the section name.
+       (dump_bfd_header): Terminate output with newline.
+
+Wed Mar 20 16:35:20 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * wrstabs.c: New file.
+       * budbg.h (write_stabs_in_sections_debugging_info): Declare.
+       * objcopy.c (write_debugging_info): For COFF or ELF, output stabs
+       in sections.
+       * Makefile.in: Rebuild dependencies.
+       (CFILES): Add wrstabs.c.
+       (WRITE_DEBUG_OBJS): New variable.
+       ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
+       ($(STRIP_PROG)): Likewise.
+
+       * stabs.c (parse_stab_members): Make type stub detection more like
+       gdb.
+
+       * ieee.c (struct ieee_handle): Add fields complex_float_index and
+       complex_double_index.
+       (ieee_complex_type): Cache type index in complex_float_index and
+       complex_double_index, depending upon size.  Set size on type stack
+       to size * 2.
+
+       * ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
+       (ieee_void_type): Use builtin_void, not 1.
+
+       * ieee.c (parse_ieee_ty): Handle 'V' type code.
+       (parse_ieee_atn): Don't require two numbers for type 10.
+
+       * ieee.c (parse_ieee_be): Add one to offset at end of function or
+       block.
+
+       * ieee.c (struct ieee_block): Add field skip.
+       (parse_ieee_bb): Don't call debug_record_function for __XRYCPP
+       function, and set skip field.
+       (parse_ieee_be): Don't call debug_end_function if skip is set.
+
+       * debug.c (struct debug_handle): Add fields current_write_lineno
+       and current_write_lineno_index.
+       (debug_write): Initialize current_write_lineno and
+       current_write_lineno_index for each unit.  Call
+       debug_write_linenos rather than writing out the line numbers
+       directly.
+       (debug_write_function): Call debug_write_linenos.
+       (debug_write_block): Likewise.
+       (debug_write_linenos): New static function.
+
+       * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return
+       type before arguments.
+
+Mon Mar 18 18:05:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Add AC_FUNC_VFORK.
+       * configure, config.in: Rebuild.
+       * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
+       defined.
+
+       * stabs.c (parse_stab_range_type): A complex type is defined as a
+       subrange of itself with the high bound zero.
+       * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
+
+Tue Mar 12 12:09:43 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c (ieee_write_undefined_tag): Switch to global_types even
+       if it is not empty.
+       (ieee_tag_type): For an enum, look through info->enums.
+
+       * configure: Rebuild with autoconf 2.8.
+
+       * debug.c (debug_type_samep): Don't loop endlessly in
+       DEBUG_KIND_ENUM case.  From Eric Baur <ecb@nexen.com>.
+
+Mon Mar 11 12:35:03 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * rddbg.c (read_section_stabs_debugging_info): Call save_stab for
+       each stab entry, call stab_context on an error, and call
+       free_saved_stabs before rturning.
+       (read_symbol_stabs_debugging_info): Likewise.
+       (SAVE_STABS_COUNT): Define.
+       (struct saved_stab): Define.
+       (saved_stabs, saved_stabs_index): New static variables.
+       (save_stab, stab_context, free_saved_stabs): New static functios.
+
+       * objdump.c (stab_name): Remove.
+       (struct stab_print): Remove.
+       (stab_print): Remove.
+       (dump_stabs): Don't initialize stab_name.
+       (print_section_stabs): Call bfd_get_stab_name rather than using
+       the stab_name array.
+
+Tue Feb 27 19:52:01 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * prdbg.c (pr_int_constant): Initialize info correctly.
+       (pr_float_constant): Likewise.
+
+Mon Feb 26 18:11:37 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed: Update to handle shared library support.
+
+Sat Feb 24 11:21:49 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>:
+
+       * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
+       $(OPCODES).
+
+Thu Feb 15 12:44:45 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Don't tamper with LDFLAGS.  Call AC_PROG_CC before
+       configure.host.
+       * configure: Rebuild.
+
+       * configure.in: Substitute RPATH_ENVVAR.
+       * configure: Rebuild.
+       * Makefile.in (RPATH_ENVVAR): New variable.
+       (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
+
+       * objcopy.c (smart_rename): Rather than doing chmod then chown, do
+       chmod without setuid, then chown, then chmod with setuid.
+
+Wed Feb 14 16:46:42 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
+
+       * arsup.c (map_over_list): Reindent.  Don't assume that the
+       function does not delete the BFD.
+       (ar_addlib_doer): Don't set prev->next if prev is NULL.
+
+Wed Feb 14 15:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
+       and i960.
+       (ieee_genreg_to_regno): Likewise.
+
+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.
@@ -415,7 +698,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.025657 seconds and 4 git commands to generate.