From patchwork Thu Apr 19 13:58:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 133826 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp720006ljf; Thu, 19 Apr 2018 07:45:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrH/sj8WuuuY2BKH+oLIHTYP+QZlrJxJTLci2P9HQe51RnpfC5+r9gj97+zoJ/+Au1cSdCN X-Received: by 10.55.106.193 with SMTP id f184mr6466144qkc.394.1524149101247; Thu, 19 Apr 2018 07:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524149101; cv=none; d=google.com; s=arc-20160816; b=w7CycUstbCbChLfjlzdU4Qp9qKG4OcEnz+SEZHO3JbUj5cAUeJ/pXgLgTYQyBxsf1D 65N+FsuEh4GqrSYVZDVPnERrhbZvh6lZgWvc0+wDA0nhK6GMgTzVr+zoM6ZNbH8u3u8X nkvIg9Kf55IMqUXu4AOn52oPjPRprOZuADGsP/ZLtPjz3MV7FQuak3Tvko44PIFWqR1d Y4mijUO025cE3qxDA+bfnK7o4Fhuy8WZkEpf08Bs0qi45oMXc8iU9gZojJn9N15G5aJJ vrdCg4EkDnSQSf/kEa1514mteBMvtkv581GH7bdEs2TFw/R5nOLB0jDXp2f/933bNunK galg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=j5kn0bELVxEmf6Rj0VJYC410pqYZPaaLhA5Ob+eKTB8=; b=AnL+1WQvvp5M8ln4T7ERUZ8FIX3oMceZLJJ2SlN+xH2decbNF4t2eY3EVTYmlldDCw 780kfRc7kJGBLChsVYMvBuQz8D5lRqoidlefzCvxvClbAVRL9+LBn835TUzAJkbTA4aB 6oIwkg/TKy1vGTKNmj6mggiSZ5KrVYIW9y7TLzqEVO0qwb+cpW237eWwe8YzUtDtGAmP Wb3yKCVtXUN43dXf4la90XxOfB3Rx/sqTystNHJNH7vk6cvcY4wiU7NGDXWYY5ltIhA1 5dnq1yHZ7HposHSOjy+dPb9dLh1ZN84U89gL59oc3eG6+earPEbMvhVCkX+fwYGP1oc+ EY7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Qc+EQENM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b100si2898417qkb.289.2018.04.19.07.45.00 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 Apr 2018 07:45:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Qc+EQENM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9Ao0-00059k-Ga for patch@linaro.org; Thu, 19 Apr 2018 10:45:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9ANP-0004fo-Kl for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9ANO-00065G-N5 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:31 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:34578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9ANO-00064l-FL for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:30 -0400 Received: by mail-wr0-x243.google.com with SMTP id d19-v6so14540934wre.1 for ; Thu, 19 Apr 2018 07:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j5kn0bELVxEmf6Rj0VJYC410pqYZPaaLhA5Ob+eKTB8=; b=Qc+EQENMUzgQQWrBv8Zezs9E/FB6cq/OkSYIH0LWidNwIhYHjFCKM4hHpL+A2BobH8 398QZ78tL2GXwpmEzjBbyKiVcGHfLuPRnJVUunN6tlEP1/ssSiRZBtWLmRh7wxfkcYjp uZ9NZwrlFqtTomD1eJWIr1BxYVJh6Pt+6dufk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j5kn0bELVxEmf6Rj0VJYC410pqYZPaaLhA5Ob+eKTB8=; b=FczZryP2ZWCT8OrqVzcNHpHjUv1c8ZZy46CUbszvjAwqwHyF/6SXpRMy+4RcFr2d6z ctB98YithWH56avdFNduPAXtMl6lU4xSYia4Bc64NUjuCKKgk0eM6SgJhKuwd1AMKPj5 qBTln9t1tqcg2eSRU6lRUnT3nsfzFerNrKVQrCPOT4pdURkZPshhU++1HsqwGGUXyXAB JiDuc6qTUhY+G/BPILr5joZAObyduIH5+GgkJL8Wsiv2m1cjMz8bUJCcY01RkdQf+eft Olp6pHk8DcdAKnznwBb17YI+NxYSfz0BljC/8a4enAppaiWxlk2gcAK4plqjxLDXka+W 1/Bw== X-Gm-Message-State: ALQs6tD61CVBr8dcRRptVSNekhpI1U64E6Uc2Mafn2qllAwgR69MOWw5 M9puiDaQuXTOyJfFPoQ5GeLH4w== X-Received: by 2002:adf:b594:: with SMTP id c20-v6mr5075296wre.65.1524147449383; Thu, 19 Apr 2018 07:17:29 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y9-v6sm4871641wrg.46.2018.04.19.07.17.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 07:17:25 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 758F03E09A8; Thu, 19 Apr 2018 14:59:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Thu, 19 Apr 2018 14:58:57 +0100 Message-Id: <20180419135901.30035-40-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419135901.30035-1-alex.bennee@linaro.org> References: <20180419135901.30035-1-alex.bennee@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH v2 39/43] softfloat: do not include glib headers X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" To ease the cross-compilation of softfloat.o. Signed-off-by: Emilio G. Cota --- fpu/softfloat.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.0 Reviewed-by: Richard Henderson diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 70e0c40a1c..a2a5d4ea33 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -82,6 +82,7 @@ this code that are retained. /* softfloat (and in particular the code in softfloat-specialize.h) is * target-dependent and needs the TARGET_* macros. */ +#define QEMU_NO_GLIB #include "qemu/osdep.h" #include "qemu/bitops.h" #include "fpu/softfloat.h" @@ -105,6 +106,9 @@ this code that are retained. *----------------------------------------------------------------------------*/ #include "softfloat-specialize.h" +/* glib headers are not included due to QEMU_NO_GLIB */ +#define g_assert_not_reached() assert(false) + /*---------------------------------------------------------------------------- | Returns the fraction bits of the half-precision floating-point value `a'. *----------------------------------------------------------------------------*/