platform/upstream/gcc.git
27 years ago(*:Linux:*:*): Don't test for elf_i.86 or m68kelf.
Richard Stallman [Fri, 6 Jun 1997 01:21:12 +0000 (01:21 +0000)]
(*:Linux:*:*): Don't test for elf_i.86 or m68kelf.

From-SVN: r14156

27 years ago(*:Linux:*:*): Recognize sparclinux.
Richard Stallman [Fri, 6 Jun 1997 00:14:22 +0000 (00:14 +0000)]
(*:Linux:*:*): Recognize sparclinux.

Don't recognize UNAME_MACHINE = sparc.
Make the sample program check for libc version
and handle various machine types.

From-SVN: r14155

27 years ago(mipsel*-linux* and mips*-linux*):
Richard Stallman [Thu, 5 Jun 1997 22:22:44 +0000 (22:22 +0000)]
(mipsel*-linux* and mips*-linux*):

Set `os' to -linux-gnu directly, don't go via -linux.

From-SVN: r14154

27 years ago(\uref): Write real definition, taking one mandatory argument and one
Karl Berry [Thu, 5 Jun 1997 22:04:25 +0000 (22:04 +0000)]
(\uref): Write real definition, taking one mandatory argument and one
optional one.

From-SVN: r14153

27 years agoremove cygnus local stuff
Michael Meissner [Thu, 5 Jun 1997 20:47:47 +0000 (20:47 +0000)]
remove cygnus local stuff

From-SVN: r14152

27 years agoRemove CYGNUS LOCAL stuff.
Michael Meissner [Thu, 5 Jun 1997 20:43:41 +0000 (20:43 +0000)]
Remove CYGNUS LOCAL stuff.

From-SVN: r14151

27 years agoFix urgent bug
Michael Meissner [Thu, 5 Jun 1997 20:35:53 +0000 (20:35 +0000)]
Fix urgent bug

From-SVN: r14150

27 years agoFix typo in last change.
Jeff Law [Thu, 5 Jun 1997 16:36:38 +0000 (10:36 -0600)]
Fix typo in last change.

From-SVN: r14149

27 years agosh.c (trap_exit, sp_switch): New variables.
Jeff Law [Thu, 5 Jun 1997 15:52:34 +0000 (09:52 -0600)]
sh.c (trap_exit, sp_switch): New variables.

* sh.c (trap_exit, sp_switch): New variables.
(print_operand, case '@'): If trap_exit is nonzero, then use
a trapa instead of an rte/rts to exit the current function.
(sh_expand_prologue): Switch stacks at function entry as needed.
(sh_expand_epilogue): Similarly at function exit.
(function_epilogue): Clear trap_exit and sp_switch too.
(sh_valid_machine_decl_attribute): New function.
* sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
(sp_switch): Declare.
* sh.md (sp_switch_1, sp_switch_2): New named patterns.

From-SVN: r14148

27 years agoabstract regset stuff into macros
Michael Meissner [Thu, 5 Jun 1997 10:24:03 +0000 (10:24 +0000)]
abstract regset stuff into macros

From-SVN: r14147

27 years agotexinfo.tex (\mainmagstep): Define this as a \count variable instead of with \let...
Karl Berry [Wed, 4 Jun 1997 21:47:40 +0000 (21:47 +0000)]
texinfo.tex (\mainmagstep): Define this as a \count variable instead of with \let...

* texinfo.tex (\mainmagstep): Define this as a \count variable
  instead of with \let, to make changing to \magstep1 more transparent.
  From: HERBERT@boevm4.vnet.ibm.com.
(\uref): New command a la \url.

From-SVN: r14146

27 years ago91th Cygnus<->FSF quick merge
Mike Stump [Wed, 4 Jun 1997 17:31:55 +0000 (17:31 +0000)]
91th Cygnus<->FSF quick merge

From-SVN: r14145

27 years ago* fixincludes: Fix AIX NULL macro use of void*.
Brendan Kehoe [Tue, 3 Jun 1997 23:19:01 +0000 (19:19 -0400)]
* fixincludes: Fix AIX NULL macro use of void*.

From-SVN: r14144

27 years agox
Jason Merrill [Tue, 3 Jun 1997 19:20:28 +0000 (19:20 +0000)]
x

From-SVN: r14143

27 years agoWiden some short fields to int; Use allocate_reg_info to allocate the reg_renumber...
Michael Meissner [Mon, 2 Jun 1997 22:05:38 +0000 (22:05 +0000)]
Widen some short fields to int; Use allocate_reg_info to allocate the reg_renumber array

From-SVN: r14142

27 years agosparc.md (v9 eq/ne cond move patterns): Add early clobber constraint to destination.
Doug Evans [Mon, 2 Jun 1997 18:52:13 +0000 (18:52 +0000)]
sparc.md (v9 eq/ne cond move patterns): Add early clobber constraint to destination.

* sparc/sparc.md (v9 eq/ne cond move patterns): Add early clobber
constraint to destination.

From-SVN: r14141

27 years agoUse accessor macros to access arrays based on regno; move many of the arrays into...
Michael Meissner [Fri, 30 May 1997 18:19:19 +0000 (18:19 +0000)]
Use accessor macros to access arrays based on regno; move many of the arrays into a single structure.

From-SVN: r14140

27 years ago91th Cygnus<->FSF quick merge
Mike Stump [Thu, 29 May 1997 20:29:01 +0000 (20:29 +0000)]
91th Cygnus<->FSF quick merge

From-SVN: r14139

27 years ago(movsfcc_1, movdfcc_1, movxfcc_1): Use singlemove_string
Stan Cox [Thu, 29 May 1997 19:41:36 +0000 (19:41 +0000)]
(movsfcc_1, movdfcc_1, movxfcc_1): Use singlemove_string

From-SVN: r14138

27 years ago(ASM_OUTPUT_REG_{PUSH,POP}): add %% before register name.
Stan Cox [Thu, 29 May 1997 19:36:53 +0000 (19:36 +0000)]
(ASM_OUTPUT_REG_{PUSH,POP}): add %% before register name.

From-SVN: r14137

27 years ago(ASM_OUTPUT_ALIGN): use .p2align, not byte alignments.
Stan Cox [Thu, 29 May 1997 19:35:26 +0000 (19:35 +0000)]
(ASM_OUTPUT_ALIGN): use .p2align, not byte alignments.

From-SVN: r14136

27 years agoexcept.c (push_eh_entry): Eliminate start of exception region label, as it isn't...
Mike Stump [Thu, 29 May 1997 18:42:07 +0000 (18:42 +0000)]
except.c (push_eh_entry): Eliminate start of exception region label, as it isn't used.

* except.c (push_eh_entry): Eliminate start of exception region
label, as it isn't used.  Rename end_label to outer_context.
(expand_eh_region_start_for_decl): Likewise.
(expand_leftover_cleanups): Likewise.
(expand_start_all_catch): Likewise.
* except.h (eh_entry): Likewise.
* except.c (expand_eh_region_end): Likewise.  Jump around the nop
that we insert, so that we can optimize it away, if it is unused,
also so that flow analysis can tell if we fall through to the end
of a function or not so that it can know if a function that returns
a value, in fact does or not.
Fixes g++.jason/return2.C when using -fno-sjlj-exceptions

From-SVN: r14135

27 years ago91th Cygnus<->FSF quick merge
Mike Stump [Wed, 28 May 1997 23:20:02 +0000 (23:20 +0000)]
91th Cygnus<->FSF quick merge

From-SVN: r14134

27 years agopa.md (jump): Handle out of range unconditional jump when not optimizing.
Jeff Law [Wed, 28 May 1997 16:50:38 +0000 (10:50 -0600)]
pa.md (jump): Handle out of range unconditional jump when not optimizing.

        * pa.md (jump): Handle out of range unconditional jump
        when not optimizing.

From-SVN: r14133

27 years agoautomatically generated from GPLed version
Paul Eggert [Tue, 27 May 1997 03:15:14 +0000 (03:15 +0000)]
automatically generated from GPLed version

From-SVN: r14129

27 years agoautomatically generated from GPLed version
Paul Eggert [Tue, 27 May 1997 03:15:14 +0000 (03:15 +0000)]
automatically generated from GPLed version

From-SVN: r14127

27 years agoautomatically generated from GPLed version
Ulrich Drepper [Tue, 27 May 1997 03:15:09 +0000 (03:15 +0000)]
automatically generated from GPLed version

From-SVN: r14126

27 years ago(\deftypemethod, \deftypemethodheader): New macros to implement new commands @deftype...
Karl Berry [Sat, 24 May 1997 22:06:39 +0000 (22:06 +0000)]
(\deftypemethod, \deftypemethodheader): New macros to implement new commands @deftypemethod and @deftypemethodx.

(\deftypemethod, \deftypemethodheader): New macros to implement
new commands @deftypemethod and @deftypemethodx.
Suggestion from: KHMarbaise@p69.ks.fido.de (Karl Heinz Marbaise).

From-SVN: r14114

27 years ago(\opnr, \clnr): Increment/decrement \parencount, for
Karl Berry [Fri, 23 May 1997 17:02:00 +0000 (17:02 +0000)]
(\opnr, \clnr): Increment/decrement \parencount, for

(\opnr, \clnr): Increment/decrement \parencount, for
* texinfo.tex (\opnr, \clnr): Increment/decrement \parencount, for
      @defun lines with nested parens.  From Bill Schelter
    <wfs@fireant.ma.utexas.edu>.
(\itemizeitem): Correct \errmessage.

From-SVN: r14113

27 years agoFormerly install.texi.~2~
Richard Kenner [Thu, 22 May 1997 21:56:07 +0000 (17:56 -0400)]
Formerly install.texi.~2~

From-SVN: r14112

27 years agoreload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower...
Jeff Law [Thu, 22 May 1997 21:49:33 +0000 (15:49 -0600)]
reload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower than DEST_MODE.

        * reload1.c (reload_cse_record_set): Ignore values for SREG if
        their mode is narrower than DEST_MODE.

From-SVN: r14111

27 years agopa.h (DFMODE_RETURN_STRING): Define.
Jeff Law [Thu, 22 May 1997 07:00:06 +0000 (01:00 -0600)]
pa.h (DFMODE_RETURN_STRING): Define.

        * pa.h (DFMODE_RETURN_STRING): Define.
        (SFMODE_RETURN_STRING): Likewise.
        (ASM_DECLARE_FUNCTION_NAME): Use them.

From-SVN: r14110

27 years ago* mn10300.md (reload_insi): Handle SUBREG properly.
Jeff Law [Thu, 22 May 1997 05:35:37 +0000 (23:35 -0600)]
* mn10300.md (reload_insi): Handle SUBREG properly.

From-SVN: r14109

27 years agox
Jason Merrill [Wed, 21 May 1997 06:04:44 +0000 (06:04 +0000)]
x

From-SVN: r14108

27 years agocplus-dem.c (do_type): Handle `J'.
Brendan Kehoe [Tue, 20 May 1997 20:58:17 +0000 (16:58 -0400)]
cplus-dem.c (do_type): Handle `J'.

* cplus-dem.c (do_type): Handle `J'.
(demangle_fund_type): Print "complex" for it.

