summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/zfsboot
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-02-27 02:06:09 +0000
committerdim <dim@FreeBSD.org>2011-02-27 02:06:09 +0000
commit612236e2e23c9a41b65a5099acad7622478492c2 (patch)
treee6135c4ba70baaaad7476c6afd3b1560b6f9d736 /sys/boot/i386/zfsboot
parentf68a7f9db849093e22c705d6a7e3c83802cd3df2 (diff)
downloadFreeBSD-src-612236e2e23c9a41b65a5099acad7622478492c2.zip
FreeBSD-src-612236e2e23c9a41b65a5099acad7622478492c2.tar.gz
Clang's integrated assembler can now handle sys/boot/i386/boot2/sio.S.
It used to choke on the notation "inb (%dx),%al" for "inb %dx,%al"; GNU as accepts both forms. Which notation is more 'correct' is an open question. :)
Diffstat (limited to 'sys/boot/i386/zfsboot')
-rw-r--r--sys/boot/i386/zfsboot/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/boot/i386/zfsboot/Makefile b/sys/boot/i386/zfsboot/Makefile
index c5c6791..876b0c0 100644
--- a/sys/boot/i386/zfsboot/Makefile
+++ b/sys/boot/i386/zfsboot/Makefile
@@ -41,8 +41,6 @@ CFLAGS= -DBOOTPROG=\"zfsboot\" \
-Winline --param max-inline-insns-single=100
.if ${CC:T:Mclang} == "clang"
-# XXX: clang integrated-as doesn't grok some 16-bit instructions yet
-CFLAGS+= ${.IMPSRC:T:Msio.S:C/^.+$/-no-integrated-as/}
# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS+= ${.IMPSRC:T:Mzfsldr.S:C/^.+$/-no-integrated-as/}
.endif
OpenPOWER on IntegriCloud