From owner-dev-commits-src-branches@freebsd.org Thu Sep 2 23:58:42 2021 Return-Path: Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBE1A669A5A; Thu, 2 Sep 2021 23:58:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H0yYt41l3z3M3V; Thu, 2 Sep 2021 23:58:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 66C7D225B7; Thu, 2 Sep 2021 23:58:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 182Nwgv7010634; Thu, 2 Sep 2021 23:58:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 182NwgNI010633; Thu, 2 Sep 2021 23:58:42 GMT (envelope-from git) Date: Thu, 2 Sep 2021 23:58:42 GMT Message-Id: <202109022358.182NwgNI010633@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: dd76aa32815e - stable/12 - stand: remove CLANG_NO_IAS from zfsldr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: dd76aa32815ed6d87e8d0662de00a3b72185743e Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the stable branches of the FreeBSD src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2021 23:58:43 -0000 The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=dd76aa32815ed6d87e8d0662de00a3b72185743e commit dd76aa32815ed6d87e8d0662de00a3b72185743e Author: Ed Maste AuthorDate: 2019-03-26 20:32:05 +0000 Commit: Dimitry Andric 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 - -# XXX: clang integrated-as doesn't grok .codeNN directives yet -CFLAGS.zfsldr.S= ${CLANG_NO_IAS}