From-SVN: r14107

27 years ago(scc0_di, scc_di, seq, sne, sgt, sgtu, slt, sltu, sge, sgeu,
Jim Wilson [Tue, 20 May 1997 01:12:04 +0000 (18:12 -0700)]
(scc0_di, scc_di, seq, sne, sgt, sgtu, slt, sltu, sge, sgeu,

sle, sleu): Add coldfire support.

From-SVN: r14106

27 years ago(output_move_qimode): Add coldfire support.
Jim Wilson [Tue, 20 May 1997 01:01:22 +0000 (18:01 -0700)]
(output_move_qimode): Add coldfire support.

From-SVN: r14105

27 years ago(PUSH_ROUNDING): Add coldfire support.
Jim Wilson [Tue, 20 May 1997 01:00:46 +0000 (18:00 -0700)]
(PUSH_ROUNDING): Add coldfire support.

From-SVN: r14104

27 years agoFix powerpc-{eabi,linux,sysv} problem with -mrelocatable
Michael Meissner [Mon, 19 May 1997 22:03:56 +0000 (22:03 +0000)]
Fix powerpc-{eabi,linux,sysv} problem with -mrelocatable

From-SVN: r14103

27 years ago(\codeunder): Use \_ and \ifusingtt to avoid dotaccent from _ in roman fonts, e.g...
Karl Berry [Mon, 19 May 1997 21:34:38 +0000 (21:34 +0000)]
(\codeunder): Use \_ and \ifusingtt to avoid dotaccent from _ in roman fonts, e.g., @deftypefn.

(\codeunder): Use \_ and \ifusingtt to avoid dotaccent from _ in roman
fonts, e.g., @deftypefn.
(\tex): Remove spurious spaces at the end of subdefinitions.
From: "John W. Eaton" <jwe@bevo.che.wisc.edu>.
(\url, \email): \let to \code; no quotes or angle brackets.

From-SVN: r14099

27 years ago91th Cygnus<->FSF quick merge
Mike Stump [Mon, 19 May 1997 18:01:45 +0000 (18:01 +0000)]
91th Cygnus<->FSF quick merge

From-SVN: r14098

27 years ago(ASM_COMMENT_START): Add default definition.
Richard Kenner [Sun, 18 May 1997 20:51:07 +0000 (16:51 -0400)]
(ASM_COMMENT_START): Add default definition.

From-SVN: r14097

27 years agoUse ASM_{GENERATE,OUTPUT}_INTERNAL_LABEL
Michael Meissner [Sun, 18 May 1997 20:35:30 +0000 (20:35 +0000)]
Use ASM_{GENERATE,OUTPUT}_INTERNAL_LABEL

From-SVN: r14096

27 years ago(TARGET_SWITCHES): Add new target name: cpu32.
Richard Kenner [Sun, 18 May 1997 17:55:08 +0000 (13:55 -0400)]
(TARGET_SWITCHES): Add new target name: cpu32.

From-SVN: r14095

27 years ago(MAX_WRITE_LEN, MAX_READ_LEN): Define.
Richard Kenner [Sun, 18 May 1997 17:50:07 +0000 (13:50 -0400)]
(MAX_WRITE_LEN, MAX_READ_LEN): Define.

(get_dynamic_handler_chain_libfunc): New macro.
(protect_cleanup_actions_with_terminate): New macro.

From-SVN: r14094

27 years ago(safe_read): If MAX_READ_LEN is defined, limit incremental read
Richard Kenner [Sun, 18 May 1997 17:49:41 +0000 (13:49 -0400)]
(safe_read): If MAX_READ_LEN is defined, limit incremental read
attempts to that amount.

From-SVN: r14093

27 years ago(VMS_write, VMS_read): Delete.
Richard Kenner [Sun, 18 May 1997 17:49:10 +0000 (13:49 -0400)]
(VMS_write, VMS_read): Delete.

(safe_write): If MAX_WRITE_LEN is defined, limit
incremental write attempts to that amount.
(safe_read): Analogous situation for MAX_READ_LEN.

From-SVN: r14092

27 years ago(ASM_COMMENT_START): Define.
Richard Kenner [Sun, 18 May 1997 16:19:22 +0000 (12:19 -0400)]
(ASM_COMMENT_START): Define.

From-SVN: r14091

27 years ago(mov[qhs]i,movstrict[qs]i, mulsi3): Use 'Q' constraint for TARGET_5200.
Richard Kenner [Sun, 18 May 1997 12:58:55 +0000 (08:58 -0400)]
(mov[qhs]i,movstrict[qs]i, mulsi3): Use 'Q' constraint for TARGET_5200.

From-SVN: r14090

27 years ago(EXTRA_CONSTRAINT): New macro.
Richard Kenner [Sun, 18 May 1997 12:58:39 +0000 (08:58 -0400)]
(EXTRA_CONSTRAINT): New macro.

From-SVN: r14089

27 years ago(reload_cse_regno_equal_p): Check for value using more than one
Richard Kenner [Sun, 18 May 1997 12:50:22 +0000 (08:50 -0400)]
(reload_cse_regno_equal_p): Check for value using more than one
register on a big endian machine.

From-SVN: r14088

27 years ago(maybe_eliminate_biv_1): In (set (cc0) <biv>) case, swap compare
Richard Kenner [Sun, 18 May 1997 12:39:57 +0000 (08:39 -0400)]
(maybe_eliminate_biv_1): In (set (cc0) <biv>) case, swap compare
operands when mult_val < 0 in one additional place.

From-SVN: r14087

27 years ago(maintainer-claean): Delete configure.
Richard Kenner [Sun, 18 May 1997 12:33:27 +0000 (08:33 -0400)]
(maintainer-claean): Delete configure.

From-SVN: r14086

27 years agoInitial revision
Richard Kenner [Sun, 18 May 1997 12:31:53 +0000 (08:31 -0400)]
Initial revision

From-SVN: r14085

27 years agoChange to utilize autoconf variables.
Richard Kenner [Sun, 18 May 1997 12:31:46 +0000 (08:31 -0400)]
Change to utilize autoconf variables.

From-SVN: r14084

27 years ago(TARGET_SWITCHES): Add 68020-60.
Richard Kenner [Sun, 18 May 1997 12:24:51 +0000 (08:24 -0400)]
(TARGET_SWITCHES): Add 68020-60.

Mask out bits which indicate a particular processor when a different
processor is selected.
(MASK_68040_ALSO): Remove.
(MASK_68040): Change to be a single bit.

From-SVN: r14083

27 years ago(TARGET_ALIGN_INT, MASK_ALIGN_INT): New macros.
Richard Kenner [Sun, 18 May 1997 12:14:40 +0000 (08:14 -0400)]
(TARGET_ALIGN_INT, MASK_ALIGN_INT): New macros.

(BIGGEST_ALIGNMENT): Determine according to TARGET_ALIGN_INT.
(TARGET_SWITCHES): Add align-int and no-align-int.

From-SVN: r14082

27 years ago(mov[qhs]i}): Add pair of constraints which allow offsetable memory
Richard Kenner [Sun, 18 May 1997 12:09:20 +0000 (08:09 -0400)]
(mov[qhs]i}): Add pair of constraints which allow offsetable memory
addresses to be moved to the same for TARGET_5200.

