* objcopy.c (filter_symbols): NULL terminate the output symbols.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index a9cae8424489fb7890b3c42e877ed424f67a0aa0..1d5f6b99352735f404e47e362c06064b6b9aec15 100644 (file)
@@ -1,3 +1,157 @@
+Thu Jan 11 11:45:34 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objcopy.c (filter_symbols): NULL terminate the output symbols.
+       (copy_object): Allocate space for a possible extra NULL pointer.
+
+       * debug.c (debug_make_undefined_tagged_type): Make sure we are
+       given a kind of type we can handle.
+       (debug_write_type): Handle undefined enums and structs.
+       (debug_write_class_type): Handle undefined classes.
+       * prdbg.c (pr_enum_type): Handle an undefined enum.
+       * ieee.c (ieee_enum_type): Likewise.
+
+Wed Jan 10 15:33:18 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in: Updated dependencies.
+       (ALLOCA, MALLOC): Remove variables.
+       (ADDL_LIBS): Remove $(MALLOC) from definition.
+       * alloca.c, gmalloc.c: Remove.
+
+Mon Jan  8 18:02:29 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c: Add global function write_ieee_debugging_info and a
+       bunch of static functions and structs used to write out IEEE
+       debugging information.
+       * budbg.h (write_ieee_debugging_info): Declare.
+
+       * ieee.c (struct ieee_type): Add pslot field.
+       (enum builtin_types): Define.
+       (ieee_builtin_type): For a pointer, return a pointer to the named
+       type.  Use enum values rather than numbers.
+       (ieee_alloc_type): New static function.
+       (ieee_read_type_index): Use ieee_alloc_type.
+       (parse_ieee_bb): Likewise.
+       (parse_ieee_ty): Likewise.  Use ieee_builtin_type for array range,
+       rather than making a new integer type.  Store the new type in the
+       slot, if there is one.
+       (parse_ieee_atn): Treat ATN10 as defining a register variable.
+       (ieee_regno_to_genreg): Rename from ieee_regno_to_gen.  Change all
+       callers.
+       (ieee_genreg_to_regno): New static function.
+
+       * stabs.c (parse_stab_type): Add new typename parameter.  Change
+       all callers.
+       (parse_stab_range_type): Add new typename parameter.  Change all
+       callers.
+
+       * debug.h (struct debug_write_fns): Add tag parameter to
+       enum_type, start_struct_type, and start_class_type.
+       * debug.c (debug_write_type): Pass any tag name to
+       start_struct_type, debug_write_class_type, and enum_type.  If
+       DEBUG_KIND_TAGGED, pass the name in the recursive call.
+       (debug_write_class_type): Accept a new tag parameter, and pass it
+       to start_class_type.
+       * prdbg.c (pop_type): Don't remove '+' character.
+       (pr_enum_type): Accept and use tag parameter.
+       (pr_start_struct_type): Likewise.
+       (pr_start_class_type): Likewise.
+       (pr_class_baseclass): Adjust algorithm used to find where to put
+       the baseclass name.
+       (pr_tag): Don't bother to insert the tag name.
+
+       * objcopy.c: Include budbg.h.
+       (convert_debugging): New static variable.
+       (OPTION_DEBUGGING): Define.
+       (copy_options): Add "debugging".
+       (copy_usage): Mention --debugging.
+       (is_strip_section): Skip debugging sections if convert_debugging.
+       (setup_section, copy_section): Likewise.
+       (filter_symbols): Skip debugging symbols if convert_debugging.
+       (copy_object): If convert_debugging, read and write debugging
+       information.
+       (write_debugging_info): New static function.
+       (copy_main): Handle --debugging.
+       * Makefile.in (DEBUG_OBJS): New variable.
+       ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
+       ($(STRIP_PROG)): Likewise.
+       (OBJDUMP_OBJS): Remove variable.
+       ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
+       $(OBJDUMP_OBJS).
+       * binutils.texi, objcopy.1: Document --debugging.
+
+Thu Jan  4 16:31:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c: New file with code to read IEEE debugging information.
+       * budbg.h (parse_ieee): Declare.
+       * rddbg.c (read_debugging_info): Handle IEEE flavour files.
+       (read_ieee_debugging_info): New static function.
+       * Makefile.in: Rebuild dependencies.
+       (CFILES): Add ieee.c.
+       (OBJDUMP_OBJS): Add ieee.o.
+
+       * bucomm.h (xrealloc): Change type of first parameter from char *
+       to PTR.
+
+Tue Jan  2 17:44:07 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in: Add targets to automatically rebuild dependencies.
+       Remove targets which just listed dependencies of .o files.
+       (DEP): New variable.
+       (HFILES, GENERATED_HFILES): New variables.
+       (CFILES, GENERATED_CFILES): New variables.
+       (underscore.c): Don't do anything, just depend upon stamp-under.
+       (stamp-under): New target; do what underscore.c used to do.
+       (nlmconv.o): Depend upon sym.h and ecoff.h.
+       (.dep, .dep1, dep.sed, dep, dep-in): New targets.
+       (stage1, stage2, stage3, against, comparison): Remove.
+       (de-stage1, de-stage2, de-stage3): Remove.
+       (clean, distclean): Remove stamp-under and dep.sed.
+       * dep-in.sed: New file.
+
+       Implement generic debugging support.  Implement a stabs reader and
+       a generic printer.
+       * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
+       * objdump.c: Include "debug.h" and "budbg.h".
+       (dump_debugging): New global variable.
+       (usage): Mention --debugging.
+       (long_options): Add "debugging".
+       (display_bfd): Handle --debugging.
+       * Makefile.in (OBJDUMP_OBJS): New variable.
+       ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
+       * binutils.texi, objdump.1: Document --debugging.
+
+Sat Dec 30 09:59:51 1995  Jeffrey A Law  (law@cygnus.com)
+
+       * nm.c ( long_options): Add "--defined-only" option.
+       (usage): Update for new "--defined-only" option.
+       (filter_symbols): Handle "--defined-only".
+
+Fri Dec 29 16:04:56 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * arparse.y: Include "bucomm.h", not <sysdep.h>.
+       * nlmheader.y: Don't include "sysdep.h".
+
+Tue Dec 26 18:23:18 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * nm.c (print_symdef_entry): Check return value of
+       bfd_get_elt_at_index.
+
+Sat Dec 23 11:03:16 1995  Michael Meissner  <meissner@tiktok.cgynsu.com>
+
+       * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target
+       is powerpc*-*-win* in addition to powerpc*-*-*pe*.
+
+Fri Dec 15 16:30:57 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * objdump.c (endian_string): New static function.
+       (display_target_list): Use it.
+       * nlmconv.c (main): Use new bfd_big_endian macro.
+
+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.
+
 Tue Dec 12 12:05:21 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * Makefile.in (clean): Remove $(DEMANGLER_PROG).1.  From Ronald
This page took 0.024254 seconds and 4 git commands to generate.