deliverable/binutils-gdb.git
28 years ago * core-aout.c (fetch_core_registers): Cast core_reg_size to int
Fred Fish [Sat, 30 Mar 1996 05:45:10 +0000 (05:45 +0000)] 
* core-aout.c (fetch_core_registers): Cast core_reg_size to int
before testing against reg_ptr.
* eval.c (evaluate_subexp_standard): Cast type of
TYPE_FN_FIELD_VOFFSET to int.
* findvar.c (extract_signed_integer, extract_unsigned_integer,
extract_long_unsigned_integer): Cast type of sizeof to int.
* values.c (unpack_field_as_long, modify_field): Ditto.
* valops.c (value_assign, call_function_by_hand): Ditto.
* infcmd.c (do_registers_info): Ditto.
* ser-tcp.c (tcp_open): Ditto
* remote.c (putpkt): Ditto.
* dcache.c (dcache_peek): Ditto.
* dcache.c (dcache_poke): Ditto.
* m2-exp.y (yylex): Ditto.
* gnu-regex.c (re_match_2): Ditto.
* f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
out unused macro definition and variables.
* inftarg.c (proc_wait): Move from main.c to here, and make static.
* valprint.c (val_print_string): Change bufsize from int to unsigned.
* main.c (wait.h): Include
* top.c (command_line_input): Remove unused variable "c".
* f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
value TYPE_CODE_TYPEDEF to switch statement.
(f_type_print_varspec_suffix): Add missing enum value
TYPE_CODE_TYPEDEF to switch statement.
* ch-exp.c (parse_primval): Add remaining enumeration values to
switch statement, with no specific action.
(ch_lex): Add LOC_UNRESOLVED in switch statement.
(pushback_token): Ifdef out, since code using it is ifdef'd out.
* stabsread.c (cleanup_undefined_types): Remove unused label
"badtype".
* objfiles.h (print_symbol_bcache_statistics): Add prototype.
* maint.c (objfiles.h): Include.
(maintenance_print_statistics): Remove unused variable "temp".
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
unused variable "found_file_symbol".
* m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
* language.c (lang_bool_type): Use existing function local type
variable rather than create block local variables.
* solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
* infptrace.c (wait.h, command.h): Include.
* ser-tcp.c (gdb_string.h): Include
* i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
(i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
* command.c (complete_on_enum): Make assignment used as truth value
explictly check against NULL.
(wait.h): Include.
* infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
that uses it is ifdef'd out.
* parser-defs.h: Add prototype for write_dollar_variable.
* infrun.c: Add prototype for write_pc_pid.
* breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
* symmisc.c (bcache.h): Include.
* bcache.h: Add prototype for print_bcache_statistics.
* symfile.c: Include <time.h>.
* printcmd.c (print_scalar_formatted): Change len to unsigned int.
* valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
* valarith.c (value_binop): Change result_len, promoted_len1,
  and promoted_len2 to unsigned int.
* valarith.c (value_subscripted_rvalue): Change elt_offs and
  elt_size to unsigned int.
* valops.c (value_array): Change typelength to unsigned int.
(destructor_name_p): Change len to unsigned int.
* scm-lang.h (scm_parse): Add prototype for scm_unpack.
* symfile.c (decrement_reading_symtab): Change return type to void.
* valarith.c (value_subscript): Remove unused variable "word".
(value_subscript): Remove unused variable "tint".
* valops.c (auto_abandon): Ifdef out, since code using it is also
ifdef'd out.
* eval.c (init_array_element): Remove unused variable "val".
* Makefile.in (values.o): Depends on scm-lang.h.
(command.o): Depends upon wait_h.
(ser-tcp.o): Depends upon gdb_string.h.
(infptrace.o): Depends upon wait_h and command_h.
(maint.o): Depends on objfiles.h and symfile.h.
* values.c (allocate_repeat_value): Remove unused variable
"element_type".
(scm-lang.h): Include.
* breakpoint.c (create_longjmp_breakpoint): Enclose in
GET_LONGJMP_TARGET define, unused otherwise.
* config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
i386_remove_watchpoint and i386_stopped_by_watchpoint.

28 years agoRegenerate with hacked Cygnus autoconf 2.8 rather than FSF autoconf 2.8,
Fred Fish [Fri, 29 Mar 1996 22:07:42 +0000 (22:07 +0000)] 
Regenerate with hacked Cygnus autoconf 2.8 rather than FSF autoconf 2.8,
otherwise configure fails.

28 years ago * read.h (enum linkonce_type): Define.
Ian Lance Taylor [Fri, 29 Mar 1996 21:35:44 +0000 (21:35 +0000)] 
* read.h (enum linkonce_type): Define.
(s_linkonce): Declare.
* read.c (potable): Add "linkonce".
(s_linkonce): New function.
* subsegs.h (segment_info_type): Add linkonce field to
MANY_SEGMENTS && ! BFD_ASSEMBLER section.
* config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
(obj_coff_pe_handle_link_once): Declare if TE_PE.
* config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
"coff/pe.h".
(obj_coff_pe_handle_link_once): New function, defined if TE_PE.
(c_section_symbol): If TE_PE, set the x_comdat field in the aux
entry based on the linkonce field in segment_info.
* doc/as.texinfo: Document .linkonce.

28 years ago * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
Ian Lance Taylor [Fri, 29 Mar 1996 21:34:34 +0000 (21:34 +0000)] 
* objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
and the SEC_LINK_DUPLICATES field.

28 years ago * section.c (SEC_LINK_ONCE): Define.
Ian Lance Taylor [Fri, 29 Mar 1996 21:33:59 +0000 (21:33 +0000)] 
* section.c (SEC_LINK_ONCE): Define.
(SEC_LINK_DUPLICATES): Define.
(SEC_LINK_DUPLICATES_DISCARD): Define.
(SEC_LINK_DUPLICATES_ONE_ONLY): Define.
(SEC_LINK_DUPLICATES_SAME_SIZE): Define.
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Define.
* bfd-in2.h: Rebuild.
* coffcode.h (sec_to_styp_flags): If COFF_WITH_PE, turn
SEC_LINK_ONCE into IMAGE_SCN_LNK_COMDAT.
(styp_to_sec_flags): If COFF_WITH_PE, turn IMAGE_SCN_LNK_REMOVE
into SEC_EXCLUDE.  If IMAGE_SCN_LNK_COMDAT is set, set
SEC_LINK_ONCE, and look through the symbol table for the setting
for SEC_LINK_DUPLICATES.
(coff_write_object_contents): If COFF_WITH_PE, if SEC_LINK_ONCE is
set for a section, find the section symbol in the symbol table,
and set the aux entry based on SEC_LINK_DUPLICATES.
* coffgen.c (coff_print_symbol): Add a space before "checksum".
* coff-arm.c (armcoff_big_vec): If COFF_WITH_PE is defined, add
SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags.
* coff-i386.c (i386coff_vec): Likewise.
* coff-ppc.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.

28 years ago* nlmconv.1: Changed to be recognized by catman -w on Solaris.
J.T. Conklin [Fri, 29 Mar 1996 19:36:44 +0000 (19:36 +0000)] 
* nlmconv.1: Changed to be recognized by catman -w on Solaris.

28 years ago* doc/as.1: Changed to be recognized by catman -w on Solaris.
J.T. Conklin [Fri, 29 Mar 1996 19:33:43 +0000 (19:33 +0000)] 
* doc/as.1: Changed to be recognized by catman -w on Solaris.

28 years ago * Makefile.in (ALL_MODULES): Include all-perl.
Tom Tromey [Fri, 29 Mar 1996 19:02:30 +0000 (19:02 +0000)] 
    * Makefile.in (ALL_MODULES): Include all-perl.
        (CROSS_CHECK_MODULES): Include check-perl.
        (INSTALL_MODULES): Include install-perl.
        (ALL_X11_MODULES): Include all-guile.
        (CHECK_X11_MODULES): Include check-guile.
        (INSTALL_X11_MODULES): Include install-guile.
        (all-perl): New target.
        (all-guile): New target.

        * configure.in (host_tools): Include perl and guile.
        (native_only): Include perl and guile.
        (noconfigdirs): Don't build guile and perl; no ports have been
        done.

28 years ago * Makefile.in (config.status): Depend upon BFD VERSION file, so
Ian Lance Taylor [Fri, 29 Mar 1996 18:11:21 +0000 (18:11 +0000)] 
* Makefile.in (config.status): Depend upon BFD VERSION file, so
that the shared library version number is set correctly.

28 years ago * VERSION: Bump to 2.6.1.
Ian Lance Taylor [Fri, 29 Mar 1996 18:09:06 +0000 (18:09 +0000)] 
* VERSION: Bump to 2.6.1.
* Makefile.in (stamp-h): Depend upon VERSION.

28 years agoPrint WITH_STDIO if -t options
Michael Meissner [Fri, 29 Mar 1996 18:06:42 +0000 (18:06 +0000)] 
Print WITH_STDIO if -t options

28 years agoAdd --enable-sim-stdio to make console I/O use stdio, not printf_filtered and polling...
Michael Meissner [Fri, 29 Mar 1996 17:33:56 +0000 (17:33 +0000)] 
Add --enable-sim-stdio to make console I/O use stdio, not printf_filtered and polling input

28 years ago * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
Jeff Law [Fri, 29 Mar 1996 07:01:22 +0000 (07:01 +0000)] 
    * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
        so as not to overwrite the magic syscall entry at 0xc4.
        * scripttempl/h8300h.sc: Likewise.
hmse.

28 years agoopps. forgot to commit the changelog entries for the function
Jeff Law [Fri, 29 Mar 1996 06:56:50 +0000 (06:56 +0000)] 
opps.  forgot to commit the changelog entries for the function
vector changes.

28 years ago * libbfd-in.h (generic_link_hash_newfunc): Add declaration.
Jeff Law [Fri, 29 Mar 1996 06:56:02 +0000 (06:56 +0000)] 
    * libbfd-in.h (generic_link_hash_newfunc): Add declaration.
        * libbfd.h: Rebuilt.
        * linker.c (generic_link_hash_newfunc): No longer static.
        * coffcode.h (coff_bfd_link_hash_create): Allow specific targets
        to override.
        * coff-h8300.c: Add two derived hash tables and their associated
        funtions and #defines for use by the h8300 linker.
        (h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in
        the function vector as needed.  Place the address of the function
        vector entry in the location specified by the R_MEM_INDIRECT reloc.
        Rewrite the vectors section contents as necessary.
        (h8300_bfd_link_add_symbols): New function for the h8300 linker.
        (coff_bfd_link_add_symbols): Define to use h8300 specific version.
        (coff_bfd_link_hash_table_create): Likewise.

Linker changes for function vectors.  HMSE.

28 years ago * stabs.c (s_stab_generic): Call the listing functions before
Ian Lance Taylor [Thu, 28 Mar 1996 23:13:30 +0000 (23:13 +0000)] 
* stabs.c (s_stab_generic): Call the listing functions before
doing the rest of the processing, which may involve freeing the
string.  Pass string, not string + stroff, to OBJ_PROCESS_STAB in
SEPARATE_STAB_SECTIONS case.

28 years ago * config/tc-hppa.c: Remove nested comment.
Ian Lance Taylor [Thu, 28 Mar 1996 22:49:45 +0000 (22:49 +0000)] 
* config/tc-hppa.c: Remove nested comment.
(tc_gen_reloc): Move label done inside the ifdef in which it is
used.
(md_apply_fix): Pass pointers to correct types to libhppa.h
functions.  Always return a value.

28 years ago * libhppa.h: If gcc 2.7 or higher, declare all the functions with
Ian Lance Taylor [Thu, 28 Mar 1996 22:46:06 +0000 (22:46 +0000)] 
* libhppa.h: If gcc 2.7 or higher, declare all the functions with
__attribute__ ((__unused__)) so that -Wall doesn't warn about
them.
(hppa_rebuild_insn): Pass pointer to correct type to
low_sign_unext and dis_assemble_21.

28 years agoPatch from Andrew Cagney to handle quoted option lists with embedded spaces
Michael Meissner [Thu, 28 Mar 1996 21:59:26 +0000 (21:59 +0000)] 
Patch from Andrew Cagney to handle quoted option lists with embedded spaces

28 years ago * configure.in (sparc64-*-solaris2*): Delete.
David Edelsohn [Thu, 28 Mar 1996 20:54:27 +0000 (20:54 +0000)] 
* configure.in (sparc64-*-solaris2*): Delete.
Stick with sparc-*-solaris2*.
* configure: Regenerated.

28 years ago * config/tc-mips.h (tc_frob_file): Define.
Ian Lance Taylor [Thu, 28 Mar 1996 20:37:02 +0000 (20:37 +0000)] 
* config/tc-mips.h (tc_frob_file): Define.
(mips_frob_file): Declare.
* config/tc-mips.c (struct mips_hi_fixup): Define.
(mips_hi_fixup_list): New static variable.
(imm_unmatched_hi): New static variable.
(md_assemble): Clear imm_reloc, imm_unmatched_hi, and
offset_reloc.  Pass imm_unmatched_hi to append_insn.
(append_insn): Add unmatched_hi parameter.  If it is set, add the
new fixup to mips_hi_fixup_list.  Change all callers.
(mips_ip): Set imm_unmatched_hi when appropriate.
(mips_frob_file): New function.

28 years ago * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
David Edelsohn [Thu, 28 Mar 1996 19:49:54 +0000 (19:49 +0000)] 
* configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
* configure: Regenerated.

28 years ago * wrstabs.c (stab_enum_type): Set buf before using it.
Ian Lance Taylor [Thu, 28 Mar 1996 19:25:17 +0000 (19:25 +0000)] 
* wrstabs.c (stab_enum_type): Set buf before using it.

28 years agorevert yesterdays change
Ian Lance Taylor [Thu, 28 Mar 1996 19:18:09 +0000 (19:18 +0000)] 
revert yesterdays change

28 years ago * configure.tgt (sparc64-*-solaris2*): Delete.
David Edelsohn [Thu, 28 Mar 1996 19:06:49 +0000 (19:06 +0000)] 
* configure.tgt (sparc64-*-solaris2*): Delete.
Stick with sparc-*-solaris2*.

28 years ago * config.bfd (sparc64-{sysv4*,solaris2*}): Delete.
David Edelsohn [Thu, 28 Mar 1996 19:02:45 +0000 (19:02 +0000)] 
* config.bfd (sparc64-{sysv4*,solaris2*}): Delete.
Stick with sparc-*-{sysv4*,solaris2*}.

28 years ago * valops.c (value_assign): Make copy of internal variable value
Fred Fish [Thu, 28 Mar 1996 15:03:16 +0000 (15:03 +0000)] 
* valops.c (value_assign): Make copy of internal variable value
before returning it as a new value, since it is owned by the
internal variable and will be freed along with it.

28 years agoThu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 28 Mar 1996 14:08:51 +0000 (14:08 +0000)] 
Thu Mar 28 13:50:51 1996  James G. Smith  <jsmith@cygnus.co.uk>

* interp.c (Convert): Provide round-to-nearest and round-to-zero
  support for Sun hosts.
* Makefile.in (gencode): Ensure the host compiler and libraries
  used for cross-hosted build.

Allow a DOS hosted version of the simulator to be built. NOTE: The FP
is still not complete, since round-to-nearest and round-to-zero have
not been implemented generically.

28 years ago* coffgen.c (coff_bfd_make_debug_symbol): Improve comment.
David Edelsohn [Thu, 28 Mar 1996 03:34:05 +0000 (03:34 +0000)] 
* coffgen.c (coff_bfd_make_debug_symbol): Improve comment.
* coffcode.h (coff_new_section_hook): Ditto.

28 years agoNote that failures under linux for backtrace through signal handler
Fred Fish [Thu, 28 Mar 1996 00:27:33 +0000 (00:27 +0000)] 
Note that failures under linux for backtrace through signal handler
are not consistent among different systems, or even the same system.

28 years agoupdate copyrights
Ian Lance Taylor [Wed, 27 Mar 1996 23:04:01 +0000 (23:04 +0000)] 
update copyrights

28 years ago * peicode.h (coff_swap_aux_in): Swap in extra PE x_scn fields.
Ian Lance Taylor [Wed, 27 Mar 1996 22:53:16 +0000 (22:53 +0000)] 
* peicode.h (coff_swap_aux_in): Swap in extra PE x_scn fields.
(coff_swap_aux_out): Swap out extra PE x_scn fields.
* coffswap.h (coff_swap_aux_in): Zero out extra PE x_scn fields.
* coffgen.c (coff_print_symbol): If any of the extra PE x_scn
fields is non-zero, print them.

28 years ago * arm.h (union external_auxent): Add x_checksum, x_associated, and
Ian Lance Taylor [Wed, 27 Mar 1996 22:39:40 +0000 (22:39 +0000)] 
* arm.h (union external_auxent): Add x_checksum, x_associated, and
x_comdat fields to x_scn struct.
* i386.h (union external_auxent): Likewise.
* powerpc.h (union external_auxent): Likewise.
* internal.h (union internal_auxent): Likewise.

28 years agoRemove SEC_LINKER_MARK, and add a linker_mark bitfield to the asection
Ian Lance Taylor [Wed, 27 Mar 1996 22:23:18 +0000 (22:23 +0000)] 
Remove SEC_LINKER_MARK, and add a linker_mark bitfield to the asection
structure instead.

28 years ago * coff-ppc.c (ppc_record_toc_entry): Put inside COFF_IMAGE_WITH_PE
Ian Lance Taylor [Wed, 27 Mar 1996 20:50:53 +0000 (20:50 +0000)] 
* coff-ppc.c (ppc_record_toc_entry): Put inside COFF_IMAGE_WITH_PE
ifdef.  Remove unused variables.
(ppc_record_data_in_toc_entry): Ifdef out.  Removed unused
variables.
(ppc_mark_symbol_as_glue): Put inside COFF_IMAGE_WITH_PE ifdef.
(get_symbol_value): Ifdef out.
(pe_ppc_reloc): Ifdef out.  Remove unused variables.
(coff_ppc_relocate_section): Remove unused variables.  Make
fprintf strings and argument types correspond.  Put before_addr in
DEBUG_RELOC ifdef.
(ppc_reflo_reloc): Ifdef out.
(ppc_addr32nb_reloc): Ifdef out.
(ppc_coff_rtype2howto): Make fprintf strings and argument types
correspond.
(coff_ppc_rtype_to_howto): Likewise.
(ppc_coff_swap_sym_in_hook): Remove unused variables.

28 years ago * peicode.h (pe_print_idata): Move otherwise unused variables into
Ian Lance Taylor [Wed, 27 Mar 1996 20:29:15 +0000 (20:29 +0000)] 
* peicode.h (pe_print_idata): Move otherwise unused variables into
the #ifdef where they are used.  Always return a value.
(pe_print_edata): Change fprintf strings and add cast to make
fprintf strings correspond to actual types.  Always return a
value.
(pe_print_pdata): Removed unused variable addr_value.  Always
return a value.
(pe_print_reloc): Remove unused variable onaline.  Make fprintf
strings and arguments correspond.  Always return a value.

28 years ago * libhppa.h: Define HINLINE rather than INLINE. Define it to
Ian Lance Taylor [Wed, 27 Mar 1996 20:08:04 +0000 (20:08 +0000)] 
* libhppa.h: Define HINLINE rather than INLINE.  Define it to
extern inline if using gcc and to static INLINE otherwise.  Change
all functions from static INLINE to HINLINE.

28 years ago * ns32k.h: New file.
Ian Lance Taylor [Wed, 27 Mar 1996 19:57:34 +0000 (19:57 +0000)] 
* ns32k.h: New file.
* cpu-ns32k.h: Include ns32k.h.  Rename externally visible
functions to start with _bfd_.
* aout-ns32k.c: Include ns32k.h.  Change references to renamed
functions in cpu-ns32k.h.
* Makefile.in: Rebuild dependencies.
(HFILES): Add ns32k.h.

28 years ago * section.c (SEC_LINKER_MARK): Define.
Ian Lance Taylor [Wed, 27 Mar 1996 19:21:19 +0000 (19:21 +0000)] 
* section.c (SEC_LINKER_MARK): Define.
* bfd-in2.h: Rebuild.
* aoutx.h (NAME(aout,final_link)): Mark sections included in the
link.
(aout_link_input_bfd): Don't link unmarked sections.
* cofflink.c (_bfd_coff_final_link): Mark sections included in the
link.
(_bfd_coff_link_input_bfd): Don't link unmarked sections.
* coff-ppc.c (ppc_bfd_coff_final_link): Mark sections included in
the link.
* elflink.h (elf_bfd_final_link): Mark sections included in the
link.
(elf_link_input_bfd): Don't link unmarked sections.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Mark sections included
in the link.
(xcoff_link_input_bfd): Don't link unmarked sections.

28 years ago * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".
Ian Lance Taylor [Wed, 27 Mar 1996 18:17:28 +0000 (18:17 +0000)] 
* ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".
* ldlang.c (init_os): Fail on an attempt to initialize any section
named DISCARD_SECTION_NAME.
(wild_doit): Discard input sections assigned to an output section
named DISCARD_SECTION_NAME.
* ld.texinfo: Document use of /DISCARD/.

28 years ago * ldlang.c: Fix some indentation and comments.
Ian Lance Taylor [Wed, 27 Mar 1996 17:34:15 +0000 (17:34 +0000)] 
* ldlang.c: Fix some indentation and comments.

28 years ago * coffswap.h (coff_swap_scnhdr_out): Include section name in
Ian Lance Taylor [Wed, 27 Mar 1996 15:44:18 +0000 (15:44 +0000)] 
* coffswap.h (coff_swap_scnhdr_out): Include section name in
overflow error messages.

28 years ago * From Peter Schauer.
Jeff Law [Wed, 27 Mar 1996 15:35:16 +0000 (15:35 +0000)] 
    * From Peter Schauer.
        * breakpoint.c (breakpoint_re_set_one):  Keep temporary
        breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
        and bp_step_resume in case breakpoint_re_set_one is called due
        to a step over a dlopen call.
        * infrun.c (wait_for_inferior):  Always remove breakpoints from
        inferior in BPSTAT_WHAT_CHECK_SHLIBS case.

28 years agoWed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 27 Mar 1996 14:46:27 +0000 (14:46 +0000)] 
Wed Mar 27 14:42:12 1996  James G. Smith  <jsmith@cygnus.co.uk>

