Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compiler_rt Don't include atomic.c, we have aliases...



details:   https://anonhg.NetBSD.org/src/rev/ceb4ebebeb28
branches:  trunk
changeset: 797324:ceb4ebebeb28
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jul 14 07:55:26 2014 +0000

description:
Don't include atomic.c, we have aliases for it in src/common.

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r d09da521eed1 -r ceb4ebebeb28 lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Mon Jul 14 05:00:18 2014 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Mon Jul 14 07:55:26 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.20 2014/05/20 12:23:47 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.21 2014/07/14 07:55:26 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -23,10 +23,8 @@
 #      divdc3.c \
 #      divsc3.c
 
-.if ${HAVE_LLVM:Uno} == "yes"
-# Requires C11 support
-GENERIC_SRCS+= atomic.c
-.endif
+# Implemented on top of our atomic interface.
+#GENERIC_SRCS+= atomic.c
 
 .if ${HAVE_LIBGCC_EH} == "no"
 GENERIC_SRCS+= \



Home | Main Index | Thread Index | Old Index