From-SVN: r14081

27 years ago(movstrict*): Changed into define_expands.
Richard Kenner [Sun, 18 May 1997 11:48:25 +0000 (07:48 -0400)]
(movstrict*): Changed into define_expands.

(movstrict*): Changed into define_expands.  Split insns into m68k and
coldfire specific versions with appropriate constraints.

From-SVN: r14080

27 years ago(output_move_strict{hi,qi}): Declare.
Richard Kenner [Sun, 18 May 1997 11:48:05 +0000 (07:48 -0400)]
(output_move_strict{hi,qi}): Declare.

From-SVN: r14079

27 years ago(output_move_strict{hi,qi}): New functions.
Richard Kenner [Sun, 18 May 1997 11:47:43 +0000 (07:47 -0400)]
(output_move_strict{hi,qi}): New functions.

From-SVN: r14078

27 years ago(atexit): Cast malloc and realloc calls.
Richard Kenner [Sun, 18 May 1997 11:26:38 +0000 (07:26 -0400)]
(atexit): Cast malloc and realloc calls.

From-SVN: r14077

27 years ago(profile_function): Call function_section, not text_section.
Richard Kenner [Sat, 17 May 1997 20:26:47 +0000 (16:26 -0400)]
(profile_function): Call function_section, not text_section.

