diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:11:49 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:26 -0400 |
commit | 4d211093e838ddd049b5cf4f0773aa5ac67f9976 (patch) | |
tree | 812dbda87c5ff94eb926cc6ee7410a323e5b2cc1 /arch/x86/um | |
parent | c32324e31270514638d6d2df38436590862e0d8f (diff) |
um: fix gcov build breakage
a) exports in gmon_syms.c duplicate kernel/gcov/* ones
b) excluding -pg in vdso compile is not enough - -fprofile-arcs
and -ftest-coverage also needs to be excluded
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um')
-rw-r--r-- | arch/x86/um/vdso/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 5dffe6d46686..6c803ca49b5d 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile | |||
@@ -46,8 +46,8 @@ $(vobjs): KBUILD_CFLAGS += $(CFL) | |||
46 | # | 46 | # |
47 | # vDSO code runs in userspace and -pg doesn't help with profiling anyway. | 47 | # vDSO code runs in userspace and -pg doesn't help with profiling anyway. |
48 | # | 48 | # |
49 | CFLAGS_REMOVE_vdso-note.o = -pg | 49 | CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage |
50 | CFLAGS_REMOVE_um_vdso.o = -pg | 50 | CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage |
51 | 51 | ||
52 | targets += vdso-syms.lds | 52 | targets += vdso-syms.lds |
53 | obj-$(VDSO64-y) += vdso-syms.lds | 53 | obj-$(VDSO64-y) += vdso-syms.lds |