]> gcc.gnu.org Git - gcc.git/commitdiff
(SPARC_STACK_ALIGN): Add default definition.
authorRichard Stallman <rms@gnu.org>
Mon, 29 Jun 1992 02:16:52 +0000 (02:16 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 29 Jun 1992 02:16:52 +0000 (02:16 +0000)
From-SVN: r1329

gcc/config/sparc/sparc.c

index 590f111a3bd675750a4a3fb7e348995e15143af4..68d16bd9f6fa06e04e696b74185fdb8e05b2278c 100644 (file)
@@ -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.  */
 
This page took 0.059644 seconds and 5 git commands to generate.