diff options
author | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-22 08:13:32 +0000 |
---|---|---|
committer | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-22 08:13:32 +0000 |
commit | e2a7debb31be0a50d27756713e97e294ee4f11bf (patch) | |
tree | a7360eff46496db27f5aea795c4b6c97cdb15b51 /libjava/include/dwarf2-signal.h | |
parent | fd4d4fc69bda78d2c2fe9f3cf90cbc0b9ca6b7f4 (diff) | |
download | gcc-e2a7debb31be0a50d27756713e97e294ee4f11bf.tar.gz |
2002-04-21 David S. Miller <davem@redhat.com>
* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
magic instruction reading sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/dwarf2-signal.h')
-rw-r--r-- | libjava/include/dwarf2-signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/include/dwarf2-signal.h b/libjava/include/dwarf2-signal.h index 08287056705..fa55d4d15a7 100644 --- a/libjava/include/dwarf2-signal.h +++ b/libjava/include/dwarf2-signal.h @@ -77,9 +77,11 @@ do \ } *regp; \ unsigned int insn; \ __asm__ __volatile__("ld [%%i7 + 8], %0" : "=r" (insn)); \ + /* mov __NR_sigaction, %g1; Old signal stack layout */ \ if (insn == 0x821020d8) \ regp = (struct sig_regs *) _sip; \ else \ + /* mov __NR_rt_sigaction, %g1; New signal stack layout */ \ regp = (struct sig_regs *) (_sip + 1); \ regp->pc = regp->npc; \ regp->npc += 4; \ |