* interp.c, gencode.c: Some more (TODO) tidying.

28 years ago * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
Fred Fish [Wed, 27 Mar 1996 00:21:02 +0000 (00:21 +0000)] 
* config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
non-prototyped case over prototyped case for C.
* config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE):  Ditto.

28 years ago * as.c (main): Call bfd_set_error_program_name.
Ian Lance Taylor [Tue, 26 Mar 1996 23:20:22 +0000 (23:20 +0000)] 
* as.c (main): Call bfd_set_error_program_name.

28 years ago * ldmain.c (main): Call bfd_set_error_program_name.
Ian Lance Taylor [Tue, 26 Mar 1996 23:16:01 +0000 (23:16 +0000)] 
* ldmain.c (main): Call bfd_set_error_program_name.

28 years ago * bfd.c (_bfd_default_error_handler): If _bfd_error_program_name
Ian Lance Taylor [Tue, 26 Mar 1996 23:00:56 +0000 (23:00 +0000)] 
* bfd.c (_bfd_default_error_handler): If _bfd_error_program_name
is not set, print "BFD: " before the error message.

28 years agoFix typo that clobbered the stack and rewrite 2/26 change
Michael Meissner [Tue, 26 Mar 1996 21:20:54 +0000 (21:20 +0000)] 
Fix typo that clobbered the stack and rewrite 2/26 change

