aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>1997-05-02 18:38:53 +0000
committerDavid Edelsohn <edelsohn@gnu.org>1997-05-02 18:38:53 +0000
commited33106f8b374855104ca457f96c7aa40ce5a573 (patch)
treea8e873955e0bce678678ae7d6fb97032cc2128a5
parent99c2b71fd5ba314067699ba0dfbf96d8e8967181 (diff)
downloadgcc-ed33106f8b374855104ca457f96c7aa40ce5a573.zip
gcc-ed33106f8b374855104ca457f96c7aa40ce5a573.tar.gz
gcc-ed33106f8b374855104ca457f96c7aa40ce5a573.tar.bz2
rename ALIGN to RS6000_ALIGN to prtect namespace
From-SVN: r14010
-rw-r--r--gcc/config/rs6000/rs6000.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 3b20a19..3071726 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -1198,7 +1198,7 @@ extern int rs6000_fpmem_size;
extern int rs6000_sysv_varargs_p;
/* Align an address */
-#define ALIGN(n,a) (((n) + (a) - 1) & ~((a) - 1))
+#define RS6000_ALIGN(n,a) (((n) + (a) - 1) & ~((a) - 1))
/* Initialize data used by insn expanders. This is called from
init_emit, once for each function, before code is generated. */
@@ -1210,7 +1210,7 @@ extern int rs6000_sysv_varargs_p;
/* Offset of V.4 varargs area */
#define RS6000_VARARGS_OFFSET \
- (ALIGN (current_function_outgoing_args_size, 8) \
+ (RS6000_ALIGN (current_function_outgoing_args_size, 8) \
+ RS6000_SAVE_AREA)
/* Offset within stack frame to start allocating local variables at.
@@ -1223,7 +1223,7 @@ extern int rs6000_sysv_varargs_p;
outgoing parameter area. */
#define STARTING_FRAME_OFFSET \
- (ALIGN (current_function_outgoing_args_size, 8) \
+ (RS6000_ALIGN (current_function_outgoing_args_size, 8) \
+ RS6000_VARARGS_AREA \
+ RS6000_SAVE_AREA)
@@ -1234,7 +1234,7 @@ extern int rs6000_sysv_varargs_p;
length of the outgoing arguments. The default is correct for most
machines. See `function.c' for details. */
#define STACK_DYNAMIC_OFFSET(FUNDECL) \
- (ALIGN (current_function_outgoing_args_size, 8) \
+ (RS6000_ALIGN (current_function_outgoing_args_size, 8) \
+ (STACK_POINTER_OFFSET))
/* If we generate an insn to push BYTES bytes,