Commit Graph

263 Commits

Author SHA1 Message Date
Stan Cox
216be67c6f (__main, __do_global_dtors, __do_global_ctors): For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
From-SVN: r18913
1998-03-30 14:33:55 +00:00
Philippe De Muyter
09b4ce121b * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
From-SVN: r18717
1998-03-19 13:24:35 -07:00
Kaveh R. Ghazi
081f5e7e66 Fix more warnings...
* c-lang.c (finish_file): Wrap variable `void_list_node' with macro
        test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
        * calls.c (emit_call_1): Wrap variable `already_popped' with macro
        test !ACCUMULATE_OUTGOING_ARGS.
        * collect2.c (write_c_file_glob): Wrap function definition in
        macro test !LD_INIT_SWITCH.
        * combine.c (try_combine): Wrap variables `cc_use' and
        `compare_mode' in macro test EXTRA_CC_MODES.
        * cpplib.c (do_ident): Remove unused variable `len'.
        (skip_if_group): Remove unused variables `at_beg_of_line' and
        `after_ident'.
        (cpp_get_token): Remove unused variable `dummy'.
        * dbxout.c (scope_labelno): Move static variable definition inside
        the one function scope where it is used.
        (dbxout_function_end): Wrap prototype and definition in
        macro test !NO_DBX_FUNCTION_END.
        * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
        in macro test !MIPS_DEBUGGING_INFO.
        * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
        into the scope where it is used.  Wrap empty else-statement body
        in braces.
        * fix-header.c: Fix typo in comment.
        (inf_skip_spaces): Cast results of INF_UNGET to (void).
        (check_protection, main): Likewise.
        * flow.c (find_basic_blocks_1): Remove dangling comment text.
        * function.c (contains): Wrap prototype and definition in macro
        test HAVE_prologue || HAVE_epilogue.
        (fixup_var_refs_1): Remove unused variable `width'.
        * gen-protos.c (main): Remove unused variable `optr'.
        * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
        * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
        (__sjpopnthrow): Remove unused variable `jmpbuf'.
        (__throw): Remove unused variable `val'.
        * protoize.c: Check for a previously existing definition before
        defining *_OK macros.
        * scan-decls.c (scan_decls): Remove unused variable `old_written'.

From-SVN: r18654
1998-03-18 07:18:06 +00:00
Teemu Torma
754d1a92e6 Patch from Teemu Torma to fix Solaris 2.6 EH failures.
* gthr.h: Changed the comment about return values.
	* gthr-solaris.h (__gthread_once): Do not use errno; return the
	error number instead of -1.
	(__gthread_key_create): Any non-zero return value is an error.
	* libgcc2.c (eh_context_initialize): Check for non-zero return
	value from __gthread_once.
	Check that the value of get_eh_context was really changed.

From-SVN: r18480
1998-03-11 04:07:25 -08:00
Kaveh R. Ghazi
5172371191 Fix warious warnings:
* c-aux-info.c: Include string.h/strings.h.
	* pa.c: Include stdlib.h.
	(pa_combine_instructions): Prototype the function.
	(pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
	(reloc_needed): Add default case for enumeration switch.
	(remove_useless_addtr_insns): Remove unused variable `all'.
	(hppa_expand_prologue): Add explicit braces to avoid
	ambiguous `else'.
	(output_function_epilogue): Remove unused variable `i'.
	(output_millicode_call): Remove unused variable `link'.
	(shadd_constant_p, forward_branch_p): Make the function static.
	(following_call): Explicitly declare to return int.
	(pa_reorg): Declare as void.
	(pa_combine_instructions): Declare as static void.  Add
	parentheses around && within ||.
	* pa.h: Add prototypes for pa_reorg, symbolic_operand,
	following_call, function_label_operand, lhs_lshift_cint_operand
	and zdepi_cint_p.
	* pa.md: Add parentheses around && within ||.
	* cppalloc.c: Include stdlib.h.
	* cpperror.c (cpp_print_containing_files): Remove unused variable
	`i'.  Fix format specifier in fprintf.
	* cse.c (cse_around_loop): Add explicit braces to avoid
	ambiguous `else'.
	(delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
	* expr.c (expand_expr): Add parentheses around && within ||.
	* final.c (app_enable): Replace fprintf with fputs where there are
	no format specifiers and no trailing argument after the string.
	Eg, when printing ASM_APP_ON/ASM_APP_OFF.
	(app_disable): Likewise.
	(final_end_function): Likewise.
	(final_scan_insn): Likewise.  Remove unused variable `set'.
	(profile_function): Wrap empty if-statement body in {} brackets.
	* function.c: Include stdlib.h.
	(pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
	(reposition_prologue_and_epilogue_notes): Add parentheses
	around assignment used as truth value.
	* integrate.c (expand_inline_function): Wrap variable
	`cc0_insn' in macro HAVE_cc0.
	* jump.c (jump_optimize): Wrap variable `q' in macro
	HAVE_cc0.  Remove unused variable `prev1'.
	* libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
	within ||.  Fix format specifier in fprintf.
	(__bb_init_prg): Add parentheses around assignment used as
	truth value.
	* local-alloc.c: Include stdlib.h.
	(requires_inout): Add parentheses around assignment used
	as truth value.
	* loop.c (analyze_loop_iterations): Wrap prototype and definition
	in macro HAVE_decrement_and_branch_on_count.
	(insert_bct, instrument_loop_bct): Likewise.
	(move_movables): Add parentheses around assignment used as
	truth value.
	(consec_sets_invariant_p): Likewise.
	(maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
	* objc/objc-act.c: Include stdlib.h.
	(lookup_method_in_protocol_list): Wrap empty else-statement body
	in braces.
	(lookup_protocol_in_reflist): Likewise.
	(objc_add_static_instance): Remove unused variables `decl_expr'
	and `decl_spec'.
	(get_objc_string_decl): Remove unused variable `decl'.
	(generate_static_references): Remove unused variables `idecl' and
	`instance'.
	(check_protocols): Wrap empty else-statement body in braces.
	* protoize.c: Include stdlib.h.
	(substr): Add parentheses around assignment used as truth value.
	(abspath): Likewise.
	(shortpath): Likewise.
	* regmove.c (fixup_match_1): Add parentheses around assignment
	used as truth value.
	* reload.c (push_secondary_reload): Remove unused variable `i'.
	(find_reloads): Add parentheses around assignment used as truth
	value.
	* reload1.c: Include stdlib.h.
	* rtl.h: Correct typo in prototype of offsettable_memref_p.
	* stmt.c (add_case_node): Add parentheses around assignment used
	as truth value.
	(case_tree2list): Likewise.
	* tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
	in macro VALID_MACHINE_DECL_ATTRIBUTE.  Wrap variable
	`type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
	(merge_attributes): Add explicit braces to avoid ambiguous
	`else'.
	* unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
	macro HAVE_cc0.
	* varasm.c: Include stdlib.h.

From-SVN: r18290
1998-02-28 07:06:53 +00:00
Robert Lipe
2e6a59892b Rats. Forgot to change copyrights on the first commit.
From-SVN: r17902
1998-02-13 05:40:34 +00:00
Robert Lipe
69d4ca36f4 c-lang.c (finish_file): Bracket declaration of static_ctors, static_dtors.
* c-lang.c (finish_file): Bracket declaration of static_ctors,
	static_dtors.
	* calls.c (expand_call): Bracket declaration of 'rtx_before_call',
	'old_stack_arg_under_construction'
	(emit_library_call): Bracket declaration of 'upper_bound',
	'lower_bound', 'i', 'reg_parm_stack_space'
	(emit_library_call_value): Likewise.
	(store_one_arg):
	* collect2.c: include <unistd.h> when appropriate.
	Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
	* emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
	* explow.c (plus_constant_for_output_wide): Remove unused variable
	'code'.
	(memory_address): Remove unused variable 'orig_x'.
	* genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
	(write_const_num_delay_slots): Remove unused variable 'i'.
	* genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
	(gen_insn): Remove unused variable 'obstack_ptr'.
        * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
        'j', 'tmp', 'i'.
	(__bb_exit_trace_func): Remove unused variable 'e'.
	* optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
	'funexp'.
	(expand_unop): Remove unused variable 'funexp'.
	(expand_complex_abs): Remove unused variable 'funexp'.
	(init_optabs): Bracket declaration of 'j'.
	(init_complex_libfuncs): Deleted.  Dead static function.
	* profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
	* reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
	(reg_to_stack): 'initialized', 'before_function_beg'
	explictly type as ints instead of defaulting.
	(emit_swap_insn): Remove unused variable 'i2'.
	(compare_for_stack_reg): Remove unused variable 'src_note'.
	* rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
	* sched.c (actual_hazard): Bracket declaration of 'this_cost'.
	* stmt.c (add_case_node): Add parens for assignment used as truth.
	(all_cases_count):  Remove unused variable 'count_high'.
	(mark_seen_cases): Remove unused variable 'i'.
	(check_for_full_enumeration_handling): Remove unused variable 't'.
	Bracket declaration of  'all_values', 'l'.
	* tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
	* varasm.c (assemble_string): Remove unused variable 'i'.
	(immed_double_const): Remove unused variable 'in_current_obstack'.
	(immed_real_const_1): Likewise.
	(output_constant_pool): Remove unreferenced label 'done'.
	(output_constant): Remove unused variable 'x'.
        * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
        a string.
        * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
        as truth.

From-SVN: r17901
1998-02-13 05:30:56 +00:00
Manfred Hollstein
3698f44e0e libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl stuff only if MCT_TEXT is #define'd.
* libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
        stuff only if MCT_TEXT is #define'd.

From-SVN: r17496
1998-01-26 15:54:52 -07:00
Jeff Law
c85f7c16ad Bring in final gcc-2.8.0 changes.
From-SVN: r17355
1998-01-14 13:57:58 -07:00
Michael Meissner
eff0f7ace5 Do not define inhibit_libc if it was already defined
From-SVN: r17258
1997-12-29 12:59:45 +00:00
Teemu Torma
f24af81bca Makefile.in (GTHREAD_FLAGS): New var.
* Makefile.in (GTHREAD_FLAGS): New var.
	(LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
	(distclean): Remove gthr-default.h.
	* configure.in: Accept dce as a thread package.
	Check for thread.h and pthread.h.
	Link gthr-default.h to appropriate thread file and set
	gthread_flags.
	(hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
	include multilib definitions from pa/t-dce-thr.
	(sparc-*-solaris2*): Enable threads by default, if thread.h or
	pthread.h is found, preferring posix threads over solaris ones.
	* config/pa/t-dce-thr: New file.
	* config/pa/t-pa: Removed multilibs.
	* config/sparc/t-sol2: Ditto.
	* gthr.h: New file.
	* gthr-single.h: New file.
	* gthr-posix.h: New file.
	* gthr-solaris.h: New file.
	* gthr-dce.h: New file.
	* libgcc-thr.h: Removed.
	* objc/thr-dce.c: New file copied from thr-decosf1.c.
	* frame.c: Include gthr.h instead of libgcc-thr.h.
	* libgcc2.c: Include gthr.h instead of libgcc-thr.h.
	(eh_context_initialize): If __gthread_once fails, use static eh
	context.
	(eh_context_free): Call __gthread_key_dtor.

From-SVN: r17235
1997-12-24 16:56:08 -07:00
Jeff Law
6003a6bf75 *** empty log message ***
From-SVN: r17156
1997-12-19 09:44:46 -07:00
Jason Merrill
0776059ee0 except.c (use_eh_context): Don't copy_rtx a REG.
* except.c (use_eh_context): Don't copy_rtx a REG.
	(emit_throw): Lose old unwinder support.
	(expand_internal_throw): Likewise.
	* libgcc2.c (struct eh_context): Likewise.
	(new_eh_context): Likewise.
	(__get_eh_info): Lose redundant cast.
	(__get_dynamic_handler_chain): Likewise.
	(__get_saved_pc): Lose.
	Lose all old unwinder support code.

	* decl2.c (finish_file): Lose call to expand_builtin_throw.
	* except.c (expand_builtin_throw): Remove.
	* cp-tree.h: Remove ptr_ptr_type_node.
	* decl.c: Likewise.

From-SVN: r17054
1997-12-12 00:15:30 -05:00
Teemu Torma
154bba13a4 [multiple changes]
Thu Dec 11 20:42:18 1997  Teemu Torma  <tot@trema.com>

	Thread-safe EH support for pthreads, DCE threads and Solaris threads.

	* integrate.c (expand_inline_function): If the inline fn uses eh
	context, make sure that the current fn has one.
	* toplev.c (rest_of_compilation): Call emit_eh_context.
	* except.c (use_eh_context): New fn.
	(get_eh_context_once): New fn.
	(call_get_eh_context): New fn.
	(emit_eh_context): New fn.
	(get_eh_context): Call either get_eh_context_once or
	call_get_eh_context, depending on what we have.
	(get_dynamic_handler_chain): Call get_eh_context_once.
	* except.h: Prototypes for fns above.
	* optabs.c (get_eh_context_libfunc): Removed.
	(init_optabs): Don't initialize it.
	* expr.h (get_eh_context_libfunc): Removed.
	* rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
	* config/pa/pa.h (CPP_SPEC): Support for -threads.
	* config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
	* config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
	New multilib for -threads.
	* config/sparc/t-sol2: Added multilibs for -threads and
	made -pthreads alias to it.
	* config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
	Added -threads and -pthreads options.
	* libgcc-thr.h: New file.
	* libgcc2.c: (__get_cpp_eh_context): Removed.
	(struct cpp_eh_context): Removed.
	(struct eh_context): Replaced cpp_eh_context with generic language
	specific pointer.
	(__get_eh_info): New function.
	(__throw): Check eh_context::info.
	(__sjthrow): Ditto.
	* libgcc2.c: Include libgcc-thr.h.
	(new_eh_context, __get_eh_context,
	eh_pthread_initialize, eh_context_initialize, eh_context_static,
	eh_context_specific, eh_context_free): New functions.
	(get_eh_context, eh_context_key): New variables.
	(__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
	get_eh_context to get the context.
	(longjmp): Move the declaration inside
	#ifdef DONT_USE_BUILTIN_SETJMP.
	* frame.c: Include libgcc-thr.h.
	(object_mutex): Mutex to protect the object list.
	(find_fde, __register_frame, __register_frame_table,
	__deregister_frame): Hold the lock while accessing objects.
	* except.h (get_eh_context): Declare.
	* except.c (current_function_ehc): Define.
	(current_function_dhc, current_function_dcc): Removed.
	(get_eh_context): New function.
	(get_dynamic_handler_chain): Use get_eh_context.
	(get_saved_pc_ref): Ditto.
	(get_dynamic_cleanup_chain): Removed references to
	current_function_dcc.
	(save_eh_status, restore_eh_status): Save and restore
	current_function_ehc instead.
	* optabs.c (get_eh_context_libfunc): New variable.
	(init_optabs): Initialize it.
	* expr.h: Declare get_eh_context_libfunc.
	* function.h (struct function): Replaced dhc and dcc with ehc.
	* except.c (get_saved_pc_ref): New functions.
	(eh_saved_pc_rtx, eh_saved_pc): Deleted.
	(expand_internal_throw_indirect): Use get_saved_pc_ref() instead
	of eh_saved_pc.
	(end_eh_unwinder): Likewise.
	(init_eh): Remove initialization of eh_saved_pc.
	* optabs.c (get_saved_pc_libfunc): New variable.
	(init_optabs): Initialize it.
	* expr.h: Declare get_saved_pc_libfunc.
	* except.h (eh_saved_pc_rtx): Deleted.
	(get_saved_pc_ref): Declared.

	From Scott Snyder <snyder@d0sgif.fnal.gov>:
	* libgcc2.c (__get_saved_pc): New.
	(__eh_type, __eh_pc): Deleted.
	(__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
	(__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
	this fcn.

cp/:
Thu Dec 11 20:43:33 1997  Teemu Torma  <tot@trema.com>

	* decl.c (ptr_ptr_type_node): Define.
	(init_decl_processing): Initialize it.
	* cp-tree.h: Declare it.
	* exception.cc (__cp_exception_info): Use __get_eh_info.
	(__cp_push_exception): Ditto.
	(__cp_pop_exception): Ditto.

	From Scott Snyder <snyder@d0sgif.fnal.gov>:
        * except.c (expand_builtin_throw): Use get_saved_pc_ref instead of
	saved_pc.
	(init_exception_processing): Removed saved_pc initialization.

From-SVN: r17052
1997-12-11 23:53:20 -05:00
Jeff Law
b472527b0f Another handful of gcc-2.8 changes (will it ever go out the door?).
See ChangeLog.11 for details.

From-SVN: r17040
1997-12-11 09:26:05 -07:00
Jeffrey A Law
ac957f1381 * Partially cleaned up prototyping code from HJ.
* haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
        All references changed.
        * rtl.h: Protect from multiple inclusions.  Add many prototypes.

        * libgcc2.c (string.h): Hoist inclusion to occur before first use of
        string functions like strlen.
More pending patches.

From-SVN: r17024
1997-12-09 01:20:07 -07:00
Jeff Law
956d69504d Merge from gcc-2.8
From-SVN: r16987
1997-12-06 17:31:01 -07:00
Jason Merrill
e701eb4de0 ./: * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
* except.c: Lose outer_context_label_stack.
 	(expand_eh_region_end): Rethrow from outer_context here.
	(expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
	(expand_internal_throw): Take no args.
	(expand_internal_throw_indirect): Lose.
	(expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
	(expand_start_all_catch): Start a rethrow region.
	(expand_end_all_catch): End it.
	(expand_rethrow): New fn.
	* except.h: Reflect above changes.

cp/:	* except.c (expand_end_catch_block): Lose rethrow region.
	(expand_start_catch_block): Likewise.
	(expand_end_catch_block): Don't expand_leftover_cleanups.

From-SVN: r16937
1997-12-04 04:41:38 -05:00
Jason Merrill
f47448072a integrate.c (output_inline_function): Just unset DECL_INLINE.
* integrate.c (output_inline_function): Just unset DECL_INLINE.

Tue Nov 25 23:33:29 1997  scott snyder  <snyder@d0sgif.fnal.gov>

	* dwarf2out.c (outout_call_frame_info): Ensure that the info has
	proper alignment.

	* libgcc2.c (__throw): Initialize HANDLER.

From-SVN: r16724
1997-11-26 02:38:08 -05:00
Jason Merrill
ced78d8b0c Makefile.in (LIB2FUNCS): Remove C++ memory management support.
./:	* Makefile.in (LIB2FUNCS): Remove C++ memory management support.
	* libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
	__builtin_delete, and __builtin_vec_delete.

	* except.c (output_exception_table): Don't bother with
 	__EXCEPTION_END__.

cp/:
	* Make-lang.in (CXX_LIB2FUNCS): Add new op new and op delete objs.
	(various.o): Likewise.
	* inc/new: Add placement deletes.  Add throw specs for default new.
	* new.cc (set_new_handler): Move here from libgcc2.
	* new1.cc (new (nothrow)): Catch a bad_alloc thrown from the handler.
	(new): Move from libgcc2.  Throw bad_alloc.
	* new2.cc: Move the rest of the op news and op deletes from libgcc2.
	* decl.c (init_decl_processing): Update exception specs on new and
	delete.

From-SVN: r16617
1997-11-20 18:17:48 -05:00
Jason Merrill
6874c2647b [multiple changes]
Fri Oct 31 01:45:31 1997  Jason Merrill  <jason@yorick.cygnus.com>

	* libgcc2.c (L_eh): Define __eh_pc.
	Replace __eh_type with generic pointer __eh_info.

Fri Oct 31 01:47:57 1997  Jason Merrill  <jason@yorick.cygnus.com>

	Support for nested exceptions.
	* tinfo2.cc (__is_pointer): New fn.
	* exception.cc (struct cp_eh_info): Define.
	(__cp_exception_info, __uncatch_exception): New fns.
	(__cp_push_exception, __cp_pop_exception): New fns.
	* except.c: Lose saved_throw_{type,value,cleanup,in_catch}.
 	Lose empty_fndecl.
	(init_exception_processing): Likewise.  __eh_pc is now external.
	(push_eh_info): New fn.
	(get_eh_{info,value,type,caught}): New fns.
	(push_eh_cleanup): Just call __cp_pop_exception.
	(expand_start_catch_block): Use push_eh_info.  Start the eh region
	sooner.
	(expand_end_eh_spec): Use push_eh_info.
	(expand_throw): Call __cp_push_exception to set up the exception info.
	Just pass the destructor or 0 as the cleanup.  Call __uncatch_exception
	when we rethrow.
	(expand_builtin_throw): Don't refer to empty_fndecl.

From-SVN: r16248
1997-10-31 04:52:55 -05:00
Jason Merrill
d1485032c8 tree.c (restore_tree_status): Also free up temporary storage when we finish a toplevel function.
* tree.c (restore_tree_status): Also free up temporary storage
	when we finish a toplevel function.
	(dump_tree_statistics): Print stats for backend obstacks.

	* libgcc2.c (__throw): Don't copy the return address.
	* dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.

	* except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
	* toplev.c (main): Initialize exceptions_via_longjmp.

	* tree.c: Add extra_inline_obstacks.
	(save_tree_status): Use it.
	(restore_tree_status): If this is a toplevel inline obstack and we
	didn't want to save anything on it, recycle it.
	(print_inline_obstack_statistics): New fn.
	* function.c (pop_function_context_from): Pass context to
	restore_tree_status.
	* obstack.h (obstack_empty_p): New macro.

From-SVN: r16050
1997-10-18 17:10:32 -04:00
Jason Merrill
f34471094c * libgcc2.c (__throw): Fix thinko.
From-SVN: r15781
1997-09-28 22:02:26 -04:00
Jason Merrill
2f3ca9e7f4 c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
* c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
	* tree.h (built_in_function): Likewise.
	* expr.c (expand_builtin): Likewise.
	* except.h: Likewise.
	* dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
	* libgcc2.c (copy_reg): New fn.
	(__throw): Use it.

From-SVN: r15750
1997-09-27 14:16:15 -04:00
Jason Merrill
6020d3605c final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
* final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
	* dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
	(dwarf2out_stack_adjust): A BARRIER resets the args space to 0.

	* except.c (end_eh_unwinder): Subtract 1 from return address.
	* libgcc2.c (__throw): Likewise.
	(find_exception_handler): Don't change PC here.  Compare end with >.

From-SVN: r15554
1997-09-18 19:33:56 -04:00
Jason Merrill
4f870c0425 libgcc2.c (find_exception_handler): Subtract one from our PC when looking for a handler...
* libgcc2.c (find_exception_handler): Subtract one from our PC when
 	looking for a handler, to avoid hitting the beginning of the next
 	region.

	* except.c (expand_builtin_set_return_addr_reg): Use force_operand.

From-SVN: r15534
1997-09-17 21:23:34 -04:00
Jason Merrill
c0727e2a06 * libgcc2.c (find_exception_handler): Not found is -1.
From-SVN: r15504
1997-09-16 21:55:49 -04:00
Jason Merrill
ca55abaee7 dwarf2 EH support
From-SVN: r15464
1997-09-15 22:07:50 -04:00
Jim Wilson
db87ec0b58 Clean up patches for delta88 nested function support.
* m88k/m88k.c (struct option): Rename to struct options.
	* m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
	* m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
	* libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
	__DOLPHIN__ or sysV88.

From-SVN: r15393
1997-09-10 16:34:58 -07:00
Manfred Hollstein
9dfc6eba89 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
* libgcc2.c (__enable_execute_stack): Provide for sysV88 too.

From-SVN: r15256
1997-09-10 12:02:16 -06:00
Richard Kenner
272e2587a2 (_trampoline): Rework last change; both getpagesize and mprotect are
in cygwin32.

From-SVN: r14636
1997-08-02 18:27:33 -04:00
Ian Lance Taylor
e3367a77fd Don't compile getpagesize if __CYGWIN32__
From-SVN: r14571
1997-07-31 23:39:26 +00:00
Richard Kenner
e4b151062f (_trampoline): Add stdcall attribute to VirtualProtect on i386.
From-SVN: r14371
1997-07-02 06:38:04 -04:00
Mike Stump
e1c8c76b5b * libgcc2.c (__eh_type): Remove `extern' to make this a definition.
From-SVN: r14260
1997-06-19 02:09:33 +00:00
Mike Stump
59ba1a3a60 libgcc2.c (__eh_pcnthrow): Add support -fno-sjlj-exceptions -fPIC exception handling on the SPARC.
* libgcc2.c (__eh_pcnthrow): Add support -fno-sjlj-exceptions
	-fPIC exception handling on the SPARC.
	* sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	* libgcc2.c (__eh_ffetmnpc): Remove.

From-SVN: r14252
1997-06-18 01:57:18 +00:00
Mike Stump
28174a1465 libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot access globals after throw's epilogue when...
* libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot
	access globals after throw's epilogue when -fno-sjlj-exceptions is
	used.
	* rs6000.c (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	* mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	(INITIAL_ELIMINATION_OFFSET): Fix RETURN_ADDRESS_POINTER_REGNUM
	for 64 bit words, with 32 bit pointers and variable endianness.
Fixes throwing across shared library lines (useful at times on mips and rs6000)

From-SVN: r14168
1997-06-06 23:18:36 +00:00
Richard Kenner
a25cea96d7 (atexit): Cast malloc and realloc calls.
From-SVN: r14077
1997-05-18 07:26:38 -04:00
Mike Stump
6e6a07d299 except.c (start_dynamic_handler): Fix so that we can use __builtin_setjmp...
* except.c (start_dynamic_handler): Fix so that we can use
 	__builtin_setjmp, and default to using __builtin_setjmp instead of
 	setjmp.
	* expr.c (expand_builtin_setjmp): New routine, split out from
	existing inline code from expand_builtin.
	(expand_builtin): Split out code into expand_builtin_setjmp.
	* expr.h (expand_builtin_setjmp): Add declaration.
	* libgcc2.c (__sjthrow): Default to using __builtin_setjmp instead
 	of setjmp.
	(__sjpopnthrow): Likewise.
	* optabs.c (init_optabs): Likewise.

From-SVN: r14045
1997-05-07 22:50:11 +00:00
Mike Stump
db3cf6fb33 reformat a little to match GNU coding standards.
From-SVN: r14024
1997-05-06 23:05:54 +00:00
Mike Stump
e976b8b277 Add setjmp/longjmp exception handling.
From-SVN: r13968
1997-04-23 20:04:25 +00:00
Richard Kenner
920b13cc7e (L_bb, L_exit): Use 0 rather than NULL for null pointers.
From-SVN: r13883
1997-04-13 14:12:05 -04:00
Mike Stump
70e06f23df libgcc2.c (find_exception_table): Fix to logic to deal with functions that are in their own section...
* libgcc2.c (find_exception_table): Fix to logic to deal with
 	functions that are in their own section, such as template
 	instantiations, that cause overlapping EH tables.

From-SVN: r13830
1997-04-02 03:31:36 +00:00
Doug Evans
65f7a65344 * libgcc2.c (__bb_exit_func): Support gcov style output.
From-SVN: r13818
1997-03-28 22:38:07 +00:00
Richard Kenner
37ef10540d (__negdi2, __lshrdi3, __ashldi3, __ashrdi3, __ffsdi2):
Use ANSI style definition with full prototype.
(__muldi3, __udiv_w_sdiv, __udivmoddi4, __divdi3, __moddi3) : Likewise.
(__udivmoddi4, __udivdi3, __cmpdi2, __ucmpdi2) : Likewise.
(__fixunstfdi, __fixtfdi, __fixunsxfdi, __fixxfdi) : Likewise.
(__fixunsdfdi, __fixdfdi, __floatdixf, __floatditf) : Likewise.
(__floatdidf, __floatdisf, __fixunsxfsi, __fixunsdfsi) : Likewise.
(__gcc_bcmp, __eprintf, gopen, gclose, __bb_init_file) : Likewise.
(__bb_init_trace_func, __clear_cache, mprotect) : Likewise.
(__enable_execute_stack, cacheflush, exit) : Likewise.
(find_exception_table, __find_first_exception_table_match) : Likewise.

From-SVN: r13658
1997-02-16 07:55:15 -05:00
Mike Stump
8e702085e7 i formatting tweaks
From-SVN: r13614
1997-02-07 03:54:48 +00:00
Mike Stump
dd05a7e7c8 * libgcc2.c: Remove extern for malloc and realloc.
From-SVN: r13573
1997-01-31 23:37:05 +00:00
Richard Kenner
7d41c4114a (cacheflush): Add SONY NEWS-OS 4.2 version.
From-SVN: r13279
1996-12-11 09:09:06 -05:00
Jason Merrill
71c672c04d x
From-SVN: r13122
1996-11-11 21:21:09 +00:00
Mike Stump
b40b9d932c crtstuff.c (__do_global_dtors_aux): Allow finalization code to be run more than once.
* crtstuff.c (__do_global_dtors_aux): Allow finalization code to
        be run more than once.
        * libgcc2.c (__do_global_dtors): Ditto.

From-SVN: r13023
1996-10-24 01:23:43 +00:00
Jason Merrill
fe1fd35341 irix6 ctors
From-SVN: r12971
1996-10-16 20:25:25 +00:00
Mike Stump
843e83356c libgcc2.c (__throw): New routine.
* libgcc2.c (__throw): New routine.
        (__eh_pc): New data object for exception handling.

        * except.c (eh_saved_pc): New object so we can call
        assemble_external.
        (expand_internal_throw_indirect): Call assemble_external for
        __eh_pc.
        (end_eh_unwinder): Ditto.
        (init_eh): Initialize eh_saved_pc.
fixes eh6.C on rs6000 and alpha

From-SVN: r12646
1996-08-16 00:52:06 +00:00
Mike Stump
6adb4e3a29 install EH code
From-SVN: r12549
1996-07-23 20:03:47 +00:00
Mike Stump
0f41302f47 formatting tweaks
From-SVN: r12390
1996-07-03 22:07:53 +00:00
Richard Kenner
2e06e616a7 (__dummy): New function.
From-SVN: r11574
1996-03-20 08:11:20 -05:00
Richard Kenner
8b7677befe (L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.

From-SVN: r11432
1996-03-04 18:46:29 -05:00
Michael Meissner
6b8149a1c8 Make libgcc2 build under AIX3.2.5
From-SVN: r11171
1996-02-03 01:22:40 +00:00
Richard Kenner
9bb89050a9 (_bb_init_prg): Cast arg to bzero to (char *).
From-SVN: r10889
1995-12-27 17:54:27 -05:00
Richard Kenner
90b4a76470 (struct bb): Add flags field.
(HAVE_POPEN): Test new define.
(struct __bb, struct bb_{edge,func}): New structs.
(__bb_init_{prg,file},__bb_{init,exit}_trace_func,__bb_trace_ret,
(__bb_trace_func{,_ret},gopen,gclose): New functions.

From-SVN: r10850
1995-12-24 17:42:24 -05:00
Mike Stump
8fa6b6c92c libgcc2.c (__empty): An empty function used by the C++ frontend for defaulting cleanup actions.
* libgcc2.c (__empty): An empty function used by the C++ frontend for
	defaulting cleanup actions.

	* tree.c (save_tree_status, restore_tree_status): Save and restore
	temporary_firstobj, so that in progress objects that live on the
	temporary obstack are not reallocated, if we save and restore the
	tree status in their lifetime.

From-SVN: r10799
1995-12-18 17:42:56 +00:00
Richard Kenner
f5ea9817c4 (trampoline): Add getpagesize and mprotect for WINNT.
From-SVN: r10605
1995-11-26 14:41:43 -05:00
Richard Kenner
b667f58fae (__{C,D}TOR_LIST): For AIX...
(__{C,D}TOR_LIST): For AIX, initialize these arrays to 0,0, just like
NeXT to avoid a warning message from the AIX 4.1 linker.

From-SVN: r10567
1995-11-07 10:53:03 -05:00
Richard Kenner
139eda626f (L_eh: __unwind_function): Implement for VAX.
From-SVN: r10539
1995-10-29 07:42:53 -05:00
Richard Kenner
c6e84dc484 (__unwind_function): Provide a default definition for implementations
that don't yet have a function unwinder.

From-SVN: r10524
1995-10-26 19:24:58 -04:00
Richard Kenner
c07e26bda2 (__fixuns[xds]fsi): #undef MIN and MAX before #include of limits.h.
From-SVN: r10506
1995-10-22 08:01:32 -04:00
Richard Kenner
ce13d15fbc (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define dummy variant of
__udiv_w_sdiv.

From-SVN: r10476
1995-10-19 18:48:45 -04:00
Richard Kenner
536bfcd040 Include longlong.h.
[L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4):
Define this `static inline' when defining these, so they all remain
leaf functions.

From-SVN: r10305
1995-08-31 19:26:53 -04:00
Richard Kenner
abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Richard Kenner
a35311b035 Update FSF address.
From-SVN: r9961
1995-06-15 07:52:21 -04:00
Richard Kenner
cac896d8de (_floatdidf): Correctly set float sizes.
From-SVN: r9920
1995-06-10 09:04:45 -04:00
Richard Kenner
fd4cb6b020 (L_eh, i386): Remove in-line comments in assembly code--the '#'
character is not valid for the SYSV as.

From-SVN: r9817
1995-05-25 07:35:27 -04:00
Richard Kenner
9faa82d8c0 Fix typos in comments.
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Jason Merrill
daefd78b4c Update weak symbol support
From-SVN: r9697
1995-05-16 01:02:59 +00:00
Jason Merrill
545bcf37d1 weaken C++ free-store functions
From-SVN: r9392
1995-04-16 06:17:34 +00:00
Jason Merrill
7e6f1890c8 Remove explicit 0-initializations of static variables.
From-SVN: r9269
1995-03-30 23:51:30 +00:00
Mike Stump
e46540c368 * libgcc2.c (__throw_type_match): Update to use new calling convention.
From-SVN: r9254
1995-03-30 00:10:54 +00:00
Mike Stump
47c0d9de92 * libgcc2.c (__register_exceptions): Handle empty tables.
From-SVN: r9200
1995-03-18 02:31:09 +00:00
Michael Meissner
8a552066c6 Do not initialize the pointer variable __new_handler with an address.
From-SVN: r9129
1995-03-08 15:21:52 +00:00
Michael Meissner
bf18d0315a Clone unwind_function for powerpc
From-SVN: r9103
1995-03-01 20:30:14 +00:00
Richard Kenner
c84b672ea9 (atexit): Prototype now works with NT.
From-SVN: r9016
1995-02-21 18:55:37 -05:00
Mike Stump
71a810956e rs6000 exception handling support
From-SVN: r8970
1995-02-18 21:05:17 +00:00
Mike Stump
1e58f10757 tweak __unwind_function for bsdi
From-SVN: r8969
1995-02-18 20:52:11 +00:00
Richard Kenner
3a5ece659c Repair botch in application of patch.
From-SVN: r8956
1995-02-15 13:03:30 -05:00
Doug Evans
5fd507a942 (exit): Don't call __do_global_dtors if
INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.

From-SVN: r8946
1995-02-13 23:22:38 +00:00
Jason Merrill
2c62c124a7 Don't call write ifdef inhibit_libc.
From-SVN: r8941
1995-02-13 22:08:25 +00:00
Jim Wilson
3f3d2ec8db (L_fixunsxfsi, L_fixunsdfsi, L_fixunssfsi): Undef
normal types before including limits.h.

From-SVN: r8913
1995-02-11 15:26:09 -08:00
Ian Lance Taylor
a99598c904 Include <limits.h>, not "glimits.h".
From-SVN: r8841
1995-01-31 18:28:04 +00:00
Richard Kenner
a83106c08a (__lshldi3): Deleted.
From-SVN: r8831
1995-01-27 20:56:50 -05:00
Steve Chamberlain
8572e7ce39 *** empty log message ***
From-SVN: r8736
1995-01-12 16:18:12 +00:00
Steve Chamberlain
b799cfc33b *** empty log message ***
From-SVN: r8735
1995-01-12 16:13:44 +00:00
Richard Kenner
a07805c01c (word_type): Use __attribute__ ((mode (__word__))).
From-SVN: r8583
1994-11-30 15:48:22 -05:00
Mike Stump
5603182320 libgcc2.c (__register_exceptions): Find max ending of a segment for end, not min.
* libgcc2.c (__register_exceptions): Find max ending of a segment for
        end, not min.
        * libgcc2.c (__unwind_function): New function to support stack
        unwinding on i[34]86 for g++ exception handling.

From-SVN: r8571
1994-11-29 01:33:07 +00:00
Jason Merrill
68d69835ac Shared library support.
From-SVN: r8519
1994-11-19 04:09:58 +00:00
Ian Lance Taylor
f76b9db287 Check target endianness at run time, not compile time
From-SVN: r8470
1994-11-16 21:10:09 +00:00
Jason Merrill
efc955c77f (LIB2FUNCS): Add _pure.
From-SVN: r8333
1994-10-21 19:14:08 +00:00
Mike Stump
ad912eec58 * Makefile.in, libgcc2.c (L_eh): some support routines for C++.
From-SVN: r8144
1994-09-27 19:42:40 +00:00
Richard Kenner
b077f3ac2f Add declaration of ctime.
From-SVN: r7824
1994-07-29 19:04:10 -04:00
Jason Merrill
566b213ab1 Reverse order of execution of
destructor lists.

From-SVN: r7817
1994-07-29 19:03:37 +00:00
Richard Kenner
d9e1ab8d4e (__floatdisf): Protect against double-rounding error.
From-SVN: r7431
1994-06-02 18:10:30 -04:00
Richard Kenner
b89a6f69c3 (__umoddi3): Correct type of variable `w'.
From-SVN: r7324
1994-05-17 18:56:16 -04:00
Richard Kenner
b2bf5aef7a Revert to identifiers for mode attributes.
From-SVN: r7282
1994-05-12 15:48:39 -04:00
Richard Kenner
d5c88b0ab9 Clarify license status.
From-SVN: r7169
1994-04-28 18:29:12 -04:00
Jason Merrill
4c5484839a Change _op_vec_decl to _op_vdel and _op_vec_new to _op_vnew
From-SVN: r7161
1994-04-27 07:19:33 +00:00
Jason Merrill
75ea7910de (LIB2FUNCS): Change _op_vec_delete to _op_vec_del.
From-SVN: r7064
1994-04-18 18:37:25 +00:00
Jason Merrill
6ffe3a3224 libgcc2.c (__builtin_vec_{delete,new}): New functions per the latest C++ working paper.
* libgcc2.c (__builtin_vec_{delete,new}): New functions per the
        latest C++ working paper.
        (__default_new_handler): No longer static.
        (__set_new_handler): Lose.

From-SVN: r7043
1994-04-13 01:18:43 +00:00
Richard Kenner
c5df463e3b Include <mach.h>, not <mach/mach.h> for NeXTStep 2.1.
From-SVN: r7008
1994-04-09 15:02:49 -04:00
Jim Wilson
6b98c8f4db Modify all uses of __attribute__ mode to use new syntax.
From-SVN: r6956
1994-04-01 09:06:56 -08:00
Jim Wilson
8717efcef1 Change "gstddef.h" to <stddef.h>.
From-SVN: r6943
1994-03-31 21:28:27 -08:00
Doug Evans
3bd4f3b8c9 (__builtin_saveregs): Fix return type.
From-SVN: r6837
1994-03-21 21:20:56 +00:00
Richard Kenner
442e881d89 (__builtin_new): If __new_handler returns, keep trying to allocate the memory.
(__default_new_handler): Add __ to beginning of name to avoid namespace
clashing.

From-SVN: r6506
1994-02-08 19:19:53 -05:00
Richard Stallman
1d42e1b7cf (__bb_exit_func): Fix format %*d -> %*ld.
From-SVN: r6145
1993-11-23 22:01:14 +00:00
Richard Kenner
0c8ae3d30b (__enable_execute_stack): Add DolphinOS version.
From-SVN: r6136
1993-11-21 15:38:55 -05:00
Richard Stallman
003be45548 (exit): Fix declaration of _exit.
From-SVN: r5980
1993-11-03 20:08:08 +00:00
Richard Stallman
6aadf9c227 (___builtin_saveregs): New alternative for __PARAGON__.
From-SVN: r5907
1993-10-26 23:29:45 +00:00
Richard Stallman
ebd4130940 (L_bb): Undef NULL before including <stdio.h>.
From-SVN: r5880
1993-10-25 01:42:49 +00:00
Kresten Krab Thorup
c1381fd357 (__enable_execute_stack): Add case for NeXT/__MACH__.
From-SVN: r5394
1993-09-22 17:44:56 +00:00
Kresten Krab Thorup
e117897348 (__clear_cache): add case for new CLEAR_INSN_CACHE.
From-SVN: r5391
1993-09-22 17:43:00 +00:00
Richard Stallman
c7544ff7ae (L_bb): Test inhibit_libc.
From-SVN: r5383
1993-09-22 02:33:56 +00:00
Richard Stallman
96fc2623de Declare __fixunsxfdi only if really have XFmode.
Likewise for __fixunstfdi.

From-SVN: r5349
1993-09-18 00:39:21 +00:00
Richard Stallman
cc3cdac3bb Declare __fixunstfdi.
From-SVN: r5333
1993-09-15 22:09:57 +00:00
Richard Stallman
f70ad14cb4 Declare __fixunsxfdi.
From-SVN: r5325
1993-09-15 13:30:09 +00:00
Michael Meissner
3cca99e839 Add spaces in basic block output.
From-SVN: r5250
1993-09-02 10:55:40 +00:00
Michael Meissner
92832bb59a Update basic block profiling.
From-SVN: r5249
1993-09-02 10:50:41 +00:00
Richard Stallman
c06cff95e3 (__main): Use macro SYMBOL__MAIN instead of invoking directly.
From-SVN: r4992
1993-07-26 21:00:16 +00:00
Richard Stallman
56b03d5f89 (__floatdisf): Use DFtype for intermediate values.
From-SVN: r4421
1993-05-11 04:42:22 +00:00
Richard Stallman
e0799b34f8 (XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96.
(__fixunsxfdi): New function, if LONG_DOUBLE_TYPE_SIZE == 96.
(__fixxfdi, __floatdixf, __fixunsxfsi): Likewise.

From-SVN: r4000
1993-04-04 07:18:03 +00:00
Richard Stallman
24e4939efc Comment fix.
From-SVN: r3564
1993-02-27 20:27:24 +00:00
Richard Stallman
c74d558306 (inhibit_libc): Renamed from inhibit_eprintf.
(L_new_handler): Don't include stdio.h if inhibit_libc.

From-SVN: r3557
1993-02-27 19:12:24 +00:00
Jim Wilson
4be7c28fdd (cmpdi2, ucmpdi2): comparison result type is now word_mode.
From-SVN: r3288
1993-01-19 17:07:04 -08:00
Jim Wilson
19197caa01 Correct typo in comment.
From-SVN: r3240
1993-01-14 11:30:29 -08:00
Michael Meissner
de6cbba6ea Fix ffsdi2 return types.
From-SVN: r3225
1993-01-13 20:36:07 +00:00
Richard Stallman
aa66bd06e4 (_ffsdi2): Use the correct names for structure elements of type DIunion.
From-SVN: r3217
1993-01-13 04:30:11 +00:00
Paul Eggert
a1c3776604 # Fix misspellings in comments.
From-SVN: r3182
1993-01-10 22:33:45 +00:00
Torbjorn Granlund
7bc7d45a25 (__udiv_w_sdiv): Replace hard-coded constants 31 with (SI_TYPE_SIZE - 1).
From-SVN: r3146
1993-01-07 21:46:47 +00:00
Jim Wilson
ec06f00ad6 (L_builtin_new): Change to L_op_new.
(L_builtin_new): Change to L_op_new.  Use new style
definition for __builtin_new.
(L_caps_New): Change to L_new_handler.  Delete unused function
builtin_vec_new.
(L_builtin_del): Change to L_op_delete.  Delete vfp declaration.
Use new style definition for __builtin_delete.  Delete unused
function __builtin_vec_delete.

From-SVN: r3021
1992-12-31 13:10:50 -08:00
Richard Stallman
30de5e95fa (__udiv_w_sdiv): Cast 1 before shifting by 31.
From-SVN: r2809
1992-11-26 19:05:38 +00:00
Richard Stallman
98126ed6a4 (__builtin_vec_new): #undef NULL before including stdio.h.
(pyramid __enable_execute_stack): Ditto.

From-SVN: r2668
1992-10-31 21:26:20 +00:00
Michael Meissner
e45d9b98ee Properly close comment.
From-SVN: r2628
1992-10-28 15:56:23 +00:00
Richard Stallman
fffa69145b Include stdio.h.
[__GNU_LIBRARY__] (write): Defined.

From-SVN: r2625
1992-10-27 22:53:58 +00:00
Richard Stallman
d15d0264a9 [L_ctors] (__CTOR_LIST__, __DTOR_LIST__):
Initialize these default definitions if __NeXT__.

From-SVN: r2472
1992-10-15 08:25:16 +00:00
Richard Stallman
78e3321337 (__gcc_bcmp): Don't depend on signedness of `char'.
From-SVN: r2465
1992-10-15 05:04:48 +00:00
Richard Stallman
bba2431c5d (__eprintf): Do nothing if inhibit_eprintf is defined.
From-SVN: r2289
1992-10-01 03:34:27 +00:00
Richard Stallman
bcea218548 (__builtin_new): Avoid passing 0 to malloc.
From-SVN: r2267
1992-09-28 13:43:23 +00:00
Richard Stallman
ad38743d79 (exit): Declare _exit as volatile.
(__CTOR_LIST__, __DTOR_LIST__): Moved to separate member.

From-SVN: r2158
1992-09-19 04:47:11 +00:00
Richard Stallman
9bd23d2c95 (__gcc_bcmp): New function, in cond on L__gcc_bcmp.
From-SVN: r2110
1992-09-12 08:45:46 +00:00
Richard Stallman
ecbe06a11f (__builtin_new): Cast the result of malloc.
From-SVN: r1935
1992-08-23 07:20:15 +00:00
Richard Kenner
05c0fbb8bc (builtin_new): Remove declaration of malloc.
From-SVN: r1868
1992-08-17 07:33:24 -04:00
Richard Stallman
0c7b7f30eb entered into RCS
From-SVN: r1728
1992-07-31 06:29:36 +00:00
Richard Kenner
bfe655f9bf *** empty log message ***
From-SVN: r1617
1992-07-17 08:27:11 -04:00
Richard Kenner
0dadecf681 *** empty log message ***
From-SVN: r1614
1992-07-17 05:57:24 -04:00
Torbjorn Granlund
3904131aad *** empty log message ***
From-SVN: r1546
1992-07-09 22:30:59 +00:00