From 614aa6a7833839146de2769a09de355a49b8ed3d Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 7 May 2015 17:11:45 +1000 Subject: Construct linked list of gcov data structures The gcov constructors call __gcov_init() for each gcov covered file, which we then need to turn into a linked list of all gcov files so that we can traverse them later to pull out gcov profiling data. Signed-off-by: Stewart Smith --- Makefile.main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.main') diff --git a/Makefile.main b/Makefile.main index bd03ff4..c01b16b 100644 --- a/Makefile.main +++ b/Makefile.main @@ -53,7 +53,7 @@ CPPFLAGS += -ffreestanding CFLAGS := -fno-strict-aliasing -fstack-protector-all -pie -mbig-endian -m64 ifeq ($(SKIBOOT_GCOV),1) -CFLAGS += -fprofile-arcs -ftest-coverage +CFLAGS += -fprofile-arcs -ftest-coverage -DSKIBOOT_GCOV=1 endif ifeq ($(STACK_CHECK),1) -- cgit v1.1