git: 3dc739019319 - stable/12 - libi386: remove CLANG_NO_IAS workaround

Ed Maste emaste at FreeBSD.org
Tue Dec 29 15:37:11 UTC 2020


The branch stable/12 has been updated by emaste:

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

commit 3dc739019319c8dae539affe6294c30caed89321
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2018-10-20 22:35:06 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2020-12-29 15:35:40 +0000

    libi386: remove CLANG_NO_IAS workaround
    
    Clang's Integrated Assembler was previously disabled for i386 with the
    note that it "doesn't grok .codeNN directives yet."  This is no longer
    the case (and hasn't been for some time), and the assembled output .text
    is identical between gas and IAS.
    
    MFC after:      2 months
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 188b0da1ce6708f4168309f5b925f1c9df836bc7)
---
 stand/i386/libi386/Makefile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/stand/i386/libi386/Makefile b/stand/i386/libi386/Makefile
index 9e25f7815cf3..58128e962822 100644
--- a/stand/i386/libi386/Makefile
+++ b/stand/i386/libi386/Makefile
@@ -51,7 +51,3 @@ CFLAGS+=	-I${BOOTSRC}/ficl -I${BOOTSRC}/ficl/i386 \
 CFLAGS+= ${FORMAT_EXTENSIONS}
 
 .include <bsd.lib.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.amd64_tramp.S=	${CLANG_NO_IAS}
-CFLAGS.multiboot_tramp.S=	${CLANG_NO_IAS}


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