svn commit: r219079 - in head/sys/boot/i386: gptboot gptzfsboot
zfsboot
Dimitry Andric
dim at FreeBSD.org
Sun Feb 27 02:06:09 UTC 2011
Author: dim
Date: Sun Feb 27 02:06:09 2011
New Revision: 219079
URL: http://svn.freebsd.org/changeset/base/219079
Log:
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. :)
Modified:
head/sys/boot/i386/gptboot/Makefile
head/sys/boot/i386/gptzfsboot/Makefile
head/sys/boot/i386/zfsboot/Makefile
Modified: head/sys/boot/i386/gptboot/Makefile
==============================================================================
--- head/sys/boot/i386/gptboot/Makefile Sun Feb 27 01:45:36 2011 (r219078)
+++ head/sys/boot/i386/gptboot/Makefile Sun Feb 27 02:06:09 2011 (r219079)
@@ -44,8 +44,6 @@ CFLAGS= -DBOOTPROG=\"gptboot\" \
.if ${CC:T:Mclang} == "clang"
# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS+= ${.IMPSRC:T:Mgptldr.S:C/^.+$/-no-integrated-as/}
-# XXX: clang integrated-as doesn't grok some 16-bit instructions yet
-CFLAGS+= ${.IMPSRC:T:Msio.S:C/^.+$/-no-integrated-as/}
.endif
LDFLAGS=-static -N --gc-sections
Modified: head/sys/boot/i386/gptzfsboot/Makefile
==============================================================================
--- head/sys/boot/i386/gptzfsboot/Makefile Sun Feb 27 01:45:36 2011 (r219078)
+++ head/sys/boot/i386/gptzfsboot/Makefile Sun Feb 27 02:06:09 2011 (r219079)
@@ -41,8 +41,6 @@ CFLAGS= -DBOOTPROG=\"gptzfsboot\" \
.if ${CC:T:Mclang} == "clang"
# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS+= ${.IMPSRC:T:Mgptldr.S:C/^.+$/-no-integrated-as/}
-# XXX: clang integrated-as doesn't grok some 16-bit instructions yet
-CFLAGS+= ${.IMPSRC:T:Msio.S:C/^.+$/-no-integrated-as/}
.endif
LDFLAGS=-static -N --gc-sections
Modified: head/sys/boot/i386/zfsboot/Makefile
==============================================================================
--- head/sys/boot/i386/zfsboot/Makefile Sun Feb 27 01:45:36 2011 (r219078)
+++ head/sys/boot/i386/zfsboot/Makefile Sun Feb 27 02:06:09 2011 (r219079)
@@ -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
More information about the svn-src-all
mailing list