Commit 4bf01445 by David S. Miller Committed by David S. Miller

dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence.

2002-04-21  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
	magic instruction reading sequence.

From-SVN: r52609
parent f0cca0f6
2002-04-21 David S. Miller <davem@redhat.com>
* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
magic instruction reading sequence.
2002-04-21 Mark Wielaard <mark@klomp.org> 2002-04-21 Mark Wielaard <mark@klomp.org>
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy. * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
......
...@@ -77,9 +77,11 @@ do \ ...@@ -77,9 +77,11 @@ do \
} *regp; \ } *regp; \
unsigned int insn; \ unsigned int insn; \
__asm__ __volatile__("ld [%%i7 + 8], %0" : "=r" (insn)); \ __asm__ __volatile__("ld [%%i7 + 8], %0" : "=r" (insn)); \
/* mov __NR_sigaction, %g1; Old signal stack layout */ \
if (insn == 0x821020d8) \ if (insn == 0x821020d8) \
regp = (struct sig_regs *) _sip; \ regp = (struct sig_regs *) _sip; \
else \ else \
/* mov __NR_rt_sigaction, %g1; New signal stack layout */ \
regp = (struct sig_regs *) (_sip + 1); \ regp = (struct sig_regs *) (_sip + 1); \
regp->pc = regp->npc; \ regp->pc = regp->npc; \
regp->npc += 4; \ regp->npc += 4; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment