Commit ed33106f by David Edelsohn

rename ALIGN to RS6000_ALIGN to prtect namespace

From-SVN: r14010
parent 99c2b71f
...@@ -1198,7 +1198,7 @@ extern int rs6000_fpmem_size; ...@@ -1198,7 +1198,7 @@ extern int rs6000_fpmem_size;
extern int rs6000_sysv_varargs_p; extern int rs6000_sysv_varargs_p;
/* Align an address */ /* 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 /* Initialize data used by insn expanders. This is called from
init_emit, once for each function, before code is generated. */ init_emit, once for each function, before code is generated. */
...@@ -1210,7 +1210,7 @@ extern int rs6000_sysv_varargs_p; ...@@ -1210,7 +1210,7 @@ extern int rs6000_sysv_varargs_p;
/* Offset of V.4 varargs area */ /* Offset of V.4 varargs area */
#define RS6000_VARARGS_OFFSET \ #define RS6000_VARARGS_OFFSET \
(ALIGN (current_function_outgoing_args_size, 8) \ (RS6000_ALIGN (current_function_outgoing_args_size, 8) \
+ RS6000_SAVE_AREA) + RS6000_SAVE_AREA)
/* Offset within stack frame to start allocating local variables at. /* Offset within stack frame to start allocating local variables at.
...@@ -1223,7 +1223,7 @@ extern int rs6000_sysv_varargs_p; ...@@ -1223,7 +1223,7 @@ extern int rs6000_sysv_varargs_p;
outgoing parameter area. */ outgoing parameter area. */
#define STARTING_FRAME_OFFSET \ #define STARTING_FRAME_OFFSET \
(ALIGN (current_function_outgoing_args_size, 8) \ (RS6000_ALIGN (current_function_outgoing_args_size, 8) \
+ RS6000_VARARGS_AREA \ + RS6000_VARARGS_AREA \
+ RS6000_SAVE_AREA) + RS6000_SAVE_AREA)
...@@ -1234,7 +1234,7 @@ extern int rs6000_sysv_varargs_p; ...@@ -1234,7 +1234,7 @@ extern int rs6000_sysv_varargs_p;
length of the outgoing arguments. The default is correct for most length of the outgoing arguments. The default is correct for most
machines. See `function.c' for details. */ machines. See `function.c' for details. */
#define STACK_DYNAMIC_OFFSET(FUNDECL) \ #define STACK_DYNAMIC_OFFSET(FUNDECL) \
(ALIGN (current_function_outgoing_args_size, 8) \ (RS6000_ALIGN (current_function_outgoing_args_size, 8) \
+ (STACK_POINTER_OFFSET)) + (STACK_POINTER_OFFSET))
/* If we generate an insn to push BYTES bytes, /* If we generate an insn to push BYTES bytes,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment