aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1996-03-20Wed Mar 20 18:08:19 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+6
<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.
1996-03-20 * wrstabs.c: New file.Ian Lance Taylor3-0/+2456
* 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.
1996-03-20 * ieee.c (struct ieee_handle): Add fields complex_float_index andIan Lance Taylor1-34/+78
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.
1996-03-18 * configure.in: Add AC_FUNC_VFORK.Ian Lance Taylor1-0/+5
* configure, config.in: Rebuild. * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is defined.
1996-03-18 * stabs.c (parse_stab_range_type): A complex type is defined as aIan Lance Taylor3-19/+73
subrange of itself with the high bound zero. * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
1996-03-12 * ieee.c (ieee_write_undefined_tag): Switch to global_types evenIan Lance Taylor2-0/+30
if it is not empty. (ieee_tag_type): For an enum, look through info->enums.
1996-03-12tweak last patchIan Lance Taylor1-0/+2
1996-03-12 * configure: Rebuild with autoconf 2.8.Ian Lance Taylor2-34/+82
1996-03-12 * debug.c (debug_type_samep): Don't loop endlessly inIan Lance Taylor2-28/+531
DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>.
1996-03-11 * rddbg.c (read_section_stabs_debugging_info): Call save_stab forIan Lance Taylor1-0/+23
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.
1996-03-11 * objdump.c (stab_name): Remove.Ian Lance Taylor1-51/+95
(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.
1996-02-27 * mpw-make.sed: Update to handle shared library support.Stan Shebs2-0/+11
1996-02-24Sat Feb 24 11:21:49 1996 Alan Modra <alan@spri.levels.unisa.edu.au>:Ian Lance Taylor1-0/+5
* Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before $(OPCODES).
1996-02-15 * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC beforeIan Lance Taylor1-0/+4
configure.host. * configure: Rebuild.
1996-02-15 * configure.in: Substitute RPATH_ENVVAR.Ian Lance Taylor4-12/+23
* configure: Rebuild. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 * objcopy.c (smart_rename): Rather than doing chmod then chown, doIan Lance Taylor1-0/+5
chmod without setuid, then chown, then chmod with setuid.
1996-02-14Wed Feb 14 16:46:42 1996 Martin Anantharaman ↵Ian Lance Taylor1-0/+6
<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.
1996-02-14 * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68kIan Lance Taylor2-0/+38
and i960. (ieee_genreg_to_regno): Likewise.
1996-02-12 * ieee.c: Extensive changes to write code to put types in theIan Lance Taylor2-449/+1218
global type block when possible, to output ranges for all memory occupied by the module, and to improve efficiency.
1996-02-12 * debug.c (struct debug_handle): Remove class_mark field. AddIan Lance Taylor1-26/+127
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.
1996-02-07 * ieee.c (ieee_start_compilation_unit): Clear modified andIan Lance Taylor2-52/+38
modified_alloc fields of info.
1996-02-07 * configure.in: Check for --enable-shared. Substitute newIan Lance Taylor4-59/+161
variables BFDLIB and OPCODES. * configure: Rebuild. * Makefile.in (BFDLIB): Set to @BFDLIB@. (OPCODES): Set to @OPCODES@.
1996-02-02 * configure: Regenerate.Ian Lance Taylor1-0/+4
1996-02-01 * configure: Regenerate with autoconf 2.7.Steve Chamberlain1-39/+183
1996-02-01 * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.Steve Chamberlain2-3/+9
(powerpc*-*-cygwin32): New. * configure: Regenerated.
1996-01-31Wed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+4
* Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
1996-01-29 Based on patches from H J Lu <hjl@zoom.com>:Ian Lance Taylor3-0/+36
* 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.
1996-01-27Fix up warning on SunOSMichael Meissner1-1/+1
1996-01-26tipoIan Lance Taylor1-2/+2
1996-01-26 * binutils.texi (nm): Improve documentation on symbol types.Ian Lance Taylor2-8/+51
(objdump): Reference the stabs manual from the discussion of the --stabs option.
1996-01-25 * mpw-make.sed: Add a "stamps" target.Raymond Jou2-0/+8
1996-01-25shorten copyright lineIan Lance Taylor1-1/+1
1996-01-25 * objdump.c (dump_headers, dump_section_header): Change objdump -hIan Lance Taylor2-12/+25
output to be simpler and to include section file offsets.
1996-01-25 * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.Ian Lance Taylor1-0/+16
(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.
1996-01-24 * ieee.c (struct ieee_modified_type): Define.Ian Lance Taylor2-14/+107
(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.
1996-01-24 * ieee.c (ieee_define_named_type): When creating a tag for anIan Lance Taylor3-7/+24
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.
1996-01-24 * ieee.c: Various changes to write out types for functions andIan Lance Taylor2-162/+474
references, and to not write out unnecessary function types.
1996-01-24comment changeIan Lance Taylor1-2/+1
1996-01-24 * ieee.c (struct ieee_var): Remove variable field. Add kindIan Lance Taylor2-29/+62
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.
1996-01-24fix ChangeLog entryIan Lance Taylor1-1/+2
1996-01-24 * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.Ian Lance Taylor3-0/+13
(enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
1996-01-24 * ieee.c: Various changes to handle C++ reference types.Ian Lance Taylor1-126/+453
1996-01-23 * objdump.c (disassemble_data): Pass fprintf to INIT_DISASSEMBLE_INFO.David Edelsohn2-1/+2
1996-01-23 * ieee.c: Various changes to write out definitions of C++ classes.Ian Lance Taylor2-37/+501
1996-01-23 * debug.c (debug_append_filename): Remove.Ian Lance Taylor2-32/+0
* debug.h (debug_append_filename): Don't declare.
1996-01-23 * stabs.c (struct stab_handle): Remove last_type field. AddIan Lance Taylor1-56/+68
so_string and so_value fields. (finish_stab): Call stab_emit_pending_vars before calling debug_end_function. Don't warn about pending variables. (parse_stab): Accumulate N_SO strings until a non N_SO symbol is seen, rather than calling debug_append_filename. Call stab_emit_pending_vars before calling debug_end_function. Don't set info->last_type.
1996-01-23 * objdump.c (disassemble_data): Handle unknown endianness.David Edelsohn2-1/+9
1996-01-23 Add new option --show-raw-insn.David Edelsohn4-3/+37
* objdump.c (show_raw_insn): New global. (usage): Update. (long_options): Update. (disassemble_data): Set disasm_info.flags if --show-raw-insn. * objdump.c (disassemble_data): Set new arch,mach,endian fields in disasm_info.
1996-01-23 * ieee.c: Extensive changes to pass a single info argument aroundIan Lance Taylor2-448/+1352
in the reading routines, rather than several arguments. Add code to read C++ debugging records.
1996-01-23 * debug.h (debug_get_type_size): Declare.Ian Lance Taylor2-9/+136
(debug_get_field_name): Declare. (debug_get_field_bitpos): Declare. (debug_get_field_bitsize): Declare. (debug_get_field_visibility): Declare. (debug_get_field_physname): Declare. * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED. (debug_get_type_size): New function. (debug_get_field_name): New function. (debug_get_field_bitpos): New function. (debug_get_field_bitsize): New function. (debug_get_field_visibility): New function. (debug_get_field_physname): New function. (debug_write_type): Make sure we pass the real kind, not INDIRECT, to tag_type. Pass the name recursively for INDIRECT.