Module Name:    src
Committed By:   joerg
Date:           Sat Jun 28 20:18:15 UTC 2014

Modified Files:
        src/doc: TODO.clang
        src/sys/lib/libunwind: Makefile.inc

Log Message:
.fpu is not handled correctly by LLVM's assembler parser, so use GAS for
now.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/doc/TODO.clang
cvs rdiff -u -r1.7 -r1.8 src/sys/lib/libunwind/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/doc/TODO.clang
diff -u src/doc/TODO.clang:1.9 src/doc/TODO.clang:1.10
--- src/doc/TODO.clang:1.9	Sat Feb 15 08:25:01 2014
+++ src/doc/TODO.clang	Sat Jun 28 20:18:15 2014
@@ -1,4 +1,4 @@
-$NetBSD: TODO.clang,v 1.9 2014/02/15 08:25:01 wiz Exp $
+$NetBSD: TODO.clang,v 1.10 2014/06/28 20:18:15 joerg Exp $
 
 Hacks for the clang integration
 -------------------------------
@@ -9,3 +9,6 @@ for the incomplete explicit positioning 
 Missing atomic support in ARM libgcc, -march=armv6 "workaround":
     src/external/bsd/libc++/lib
     src/external/bsd/lllvm/lib/libLLVMSupport
+
+Workaround for .fpu handling in src/sys/lib/libunwind for ARM by forcing
+GNU as.

Index: src/sys/lib/libunwind/Makefile.inc
diff -u src/sys/lib/libunwind/Makefile.inc:1.7 src/sys/lib/libunwind/Makefile.inc:1.8
--- src/sys/lib/libunwind/Makefile.inc:1.7	Fri Jun 13 21:31:20 2014
+++ src/sys/lib/libunwind/Makefile.inc	Sat Jun 28 20:18:15 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.7 2014/06/13 21:31:20 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.8 2014/06/28 20:18:15 joerg Exp $
 
 .PATH:	${NETBSDSRCDIR}/sys/lib/libunwind
 
@@ -11,3 +11,7 @@ COPTS.libunwind.cxx+=	${${ACTIVE_CXX} ==
 COPTS.libunwind.cxx+=	-funwind-tables -fno-rtti
 COPTS.libunwind.cxx+=	-fno-exceptions -fvisibility=hidden
 COPTS.libunwind.cxx+=	-Wno-old-style-cast
+
+.if ${MACHINE_CPU} == "arm"
+AFLAGS.unwind_registers.S+=	-no-integrated-as
+.endif

Reply via email to