* rdcoff.c (parse_coff): Get address to pass to debug_end_function
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index c11386b2ad8f16c66382ae22cc92ee5939f416d7..8927a1bae3319c885f6d25c80a361e8a327bde08 100644 (file)
@@ -1,3 +1,375 @@
+Thu Jul  4 12:00:55 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (VERSION): Set to cygnus-2.7.1.
+
+       * Released binutils 2.7.
+
+       * rdcoff.c (parse_coff): Get address to pass to debug_end_function
+       from function size, not value of .ef symbol.  From Ning
+       Mosberger-Tang <ning@AZStarNet.com>.
+
+Sat Jun 29 21:18:09 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objcopy.c (strip_main): Add -o option, and handle it.
+       (strip_usage): Mention -o.
+       * binutils.texi, strip.1: Mention -o.
+
+Mon Jun 24 17:19:02 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): Autoconf 2.5 or higher.     
+
+Mon Jun 24 11:59:13 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (endian): New static variable.
+       (usage): Mention -EB/-EL/--endian.
+       (long_options): Add "endian".
+       (disassemble_data): If endianness was specified, replace
+       abfd->xvec with a copy of itself with the given endianness.
+       (main): Handle -EB/-EL/--endian.
+       * binutils.texi, objdump.1: Mention -EB/-EL/--endian.
+
+       * objdump.c: Make most variables and functions static.
+
+       * configure.in: On alpha*-*-osf*, link against libbfd.a if not
+       using shared libraries.
+       * configure: Rebuild with autoconf 2.10.
+
+Sun Jun 23 14:47:36 1996  Kim Knuttila  <krk@cygnus.com>
+
+       * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
+       (make_one_lib_file): Removed cruft. (#if 1)
+
+Wed Jun 19 14:46:38 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (stabs): Change from struct internal_nlist * to
+       bfd_byte *.
+       (print_section_stabs): Fetch stabs information directly, rather
+       than assuming that struct internal_nlist is the right size.
+
+       * binutils.texi: Document change to binary format: file position
+       based on load address, not section VMA.
+
+       * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are
+       not already defined.
+
+Tue Jun 18 18:25:00 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (DISTSTUFF): Add deflex.c.
+
+Tue Jun 18 15:03:44 1996  Klaus Kaempf  <kkaempf@progis.de>
+
+       * config.h-vms, makefile.vms: New files.
+
+Mon Jun 17 09:47:31 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
+       BFD_RELOC_32 in IDATA7.
+
+Wed Jun 12 11:52:06 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * nm.c (struct get_relocs_info): Define.
+       (line_numbers): New static variable.
+       (long_options): Add "line-numbers".
+       (usage): Mention -l and --line-numbers.
+       (main): Handle -l.
+       (print_symbol): Print line numbers if requested.
+       (get_relocs): New static function.
+       * binutils.texi, nm.1: Document -l/--line-numbers.
+
+Tue Jun 11 20:12:15 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (dump_reloc_set): Add sec parameter.  Change all
+       callers.  If with_line_numbers is set, display line numbers of
+       relocation entries.
+       * binutils.texi, objdump.1: Document -l with -r.
+
+Mon Jun 10 23:42:59 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ar.c (open_inarch): Report BFD error message if an archive can
+       not be recognized.  List matching formats if the file is
+       ambiguously recognized.
+       (ranlib_touch): Likewise.
+
+Thu Jun  6 13:56:14 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * README: Add notes on how to build if you don't have ar.
+
+       * Makefile.in: Remove old incorrect setting of CC.
+
+Tue Jun  4 10:52:49 1996  Tom Tromey  <tromey@csk3.cygnus.com>
+
+       * Makefile.in (install): Don't check to see if tooldir exists.
+       Make $(tooldir) and $(tooldir)/bin.
+
+Mon Jun  3 17:40:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * strings.c (main): Make main an int function, not void.
+
+Fri May 31 13:59:24 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * nm.c (filter_symbols): Check for BSF_WEAK as well as
+       BSF_GLOBAL.
+       * objcopy.c (filter_symbols): Likewise.
+
+Wed May  8 16:57:20 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objcopy.c (copy_object): Make clear that it is only a warning
+       when the output file can not represent the architecture.
+
+Fri May  3 11:30:17 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (disassemble_data): Don't refer to bytes past the end
+       of data.
+
+Wed Apr 24 14:10:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * rddbg.c (read_symbol_stabs_debugging_info): Move call to
+       free_saved_stabs outside the loop over the symbols.
+
+Tue Apr 23 12:56:11 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (compare_symbols): Sort symbols whose names start with
+       `.' after other symbols.  If no other decision can be made, sort
+       symbols by name.
+
+Thu Apr 18 16:02:11 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
+       * Makefile.in: Rebuild dependencies.
+       (dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
+
+Tue Apr 16 13:50:22 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * rdcoff.c: New file.
+       * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
+       and no stabs were found.
+       * budbg.h (parse_coff): Declare.
+       * Makefile.in: Rebuild dependencies.
+       (CFILES): Add rdcoff.c.
+       (DEBUG_OBJS): Add rdcoff.o.
+
+Mon Apr 15 15:55:01 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
+       (link_inputs): Update call to choose_temp_base.
+
+Mon Apr  8 14:40:05 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Permit --enable-shared to specify a list of
+       directories.
+       * configure: Rebuild.
+
+Fri Mar 29 16:11:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
+       and the SEC_LINK_DUPLICATES field.
+
+Fri Mar 29 11:35:55 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
+
+       * nlmconv.1: Changed to be recognized by catman -w on Solaris.
+
+Thu Mar 28 14:17:02 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * wrstabs.c (stab_enum_type): Set buf before using it.
+
+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
This page took 0.026214 seconds and 4 git commands to generate.