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:
parent
654f6be1c8
commit
e3bdd87102
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55142
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user