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>
This commit is contained in:
Michael Ellerman
2009-08-09 19:02:51 +00:00
committed by Benjamin Herrenschmidt
parent 7286565064
commit a15098c90d
5 changed files with 13 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
GCOV_PROFILE := n
ifdef CONFIG_PPC64
EXTRA_CFLAGS += -mno-minimal-toc
endif