28 years ago * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Ian Lance Taylor [Tue, 26 Mar 1996 21:12:59 +0000 (21:12 +0000)] 
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib.  From
Miles Bader <miles@gnu.ai.mit.edu>.
* configure: Rebuild.

28 years ago * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Ian Lance Taylor [Tue, 26 Mar 1996 20:47:22 +0000 (20:47 +0000)] 
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib.  From
Miles Bader <miles@gnu.ai.mit.edu>.
* configure: Rebuild.

28 years ago * mh-go32 (CFLAGS): Define.
Ian Lance Taylor [Tue, 26 Mar 1996 19:12:19 +0000 (19:12 +0000)] 
* mh-go32 (CFLAGS): Define.

28 years agoRevert use of autoconf 2.9, it was causing too many regressions.
Fred Fish [Mon, 25 Mar 1996 04:09:45 +0000 (04:09 +0000)] 
Revert use of autoconf 2.9, it was causing too many regressions.

28 years agoTweak to match output of autoconf 2.9 with same cygnus local patch as
Fred Fish [Sun, 24 Mar 1996 02:59:18 +0000 (02:59 +0000)] 
Tweak to match output of autoconf 2.9 with same cygnus local patch as
current autoconf 2.8.

28 years ago * os9kread.c (os9k_process_one_symbol): Note nonportable
Fred Fish [Sun, 24 Mar 1996 00:22:50 +0000 (00:22 +0000)] 
* os9kread.c (os9k_process_one_symbol): Note nonportable
assumption that an int can hold a char *.

