projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7165f
)
(SPARC_STACK_ALIGN): Add default definition.
author
Richard Stallman
<rms@gnu.org>
Mon, 29 Jun 1992 02:16:52 +0000
(
02:16
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 29 Jun 1992 02:16:52 +0000
(
02:16
+0000)
From-SVN: r1329
gcc/config/sparc/sparc.c
patch
|
blob
|
history
diff --git
a/gcc/config/sparc/sparc.c
b/gcc/config/sparc/sparc.c
index
590f111
..
68d16bd
100644
(file)
--- a/
gcc/config/sparc/sparc.c
+++ b/
gcc/config/sparc/sparc.c
@@
-3252,6
+3252,11
@@
struct sparc_frame_info zero_frame_info;
|| (regno == FRAME_POINTER_REGNUM && frame_pointer_needed) \
|| (regno == 15 && regs_ever_live[15]))
+#ifndef SPARC_STACK_ALIGN
+#define STACK_BYTES (STACK_BOUNDARY / 8)
+#define SPARC_STACK_ALIGN(X) (((X) + STACK_BYTES - 1) & -STACK_BYTES)
+#endif
+
/* Return the bytes needed to compute the frame pointer from the current
stack pointer. */