1/* 2 * Copyright 2019, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7#include <asm_defs.h> 8 9 10/* int __siglongjmp(jmp_buf buffer, int value) */ 11FUNCTION(siglongjmp): 12FUNCTION(longjmp): 13FUNCTION(_longjmp): 14 /* Loop infinitely here, for now. 15 TODO implement this for real */ 16 b . 17FUNCTION_END(siglongjmp) 18FUNCTION_END(longjmp) 19FUNCTION_END(_longjmp) 20 21#pragma weak longjmp=siglongjmp 22