aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1992-06-29 10:34:10 -0700
committerJim Wilson <wilson@gcc.gnu.org>1992-06-29 10:34:10 -0700
commit10d1b70f28f99210d3a751337c0d1bfdf3f79fe2 (patch)
treee2a9b30013d89ee91e63a2b2a918b54b019caeee /gcc
parentbdac5f5848fbb6646b1beee01bb045a778195e73 (diff)
downloadgcc-10d1b70f28f99210d3a751337c0d1bfdf3f79fe2.zip
gcc-10d1b70f28f99210d3a751337c0d1bfdf3f79fe2.tar.gz
gcc-10d1b70f28f99210d3a751337c0d1bfdf3f79fe2.tar.bz2
(SPARC_STACK_ALIGN): Define.
From-SVN: r1337
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 004d19f..e2ab152 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -170,6 +170,10 @@ extern int target_flags;
/* Boundary (in *bits*) on which stack pointer should be aligned. */
#define STACK_BOUNDARY 64
+/* ALIGN FRAMES on double word boundaries */
+
+#define SPARC_STACK_ALIGN(LOC) (((LOC)+7) & 0xfffffff8)
+
/* Allocation boundary (in *bits*) for the code of a function. */
#define FUNCTION_BOUNDARY 32