From owner-svn-src-projects@freebsd.org Thu Aug 6 16:12:14 2020 Return-Path: Delivered-To: svn-src-projects@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 2E71F3A5DBA for ; Thu, 6 Aug 2020 16:12:14 +0000 (UTC) (envelope-from dim@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMtmZ0RfCz4JBW; Thu, 6 Aug 2020 16:12:14 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E77A999B2; Thu, 6 Aug 2020 16:12:13 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GCDC3047139; Thu, 6 Aug 2020 16:12:13 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076GCDnF047138; Thu, 6 Aug 2020 16:12:13 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061612.076GCDnF047138@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:12:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363963 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Commit-Revision: 363963 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:12:14 -0000 Author: dim Date: Thu Aug 6 16:12:13 2020 New Revision: 363963 URL: https://svnweb.freebsd.org/changeset/base/363963 Log: Reapply r329859 (partially, by imp): Do not include float interfaces when using libsa. We don't support float in the boot loaders, so don't include interfaces for float or double in systems headers. In addition, take the unusual step of spiking double and float to prevent any more accidental seepage. Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h Thu Aug 6 16:11:30 2020 (r363962) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h Thu Aug 6 16:12:13 2020 (r363963) @@ -121,6 +121,7 @@ static __inline tu_int make_tu(du_int h, du_int l) { #endif // CRT_HAS_128BIT +#ifndef _STANDALONE typedef union { su_int u; float f; @@ -130,6 +131,7 @@ typedef union { udwords u; double f; } double_bits; +#endif typedef struct { #if _YUGA_LITTLE_ENDIAN @@ -155,6 +157,7 @@ typedef struct { #define HAS_80_BIT_LONG_DOUBLE 0 #endif +#ifndef _STANDALONE typedef union { uqwords u; long double f; @@ -182,5 +185,6 @@ typedef struct { #define COMPLEX_REAL(x) (x).real #define COMPLEX_IMAGINARY(x) (x).imaginary +#endif #endif #endif // INT_TYPES_H