* bcache.h (struct hashlink): Wrap data[] inside union with
double to force longest alignment.
(BCACHE_DATA): New macro to access data[].
(BCACHE_ALIGNMENT): New macro to get offset to data[].
* bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
  address of cached data.  Use BCACHE_ALIGNMENT to compute
amount of space to allocate for each hashlink struct.

28 years ago * configure, testsuite/configure, testsuite/gdb.base/configure,
Fred Fish [Sun, 24 Mar 1996 00:19:59 +0000 (00:19 +0000)] 
* configure, testsuite/configure, testsuite/gdb.base/configure,
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure,
testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure:
Regenerated with autoconf 2.9.

28 years ago * ch-lang.c (evaluate_subexp_chill): Fix typo.
Fred Fish [Sat, 23 Mar 1996 19:52:50 +0000 (19:52 +0000)] 
* ch-lang.c (evaluate_subexp_chill): Fix typo.

28 years agoupdate from andrew
Michael Meissner [Sat, 23 Mar 1996 15:02:42 +0000 (15:02 +0000)] 
update from andrew

28 years agochange [ -d foo ] to test -d foo
Angela Marie Thomas [Fri, 22 Mar 1996 21:50:27 +0000 (21:50 +0000)] 
change [ -d foo ] to test -d foo

