Date: Thu, 2 Sep 2021 23:58:42 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: dd76aa32815e - stable/12 - stand: remove CLANG_NO_IAS from zfsldr Message-ID: <202109022358.182NwgNI010633@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=dd76aa32815ed6d87e8d0662de00a3b72185743e commit dd76aa32815ed6d87e8d0662de00a3b72185743e Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2019-03-26 20:32:05 +0000 Commit: Dimitry Andric <dim@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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109022358.182NwgNI010633>