Rename variable `sp' to avoid conflict with #define in <mach/alpha/asm.h>.

This commit is contained in:
Roland McGrath 1994-12-08 19:45:02 +00:00
parent 89347dc3e9
commit a11dbdebf0

View File

@ -25,9 +25,9 @@ Cambridge, MA 02139, USA. */
" br $27, 1f\n" /* Load GP from PC. */
"1: ldgp $29, 0($27)\n"
" jmp $26, _start0"); /* Jump to _start0; don't return. */
#define START_ARGS char **sp
#define START_ARGS char **sparg
#define SNARF_ARGS(argc, argv, envp) \
(envp = &(argv = &sp[1])[(argc = *(int *) sp) + 1])
(envp = &(argv = &sparg[1])[(argc = *(int *) sparg) + 1])
#define CALL_WITH_SP(fn, sp) \
({ register long int __fn = fn, __sp = (long int) sp; \