1 /* Definitions for ACK-specific features. */
3 #ifndef _MINIX_COMPILER_ACK_H
4 #define _MINIX_COMPILER_ACK_H
6 /* ACK expects the caller to pop the hidden pointer on struct return. */
7 #define BYTES_TO_POP_ON_STRUCT_RETURN
10 * ACK doesn't move the last argument of a variadic arguments function
11 * anywhere, once it's on the stack as a function parameter. Thus, it is
12 * possible to make strong assumption on the immutability of the stack
13 * layout and use the address of that argument as the start of an array.
15 * If you're curious, just look at lib/libc/posix/_execl*.c ;-)
18 #define FUNC_ARGS_ARRAY 1
20 #endif /* _MINIX_COMPILER_ACK_H */