This should have been committed with related changes to .c files.

Changed the type used to represent the user stack pointer from `long *'
to `register_t *'.  This fixes bugs like misplacement of argc and argv
on the user stack on i386's with 64-bit longs.  We still use longs to
represent "words" like argc and argv, and assume that they are on the
stack (and that there is stack).  The suword() and fuword() families
should also use register_t.
This commit is contained in:
bde 1999-12-27 10:47:32 +00:00
parent e449cadeeb
commit 18bc492d10

View File

@ -63,7 +63,7 @@ struct sysentvec {
int *sv_errtbl; /* errno translation table */
int (*sv_transtrap) __P((int, int));
/* translate trap-to-signal mapping */
int (*sv_fixup) __P((long **, struct image_params *));
int (*sv_fixup) __P((register_t **, struct image_params *));
/* stack fixup function */
void (*sv_sendsig) __P((void (*)(int), int, sigset_t *, u_long));
/* send signal */