git: cfd9d82ed8a6 - stable/12 - gptzfsboot: remove CLANG_NO_IAS

Dimitry Andric dim at FreeBSD.org
Thu Sep 2 23:58:48 UTC 2021


The branch stable/12 has been updated by dim:

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

commit cfd9d82ed8a6e531fe042b4cd9309c5e5824c725
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2019-08-15 18:43:01 +0000
Commit:     Dimitry Andric <dim at 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}


More information about the dev-commits-src-all mailing list