xref: /haiku/src/system/libroot/posix/arch/arm/siglongjmp.S (revision c90684742e7361651849be4116d0e5de3a817194)
1/*
2 * Copyright 2005, Ingo Weinhold <bonefish@cs.tu-berlin.de>. All rights
3 * reserved. Distributed under the terms of the Haiku License.
4 */
5
6#include <asm_defs.h>
7
8//#include "setjmp_internal.h"
9
10/* int __siglongjmp(jmp_buf buffer, int value) */
11FUNCTION(siglongjmp):
12FUNCTION(longjmp):
13FUNCTION(_longjmp):
14	str	r1,[r0]
15        ldmia	r0,{r0-r14}
16	bx	lr
17//	bl	__longjmp_return
18FUNCTION_END(siglongjmp)
19FUNCTION_END(longjmp)
20FUNCTION_END(_longjmp)
21
22#pragma weak longjmp=siglongjmp
23