195745Sjake/*- 295745Sjake * Copyright (c) 2002 Jake Burkholder. 395745Sjake * All rights reserved. 495745Sjake * 595745Sjake * Redistribution and use in source and binary forms, with or without 695745Sjake * modification, are permitted provided that the following conditions 795745Sjake * are met: 895745Sjake * 1. Redistributions of source code must retain the above copyright 995745Sjake * notice, this list of conditions and the following disclaimer. 1095745Sjake * 2. Redistributions in binary form must reproduce the above copyright 1195745Sjake * notice, this list of conditions and the following disclaimer in the 1295745Sjake * documentation and/or other materials provided with the distribution. 1395745Sjake * 1495745Sjake * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1595745Sjake * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1695745Sjake * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1795745Sjake * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1895745Sjake * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1995745Sjake * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2095745Sjake * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2195745Sjake * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2295745Sjake * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2395745Sjake * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2495745Sjake * SUCH DAMAGE. 2595745Sjake */ 2695745Sjake 2795745Sjake#include <machine/asm.h> 2895745Sjake__FBSDID("$FreeBSD: releng/10.3/lib/libc/sparc64/sys/sigcode.S 105709 2002-10-22 15:15:39Z jake $"); 2995745Sjake 3095745Sjake#include "assym.s" 3195745Sjake 32105709SjakeENTRY(__sigtramp) 3395745Sjake call %o4 3495745Sjake nop 3595745Sjake call sigreturn 3695745Sjake add %sp, SPOFF + CCFSZ + SF_UC, %o0 3795745Sjake call exit 3895745Sjake mov 1, %o0 3995745Sjake illtrap 40105709SjakeEND(__sigtramp) 41