From-SVN: r14076

27 years ago(notreg_cost): New function, extracted from COST macro.
Richard Kenner [Sat, 17 May 1997 20:00:55 +0000 (16:00 -0400)]
(notreg_cost): New function, extracted from COST macro.

(COST): Use notreg_cost.

From-SVN: r14075

27 years ago(cse_insn): Don't record a SRC that's a MEM and the same as a
Richard Kenner [Sat, 17 May 1997 19:13:18 +0000 (15:13 -0400)]
(cse_insn): Don't record a SRC that's a MEM and the same as a
REG_EQUIV note if DEST is set more than once.

From-SVN: r14074

27 years agopa.c (output_move_double): Handle loading a general register from a scaled indexed...
Jeff Law [Fri, 16 May 1997 20:58:24 +0000 (14:58 -0600)]
pa.c (output_move_double): Handle loading a general register from a scaled indexed memory address.

        * pa.c (output_move_double): Handle loading a general register
        from a scaled indexed memory address.
        * pa.md (movdf, movdi): Allow scaled loads into general registers.

From-SVN: r14073

27 years agors6000.c (rs6000_stack_info): Only do eabi setup for "main"...
Mike Stump [Fri, 16 May 1997 20:42:42 +0000 (20:42 +0000)]
rs6000.c (rs6000_stack_info): Only do eabi setup for "main"...

