Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2017 18:41:49 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320288 - head/sys/boot/i386/boot0
Message-ID:  <201706231841.v5NIfnII068091@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706231841.v5NIfnII068091>