28 years agochanges for new hosts, fixes for old hosts
Angela Marie Thomas [Fri, 22 Mar 1996 21:30:31 +0000 (21:30 +0000)] 
changes for new hosts, fixes for old hosts

28 years ago * stabs.c (struct stab_handle): Add field abfd.
Ian Lance Taylor [Fri, 22 Mar 1996 20:51:47 +0000 (20:51 +0000)] 
* 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.

28 years ago * xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL
Ian Lance Taylor [Fri, 22 Mar 1996 19:59:20 +0000 (19:59 +0000)] 
* xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL
symbols.

28 years ago * config.bfd: Add ieee_vec to targ_selvecs for i960 targets and
Ian Lance Taylor [Fri, 22 Mar 1996 17:21:03 +0000 (17:21 +0000)] 
* config.bfd: Add ieee_vec to targ_selvecs for i960 targets and
m68k-aout, m68k-coff, and m68k-elf targets.

28 years agoFri Mar 22 11:33:44 1996 Martin Anantharaman <martin@goofy.imech.uni-duisburg.de>
Ian Lance Taylor [Fri, 22 Mar 1996 16:46:34 +0000 (16:46 +0000)] 
Fri Mar 22 11:33:44 1996  Martin Anantharaman  <martin@goofy.imech.uni-duisburg.de>

