aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
AgeCommit message (Collapse)AuthorFilesLines
2000-02-26Fix copyrights.Jeff Law1-1/+2
From-SVN: r32178
2000-02-18bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.Richard Kenner1-5/+41
* bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned. * cppinit.c (new_pending_define): Add cast to avoid warning. * expmed.c (extract_bit_field): Likewise. * flow.c (enum reorder_skip_type): New type. (skip_insns_between_blcok): New it. Rework to avoid warning about possibly undefined variable. * function.c (assign_parms): Make thisparm_boundary unsigned. * genrecog.c (write_switch): Cast XWINT result to int. * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING. * mips-tfile.c (init_file): Make two versions of FDR intializer: one for MIPS and one for Alpha. (get_tag, copy_object): Add casts to avoid warnings. * optabs.c (init_one_libfunc): Cast NAME to (char *). * reload.c (find_reloads): Make TYPE enum reload_type. * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L". * unroll.c (unroll_loop): Initialize UNROLL_NUMBER. * varasm.c (compare_constant_1): Add cast to avoid warning. * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC to (char *). (alpha_expand_unaligned_load, alpha_expand_unaligned_store): Cast switch operand of size to int. (alpha_expand_epilogue): Always initialize fp_offset and sa_reg. * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort in unhandled case. From-SVN: r32060
2000-02-15Makefile.in (TREE_H, [...]): Depend on version.h.Kaveh R. Ghazi1-1/+1
* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o, cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h. * cccp.c: Include version.h and/or don't declare `version_string'. * collect2.c: Likewise. * alpha.c: Likewise. * arm/aof.h: Likewise. * arm/coff.h: Likewise. * arm/elf.h: Likewise. * arm/pe.h: Likewise. * arm/tcoff.h: Likewise. * arm/telf.h: Likewise. * arm/tpe.h: Likewise. * arm/vxarm.h: Likewise. * convex/convex.c: Likewise. * i386/dgux.c: Likewise. * i386/sun386.h: Likewise. * m88k/m88k.c: Likewise. * mcore/mcore-pe.h: Likewise. * mips/mips.h: Likewise. * romp/romp.h: Likewise. * sh/sh.c: Likewise. * cpphash.c: Likewise. * cppinit.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * gcc.c: Likewise. * gcc.h: Likewise. * mips-tfile.c: Likewise. * protoize.c: Likewise. * toplev.c: Likewise. * tree.h: Likewise. * version.c (version_string): Constify a char*. * version.h: New file. ch: * grant.c: Don't declare `version_string'. f: * g77spec.c: Don't declare `version_string'. java: * Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with version.o. (jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h. * gjavah.c: Include version.h. * jcf-dump.c: Likewise. * jv-scan.c: Likewise. From-SVN: r31984
2000-01-17Update copyrightsKaveh Ghazi1-1/+1
From-SVN: r31465
2000-01-17machmode.h: PROTO -> PARAMS.Kaveh R. Ghazi1-5/+5
* machmode.h: PROTO -> PARAMS. * mbchar.h: Likewise. * mips-tdump.c: Likewise. * mips-tfile.c: Likewise. * optabs.c: Likewise. * output.h: Likewise. * prefix.c: Likewise. * profile.c: Likewise. * protoize.c: Likewise. * real.h: Likewise. * recog.c: Likewise. * recog.h: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * regs.h: Likewise. From-SVN: r31459
1999-11-25c-common.c (check_format_info): Don't call a variadic function with a ↵Kaveh R. Ghazi1-2/+2
non-literal format string. * c-common.c (check_format_info): Don't call a variadic function with a non-literal format string. * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise. * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else, pedantic_lvalue_warning, error_init, pedwarn_init, warning_init): Likewise. * cccp.c (check_macro_name, do_xifdef, vwarning_with_line): Likewise. * collect2.c (collect_wait): Likewise. * dbxout.c (dbxout_type): Likewise. * gcc.c (do_spec_1): Likewise. * genemit.c (gen_insn, gen_expand): Likewise. * genrecog.c (write_switch, write_subroutine): Likewise. * mips-tfile.c (catch_signal, botch): Likewise. * print-rtl.c (print_rtx): Likewise. * toplev.c (default_print_error_function, report_error_function, _fatal_insn): Likewise. From-SVN: r30666
1999-10-29flow.c (debug_flow_info): Add prototype.Kaveh R. Ghazi1-6/+8
* flow.c (debug_flow_info): Add prototype. * gcc.c (main): Likewise. * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work): Likewise. * reload1.c (failed_reload, set_reload_reg): Likewise. * mips-tfile.c (main): Likewise. (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark with ATTRIBUTE_NORETURN. From-SVN: r30262
1999-09-21machmode.h (HOST_PTR_PRINTF): Move from here ...Kaveh R. Ghazi1-2/+0
* machmode.h (HOST_PTR_PRINTF): Move from here ... * system.h (HOST_PTR_PRINTF): ... to here. * mips-tfile.c: Don't include machmode.h. * Makefile.in (MACHMODE_H): New variable. Update to use it. (mips-tfile.o): Don't depend on machmode.h. From-SVN: r29568
1999-09-07c-aux-info.c (concat): Don't define.Kaveh R. Ghazi1-117/+6
* c-aux-info.c (concat): Don't define. * cccp.c (my_strerror): Likewise. All callers changed to use xstrerror instead. (do_include): Call xstrdup, not xmalloc/strcpy. (grow_outbuf): Don't check if xrealloc returns NULL, it can't. (xmalloc, xrealloc, xcalloc, xstrdup): Don't define. * collect2.c (my_strsignal): Likewise. All callers changed to use strsignal instead. (locatelib): Call xstrdup, not xmalloc/strcpy. * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc. * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy. * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc. * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy. * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero. * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/... * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not malloc/realloc. (find_all_handler_type_matches): Likewise. Don't check return value. (get_new_handler, init_insn_eh_region, process_nestinfo): Call xmalloc, not malloc. (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero. * gcc.c (xstrerror, xmalloc, xrealloc): Don't define. (init_spec): Call xcalloc, not xmalloc/bzero. (set_spec): Call xstrdup, not save_string. (record_temp_file): Call xstrdup, not xmalloc/strcpy. (find_a_file): Call xstrdup, not xmalloc/strcpy. (process_command): Call xstrdup, not save_string. (main): Call xcalloc, not xmalloc/bzero. * gcov.c (xmalloc): Don't define. (create_program_flow_graph): Call xcalloc, not xmalloc/bzero. (scan_for_source_files): Call xstrdup, not xmalloc/strcpy. (output_data): Call xcalloc, not xmalloc/bzero. * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero. * mips-tdump.c (xmalloc): Don't define. (print_symbol): Call xmalloc, not malloc. (read_tfile): Call xcalloc, not calloc. * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc): Don't define. All callers of xfree/my_strsignal changed to use free/strsignal instead. (allocate_cluster): Call xcalloc, not calloc. * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/... Fix memory leak, free allocated memory. * prefix.c (translate_name): Call xstrdup, not save_string. (update_path): Likewise. * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy. * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2): Don't define. Callers of xfree/savestring2 changed to use free/concat instead. * reload1.c (reload): Call xcalloc, not xmalloc/bzero. (init_elim_table): Likewise. * resource.c (init_resource_info): Likewise. * stupid.c (stupid_life_analysis): Likewise. * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define. (open_dump_file): Call concat, not xmalloc/strcpy/... (clean_dump_file): Likewise. (compile_file): Call xstrdup, not xmalloc/strcpy. From-SVN: r29148
1999-01-21cccp.c (xrealloc): Call malloc given a NULL old pointer.Richard Henderson1-1/+5
* cccp.c (xrealloc): Call malloc given a NULL old pointer. * collect2.c, cppalloc.c, gcc.c, genattr.c, genattrtab.c: Likewise. * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise. * genflags.c, genopinit.c, genoutput.c, genpeep.c: Likewise. * genrecog.c, mips-tfile.c, protoize.c: Likewise. From-SVN: r24806
1999-01-06Fix copyrights.Jeff Law1-1/+1
From-SVN: r24529
1999-01-04Warning fixes:Kaveh R. Ghazi1-56/+61
* mips-tdump.c (st_to_string, sc_to_string, glevel_to_string, lang_to_string, type_to_string): Make return type const char*. (print_symbol): Apply `const' keyword to a char*. (print_file_desc): Cast structure member `crfd' to ulong when comparing against one. * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*. (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes. (progname, input_name): Apply `const' keyword to a char*. Don't redundantly include sys/stat.h. (alloc_info): Apply `const' keyword to a char*. (st_to_string, sc_to_string): Likewise. (hash_string): Cast variable `hash_string' to a symint_t when comparing against one. (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one. Likewise cast it to long when comparing against one. (add_local_symbol): Apply `const' keyword to a char*. (add_ext_symbol): Likewise. (add_unknown_tag): Likewise. (add_procedure): Cast a printf-style field width to an int. (add_file): Cast PAGE_USIZE to long when comparing against one (parse_begin): Cast a printf-style field width to an int. (parse_bend): Likewise. (parse_def): Likewise. (parse_end): Likewise. (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED. (parse_stabs_common): Fix format specifier. (parse_input): Change type of variable `i' to Size_t. (write_object): Fix arguments to match format specifiers. Cast variable `num_write' to long when comparing against one. (read_seek): Cast variable `sys_read' to symint_t when comparing against one. Fix arguments to match format specifiers. Cast variable `size' to long when comparing against one. (copy_object): Cast result of `sizeof' to int when comparing against one. Fix arguments to match format specifiers. Cast variable `ifd' to long when comparing against a signed value. Likewise, likewise. From-SVN: r24479
1998-11-27system.h: Include libiberty.h.Kaveh R. Ghazi1-34/+17
* system.h: Include libiberty.h. * c-aux-info.c: Remove prototypes for concat/concat3. Change function `concat' from fixed parameters to variable parameters, as is done in libiberty. All callers of concat/concat3 changed to use the new `concat' with variable args. * cccp.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. * cexp.y: Likewise. * collect2.c: Likewise. * config/1750a/1750a.h: Likewise. * cppalloc.c: Likewise. * cppexp.c: Likewise. * cppfiles.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * dyn-string.c: Likewise. * fix-header.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * genattr.c: Likewise. * genattrtab.c: Likewise. * gencheck.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * gengenrtl.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. * getpwd.c: Likewise. * halfpic.c: Likewise. * hash.c: Likewise. * mips-tdump.c: Likewise. Wrap malloc/realloc/calloc prototypes in NEED_DECLARATION_* macros. * mips-tfile.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. (fatal): Fix const-ification of variable `format' in !ANSI_PROTOTYPES case. * prefix.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid conflicting with function `spaces' from libiberty. * profile.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. * protoize.c: Likewise. * rtl.h: Likewise. * scan.h: Likewise. * tlink.c: Likewise. * toplev.c: Likewise. * toplev.h: Likewise. * tree.h: Likewise. From-SVN: r23931
1998-11-08gansidecl.h: Prepend a "G" to the macro wrapping this file (to distinguish ↵Kaveh R. Ghazi1-17/+6
it from the macro... * gansidecl.h: Prepend a "G" to the macro wrapping this file (to distinguish it from the macro wrapping ansidecl.h.) Include libiberty's ansidecl.h. Remove all redundant definitions. Define the PROTO() style macros in terms of the PARAMS() ones. * calls.c (emit_library_call): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding whether to use ANSI variable args. (emit_library_call_value): Likewise. * cccp.c (error): Likewise. (warning): Likewise. (error_with_line): Likewise. (warning_with_line): Likewise. (pedwarn): Likewise. (pedwarn_with_line): Likewise. (pedwarn_with_file_and_line): Likewise. (fatal): Likewise. * cexp.y (error): Likewise. (pedwarn): Likewise. (warning): Likewise. * collect2.c (fatal_perror): Likewise. (fatal): Likewise. (error): Likewise. * combine.c (gen_rtx_combine): Likewise. * cpperror.c (cpp_message): Likewise. (cpp_fatal): Likewise. * cpplib.c (cpp_error): Likewise. (cpp_warning): Likewise. (cpp_pedwarn): Likewise. (cpp_error_with_line): Likewise. (cpp_warning_with_line): Likewise. (cpp_pedwarn_with_line): Likewise. (cpp_pedwarn_with_file_and_line): Likewise. * cpplib.h: Don't define PARAMS() macro. * demangle.h: Likewise. * doprint.c (checkit): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding whether to use ANSI variable args. * emit-rtl.c (gen_rtx): Likewise. (gen_rtvec): Likewise. * final.c (asm_fprintf): Likewise. * fix-header.c (cpp_message): Likewise. (fatal): Likewise. (cpp_fatal): Likewise. * gcc.c (concat): Likewise. (fatal): Likewise. (error): Likewise. * genattr.c (fatal): Likewise. * genattrtab.c (attr_rtx): Likewise. (attr_printf): Likewise. (fatal): Likewise. * gencodes.c (fatal): Likewise. * genconfig.c (fatal): Likewise. * genemit.c (fatal): Likewise. * genextract.c (fatal): Likewise. * genflags.c (fatal): Likewise. * genopinit.c (fatal): Likewise. * genoutput.c (fatal): Likewise. (error): Likewise. * genpeep.c (fatal): Likewise. * genrecog.c (fatal): Likewise. * halfpic.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding whether to declare `tree_node' and `rtx_def'. * hash.h: Don't define stuff we get from gansidecl.h. * mips-tfile.c: Likewise. Define __proto() in terms of PARAMS(). (fatal): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding whether to use ANSI variable args. (error): Likewise. * prefix.c (concat): Likewise. * scan.h: Likewise. * system.h: Likewise. * toplev.c (error_with_file_and_line): Likewise. (error_with_decl): Likewise. (error_for_asm): Likewise. (error): Likewise. (fatal): Likewise. (warning_with_file_and_line): Likewise. (warning_with_decl): Likewise. (warning_for_asm): Likewise. (warning): Likewise. (pedwarn): Likewise. (pedwarn_with_decl): Likewise. (pedwarn_with_file_and_line): Likewise. (sorry): Likewise. (really_sorry): Likewise. * toplev.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding whether to declare `tree_node' and `rtx_def'. * tree.c (build): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding whether to use ANSI variable args. (build_nt): Likewise. (build_parse_node): Likewise. From-SVN: r23577
1998-10-17Warning fixes:Kaveh R. Ghazi1-5/+5
* Makefile.in (flow.o): Depend on recog.h. * cpplib.h (directive_table): Add missing initializiers. (finclude): Change type of variable `bsize' to size_t. * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED. * dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE. * fix-header.c (lookup_std_proto): Cast the result of `strlen' to `int' when comparing against one. (cpp_file_line_for_message): Mark parameter `pfile' with ATTRIBUTE_UNUSED. (cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED. * flow.c: Include recog.h. (sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR). * function.c (thread_prologue_and_epilogue_insns): Mark parameter `f' with ATTRIBUTE_UNUSED. (reposition_prologue_and_epilogue_notes): Likewise. * genopinit.c (gen_insn): Cast argument of ctype functions to `unsigned char'. * haifa-sched.c: Include recog.h. (blockage_range): Cast result of UNIT_BLOCKED macro to (int) when comparing against one. * libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now. * mips-tfile.c (parse_end): Cast the argument of ctype function to `unsigned char'. (parse_ent): Likewise. (parse_input): Likewise. * optabs.c (init_libfuncs): Likewise. * protoize.c (find_rightmost_formals_list): Likewise. * recog.h (const_double_operand): Fix typo in prototype. * tlink.c (scan_linker_output): Cast the argument of ctype function to `unsigned char'. * toplev.c (check_lang_option): Cast the result of `strlen' to `int' when comparing against one. From-SVN: r23155
1998-09-13Add support for strsignal, for platforms which have it but don't have ↵Kaveh R. Ghazi1-11/+25
sys_siglist (like Solaris 2.7.) Add support for strsignal, for platforms which have it but don't have sys_siglist (like Solaris 2.7.) * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub. * collect2.c: Don't declare `sys_siglist' here. (my_strsignal): Prototype and define new function. Use it in place of `sys_siglist' hacks. * mips_tfile.c: Likewise. * configure.in (AC_CHECK_FUNCS): Check for strsignal. (GCC_NEED_DECLARATIONS): Likewise. * system.h (strsignal): Prototype it, if necessary. (sys_siglist): Declare it, if necessary. From-SVN: r22403
1998-08-26system.h: Include stdarg.h/varargs.h...Kaveh R. Ghazi1-5/+0
* system.h: Include stdarg.h/varargs.h, make sure they are ordered correctly with regards to stdio.h. * calls.c: Remove stdarg.h/varargs.h. * cccp.c: Likewise. * cexp.y: Likewise. * combine.c: Likewise. * cpperror.c: Likewise. * cpplib.c: Likewise. * cpplib.h: Likewise. * doprint.c: Likewise. * emit-rtl.c: Likewise. * final.c: Likewise. * fix-header.c: Likewise. * gcc.c: Likewise. * genattr.c: Likewise. * genattrtab.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. * mips-tfile.c: Likewise. * prefix.c: Likewise. * protoize.c: Likewise. * regmove.c: Likewise. * toplev.c: Likewise. * tree.c: Likewise. * cp/errfn.c: Remove stdarg.h/varargs.h. * cp/tree.c: Likewise. From-SVN: r21997
1998-07-06Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.Kaveh R. Ghazi1-0/+2
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly. Instead, autoconf will only determine whether "%p" works and its up to machmode.h to base its definition of HOST_PTR_PRINTF on that. This ensures that machmode.h is always included to get the definition of HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not found. * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF. Instead, define a new macro HAVE_PRINTF_PTR which only signifies whether we have the %p format specifier or not. * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR. * machmode.h (HOST_PTR_PRINTF): When determining the definition, check HAVE_PRINTF_PTR to see whether "%p" is okay. * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF. * Makefile.in (mips-tfile.o): Depend on machmode.h. From-SVN: r20953
1998-06-29* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 forJeff Law1-2/+2
details. From-SVN: r20808
1998-06-22Warning fixes:Kaveh R. Ghazi1-34/+84
* mips-tfile.c (add_local_symbol): Cast width format specifier to int. (add_ext_symbol): Likewise. (add_file): Likewise. (parse_def): Likewise. (write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix remaining format specifiers and arguments. (write_object): Likewise, several times. (read_seek): Likewise. (out_of_bounds): Likewise. (allocate_cluster): Likewise. (xmalloc): Likewise. (xcalloc): Likewise. (xrealloc): Likewise. (xfree): Likewise. * mips-tdump.c (print_symbol): Likewise. From-SVN: r20654
1998-05-19Finish incomplete change started by Kenner.Jim Wilson1-1/+1
* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines. (powerpcle-*-cygwin32): Delete xm_defines. * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use HAVE_STAB_H instead of NO_STAB_H. * config/xm-linux.h (NO_STAB_H): Delete. (HAVE_STAB_H): Undefine. * config/i386/xm-go32.h (NO_STAB_H): Delete. From-SVN: r19886
1998-05-07Handle missing vfprintf() & _doprnt() functions with linked in modules,Kaveh R. Ghazi1-30/+0
plus do some general cleanup of variable argument handling. * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro. * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT. (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h. (AC_CHECK_FUNCS): Remove unused check for vprintf. * Makefile.in: Add support for linking in vfprintf.c and doprint.c. (cccp.o): Depend on gansidecl.h. (cexp.o): Likewise. * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as per the rest of gcc source. * cexp.y: Likewise. Include gansidecl.h and remove all code made redundant. * cccp.c: Remove checks for HAVE_VPRINTF and the associated code used when vfprintf is missing. * cexp.y: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * mips-tfile.c: Likewise. * toplev.c: Likewise. * vfprintf.c: New file. * doprint.c: Likewise. From-SVN: r19610
1998-05-06typo typo fixes fixesJeff Law1-1/+1
From-SVN: r19601
1998-05-06More system.h cutover...Kaveh R. Ghazi1-56/+21
* Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h. * mips-tdump.c: Include system.h, remove redundant headers. * mips-tfile.c: Likewise. Convert all ctype function calls to macro versions defined in system.h. * objc/Make-lang.in (objc-act.o): Depend on system.h. * objc/objc-act.c: Include system.h, remove redundant headers. From-SVN: r19573
1998-04-04* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12Jeff Law1-2/+3
for details. * haifa-sched.c: Mirror recent changes from gcc2. From-SVN: r18984
1998-01-19configure.in: Find declaration for sbrk.Richard Henderson1-1/+3
* configure.in: Find declaration for sbrk. * acconfig.h (NEED_DECLARATION_SBRK): New tag. * config.in, configure: Rebuild. * mips-tfile.c: Properly protect declaration of sbrk and free. * toplev.c: Properly protect declaration of sbrk. From-SVN: r17417
1997-12-06Merge from gcc-2.8Jeff Law1-12/+11
From-SVN: r16987
1997-11-02Update mainline egcs to gcc2 snapshot 971021.Jeff Law1-2/+2
From-SVN: r16278
1997-09-01collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.Jeffrey A Law1-1/+1
* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED. * mips-tfile.c: Likewise. * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs. * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition. * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise. * configure.in: Check for sys_siglist declaration. * configure, config.in: Rebuilt. Fix conflicting sys_siglist decls once and for all. From-SVN: r15007
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-4/+4
From-SVN: r14024
1996-07-03formatting tweaksMike Stump1-174/+174
From-SVN: r12390
1995-08-31(malloc, calloc, realloc): Don't define for anybody.Richard Kenner1-3/+0
From-SVN: r10298
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-05-16Fix typos in comments.Richard Kenner1-3/+3
From-SVN: r9712
1995-04-24(fatal, error): Make first arg const to avoid warning.Richard Kenner1-5/+5
From-SVN: r9436
1994-11-16Check target endianness at run time, not compile timeIan Lance Taylor1-1/+1
From-SVN: r8470
1994-04-11(update_headers): Do not copy stStatic symbols that result fromRichard Kenner1-0/+3
internal labels. From-SVN: r7023
1994-04-06(update_headers): Copy stStatic symbols from the old local symbol table to ↵Richard Kenner1-0/+33
the... (update_headers): Copy stStatic symbols from the old local symbol table to the new local symbol table if they did not get added via debugging psuedo ops. From-SVN: r6971
1994-03-30Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.Richard Kenner1-2/+2
From-SVN: r6922
1994-03-20(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET.Richard Kenner1-0/+15
(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET. Provide a default definition which does no alignment. From-SVN: r6833
1994-03-11Use PVPROTO for varargs prototypes.Richard Kenner1-2/+8
From-SVN: r6744
1994-02-26* mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF.Doug Evans1-0/+6
From-SVN: r6629
1994-02-21(fatal, error): Add ! HAVE_VPRINTF versions.Jim Wilson1-0/+23
From-SVN: r6598
1994-02-10Use PROTO for varargs functions.Richard Kenner1-15/+33
If __STDC__, include gstdarg and use ANSI form of varargs. From-SVN: r6517
1994-02-06(sys_siglist): Don't declare if NO_SYS_SIGLIST or DONT_DECLARE_SYS_SIGLIST ↵Jim Wilson1-0/+8
are defined. (sys_siglist): Don't declare if NO_SYS_SIGLIST or DONT_DECLARE_SYS_SIGLIST are defined. (catch_signal): Add code for NO_SYS_SIGLIST case. From-SVN: r6493
1993-10-12(add_local_symbol): Index in the external symbol must point to localRichard Kenner1-1/+4
symbol table entry for procedures. From-SVN: r5758
1993-10-10(WORD_ALIGN): Fix typo in last change.Richard Kenner1-1/+1
From-SVN: r5708
1993-10-08Don't define memory functions on Alpha.Richard Kenner1-3/+5
(Ptrdiff_t): Always `long'. (WORD_ALIGN): Make portable. From-SVN: r5676
1993-09-22[CROSS_COMPILE]: Include mips/a.out.h.Richard Stallman1-6/+2
From-SVN: r5381
1993-05-10Do not divide by sizes by 0.Michael Meissner1-1/+6
From-SVN: r4413