git: 76a6b4ad3519 - stable/12 - stand: remove CLANG_NO_IAS from btx and gptboot
Dimitry Andric
dim at FreeBSD.org
Thu Sep 2 23:58:41 UTC 2021
The branch stable/12 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=76a6b4ad3519c752f531f488f4cbbb1eea811db4
commit 76a6b4ad3519c752f531f488f4cbbb1eea811db4
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2018-11-20 16:54:42 +0000
Commit: Dimitry Andric <dim at FreeBSD.org>
CommitDate: 2021-09-02 23:30:00 +0000
stand: remove CLANG_NO_IAS from btx and gptboot
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).
PR: 205250, 233094
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 02c4bf4391ec7296f5a002c139576ae8797853d1)
---
stand/i386/btx/btx/Makefile | 3 ---
stand/i386/btx/btxldr/Makefile | 3 ---
stand/i386/gptboot/Makefile | 3 ---
3 files changed, 9 deletions(-)
diff --git a/stand/i386/btx/btx/Makefile b/stand/i386/btx/btx/Makefile
index 8afe98fe1156..ce74e4067c9a 100644
--- a/stand/i386/btx/btx/Makefile
+++ b/stand/i386/btx/btx/Makefile
@@ -29,6 +29,3 @@ ORG= 0x9000
LDFLAGS+=${LDFLAGS_BIN}
.include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.btx.S= ${CLANG_NO_IAS}
diff --git a/stand/i386/btx/btxldr/Makefile b/stand/i386/btx/btxldr/Makefile
index 6a112768f0b6..d494a5a83201 100644
--- a/stand/i386/btx/btxldr/Makefile
+++ b/stand/i386/btx/btxldr/Makefile
@@ -17,6 +17,3 @@ ORG=${LOADER_ADDRESS}
LDFLAGS+=${LDFLAGS_BIN}
.include <bsd.prog.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.btxldr.S= ${CLANG_NO_IAS}
diff --git a/stand/i386/gptboot/Makefile b/stand/i386/gptboot/Makefile
index 345a7e762e7d..ed9031c335d5 100644
--- a/stand/i386/gptboot/Makefile
+++ b/stand/i386/gptboot/Makefile
@@ -63,6 +63,3 @@ gptboot.out: ${BTXCRT} gptboot.o sio.o crc32.o drv.o cons.o ${OPENCRYPTO_XTS}
${LD} ${LD_FLAGS} --defsym ORG=${ORG2} -T ${LDSCRIPT} -o ${.TARGET} ${.ALLSRC} ${LIBSA32}
.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-branches
mailing list