* ieee.c: Changed #ifdef KEEPMINUSPCININST to #if KEEPMINUSPCININST.
(ieee_generic_stat_arch_elt): Restructured to prevent
ieee_object_p from being called repeatedly.

28 years ago * as.h (strdup): Don't declare.
Ian Lance Taylor [Fri, 22 Mar 1996 16:44:21 +0000 (16:44 +0000)] 
* as.h (strdup): Don't declare.
* stabs.c: Include libiberty.h
(get_stab_string_offset): Use xstrdup rather than strdup.
(s_stab_generic): Likewise.
* as.c (parse_args): Likewise.
* read.c (s_mri_sect): Likewise.

28 years ago * gasp.c (change_base): Recognize \(...) construct documented to
Ian Lance Taylor [Fri, 22 Mar 1996 16:14:07 +0000 (16:14 +0000)] 
* gasp.c (change_base): Recognize \(...) construct documented to
pass through enclosed characters literally through to the output.
(process_assigns): Likewise.  Also, be more careful to avoid
looking past the end of the buffer.
PR 9268.

28 years ago * coffcode.h (coff_write_object_contents): Allocate
Steve Chamberlain [Fri, 22 Mar 1996 00:32:05 +0000 (00:32 +0000)] 
* coffcode.h (coff_write_object_contents):  Allocate
buffers large enough for any FILEHDR or AOUTHDR.

28 years ago * core.c (core_create_function_syms): Move filename and func_name
Ian Lance Taylor [Thu, 21 Mar 1996 22:21:30 +0000 (22:21 +0000)] 
* core.c (core_create_function_syms): Move filename and func_name
inside ifdef where they are used.

