]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: remove CLANG_NO_IAS from zfsldr
authorEd Maste <emaste@FreeBSD.org>
Tue, 26 Mar 2019 20:32:05 +0000 (20:32 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 2 Sep 2021 23:30:01 +0000 (01:30 +0200)
commitdd76aa32815ed6d87e8d0662de00a3b72185743e
tree1bd9fb338dcc9d125991d1a8061ec66a0e9dea11
parent76a6b4ad3519c752f531f488f4cbbb1eea811db4
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