diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-26 05:18:53 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-26 05:18:53 +0000 |
commit | d28d5017cf901bd905aad92d8bff736bbce969f9 (patch) | |
tree | 390776c633d81d423d7316acdfdfa13dcefb5a65 /gcc/config | |
parent | 6285cf634f3fb495594dede4c4df82750790d6cf (diff) | |
download | gcc-d28d5017cf901bd905aad92d8bff736bbce969f9.tar.gz |
* defaults.h (FRAME_GROWS_DOWNWARD): Define to 0 if not defined.
* function.c (get_func_frame_size): Use if (FRAME_GROWS_DOWNWARD)
instead of preprocessor conditionals.
(assign_stack_local_1, assign_stack_temp_for_type): Likewise.
* cfgexpand.c (FRAME_GROWS_DOWNWARD): Don't redefine to 1 or 0
depending on if it was or was not defined previously.
* doc/rtl.texi (VIRTUAL_STACK_VARS_REGNUM): Mention that only non-zero
definition of FRAME_GROWS_DOWNWARD means frame grows downward.
* doc/tm.texi (FRAME_GROWS_DOWNWARD): Likewise.
* config/m68hc11/m68hc11.h (FRAME_GROWS_DOWNWARD): Define to 0. Update
comment.
* config/pa/pa.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/stormy16/stormy16.h (FRAME_GROWS_DOWNWARD): Define to 0.
* config/c4x/c4x.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/sh/sh.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/ia64/ia64.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/iq2000/iq2000.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/pdp11/pdp11.h (FRAME_GROWS_DOWNWARD): Define to 1. Update
comment.
* config/i860/i860.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/h8300/h8300.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/arc/arc.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/vax/vax.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/sparc/sparc.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/i386/i386.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/fr30/fr30.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/frv/frv.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/mn10300/mn10300.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/bfin/bfin.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/ns32k/ns32k.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/v850/v850.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/alpha/alpha.h (FRAME_GROWS_DOWNWARD): Update comment.
* config/s390/s390.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/arm/arm.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/alpha/unicosmk.h (FRAME_GROWS_DOWNWARD): Define to 1.
* config/cris/cris.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/m68k/m68k.h (FRAME_GROWS_DOWNWARD): Likewise.
* config/mmix/mmix.h (FRAME_GROWS_DOWNWARD): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/alpha.h | 4 | ||||
-rw-r--r-- | gcc/config/alpha/unicosmk.h | 2 | ||||
-rw-r--r-- | gcc/config/arc/arc.h | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 2 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.h | 4 | ||||
-rw-r--r-- | gcc/config/c4x/c4x.h | 4 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 2 | ||||
-rw-r--r-- | gcc/config/fr30/fr30.h | 4 | ||||
-rw-r--r-- | gcc/config/frv/frv.h | 6 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 4 | ||||
-rw-r--r-- | gcc/config/i860/i860.h | 4 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.h | 6 | ||||
-rw-r--r-- | gcc/config/iq2000/iq2000.h | 2 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.h | 6 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 2 | ||||
-rw-r--r-- | gcc/config/mmix/mmix.h | 2 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.h | 4 | ||||
-rw-r--r-- | gcc/config/ns32k/ns32k.h | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 4 | ||||
-rw-r--r-- | gcc/config/pdp11/pdp11.h | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 4 | ||||
-rw-r--r-- | gcc/config/s390/s390.h | 2 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 4 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.h | 2 | ||||
-rw-r--r-- | gcc/config/v850/v850.h | 4 | ||||
-rw-r--r-- | gcc/config/vax/vax.h | 4 |
28 files changed, 52 insertions, 52 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 78b33925553..19668e920bc 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -735,11 +735,11 @@ extern int alpha_memory_latency; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -/* #define FRAME_GROWS_DOWNWARD */ +/* #define FRAME_GROWS_DOWNWARD 0 */ /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/alpha/unicosmk.h b/gcc/config/alpha/unicosmk.h index 251e3662589..da7d375f3b4 100644 --- a/gcc/config/alpha/unicosmk.h +++ b/gcc/config/alpha/unicosmk.h @@ -96,7 +96,7 @@ Boston, MA 02110-1301, USA. */ /* The stack frame grows downward. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Define the offset between two registers, one to be eliminated, and the other its replacement, at the start of a routine. This is somewhat diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index d9b51c05288..f4e4648f507 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -456,11 +456,11 @@ extern enum reg_class arc_regno_reg_class[FIRST_PSEUDO_REGISTER]; pointer to a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index fe3e7a6230b..65b4bad144b 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1334,7 +1334,7 @@ enum reg_class makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD 1 -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index edea77e669e..c366fbc513a 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -79,11 +79,11 @@ extern const char *bfin_library_id_string; #define STACK_PUSH_CODE PRE_DEC -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* We define a dummy ARGP register; the parameters start at offset 0 from it. */ diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index c397257c0cb..895a34b1997 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -863,12 +863,12 @@ enum reg_class /* #define STACK_GROWS_DOWNWARD. */ /* Like the dsp16xx, i370, i960, and we32k ports. */ -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -/* #define FRAME_GROWS_DOWNWARD. */ +#define FRAME_GROWS_DOWNWARD 0 /* Registers That Address the Stack Frame. */ diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index 786e63c539d..25c0cd43f6f 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -681,7 +681,7 @@ enum reg_class /* Node: Frame Layout */ #define STACK_GROWS_DOWNWARD -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* It seems to be indicated in the code (at least 2.1) that this is better a constant, and best 0. */ diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h index b2a0a261dfb..37ed63a339b 100644 --- a/gcc/config/fr30/fr30.h +++ b/gcc/config/fr30/fr30.h @@ -463,8 +463,8 @@ enum reg_class to a smaller address. */ #define STACK_GROWS_DOWNWARD 1 -/* Define this macro if the addresses of local variable slots are at negative - offsets from the frame pointer. */ +/* Define this to macro non-zero if the addresses of local variable slots + are at negative offsets from the frame pointer. */ #define FRAME_GROWS_DOWNWARD 1 /* Offset from the frame pointer to the first local variable slot to be diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 2cbcb296dc3..b33805c0a1a 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -1445,9 +1445,9 @@ typedef struct frv_stack { to a smaller address. */ #define STACK_GROWS_DOWNWARD 1 -/* Define this macro if the addresses of local variable slots are at negative - offsets from the frame pointer. */ -#define FRAME_GROWS_DOWNWARD +/* Define this macro to non-zero if the addresses of local variable slots + are at negative offsets from the frame pointer. */ +#define FRAME_GROWS_DOWNWARD 1 /* Offset from the frame pointer to the first local variable slot to be allocated. diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index da434886c43..3b38e315633 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -485,12 +485,12 @@ enum reg_class { #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index bc8fa0e5840..11e0a3c14cd 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1356,11 +1356,11 @@ enum reg_class makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h index 0a22447f68b..07da9b9311a 100644 --- a/gcc/config/i860/i860.h +++ b/gcc/config/i860/i860.h @@ -356,11 +356,11 @@ enum reg_class { NO_REGS, GENERAL_REGS, FP_REGS, ALL_REGS, LIM_REG_CLASSES }; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 342a243bbee..e97bf077bfc 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -949,9 +949,9 @@ enum reg_class to a smaller address. */ #define STACK_GROWS_DOWNWARD 1 -/* Define this macro if the addresses of local variable slots are at negative - offsets from the frame pointer. */ -/* #define FRAME_GROWS_DOWNWARD */ +/* Define this macro to non-zero if the addresses of local variable slots + are at negative offsets from the frame pointer. */ +#define FRAME_GROWS_DOWNWARD 0 /* Offset from the frame pointer to the first local variable slot to be allocated. */ diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h index e4471af1e95..f60b6277f8a 100644 --- a/gcc/config/iq2000/iq2000.h +++ b/gcc/config/iq2000/iq2000.h @@ -301,7 +301,7 @@ enum reg_class #define STACK_GROWS_DOWNWARD -/* #define FRAME_GROWS_DOWNWARD */ +#define FRAME_GROWS_DOWNWARD 0 #define STARTING_FRAME_OFFSET \ (current_function_outgoing_args_size) diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h index 95cf68bd15e..b033d6e50c3 100644 --- a/gcc/config/m68hc11/m68hc11.h +++ b/gcc/config/m68hc11/m68hc11.h @@ -800,14 +800,14 @@ extern enum reg_class m68hc11_tmp_regs_class; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. - Don't define for 68HC11, the frame pointer is the bottom + Define to 0 for 68HC11, the frame pointer is the bottom of local variables. */ -/* #define FRAME_GROWS_DOWNWARD */ +#define FRAME_GROWS_DOWNWARD 0 /* Define this if successive arguments to a function occupy decreasing addresses in the stack. */ diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index a60f06ebef9..e986f11ea93 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -448,7 +448,7 @@ extern enum reg_class regno_reg_class[]; /* Stack layout; function entry, exit and calling. */ #define STACK_GROWS_DOWNWARD -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 #define STARTING_FRAME_OFFSET 0 /* On the 680x0, sp@- in a byte insn really pushes a word. diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index 0fe3359e3de..9ae7bc7f36d 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -534,7 +534,7 @@ enum reg_class /* Node: Frame Layout */ #define STACK_GROWS_DOWNWARD -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 #define STARTING_FRAME_OFFSET \ mmix_starting_frame_offset () diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index 7ecf001c834..e86c7b56685 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -480,12 +480,12 @@ enum reg_class { #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h index 504a63b5d32..1e503cf5f86 100644 --- a/gcc/config/ns32k/ns32k.h +++ b/gcc/config/ns32k/ns32k.h @@ -452,11 +452,11 @@ enum reg_class makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index e2ce63165b9..b20a1b7bcaa 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -494,11 +494,11 @@ extern struct rtx_def *hppa_pic_save_rtx (void); /* Believe it or not. */ #define ARGS_GROW_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -/* #define FRAME_GROWS_DOWNWARD */ +#define FRAME_GROWS_DOWNWARD 0 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 6cf36d47f6f..bb83fdfd4b0 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -415,12 +415,12 @@ loading is easier into LOAD_FPU_REGS than FPU_REGS! */ makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index cde6ac63411..fdc1dc13ad6 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1218,14 +1218,14 @@ extern enum rs6000_abi rs6000_current_abi; /* available for use by subtarget */ /* Offsets recorded in opcodes are a multiple of this alignment factor. */ #define DWARF_CIE_DATA_ALIGNMENT (-((int) (TARGET_32BIT ? 4 : 8))) -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. On the RS/6000, we grow upwards, from the area after the outgoing arguments. */ -/* #define FRAME_GROWS_DOWNWARD */ +#define FRAME_GROWS_DOWNWARD 0 /* Size of the outgoing register save area */ #define RS6000_REG_SAVE ((DEFAULT_ABI == ABI_AIX \ diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index c92acac63ac..77387e6a580 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -506,7 +506,7 @@ extern const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER]; are accessed by positive offsets, and function arguments are stored at increasing addresses. */ #define STACK_GROWS_DOWNWARD -/* #undef FRAME_GROWS_DOWNWARD */ +/* #define FRAME_GROWS_DOWNWARD 0 */ /* #undef ARGS_GROW_DOWNWARD */ /* The basic stack layout looks like this: the stack pointer points diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index eabdc30eef3..fafa09e2631 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1694,11 +1694,11 @@ extern enum reg_class reg_class_from_letter[]; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this macro if the addresses of local variable slots are at - negative offsets from the frame pointer. +/* Define this macro to non-zero if the addresses of local variable slots + are at negative offsets from the frame pointer. The SH only has positive indexes, so grow the frame up. */ -/* #define FRAME_GROWS_DOWNWARD */ +#define FRAME_GROWS_DOWNWARD 0 /* Offset from the frame pointer to the first local variable slot to be allocated. */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index b39530b601a..95fd760de57 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1360,11 +1360,11 @@ extern char leaf_reg_remap[]; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 1bcaf3fa87b..d224271401b 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -337,7 +337,7 @@ enum reg_class because we don't have any pre-increment ones. */ #define STACK_PUSH_CODE POST_INC -/* #define FRAME_GROWS_DOWNWARD */ +#define FRAME_GROWS_DOWNWARD 0 #define ARGS_GROW_DOWNWARD 1 diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index bc8b0401b9e..4b0af763ace 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -434,12 +434,12 @@ enum reg_class #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 8d29b58ec1e..ca806fe2a0f 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -314,11 +314,11 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES }; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if the nominal address of the stack frame +/* Define this to non-zero if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated goes at a more negative offset in the frame. */ -#define FRAME_GROWS_DOWNWARD +#define FRAME_GROWS_DOWNWARD 1 /* Offset within stack frame to start allocating local variables at. If FRAME_GROWS_DOWNWARD, this is the offset to the END of the |