Blame sysdeps/hppa/setjmp.S

Packit 6c4009
/* setjmp for HPPA.
Packit 6c4009
   Copyright (C) 1995-2018 Free Software Foundation, Inc.
Packit 6c4009
   This file is part of the GNU C Library.
Packit 6c4009
Packit 6c4009
   The GNU C Library is free software; you can redistribute it and/or
Packit 6c4009
   modify it under the terms of the GNU Lesser General Public
Packit 6c4009
   License as published by the Free Software Foundation; either
Packit 6c4009
   version 2.1 of the License, or (at your option) any later version.
Packit 6c4009
Packit 6c4009
   The GNU C Library is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c4009
   Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public
Packit 6c4009
   License along with the GNU C Library.  If not, see
Packit 6c4009
   <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
#include <sysdep.h>
Packit 6c4009
#define _ASM
Packit 6c4009
#define _SETJMP_H
Packit 6c4009
#include <bits/setjmp.h>
Packit 6c4009
Packit 6c4009
Packit 6c4009
	.text
Packit 6c4009
	.align 4
Packit 6c4009
	.import __sigjmp_save, code
Packit 6c4009
	.globl __sigsetjmp
Packit 6c4009
	.export __sigsetjmp, code
Packit 6c4009
	.proc
Packit 6c4009
	.callinfo
Packit 6c4009
__sigsetjmp:
Packit 6c4009
	stw	%r3, 0(%r26)
Packit 6c4009
	/* This padding exists for unknown historical reasons.  */
Packit 6c4009
	/* 4 - 4 bytes of padding.  */
Packit 6c4009
	stw	%r4, 8(%r26)
Packit 6c4009
	stw	%r5, 12(%r26)
Packit 6c4009
	stw	%r6, 16(%r26)
Packit 6c4009
	stw	%r7, 20(%r26)
Packit 6c4009
	stw	%r8, 24(%r26)
Packit 6c4009
	stw	%r9, 28(%r26)
Packit 6c4009
	stw	%r10, 32(%r26)
Packit 6c4009
	stw	%r11, 36(%r26)
Packit 6c4009
	stw	%r12, 40(%r26)
Packit 6c4009
	stw	%r13, 44(%r26)
Packit 6c4009
	stw	%r14, 48(%r26)
Packit 6c4009
	stw	%r15, 52(%r26)
Packit 6c4009
	stw	%r16, 56(%r26)
Packit 6c4009
	stw	%r17, 60(%r26)
Packit 6c4009
	stw	%r18, 64(%r26)
Packit 6c4009
	stw	%r19, 68(%r26)
Packit 6c4009
	stw	%r27, 72(%r26)
Packit 6c4009
	stw	%r30, 76(%r26)
Packit 6c4009
Packit 6c4009
	stw	%rp, 80(%r26)
Packit 6c4009
	/* This padding exists to ensure double alignment for fprs.  */
Packit 6c4009
	/* 84 - 4 bytes of padding.  */
Packit 6c4009
	ldo	88(%r26),%r1
Packit 6c4009
	fstds,ma %fr12, 8(%r1) /* 88 */
Packit 6c4009
	fstds,ma %fr13, 8(%r1) /* 96 */
Packit 6c4009
	fstds,ma %fr14, 8(%r1) /* 104 */
Packit 6c4009
	fstds,ma %fr15, 8(%r1) /* 112 */
Packit 6c4009
	fstds,ma %fr16, 8(%r1) /* 120 */
Packit 6c4009
	fstds,ma %fr17, 8(%r1) /* 128 */
Packit 6c4009
	fstds,ma %fr18, 8(%r1) /* 136 */
Packit 6c4009
	fstds,ma %fr19, 8(%r1) /* 144 */
Packit 6c4009
	fstds,ma %fr20, 8(%r1) /* 152 */
Packit 6c4009
	fstds	 %fr21, 0(%r1) /* 160 */
Packit 6c4009
	/* Total of 168 bytes.  */
Packit 6c4009
	b __sigjmp_save
Packit 6c4009
	nop
Packit 6c4009
	.procend
Packit 6c4009
hidden_def (__sigsetjmp)