git: dd76aa32815e - stable/12 - stand: remove CLANG_NO_IAS from zfsldr

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


The branch stable/12 has been updated by dim:

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

commit dd76aa32815ed6d87e8d0662de00a3b72185743e
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2019-03-26 20:32:05 +0000
Commit:     Dimitry Andric <dim at FreeBSD.org>
CommitDate: 2021-09-02 23:30:01 +0000

    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
    
    (cherry picked from commit 698194ab249ffd23422048dc2157042fd5442288)
---
 stand/i386/zfsboot/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/stand/i386/zfsboot/Makefile b/stand/i386/zfsboot/Makefile
index 094836965764..422bce0e5b88 100644
--- a/stand/i386/zfsboot/Makefile
+++ b/stand/i386/zfsboot/Makefile
@@ -80,6 +80,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}


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