Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 16:54:43 +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: r340681 - in head/stand/i386: btx/btx btx/btxldr gptboot
Message-ID:  <201811201654.wAKGshll094437@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Nov 20 16:54:42 2018
New Revision: 340681
URL: https://svnweb.freebsd.org/changeset/base/340681

Log:
  stand: remove CLANG_NO_IAS from btx and gptboot
  
  Many components under stand/ had CLANG_NO_IAS added when Clang's
  Integrated Assembler (IAS) did not handle .codeNN directives.  Clang
  gained support quite some time ago, and we can now build stand/ with
  IAS.
  
  Note that in some cases there are small differences in the generated
  output, so CLANG_NO_IAS should be removed only after testing (or after
  finding no differences in the output).
  
  PR:		205250, 233094
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/stand/i386/btx/btx/Makefile
  head/stand/i386/btx/btxldr/Makefile
  head/stand/i386/gptboot/Makefile

Modified: head/stand/i386/btx/btx/Makefile
==============================================================================
--- head/stand/i386/btx/btx/Makefile	Tue Nov 20 16:35:53 2018	(r340680)
+++ head/stand/i386/btx/btx/Makefile	Tue Nov 20 16:54:42 2018	(r340681)
@@ -29,6 +29,3 @@ ORG=	0x9000
 LDFLAGS+=${LDFLAGS_BIN}
 
 .include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.btx.S=		${CLANG_NO_IAS}

Modified: head/stand/i386/btx/btxldr/Makefile
==============================================================================
--- head/stand/i386/btx/btxldr/Makefile	Tue Nov 20 16:35:53 2018	(r340680)
+++ head/stand/i386/btx/btxldr/Makefile	Tue Nov 20 16:54:42 2018	(r340681)
@@ -17,6 +17,3 @@ ORG=${LOADER_ADDRESS}
 LDFLAGS+=${LDFLAGS_BIN}
 
 .include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.btxldr.S=	${CLANG_NO_IAS}

Modified: head/stand/i386/gptboot/Makefile
==============================================================================
--- head/stand/i386/gptboot/Makefile	Tue Nov 20 16:35:53 2018	(r340680)
+++ head/stand/i386/gptboot/Makefile	Tue Nov 20 16:54:42 2018	(r340681)
@@ -63,6 +63,3 @@ gptboot.out: ${BTXCRT} gptboot.o sio.o crc32.o drv.o c
 	${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBSA32}
 
 .include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.gptldr.S=	${CLANG_NO_IAS}



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