* rs6000/rs6000.c (rs6000_stack_info): Only do eabi setup for "main",
when main is the global main, not some nested routine that
happens to be called main.

From-SVN: r14072

27 years agoexcept.c (expand_start_all_catch): If the machine needs to perform any actions at...
Mike Stump [Fri, 16 May 1997 01:00:58 +0000 (01:00 +0000)]
except.c (expand_start_all_catch): If the machine needs to perform any actions at the start of an expcetion...

* except.c (expand_start_all_catch): If the machine needs to
perform any actions at the start of an expcetion handler that
hasn't already been done, use gen_exception_receiver to emit it.
(expand_leftover_cleanups): Likewise.
* alpha/alpha.md (exception_receiver): Use it.
* pa/pa.h (exception_receiver): Use it.

From-SVN: r14071

27 years agoexcept.c (expand_start_all_catch): If the machine needs to perform any actions at...
Mike Stump [Fri, 16 May 1997 00:58:40 +0000 (00:58 +0000)]
except.c (expand_start_all_catch): If the machine needs to perform any actions at the start of an expcetion...

* except.c (expand_start_all_catch): If the machine needs to
perform any actions at the start of an expcetion handler that
hasn't already been done, use gen_exception_receiver to emit it.
(expand_leftover_cleanups): Likewise.
* alpha/alpha.md (exception_receiver): Use it.
* pa/pa.h (exception_receiver): Use it.
Fix -fpic on hppa when excetpions are throw across shared libraries.

