setjmp.S (1d386b48a555f61cb7325543adbbb5c3f3407a66) | setjmp.S (fd5aaf2ea0178b03aa93c35245053247e5d3840c) |
---|---|
1/*- 2 * Copyright (c) 2014 Andrew Turner 3 * Copyright (c) 2014 The FreeBSD Foundation 4 * 5 * Portions of this software were developed by Andrew Turner 6 * under sponsorship from the FreeBSD Foundation 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 */ 30 31#include <machine/asm.h> 32#include <machine/setjmp.h> | 1/*- 2 * Copyright (c) 2014 Andrew Turner 3 * Copyright (c) 2014 The FreeBSD Foundation 4 * 5 * Portions of this software were developed by Andrew Turner 6 * under sponsorship from the FreeBSD Foundation 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 */ 30 31#include <machine/asm.h> 32#include <machine/setjmp.h> |
33#include <sys/elf_common.h> |
|
33 34ENTRY(setjmp) 35 sub sp, sp, #16 36 stp x0, lr, [sp] 37 38 /* Store the signal mask */ 39 add x2, x0, #(_JB_SIGMASK * 8) /* oset */ 40 mov x1, #0 /* set */ --- 73 unchanged lines hidden (view full) --- 114 cmp x1, #0 115 csinc x0, x1, xzr, ne 116 ret 117 118botch: 119 bl _C_LABEL(longjmperror) 120 bl _C_LABEL(abort) 121END(longjmp) | 34 35ENTRY(setjmp) 36 sub sp, sp, #16 37 stp x0, lr, [sp] 38 39 /* Store the signal mask */ 40 add x2, x0, #(_JB_SIGMASK * 8) /* oset */ 41 mov x1, #0 /* set */ --- 73 unchanged lines hidden (view full) --- 115 cmp x1, #0 116 csinc x0, x1, xzr, ne 117 ret 118 119botch: 120 bl _C_LABEL(longjmperror) 121 bl _C_LABEL(abort) 122END(longjmp) |
123 124GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL) |
|