x86/vdso: Define BUILD_VDSO while building and emit .eh_frame in asm
authorAndy Lutomirski <luto@kernel.org>
Tue, 6 Oct 2015 00:47:58 +0000 (17:47 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 9 Oct 2015 07:41:05 +0000 (09:41 +0200)
commitf24f910884277aa6824bbc2dda4b5d0418d45c28
treeb11e8b917f953cc7d887fa7d079a8570e3939532
parent7b956f035a9ef8bd3ef5490f49fc1bd834d8a70a
x86/vdso: Define BUILD_VDSO while building and emit .eh_frame in asm

For the vDSO, user code wants runtime unwind info.  Make sure
that, if we use .cfi directives, we generate it.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/16e29ad8855e6508197000d8c41f56adb00d7580.1444091584.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/vdso/Makefile
arch/x86/include/asm/dwarf2.h