Commit Graph

12357 Commits

Author SHA1 Message Date
Doug Evans 9d8757d442 (objc-parse.y): Fix typo in name of temp file.
From-SVN: r12673
1996-08-26 20:12:56 +00:00
Richard Kenner 27ce006bb4 (mark_all_temps_used): Fix error in last change.
From-SVN: r12672
1996-08-26 14:08:23 -04:00
Richard Kenner a94e4054a9 (mark_all_temps_used): New function.
From-SVN: r12671
1996-08-25 22:27:04 -04:00
Michael Meissner 3201f6d9f3 Make -fPIC the same as -mrelocatable-lib
From-SVN: r12670
1996-08-23 15:48:47 +00:00
Michael Meissner 60a3d801a8 Add fancy_abort
From-SVN: r12669
1996-08-23 14:45:19 +00:00
Michael Meissner ce59619c01 Only build eabi crtx in eabi dirs; ditto for solaris; fix multilib solaris/linux
From-SVN: r12668
1996-08-22 15:47:12 +00:00
Mike Stump deeeee8cd3 Fixes eh49.C on sparc.
From-SVN: r12667
1996-08-21 23:08:55 +00:00
Mike Stump 632c9d9e7e flow.c (life_analysis): Preserve registers used by the epilogue.
* flow.c (life_analysis): Preserve registers used by the epilogue.
	(mark_used_regs): Likewise.
	* reorg.c (fill_simple_delay_slots): Likewise.
	(dbr_schedule): Likewise.
Fixes eh49.C for sparc.

From-SVN: r12666
1996-08-21 23:03:07 +00:00
Michael Meissner cc5aa58ba9 If -mrelocatable{,-lib} make read/write sections, not read-only
From-SVN: r12665
1996-08-20 22:54:13 +00:00
Karl Berry 8e8ce7cb7c (\key): Typeset a lozenge around the argument (from
gildea@intouchsys.com).

