URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [glibc/] [sysdeps/] [openrisc/] [or32/] [setjmp.S] - Rev 1765
Compare with Previous | Blame | View Log
/* setjmp for OR32.Copyright (C) 1995-1997, 1999-2001, 2005 Free Software Foundation, Inc.Contributed by ???? FIXME.This file is part of the GNU C Library.The GNU C Library is free software; you can redistribute it and/ormodify it under the terms of the GNU Lesser General PublicLicense as published by the Free Software Foundation; eitherversion 2.1 of the License, or (at your option) any later version.The GNU C Library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULesser General Public License for more details.You should have received a copy of the GNU Lesser General PublicLicense along with the GNU C Library; if not, write to the FreeSoftware Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307 USA. */#include <sysdep.h>#define _ASM#define _SETJMP_H#include <bits/setjmp.h>#include <bp-sym.h>ENTRY (BP_SYM (__sigsetjmp))# l.mfspr r11,r0,SPR_SR# l.sw (JB_SR*4)(r3),r11l.sw ((JB_GPRS+0)*4)(r3),r1l.sw ((JB_GPRS+1)*4)(r3),r2l.sw ((JB_GPRS+2)*4)(r3),r3l.sw ((JB_GPRS+3)*4)(r3),r4l.sw ((JB_GPRS+4)*4)(r3),r6l.sw ((JB_GPRS+5)*4)(r3),r5l.sw ((JB_GPRS+6)*4)(r3),r7l.sw ((JB_GPRS+7)*4)(r3),r8l.sw ((JB_GPRS+8)*4)(r3),r9l.sw ((JB_GPRS+9)*4)(r3),r10l.sw ((JB_GPRS+10)*4)(r3),r11l.sw ((JB_GPRS+11)*4)(r3),r12l.sw ((JB_GPRS+12)*4)(r3),r13l.sw ((JB_GPRS+13)*4)(r3),r14l.sw ((JB_GPRS+14)*4)(r3),r15l.sw ((JB_GPRS+15)*4)(r3),r16l.sw ((JB_GPRS+16)*4)(r3),r17l.sw ((JB_GPRS+17)*4)(r3),r18l.sw ((JB_GPRS+18)*4)(r3),r19l.sw ((JB_GPRS+19)*4)(r3),r20l.sw ((JB_GPRS+20)*4)(r3),r21l.sw ((JB_GPRS+21)*4)(r3),r22l.sw ((JB_GPRS+22)*4)(r3),r23l.sw ((JB_GPRS+23)*4)(r3),r24l.sw ((JB_GPRS+24)*4)(r3),r25l.sw ((JB_GPRS+25)*4)(r3),r26l.sw ((JB_GPRS+26)*4)(r3),r27l.sw ((JB_GPRS+27)*4)(r3),r28l.sw ((JB_GPRS+28)*4)(r3),r29l.sw ((JB_GPRS+29)*4)(r3),r30l.sw ((JB_GPRS+30)*4)(r3),r31l.j JUMPTARGET (BP_SYM (__sigjmp_save))l.nopEND (BP_SYM (__sigsetjmp))
