Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>

* sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
 	address register before returning (gcc 2.7.1 doesn't do it,
 	presumably because $26 is declared as a global variable).
This commit is contained in:
Roland McGrath 1996-03-19 19:52:32 +00:00
parent 0a4dc0f10b
commit 69ff466c66
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ __sigsetjmp_aux (sigjmp_buf env, int savemask, long int *sp, long int *fp)
/* Save the signal mask if requested. */
__sigjmp_save (env, savemask);
retpc = env[0].__jmpbuf[0].__pc; /* restore ra, ugly... */
/* Return to the original caller of __sigsetjmp. */
return 0;
}