Module Name:    src
Committed By:   joerg
Date:           Wed Jan 15 21:20:53 UTC 2014

Modified Files:
        src/lib/libc/compiler_rt: Makefile.inc

Log Message:
Add profiling helper functions to the build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/compiler_rt/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.3 src/lib/libc/compiler_rt/Makefile.inc:1.4
--- src/lib/libc/compiler_rt/Makefile.inc:1.3	Tue Dec  3 16:14:50 2013
+++ src/lib/libc/compiler_rt/Makefile.inc	Wed Jan 15 21:20:53 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2013/12/03 16:14:50 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.4 2014/01/15 21:20:53 joerg Exp $
 
 COMPILER_RT_SRCDIR=	${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -13,6 +13,7 @@ COMPILER_RT_ARCH_DIR=	${COMPILER_RT_SRCD
 .PATH: ${COMPILER_RT_CPU_DIR}
 .PATH: ${COMPILER_RT_ARCH_DIR}
 .PATH: ${COMPILER_RT_SRCDIR}/lib
+.PATH: ${COMPILER_RT_SRCDIR}/lib/profile
 
 # Complex support needs parts of libm
 #GENERIC_SRCS+=
@@ -154,6 +155,10 @@ GENERIC_SRCS+= \
 	umodsi3.c \
 	umodti3.c
 
+GENERIC_SRCS+= \
+	GCDAProfiling.c \
+	PGOProfiling.c
+
 .if ${HAVE_LIBGCC} == "no"
 .if ${MACHINE_ARCH} == "powerpc"
 GENERIC_SRCS+= \

Reply via email to