From 698194ab249ffd23422048dc2157042fd5442288 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 26 Mar 2019 20:32:05 +0000 Subject: [PATCH] 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 --- stand/i386/zfsboot/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/stand/i386/zfsboot/Makefile b/stand/i386/zfsboot/Makefile index b3bd7893a0f6..f4990719a753 100644 --- a/stand/i386/zfsboot/Makefile +++ b/stand/i386/zfsboot/Makefile @@ -78,6 +78,3 @@ zfsboot.out: ${BTXCRT} zfsboot.o sio.o drv.o cons.o SRCS= zfsboot.c .include - -# XXX: clang integrated-as doesn't grok .codeNN directives yet -CFLAGS.zfsldr.S= ${CLANG_NO_IAS}