From-SVN: r14070

27 years agodbxout.c (dbxout_function_end): Don't subtract one from the end of function scoping...
Jeff Law [Thu, 15 May 1997 14:39:56 +0000 (08:39 -0600)]
dbxout.c (dbxout_function_end): Don't subtract one from the end of function scoping stab.

        * dbxout.c (dbxout_function_end): Don't subtract one from
        the end of function scoping stab.

From-SVN: r14069

27 years ago* mn10300.md (adddi3, subdi3): Remove expanders and patterns.
Jeff Law [Thu, 15 May 1997 05:32:16 +0000 (23:32 -0600)]
* mn10300.md (adddi3, subdi3): Remove expanders and patterns.

From-SVN: r14068

27 years agofunction.c (expand_function_end): Make sure we finish off any leftover exception...
Mike Stump [Thu, 15 May 1997 02:25:25 +0000 (02:25 +0000)]
function.c (expand_function_end): Make sure we finish off any leftover exception handlers.

* function.c (expand_function_end): Make sure we finish off any
leftover exception handlers.

From-SVN: r14067

27 years agoexpr.c (expand_builtin_setjmp): Remove setting of current_function_has_nonlocal_goto...
Mike Stump [Tue, 13 May 1997 21:08:28 +0000 (21:08 +0000)]
expr.c (expand_builtin_setjmp): Remove setting of current_function_has_nonlocal_goto, as this isn't a goto.

* expr.c (expand_builtin_setjmp): Remove setting of
current_function_has_nonlocal_goto, as this isn't a goto.

From-SVN: r14066

27 years ago(CPP_SPEC): Fix typo invoking cpp_endian.
Richard Earnshaw [Tue, 13 May 1997 18:45:05 +0000 (18:45 +0000)]
(CPP_SPEC): Fix typo invoking cpp_endian.

(*_SPEC): Remove all references to mle/mbe.

From-SVN: r14065

27 years agoBuild fp-bit.c when compiling with -msoft-float.
Richard Earnshaw [Tue, 13 May 1997 18:45:05 +0000 (18:45 +0000)]
Build fp-bit.c when compiling with -msoft-float.

From-SVN: r14064

27 years ago(MULTILIB_DEFAULTS): Remove all references to mle/mbe.
Richard Earnshaw [Tue, 13 May 1997 18:45:05 +0000 (18:45 +0000)]
(MULTILIB_DEFAULTS): Remove all references to mle/mbe.

From-SVN: r14063

27 years ago(MULTILIB_OPTIONS): Change options mbe/mle to mbig-endian and mlittle-endian.
Richard Earnshaw [Tue, 13 May 1997 18:45:05 +0000 (18:45 +0000)]
(MULTILIB_OPTIONS): Change options mbe/mle to mbig-endian and mlittle-endian.

(MULTILIB_OPTIONS): Change options mbe/mle to mbig-endian
and mlittle-endian.
(MULTILIB_MATCHES): Nothing matches that matters.

From-SVN: r14062

27 years agoAdd prototypes for all static functions.
Richard Earnshaw [Tue, 13 May 1997 18:45:05 +0000 (18:45 +0000)]
Add prototypes for all static functions.

(output_multi_immediate, int_log2): Make static.

From-SVN: r14061

27 years agoexcept.c (expand_start_all_catch): If the machine needs a nonlocal_goto_receiver...
Mike Stump [Tue, 13 May 1997 03:50:39 +0000 (03:50 +0000)]
except.c (expand_start_all_catch): If the machine needs a nonlocal_goto_receiver...