From-SVN: r12664
1996-08-20 18:37:11 +00:00
Doug Evans 9207261dca splet.h (SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
* sparc/splet.h (SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
	({CPP,ASM,LINK}_SPEC): Add little endian support.
	({BYTES,WORDS}_BIG_ENDIAN): Likewise.
	* sparc/t-splet (MULTILIB_{OPTIONS,DIRNAMES}): Likewise.

From-SVN: r12663
1996-08-19 22:42:00 +00:00
Doug Evans 20c7c30eb4 splet.h (SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
* sparc/splet.h (SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
	({CPP,ASM,LINK}_SPEC): Add little endian support.
	({BYTES,WORDS}_BIG_ENDIAN): Likewise.

From-SVN: r12662
1996-08-19 22:41:39 +00:00
Doug Evans 472b8162e3 sp64-elf.h ({CPP,ASM,LINK}_SPEC): Add little endian support.
* sparc/sp64-elf.h ({CPP,ASM,LINK}_SPEC): Add little endian support.
	(SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
	({BYTES,WORDS}_BIG_ENDIAN): Likewise.

From-SVN: r12661
1996-08-19 22:41:22 +00:00
Doug Evans 62f1c6492f sparc.h ({MASK,TARGET}_LITTLE_ENDIAN): Define.
* sparc.h ({MASK,TARGET}_LITTLE_ENDIAN): Define.
	(LIBGCC2_WORDS_BIG_ENDIAN): Add little endian support.

From-SVN: r12660
1996-08-19 22:40:29 +00:00
Doug Evans 747691c4ee * sparc/lynx-ng.h (CPP_SPEC): Use %(cpp_cpu).
From-SVN: r12659
1996-08-19 22:40:06 +00:00
Geoffrey Noer bb2b97ac6a * g++.c: Update test for win32 (&& ! cygwin32).
From-SVN: r12658
1996-08-18 01:49:24 +00:00
Doug Evans 9e189a7a71 choose-temp.c: Delete !defined(_WIN32) condition when including sys/file.h (NO_SYS_FILE_H is...
* choose-temp.c: Delete !defined(_WIN32) condition when including
	sys/file.h (NO_SYS_FILE_H is still used).

From-SVN: r12657
1996-08-18 01:43:58 +00:00
Doug Evans f2e1317140 * pexecute.c: Update test for win32 (&& ! cygwin32).
From-SVN: r12656
1996-08-18 01:43:25 +00:00
Doug Evans a7521e654f cccp.c (absolute_filename): Drive specifiers make the pathname absolute in cygwin32.
* cccp.c (absolute_filename): Drive specifiers make the pathname
	absolute in cygwin32.

From-SVN: r12655
1996-08-18 01:37:23 +00:00
Doug Evans 00290b64c4 cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
* i386/cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
	Define only __CYGWIN32__, not CYGWIN32 or __CYGWIN32.

From-SVN: r12654
1996-08-18 01:36:27 +00:00
Doug Evans ad9e9cfb39 cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
* i386/cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
	Define only __CYGWIN32__, not CYGWIN32 or __CYGWIN32.
	* rs6000/cygwin32.h (CPP_PREDEFINES): Likewise.

From-SVN: r12653
1996-08-18 01:35:50 +00:00
Doug Evans b8a8c83b10 gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when...
* gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when deciding
	whether to include sys/file.h.
	(execute): -pipe is supported for cygwin32.

From-SVN: r12652
1996-08-18 01:32:53 +00:00
Doug Evans 1143a698bd stdarg.h: Change __WIN32__ to _WIN32.
* ginclude/stdarg.h: Change __WIN32__ to _WIN32.
	* ginclude/varargs.h: Likewise.
	* ginclude/va-ppc.h: Likewise.

From-SVN: r12651
1996-08-18 01:31:48 +00:00
Doug Evans 7b004ab55f protoize.c: Update test for win32 (&& ! cygwin32).
* protoize.c: Update test for win32 (&& ! cygwin32).
	(kill): Delete decl.

From-SVN: r12650
1996-08-18 01:29:32 +00:00
Doug Evans 876ac40dfc * toplev.c: Update test for win32 (&& ! cygwin32).
From-SVN: r12649
1996-08-18 01:27:54 +00:00
Michael Meissner da39823a4c Make -fpic work with -O3
From-SVN: r12648
1996-08-16 20:14:24 +00:00
Stan Cox c8babb3977 Remove CLASS_LIKELY_SPILLED_P
Remove CLASS_LIKELY_SPILLED_P
(STARTFILE_SPEC): Insert crtbegin.o in correct place, and correctversions of values-X?.o
(SWITCH_TAKES_ARG): Extend DEFAULT_SWITCH_TAKES_ARG, not replace.
(CPP_SPEC): Add -Di386, and correctly include extra directories.
Define HAVE_ATEXIT in ELF mode for global destructors.

From-SVN: r12647
1996-08-16 20:09:49 +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 6a5d752611 * arm.h (RETURN_ADDR_RTX): Define.
From-SVN: r12645
1996-08-15 20:00:54 +00:00
Mike Stump 75bb87ea21 * expr.c (expand_builtin_return_addr): Fix order of parameters.
From-SVN: r12644
1996-08-15 19:59:00 +00:00
Doug Evans 5ab7138b86 sparc.c (label_ref_operand): New function.
* sparc/sparc.c (label_ref_operand): New function.
	(emit_move_sequence): Pass label_ref to gen_move_label_di to not
	lose flags.
	* sparc/sparc.md (move_label_di): Operand one is label_ref now.
	* genattrtab.c (write_test_expr): Allow label_ref in match_dup.

From-SVN: r12643
1996-08-15 19:05:21 +00:00
Doug Evans 1271a76a07 sys-protos.h (gethostid): Make return type `int' ifdef __alpha__.
* sys-protos.h (gethostid): Make return type `int' ifdef __alpha__.
	* gen-protos.c: Delete support for SYS_PROTO_OVERRIDES.
	* alpha/alpha.h (SYS_PROTO_OVERRIDES): Delete.

From-SVN: r12642
1996-08-15 18:59:44 +00:00
Torbjorn Granlund 3f8b69de79 (expand_return): In code for doing scc with jumps,
stick to default handling if we have corresponding scc pattern.

From-SVN: r12641
1996-08-14 23:46:53 +00:00
Jeff Law 3aba034bf0 pa.c (override_options): Treat TARGET_FAST_INDIRECT_CALLS just like TARGET_NO_SPACE_REGS.
* pa/pa.c (override_options): Treat TARGET_FAST_INDIRECT_CALLS
        just like TARGET_NO_SPACE_REGS.
        (output_millicode_call): Likewise.
        * pa/pa.h (TARGET_FAST_INDIRECT_CALLS): Define.
        (TARGET_SWITCHES): Add "fast-indirect-calls".
        * pa/pa.md: Treat TARGET_FAST_INDIRECT_CALLS just like
        TARGET_NO_SPACE_REGS in various call/millicode call patterns.

From-SVN: r12640
1996-08-14 16:17:25 -06:00
Jeff Law 7cda284aaf pa.c (print_operand): Use the right comparison operator for reversed EQ and NE comparisons.
* pa/pa.c (print_operand): Use the right comparison operator
        for reversed EQ and NE comparisons.

From-SVN: r12639
1996-08-14 11:40:57 -06:00
Jeff Law e38fd454ac * pa/pa.h (OUTPUT_MI_THUNK): Define.
From-SVN: r12638
1996-08-14 10:34:30 -06:00
Michael Meissner 06737be4a3 Fix varargs/stdarg on PowerPC Windows NT
From-SVN: r12637
1996-08-14 15:49:57 +00:00
Ian Lance Taylor c7c27cd3e2 Remove duplicate volatile from sig_atomic_t in AIX sys/signal.h
From-SVN: r12636
1996-08-13 22:30:02 +00:00
Michael Meissner f7fba6aa12 mp/load version # in specs file so __GNUC_MINOR__ will be correct
From-SVN: r12635
1996-08-13 22:21:04 +00:00
Jim Wilson 2ebb804445 (LIB_SPEC): Undef.
From-SVN: r12634
1996-08-13 14:28:50 -07:00
Michael Meissner 2a50d6bc50 Correctly handle stack probes of more than one function in an object file under
NT.

From-SVN: r12633
1996-08-13 21:26:31 +00:00
Michael Meissner 3807773bc4 Build fewer multilibs
From-SVN: r12632
1996-08-13 20:51:55 +00:00
Jim Wilson d59c4c8e37 (PROFILE_BEFORE_PROLOGUE): Define.
From-SVN: r12631
1996-08-13 13:48:43 -07:00
Jason Merrill 73aad9b9ff 87th Cygnus<->FSF quick merge
From-SVN: r12630
1996-08-13 15:39:22 +00:00
Michael Meissner c8c2dcdce1 Fix typo
From-SVN: r12629
1996-08-12 22:15:13 +00:00
Jim Wilson d1405d8907 (RAP_REG, RETURN_ADDRESS_POINTER_REGNUM): Define.
(ELIMINABLE_REGS): Add RETURN_ADDRESS_POINTER_REGNUM support.
(RETURN_ADDR_RTX): Define.
(REGISTER_NAMES): Add rap.

From-SVN: r12628
1996-08-12 14:44:14 -07:00
Jim Wilson 2afeea0fa3 (regno_reg_class): Change entry 23 from NO_REGS to GENERAL_REGS.
(initial_elimination_offset): New variable live_regs_mask.  Add
code to handle RETURN_ADDRESS_POINTER_REGNUM.

From-SVN: r12627
1996-08-12 14:43:22 -07:00
Jim Wilson f434403dd7 (DOLLARS_IN_IDENTIFIERS): Undefine.
From-SVN: r12626
1996-08-12 14:35:23 -07:00
Jim Wilson 03fd6b9862 (LIB_SPEC): Always emit -lc.
From-SVN: r12625
1996-08-12 12:54:22 -07:00
Michael Meissner 2954cae083 Check current_function_uses_pic_offset_table, not pic_offset_table_rtx
From-SVN: r12624
1996-08-12 18:59:09 +00:00