]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Mark unwind info for signal trampolines in vDSOs
authorJakub Jelinek <jakub@redhat.com>
Fri, 31 Mar 2006 10:30:28 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:52 +0000 (12:18 -0800)
commit24fd42d0f494ebddf0f4e617fd8b54dc7617eb2a
tree7770ed3904d312850e745cca175a7322b63785ab
parente1affe7371e39373f74d1e78e727e75588a4fb4f
[PATCH] Mark unwind info for signal trampolines in vDSOs

Mark unwind info for signal trampolines using the new S augmentation flag
introduced in: http://gcc.gnu.org/PR26208.

GCC 4.2 (or patched earlier GCC) will be able to special case unwinding
through frames right above signal trampolines.  As the augmentations start
with z flag and S is at the very end of the augmentation string, older GCCs
will just skip the S flag as unknown (that's why an augmentation flag was
chosen over say a new CFA opcode).

Signed-off-by: Jakub Jelinek <jakub@redhat.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/vsyscall-sigreturn.S
arch/powerpc/kernel/vdso32/sigtramp.S
arch/powerpc/kernel/vdso64/sigtramp.S
arch/x86_64/ia32/vsyscall-sigreturn.S