* except.c (expand_start_all_catch): If the machine needs a
nonlocal_goto_receiver, add one at the start of the exception
handler.
(expand_leftover_cleanups): Likewise.
Potential fix for eh on alpha, rs6000, and hppa.

From-SVN: r14060

27 years agomips.c (move_operand): Accept any general operand after reload has started.
Jeff Law [Mon, 12 May 1997 23:37:24 +0000 (17:37 -0600)]
mips.c (move_operand): Accept any general operand after reload has started.

        * mips.c (move_operand): Accept any general operand after reload
        has started.

From-SVN: r14059

27 years agomn10300.md (udivmodhi4, divmodhi4): Remove expander, give corresponding pattern ...
Jeff Law [Fri, 9 May 1997 20:35:09 +0000 (14:35 -0600)]
mn10300.md (udivmodhi4, divmodhi4): Remove expander, give corresponding pattern [u]divmodhir4 name.

        * mn10300.md (udivmodhi4, divmodhi4): Remove expander, give
        corresponding pattern [u]divmodhir4 name.  Clear MDR register
        in the udivmodhi4 pattern itself.
        (clear_mdr): Delete pattern.

From-SVN: r14058

27 years agoextend restrictions on combining lshiftrt with insv to all shifts
David Edelsohn [Fri, 9 May 1997 18:47:12 +0000 (18:47 +0000)]
extend restrictions on combining lshiftrt with insv to all shifts

From-SVN: r14057

27 years ago(LIBGCC1_TEST): Don't build it.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(LIBGCC1_TEST): Don't build it.

(MULTILIB_{OPTIONS,DIRNAMES,EXCEPTIONS}): Build a suitable set of
cross libraries.
(LIBGCC): Set to stmp-multilib.
(INSTALL_LIBGCC): Set to install-multilib.

From-SVN: r14056

27 years ago(ASM_OUTPUT_LONG_DOUBLE): Delete call to arm_increase_location.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(ASM_OUTPUT_LONG_DOUBLE): Delete call to arm_increase_location.

(ASM_OUTPUT_LONG_DOUBLE): Delete call to
arm_increase_location.
(ASM_OUTPUT_{DOUBLE,FLOAT,INT,SHORT,CHAR,BYTE,ASCII,SKIP}): Likewise.
(ASM_OUTPUT_ALIGN): Delete all code refering to arm_text_location.

From-SVN: r14055

27 years ago(CPP_SPEC): Rewrite using new sub-components.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(CPP_SPEC): Rewrite using new sub-components.

(SUBTARGET_CPU_DEFAULT): Set to TARGET_CPU_arm2.

From-SVN: r14054

27 years ago(CPP_SPEC): Delete.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(CPP_SPEC): Delete.

(CPP_APCS_PC_DEFAULT_SPEC): Define.

From-SVN: r14053

27 years ago(attr cpu): Add new cpu types for arm8 and strongarm.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(attr cpu): Add new cpu types for arm8 and strongarm.

(attr ldsched): New attribute, set if processor has a load_delay slot.
(function_unit core): Rework to handle load delay slots.
(function_unit loader): New function unit.
(movsi): Handle pic.
(pic_load_addr): New expand.
(*pic_load_addr_based_insn, pic_add_dot_plus_eight): New patterns.
(peepholes to cause flow to return to a label after a function call):
Delete, these have been disabled for a while now.

From-SVN: r14052

27 years ago(TARGET_CPU_arm*, TARGET_CPU_strongarm*, TARGET_CPU_generic):
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(TARGET_CPU_arm*, TARGET_CPU_strongarm*, TARGET_CPU_generic):

define.
(CPP_ARCH_DEFAULT_SPEC): Set up based on setting of TARGET_CPU_DEFAULT.
(CPP_SPEC): Split up into sub-rule calls.
(CPP_CPU_SPEC): Add default definition.
(CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC): Add definitions.
(CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC): Add definitions.
(CPP_ENDIAN_SPEC, CPP_ENDIAN_DEFAULT_SPEC): Add definitions.
(CC1_SPEC): Map legacy -m[236] onto -mcpu=.. and -mapcs-{26,32} as
appropriate. Similarly for -mbe and -mle to -m{big,little}-endian.
(EXTRA_SPECS): Define.
(enum processor_type): New types for arm8 and strongarm.
(CONDITIONAL_REGISTER_USAGE): Handle flag_pic.
(LEGITIMIZE_ADDRESS): Likewise.
(ADJUST_COST): Define.
(PIC_OFFSET_TABLE_REGNUM): Define.
(FINALIZE_PIC): Define.
(LEGITIMATE_PIC_OPERAND_P): Define.
(OUTPUT_INT_ADDR_CONST): Define.
(ASM_OUTPUT_MI_THUNK): Delete calls to arm_increase_location.
(MASK_RETURN_ADDR): Use TARGET_APCS_32 not TARGET_6.