* core.c (core_sym_class): Parenthesize && within ||.
* symtab.c (symtab_finalize): Correct parenthesization.

* cg_print.h (cg_print_file_ordering): Declare.
(cg_print_function_ordering): Declare.

* __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy.
* cg_arcs.c (arc_add): Likewise.
* cg_print.c (cg_print_function_ordering): Likewise.

28 years agoThu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
Ian Lance Taylor [Thu, 21 Mar 1996 22:07:14 +0000 (22:07 +0000)] 
Thu Mar 21 17:02:02 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* gprof.c (default_excluded_list): Add "__mcount".

* gprof.c (main): Change ifdef __osf__ to __alpha__.

* gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the
profiling rate from the header.

* gmon.h (struct raw_phdr): Only include pad if both __alpha__ and
__osf__ are defined.  Add new fields if BSD44_FORMAT is defined.

* alpha.h (MIN_INSN_SIZE): Define.
* core.c (MIN_INSN_SIZE): If not defined, define as 1.
(core_sym_class): Ignore debugging symbols.
(core_create_line_syms): Use MIN_INSN_SIZE when gathering line
information.

28 years agoWarn if the .pdata section is not a multiple of 20 bytes
Michael Meissner [Thu, 21 Mar 1996 20:00:30 +0000 (20:00 +0000)] 
Warn if the .pdata section is not a multiple of 20 bytes

28 years ago * coffcode.h (coff_compute_section_file_positions): If not
Ian Lance Taylor [Thu, 21 Mar 1996 18:56:12 +0000 (18:56 +0000)] 
* coffcode.h (coff_compute_section_file_positions): If not
producing a final executable, don't consider sofar when aligning
the section to the correct size.

28 years ago * ldmisc.c (vfinfo): case 'I': If the file is not in an archive,
Ian Lance Taylor [Thu, 21 Mar 1996 18:32:34 +0000 (18:32 +0000)] 
* ldmisc.c (vfinfo): case 'I': If the file is not in an archive,
and the local symbol name does not match the filename, print the
filename as well.

28 years ago Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:
Ian Lance Taylor [Thu, 21 Mar 1996 18:19:38 +0000 (18:19 +0000)] 
Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:
* lexsup.c (parse_args): -Bshareable is a synonym for -shared.
* emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same
as TEXT_START_ADDR.

28 years ago * config.in: Rename from config.h.in.
Ian Lance Taylor [Thu, 21 Mar 1996 15:59:01 +0000 (15:59 +0000)] 
* config.in: Rename from config.h.in.
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
* configure: Rebuild.
* Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
Set CONFIG_HEADERS to config.h:config.in.
The file name config.h.in can be used on DOS filesystems.

28 years agoWed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 20 Mar 1996 23:19:47 +0000 (23:19 +0000)] 
Wed Mar 20 18:18:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* ld.texinfo: Fix typos.  Use @pxref only inside parentheses.

28 years agoWed Mar 20 18:15:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 20 Mar 1996 23:16:35 +0000 (23:16 +0000)] 
Wed Mar 20 18:15:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled
as __GNU_C__.
(order_and_dump_functions_by_arcs): Likewise.

28 years agoWed Mar 20 18:13:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 20 Mar 1996 23:14:38 +0000 (23:14 +0000)] 
Wed Mar 20 18:13:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* doc/as.texinfo, doc/c-i960.texi: Fix typos.

