Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2019 20:32:05 +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: r345554 - head/stand/i386/zfsboot
Message-ID:  <201903262032.x2QKW5rM052176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Mar 26 20:32:05 2019
New Revision: 345554
URL: https://svnweb.freebsd.org/changeset/base/345554

Log:
  stand: remove CLANG_NO_IAS from zfsldr
  
  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).  For zfsldr I compared objdump
  output between GNU as- and Clang IAS-built zfsldr and .text was
  identical (changes were limited to the object's ELF headers and debug
  info).
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/stand/i386/zfsboot/Makefile

Modified: head/stand/i386/zfsboot/Makefile
==============================================================================
--- head/stand/i386/zfsboot/Makefile	Tue Mar 26 19:38:25 2019	(r345553)
+++ head/stand/i386/zfsboot/Makefile	Tue Mar 26 20:32:05 2019	(r345554)
@@ -78,6 +78,3 @@ zfsboot.out: ${BTXCRT} zfsboot.o sio.o drv.o cons.o
 SRCS=	zfsboot.c
 
 .include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.zfsldr.S=	${CLANG_NO_IAS}



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