From-SVN: r14051

27 years ago(CPP_SPEC): Delete.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(CPP_SPEC): Delete.

(PROCESSOR_DEFAULT): Delete.
(CPP_APCS_PC_DEFAULT_SPEC): Define.

From-SVN: r14050

27 years ago(arm_increase_location, get_prologue_size): Delete.
Richard Earnshaw [Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)]
(arm_increase_location, get_prologue_size): Delete.

(arm_naked_function_p): Add declaration.
(arm_pic_register): Define.
(all_procs): Delete entries for arm{60,620,70,7d,7di,700i,710c}; add
entries for arm{7m,7500fe,8}, strongarm and strongarm110.
(arm_override_options): Rework so that configure can properly set
the default processor type. Add a warning that PIC code is not yet
supported.
(legitimate_pic_operand_p, legitimize_pic_address): New functions.
(is_pic, arm_finalize_pic): New functions.
(arm_adjust_cost): New function.
(const_pool_offset, arm_backwards_branch, short_branch): Delete.
(arm_insn_not_targeted): Delete.
(add_constant): If generating AOF syntax, then handle pic specially.
(output_ascii_pseudo_op): Delete calls to arm_increase_location.
(function_really_clobbers_lr): Calls followed by a barrier don't
clobber the link register.
(output_func_prologue): Handle AOF syntax pic code.
(output_func_epilogue): Handle cases where lr_save_eliminated is set.
Delete call to arm_increase_location.
(arm_asm_output_label): Simplify, since we no-longer need to cache the
label's address.
(aof_pic_entry): New function to keep track of pic symbols.
(aof_dump_pic_table): New function.

From-SVN: r14049

27 years ago(output_float_compare): For pentiumpro use fcomip
Stan Cox [Thu, 8 May 1997 18:51:51 +0000 (18:51 +0000)]
(output_float_compare): For pentiumpro use fcomip

From-SVN: r14048

27 years ago(fold, truth_andor): Disable optimization for side effects on RHS.
Richard Kenner [Thu, 8 May 1997 17:20:18 +0000 (13:20 -0400)]
(fold, truth_andor): Disable optimization for side effects on RHS.

From-SVN: r14047

27 years agoimprove test for last change
David Edelsohn [Thu, 8 May 1997 02:20:15 +0000 (02:20 +0000)]
improve test for last change

From-SVN: r14046

27 years agoexcept.c (start_dynamic_handler): Fix so that we can use __builtin_setjmp...
Mike Stump [Wed, 7 May 1997 22:50:11 +0000 (22:50 +0000)]
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

27 years agofix zero_extract lshiftrt insv combiner pattern bug
David Edelsohn [Wed, 7 May 1997 21:59:30 +0000 (21:59 +0000)]
fix zero_extract lshiftrt insv combiner pattern bug

From-SVN: r14044

27 years agoRecognize either / or - as a machine/suptype separator from uname -m to cope...
Thomas Bushnell, n/BSG [Wed, 7 May 1997 19:19:04 +0000 (19:19 +0000)]
Recognize either / or - as a machine/suptype separator from uname -m to cope...

Recognize either / or - as a machine/suptype separator from uname -m
to cope with older systems that have the older uname.

From-SVN: r14026

27 years agox
Jason Merrill [Tue, 6 May 1997 23:29:28 +0000 (23:29 +0000)]
x

From-SVN: r14025

27 years agoreformat a little to match GNU coding standards.
Mike Stump [Tue, 6 May 1997 23:05:54 +0000 (23:05 +0000)]
reformat a little to match GNU coding standards.

From-SVN: r14024

27 years agoreformat a little to match GNU coding standards.
Mike Stump [Tue, 6 May 1997 22:59:57 +0000 (22:59 +0000)]
reformat a little to match GNU coding standards.

From-SVN: r14023

27 years agoentered into RCS
Mike Stump [Tue, 6 May 1997 22:43:11 +0000 (22:43 +0000)]
entered into RCS

From-SVN: r14022