28 years agoWed Mar 20 18:10:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 20 Mar 1996 23:12:00 +0000 (23:12 +0000)] 
Wed Mar 20 18:10:57 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.in: Add missing global flag in sed substitution when
deleting `target-' from ${configdirs}.

28 years agoWed Mar 20 18:08:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 20 Mar 1996 23:09:56 +0000 (23:09 +0000)] 
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.

28 years agoWed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com>
Ian Lance Taylor [Wed, 20 Mar 1996 22:10:07 +0000 (22:10 +0000)] 
Wed Mar 20 17:05:16 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* config/alpha-opcode.h: Added cvtst instruction.

28 years ago * ldmain.c (add_wrap): New function.
Ian Lance Taylor [Wed, 20 Mar 1996 21:57:31 +0000 (21:57 +0000)] 
* ldmain.c (add_wrap): New function.
* ldmain.h (add_wrap): Declare.
* lexsup.c (parse_args): Call add_wrap.

28 years ago * wrstabs.c: New file.
Ian Lance Taylor [Wed, 20 Mar 1996 21:51:25 +0000 (21:51 +0000)] 
* 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.

28 years ago * ieee.c (struct ieee_handle): Add fields complex_float_index and
Ian Lance Taylor [Wed, 20 Mar 1996 21:49:31 +0000 (21:49 +0000)] 
* 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.

28 years agoRevert part of change from last night.
Fred Fish [Wed, 20 Mar 1996 15:48:34 +0000 (15:48 +0000)] 
Revert part of change from last night.

28 years ago * gdb.base/corefile.exp: Always regenerate the core file, since
Fred Fish [Wed, 20 Mar 1996 07:52:01 +0000 (07:52 +0000)] 
* gdb.base/corefile.exp: Always regenerate the core file, since
we always regenerate the coremaker program.  Detect special case
where registers cannot be read from core file.  Change setup_xfail
for "print func2:coremaker_local" and "backtrace in corefile.exp"
to fail for all i*86 targets.

28 years ago From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
Fred Fish [Wed, 20 Mar 1996 02:58:28 +0000 (02:58 +0000)] 
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
* gdb.c++/templates.exp: Only match on basename of file since
some formats like xcoff don't encode directory information.
* gdb.stabs/weird.exp: Use the right sed script for powerpc
and rs6000 AIX xcoff targets.
* configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
* configure: Regenerate.
* gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
here, rather than in distclean.

28 years ago * configure.host (sparc*-*-solaris2* host): Accept any sparc variant.
David Edelsohn [Wed, 20 Mar 1996 00:45:57 +0000 (00:45 +0000)] 
* configure.host (sparc*-*-solaris2* host): Accept any sparc variant.

28 years ago * partial-stab.h (case N_ENDM): Finish current partial symbol
Peter Schauer [Tue, 19 Mar 1996 20:50:13 +0000 (20:50 +0000)] 
* partial-stab.h (case N_ENDM):  Finish current partial symbol
table for Solaris 2 cc.

28 years ago * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
Jeff Law [Tue, 19 Mar 1996 17:40:12 +0000 (17:40 +0000)] 
    * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
        PC in the registers array.  From Peter Schauer.

28 years ago * configure.in: Add AC_FUNC_VFORK.
Ian Lance Taylor [Mon, 18 Mar 1996 23:52:43 +0000 (23:52 +0000)] 
* configure.in: Add AC_FUNC_VFORK.
* configure, config.in: Rebuild.
* dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
defined.

28 years ago * stabs.c (parse_stab_range_type): A complex type is defined as a
Ian Lance Taylor [Mon, 18 Mar 1996 23:06:29 +0000 (23:06 +0000)] 
* 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.

28 years ago * symfile.c (reread_symbols): Reinitialize bcache struct
Fred Fish [Mon, 18 Mar 1996 21:24:48 +0000 (21:24 +0000)] 
* symfile.c (reread_symbols): Reinitialize bcache struct
members to zero using memset.  Also use memset to reinit
global_psymbols and static_psymbols, rather than explicitly
resetting each structure member.

28 years ago * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
Ian Lance Taylor [Mon, 18 Mar 1996 18:13:59 +0000 (18:13 +0000)] 
* ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
string.  Extract the addend from the result of expression.

28 years ago * elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if
Ian Lance Taylor [Mon, 18 Mar 1996 18:12:36 +0000 (18:12 +0000)] 
* elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if
output_bfd is not NULL.

28 years agoAdd acconfig.h and config.h.in
Fred Fish [Mon, 18 Mar 1996 16:15:05 +0000 (16:15 +0000)] 
Add acconfig.h and config.h.in

28 years ago * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
Fred Fish [Sun, 17 Mar 1996 21:48:40 +0000 (21:48 +0000)] 
* gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
defined, and use it to compile the test case with -O2.  The
native compilation still uses no optimization.
* gdb.base/mips_pro.c: Remove inline assembly code since
it is compiled PIC by default, which results in assembler
warnings that make the testsuite think the compilation
was unsuccessful.

28 years ago * configure.in: Add fragment to create stamp-h.
Fred Fish [Sun, 17 Mar 1996 06:28:57 +0000 (06:28 +0000)] 
* configure.in: Add fragment to create stamp-h.

From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* configure.in (AC_CHECK_HEADERS):  Check for link.h.
* configure:  Regenerate with autoconf.
* config.h.in:  Regenerate with autoheader.
* config/i386/nm-linux.h:  Include solib.h only if HAVE_LINK_H
is defined.
* solib.c:  Exclude most of the code if HAVE_LINK_H is not defined.
* config/i386/linux.mh:  Reinstate XM_CLIBS, it is needed for
older a.out based systems.

28 years ago * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
Fred Fish [Sun, 17 Mar 1996 01:08:19 +0000 (01:08 +0000)] 
* i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.

28 years agoForgot during last checkin.
Fred Fish [Sun, 17 Mar 1996 00:53:34 +0000 (00:53 +0000)] 
Forgot during last checkin.
* config.h.in: New file.
* Makefile.in (distclean): Remove config.h and stamp-h during distclean.
(config.h, stamp-h): New targets to remake config.h when necessary.

28 years ago * acconfig.h: New file, for autoheader.
Fred Fish [Sun, 17 Mar 1996 00:36:07 +0000 (00:36 +0000)] 
* acconfig.h: New file, for autoheader.
* configure.in (AC_CONFIG_HEADER): Add, generate config.h.
* configure: Regenerate.
* Makefile.in (defs_h): Add config.h
* defs.h (config.h): Include before any other includes or defines.
* i386-tdep.c (gdb_string.h): Move include after include of defs.h.

This page took 0.061229 seconds and 4 git commands to generate.