Define _SETJMP_H before including <bits/setjmp.h>.

This commit is contained in:
Ulrich Drepper 1997-12-03 23:20:36 +00:00
parent 7e89694bc0
commit 4ff61542a8
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <sysdep.h>
#define _SETJMP_H
#define _ASM
#include <bits/setjmp.h>
@ -32,6 +33,6 @@ ENTRY (__longjmp)
add r2, r2, #48
lfmfd f4, 4, [r2]
#endif
LOADREGS(ia, r2, {v1-v6, sl, fp, sp, pc})
END (__longjmp)

View File

@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <sysdep.h>
#define _SETJMP_H
#define _ASM
#include <bits/setjmp.h>
@ -28,7 +29,7 @@ ENTRY (__sigsetjmp)
/* Save registers */
#if __ARM_USES_FP
sfmea f4, 4, [r0]!
#endif
#endif
stmia r0, {v1-v6, sl, fp, sp, lr}
/* Make a tail call to __sigjmp_save; it takes the same args. */