Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2016 16:37:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206990] powerpc (32-bit), projects/clang380-import vs. 11.0-CURRENT's sendsig: need to avoid signal delivery trashing the stack and so causing SIGSEGV
Message-ID:  <bug-206990-8-zVIRUeHhMD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206990-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206990-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206990

Justin Hibbits <jhibbits@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhibbits@FreeBSD.org

--- Comment #6 from Justin Hibbits <jhibbits@FreeBSD.org> ---
(In reply to Mark Millard from comment #5)
There is no provision in the ABI for a redzone in 32-bit powerpc.  LLVM is
broken for 32-bit PowerPC regarding this, and there are comments in the sou=
rce
code to this regard, to the effect:

(PPCFrameLowering.cpp):
    // FIXME: On PPC32 SVR4, we must not spill before claiming the stackfra=
me.

If a signal interrupts the thread at the precise wrong time (when creating =
the
stack frame, but before adjusting %r1), Bad Things will happen.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206990-8-zVIRUeHhMD>