(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.
[glibc-ports.git] / sysdeps / unix / bsd / ultrix4 / mips / bits / sigcontext.h
blob3674651372ad75f420bde69f992afd31fcd1c08c
1 /* Copyright (C) 1992, 1994, 1997 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, write to the Free
16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17 02111-1307 USA. */
19 #ifndef _SIGNAL_H
20 # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
21 #endif
23 /* Note that ANY change to this instantly implies a change to __handler.S. */
25 struct sigcontext
27 /* Nonzero if running on signal stack. */
28 int sc_onstack;
30 /* Signal mask to restore. */
31 __sigset_t sc_mask;
33 /* Program counter when the signal hit. */
34 __ptr_t sc_pc;
36 /* Registers 0 through 31. */
37 int sc_regs[32];
39 /* mul/div low and hi; these aren't part of a jmp_buf, but are part of the
40 sigcontext and are referenced from the signal trampoline code. */
41 int sc_mdlo;
42 int sc_mdhi;
44 /* Flag to see if the FP's been used. */
45 int sc_ownedfp;
47 /* Floating point registers 0 to 31. */
48 int sc_fpregs[32];
49 /* Control & status register for FP. */
50 int sc_fpc_csr;
52 /* Exception instruction register for FP. */
53 int sc_fpc_eir;
55 /* The coprocessor's cause register. */
56 int sc_cause;
58 /* CPU bad virtual address. */
59 __ptr_t sc_badvaddr;
61 /* CPU board bad physical address. */
62 __ptr_t sc_badpaddr;