From: Roland McGrath Date: Wed, 3 Aug 1994 01:36:31 +0000 (+0000) Subject: (struct sigcontext): sc_gpr has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi X-Git-Tag: glibc-2.16-ports-before-merge~4085 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6cc52076465c392cbeedea0e68a4a8fe1cffa65;p=thirdparty%2Fglibc.git (struct sigcontext): sc_gpr has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi are arranged in that order to mimic struct mips_thread_state. --- diff --git a/sysdeps/mach/hurd/mips/sigcontext.h b/sysdeps/mach/hurd/mips/sigcontext.h index 63632e8758f..2cb9459b6e6 100644 --- a/sysdeps/mach/hurd/mips/sigcontext.h +++ b/sysdeps/mach/hurd/mips/sigcontext.h @@ -30,14 +30,12 @@ struct sigcontext /* Port this thread is doing an interruptible RPC on. */ unsigned int sc_intr_port; - - /* "General" registers. */ - int sc_gpr[32]; - - int sc_sp; /* Stack pointer. */ - int sc_fp; /* Frame pointer. */ - int sc_pc; /* Instruction pointer. */ - int sc_ps; /* Processor status. */ + /* These four elements are laid out just like a `struct mips_thread_state'; + trampoline.c knows this, so it must be changed if this changes. */ + int sc_gpr[31]; /* "General" registers; [0] is r1. */ + int sc_pc; /* Instruction pointer. */ int sc_mdlo, sc_mdhi; /* High and low multiplication results. */ + + int sc_ps; /* Processor status. */ };