Source-Changes-HG archive

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

[src/trunk]: src Force use of GNU as for acorn32 boot code (pre-unified assem...



details:   https://anonhg.NetBSD.org/src/rev/c2694a40f428
branches:  trunk
changeset: 964461:c2694a40f428
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Aug 02 12:06:20 2019 +0000

description:
Force use of GNU as for acorn32 boot code (pre-unified assembly)

diffstat:

 doc/TODO.clang                         |  5 ++++-
 sys/arch/acorn32/stand/boot32/Makefile |  4 +++-
 sys/arch/acorn32/stand/nbfs/Makefile   |  4 +++-
 3 files changed, 10 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r c0b53aa56465 -r c2694a40f428 doc/TODO.clang
--- a/doc/TODO.clang    Fri Aug 02 12:04:45 2019 +0000
+++ b/doc/TODO.clang    Fri Aug 02 12:06:20 2019 +0000
@@ -1,8 +1,11 @@
-$NetBSD: TODO.clang,v 1.22 2019/05/14 19:24:09 christos Exp $
+$NetBSD: TODO.clang,v 1.23 2019/08/02 12:06:20 joerg Exp $
 
 Hacks for the clang integration
 -------------------------------
 
+src/sys/arch/acorn32/stand
+    "-fno-integrated-as" is used for pre-unified ARM assembler.
+
 src/sys/arch/i386/stand
     "-no-integrated-as" is used to compensate
     for the incomplete explicit positioning support in LLVM MC.
diff -r c0b53aa56465 -r c2694a40f428 sys/arch/acorn32/stand/boot32/Makefile
--- a/sys/arch/acorn32/stand/boot32/Makefile    Fri Aug 02 12:04:45 2019 +0000
+++ b/sys/arch/acorn32/stand/boot32/Makefile    Fri Aug 02 12:06:20 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2006/04/01 19:08:08 bjh21 Exp $
+#      $NetBSD: Makefile,v 1.6 2019/08/02 12:06:20 joerg Exp $
 
 PROG=          boot32
 PROGSOURCE=    rmheader.S rmvers.c srt0.S boot32.c start.S
@@ -17,4 +17,6 @@
 
 CLEANFILES+=   rmvers.c
 
+AFLAGS.start.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+
 .include "../Makefile.buildboot"
diff -r c0b53aa56465 -r c2694a40f428 sys/arch/acorn32/stand/nbfs/Makefile
--- a/sys/arch/acorn32/stand/nbfs/Makefile      Fri Aug 02 12:04:45 2019 +0000
+++ b/sys/arch/acorn32/stand/nbfs/Makefile      Fri Aug 02 12:06:20 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2006/07/04 23:08:10 bjh21 Exp $
+#      $NetBSD: Makefile,v 1.4 2019/08/02 12:06:20 joerg Exp $
 
 PROG=          nbfs
 PROGSOURCE=    rmheader.S rmvers.c nbfs.c rmalloc.c
@@ -13,4 +13,6 @@
 
 CLEANFILES+=   rmvers.c
 
+AFLAGS.rmheader.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+
 .include "../Makefile.buildboot"



Home | Main Index | Thread Index | Old Index