Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2021 23:58:46 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cfd9d82ed8a6 - stable/12 - gptzfsboot: remove CLANG_NO_IAS
Message-ID:  <202109022358.182NwkSb010736@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=cfd9d82ed8a6e531fe042b4cd9309c5e5824c725

commit cfd9d82ed8a6e531fe042b4cd9309c5e5824c725
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2019-08-15 18:43:01 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-09-02 23:30:07 +0000

    gptzfsboot: remove CLANG_NO_IAS
    
    Many components under stand/ had CLANG_NO_IAS added when Clang's
    Integrated Assembler did not handle .codeNN directives.  Clang gained
    support quite some time ago, so we can build stand/ with IAS.
    
    In some cases there were small differences in generated object output.
    In the case of gptzfsboot however using GNU as or Clang IAS to assemble
    gptldr.S resulted in identical final gptzfsboot binary output.
    
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D11115
    
    (cherry picked from commit 0a062e5ff6522fa7bac1c2e9c9f686eb55ca998c)
---
 stand/i386/gptzfsboot/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/stand/i386/gptzfsboot/Makefile b/stand/i386/gptzfsboot/Makefile
index 56abb00ea086..ecb24e10c6d4 100644
--- a/stand/i386/gptzfsboot/Makefile
+++ b/stand/i386/gptzfsboot/Makefile
@@ -72,6 +72,3 @@ gptzfsboot.out: ${BTXCRT} zfsboot.o sio.o gpt.o drv.o cons.o \
 zfsboot.o: ${ZFSSRC}/zfsimpl.c
 
 .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?202109022358.182NwkSb010736>