diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-08-09 21:02:51 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-20 02:29:28 +0200 |
commit | a15098c90df1ac2b1bfe1d33dd1c47063213aa9a (patch) | |
tree | 5553a81fe8bf1605f35ecf11170bed4770a8058b /arch/powerpc/kernel/vdso32/Makefile | |
parent | powerpc/hvsi: Avoid calculating possibly-invalid address (diff) | |
download | linux-a15098c90df1ac2b1bfe1d33dd1c47063213aa9a.tar.xz linux-a15098c90df1ac2b1bfe1d33dd1c47063213aa9a.zip |
powerpc: Enable GCOV
Make it possible to enable GCOV code coverage measurement on powerpc.
Lightly tested on 64-bit, seems to work as expected.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/vdso32/Makefile')
-rw-r--r-- | arch/powerpc/kernel/vdso32/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vdso32/Makefile b/arch/powerpc/kernel/vdso32/Makefile index c3d57bd01a88..b54b81688132 100644 --- a/arch/powerpc/kernel/vdso32/Makefile +++ b/arch/powerpc/kernel/vdso32/Makefile @@ -12,6 +12,7 @@ endif targets := $(obj-vdso32) vdso32.so vdso32.so.dbg obj-vdso32 := $(addprefix $(obj)/, $(obj-vdso32)) +GCOV_PROFILE := n EXTRA_CFLAGS := -shared -fno-common -fno-builtin EXTRA_CFLAGS += -nostdlib -Wl,-soname=linux-vdso32.so.1 \ |