Date: Sun, 27 Feb 2011 02:06:09 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219079 - in head/sys/boot/i386: gptboot gptzfsboot zfsboot Message-ID: <201102270206.p1R269VO021432@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102270206.p1R269VO021432>