[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LIBGCC/LIBGCOV PATCH v3 2/2] Add extra comments



Signed-off-by: Alice Suiu <alicesuiu17@xxxxxxxxx>
---
 Makefile.uk | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile.uk b/Makefile.uk
index 435b098..080243a 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -129,13 +129,17 @@ LIBFFI_SRCS-$(CONFIG_ARCH_X86_64) += 
$(LIBFFI_EXTRACTED)/src/x86/unix64.S
 LIBGCOV_CINCLUDES-y = -I$(LIBGCC_BASE)/libgcov/include  
-I$(LIBGCC_EXTRACTED)/include \
                -I$(LIBGCC_EXTRACTED)/gcc -I$(LIBGCC_EXTRACTED)/libgcc
 
+# each function in the gcov library is defined by a macro. Thus, in order to 
be able to
+# compile and access a function from gcov, the macro associated with it should 
be added
+# to the compilation
+
 LIBGCOV_CFLAGS-y += -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector \
        -DHAVE_CC_TLS -DL_gcov_merge_add -DL_gcov_merge_single 
-DL_gcov_merge_ior -DL_gcov_merge_time_profile -DL_gcov_merge_icall_topn \
        -DL_gcov_interval_profiler -DL_gcov_interval_profiler_atomic 
-DL_gcov_pow2_profiler -DL_gcov_pow2_profiler_atomic \
-       -DL_gcov_one_value_profiler -DL_gcov_one_value_profiler_atomic 
-DL_gcov_average_profiler -DL_gcov_average_profiler_atomic       \
+       -DL_gcov_one_value_profiler -DL_gcov_one_value_profiler_atomic 
-DL_gcov_average_profiler -DL_gcov_average_profiler_atomic \
        -DL_gcov_ior_profiler -DL_gcov_ior_profiler_atomic 
-DL_gcov_indirect_call_profiler_v2 -DL_gcov_time_profiler \
        -DL_gcov_indirect_call_topn_profiler -DL_gcov_dump -DL_gcov_flush 
-DL_gcov_fork -DL_gcov_execl -DL_gcov_execlp -DL_gcov_execle \
-       -DL_gcov_execv -DL_gcov_execvp -DL_gcov_execve -DL_gcov_reset -DL_gcov \
+       -DL_gcov_execv -DL_gcov_execvp -DL_gcov_execve -DL_gcov_reset -DL_gcov
 
 LIBGCOV_SRCS-y += $(LIBGCC_EXTRACTED)/libgcc/libgcov-merge.c
 LIBGCOV_SRCS-y += $(LIBGCC_EXTRACTED)/libgcc/libgcov-profiler.c
-- 
2.17.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.