sigcode.S revision 105709
189857Sobrien/*- 289857Sobrien * Copyright (c) 2002 Jake Burkholder. 389857Sobrien * All rights reserved. 489857Sobrien * 589857Sobrien * Redistribution and use in source and binary forms, with or without 689857Sobrien * modification, are permitted provided that the following conditions 789857Sobrien * are met: 889857Sobrien * 1. Redistributions of source code must retain the above copyright 989857Sobrien * notice, this list of conditions and the following disclaimer. 1089857Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1189857Sobrien * notice, this list of conditions and the following disclaimer in the 1289857Sobrien * documentation and/or other materials provided with the distribution. 1389857Sobrien * 14218822Sdim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1589857Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1689857Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1789857Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1889857Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1989857Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2089857Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2189857Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2289857Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2389857Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2489857Sobrien * SUCH DAMAGE. 2589857Sobrien */ 2689857Sobrien 27#include <machine/asm.h> 28__FBSDID("$FreeBSD: head/lib/libc/sparc64/sys/sigcode.S 105709 2002-10-22 15:15:39Z jake $"); 29 30#include "assym.s" 31 32ENTRY(__sigtramp) 33 call %o4 34 nop 35 call sigreturn 36 add %sp, SPOFF + CCFSZ + SF_UC, %o0 37 call exit 38 mov 1, %o0 39 illtrap 40END(__sigtramp) 41