diff options
| author | joerg <joerg@NetBSD.org> | 2014-01-15 21:20:53 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2014-01-15 21:20:53 +0000 |
| commit | 64877cb52f3a42e628acfdf89947cccc5fba78c3 (patch) | |
| tree | 2d83078948c9a0bfc957a7cfbcfead7c933b6d54 /lib/libc/compiler_rt | |
| parent | 9c3ad87fd1c175d427e3f1a9d275858dcfb32be0 (diff) | |
Add profiling helper functions to the build.
Diffstat (limited to 'lib/libc/compiler_rt')
| -rw-r--r-- | lib/libc/compiler_rt/Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/compiler_rt/Makefile.inc b/lib/libc/compiler_rt/Makefile.inc index e7272d5e95b..492a0b20b3b 100644 --- a/lib/libc/compiler_rt/Makefile.inc +++ b/lib/libc/compiler_rt/Makefile.inc @@ -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_SRCDIR}/lib/${MACHINE_ARCH} .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+= \ |
