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/* int __siglongjmp(jmp_buf buffer, int value) */ 9FUNCTION(siglongjmp): 10FUNCTION(longjmp): 11FUNCTION(_longjmp): 12 str r1, [r0, #4] 13 ldmia r0, {r0-r14} 14 b __longjmp_return 15FUNCTION_END(siglongjmp) 16FUNCTION_END(longjmp) 17FUNCTION_END(_longjmp) 18 19#pragma weak longjmp=siglongjmp 20