aarch64: add hwcap header file
[uclibc-ng.git] / libc / sysdeps / linux / m68k / bsd-_setjmp.S
blobc963cccf5a9242d21d1bcf711289dd24db9f8eba
2 /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */
3 /* This file is released under the LGPL, any version you like */
5 #include <features.h>
6 #include <jmpbuf-offsets.h>
8 .globl _setjmp;
9 .type  _setjmp,@function
10 .align 4;
12 _setjmp:
13         moveal  %sp@(4), %a0
14         movel   %sp@(0), %a0@(JB_PC)
15         moveml  %d2-%d7/%a2-%a7, %a0@(JB_REGS)
16 #if defined __HAVE_68881__ || defined __UCLIBC_HAS_FPU__
17         fmovemx %fp2-%fp7, %a0@(JB_FPREGS)
18 #endif
19         clrl    %d0
20         movl    %d0, JB_SIZE(%a0) /* No signal mask set.  */
21         rts