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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to