svn commit: r345554 - head/stand/i386/zfsboot
Ed Maste
emaste at FreeBSD.org
Tue Mar 26 20:32:06 UTC 2019
Author: emaste
Date: Tue Mar 26 20:32:05 2019
New Revision: 345554
URL: https://svnweb.freebsd.org/changeset/base/345554
Log:
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
Modified:
head/stand/i386/zfsboot/Makefile
Modified: head/stand/i386/zfsboot/Makefile
==============================================================================
--- head/stand/i386/zfsboot/Makefile Tue Mar 26 19:38:25 2019 (r345553)
+++ head/stand/i386/zfsboot/Makefile Tue Mar 26 20:32:05 2019 (r345554)
@@ -78,6 +78,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 svn-src-all
mailing list