svn commit: r320288 - head/sys/boot/i386/boot0
Ed Maste
emaste at FreeBSD.org
Fri Jun 23 18:41:51 UTC 2017
Author: emaste
Date: Fri Jun 23 18:41:49 2017
New Revision: 320288
URL: https://svnweb.freebsd.org/changeset/base/320288
Log:
Allow Clang's integrated assembler to assemble boot0
dim@ compared clang IAS-built and GNU as-built boot0 and found them
equivalent. IAS encoded one instruction using two bytes where GNU as
used three, and another instruction using three bytes where GNU as used
two. The net result is equivalent and tested, so there is no need to
force IAS off for boot0.
Modified:
head/sys/boot/i386/boot0/Makefile
Modified: head/sys/boot/i386/boot0/Makefile
==============================================================================
--- head/sys/boot/i386/boot0/Makefile Fri Jun 23 18:38:27 2017 (r320287)
+++ head/sys/boot/i386/boot0/Makefile Fri Jun 23 18:41:49 2017 (r320288)
@@ -78,6 +78,3 @@ CFLAGS+=-DFLAGS=${BOOT_BOOT0_FLAGS} \
LDFLAGS=${LDFLAGS_BIN}
.include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.boot0.S= ${CLANG_NO_IAS}
More information about the svn-src-all
mailing list