From nobody Thu Dec 18 19:37:50 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578456435; cv=none; d=zohomail.com; s=zohoarc; b=NoK0RcwuTj9YVLu9N/HDXFc1cIrGRQWql3uR1xUhWZdwbiT1WnodyjA/i7axGepYYsMvFgOvQeC7fH/XFxedW/QkCGcTwWLBj4UGl0dqGaY/OgvCaSk2LJfc940AiAapwe2+p49wN93g5bokoSCejVOzu8V0F8TdQa2EmvakiYA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578456435; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=D8hKczSKbWr4VDH3O7NTZ9vbM3X/bEg8unP2mqvKXWg=; b=QkncReSpHAmRkno1zVI8gSg+7ilYWtwFepV5k39FArz9wirkEHFVOM7PpR2x7IQNtTclamsbX2BicjYcgkTROu71lByfx0uXjJ6Dp/f5w/GEuOTpBwHswsv3Y//eGLo18i5UxtCUH8k3qG7FoACFl1dBVMxqxGEW3f7cL4i+GEQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578456435002681.475540692504; Tue, 7 Jan 2020 20:07:15 -0800 (PST) Received: from localhost ([::1]:35588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip2cj-0007ur-1q for importer@patchew.org; Tue, 07 Jan 2020 23:07:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50381) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip2Jg-0005ku-Eb for qemu-devel@nongnu.org; Tue, 07 Jan 2020 22:47:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip2Je-0004Oo-TX for qemu-devel@nongnu.org; Tue, 07 Jan 2020 22:47:32 -0500 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:43710) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip2Je-0004O5-NW for qemu-devel@nongnu.org; Tue, 07 Jan 2020 22:47:30 -0500 Received: by mail-pg1-x52a.google.com with SMTP id k197so858875pga.10 for ; Tue, 07 Jan 2020 19:47:30 -0800 (PST) Received: from localhost.localdomain (alanje.lnk.telstra.net. [120.151.179.201]) by smtp.gmail.com with ESMTPSA id f23sm1198433pgj.76.2020.01.07.19.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 19:47:28 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=D8hKczSKbWr4VDH3O7NTZ9vbM3X/bEg8unP2mqvKXWg=; b=smX5M6UyI1U/KS9LnQSYel/Gtajfol9WNGjMy2NXUcT8FXOkKHAhel5GiDCI8HhtIu TtlbV9Pb8ZE5Rst5Y38UMhRbmSHDcbYdKkM5stgFUqSPYi47BnrmHumpeACpBQk1GQPX HDWw9qW0hpkwGR338B4lCy4KlXoyoRToOy60joMBZRPuuZ+2SeXGKoP+5oKp4iUx4jIz TMi/hYIn/hgt1NdMIXKCqsa3o/N1A0/T1jzGNPqbx2VjnEK6PMfX0hBtPPuaeyjpo8Ps BHjTA6ek/CvLVIS1IkDwsWtj7Ov8c+a7VIfXVptFfteSqQ2dKFxSSDa4zA0HkzvMzF4Y xP/g== 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:mime-version:content-transfer-encoding; bh=D8hKczSKbWr4VDH3O7NTZ9vbM3X/bEg8unP2mqvKXWg=; b=gFaBRMNEtHlG6tbUIUDKUXiprB7W9/V1dZIxzKO8ZuAGHN/M6Z0cgfe5uaQixfBRb3 05PVlnZHtZ6GU5u6wbTYUq8CH3SQd1tQPQSE0FSZvUDCCQrNXn/Hr01hNjaXywrqN1eC 3YPa667NujUrr3cEeg3tBKxAeB3fmdlN4GptsuM/i6GsGJBaavxNDxxQA0DWCMhoIc2m pz1/etSea9dgPTz/n3y/y7EB8Dzp62qIa8V4HynQOsAoYnORl7+saRe+LApc2Ik/ZPgS ipoth+zmUFFIwrO0fJnr7MbQDxngmec08HFgFWVa8zoTSJVA3xTm6hwj/xUNjQOPYHSX JaLg== X-Gm-Message-State: APjAAAXcde1Jo5zD8L9F7uZK/k2AvFBg/+xHmFAqWJF97uq/MaLC9JIO OtBsajB72unZBk/3XDhU0Bl9ZNDKpv/onw== X-Google-Smtp-Source: APXvYqyIfoStfxH3fFQXeVDw9uFcxlOtstgeRfM5TwubMtrbDohHLY5Qk1sNaU1EHkpt8S8u0lPNgg== X-Received: by 2002:a63:1e47:: with SMTP id p7mr3006810pgm.339.1578455249366; Tue, 07 Jan 2020 19:47:29 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 38/41] tcg: Search includes in the parent source directory Date: Wed, 8 Jan 2020 14:45:20 +1100 Message-Id: <20200108034523.17349-39-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200108034523.17349-1-richard.henderson@linaro.org> References: <20200108034523.17349-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52a X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Stefan Weil , Alistair Francis , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 All the *.inc.c files included by tcg/$TARGET/tcg-target.inc.c are in tcg/, their parent directory. To simplify the preprocessor search path, include the relative parent path: '..'. Patch created mechanically by running: $ for x in tcg-pool.inc.c tcg-ldst.inc.c; do \ sed -i "s,#include \"$x\",#include \"../$x\"," \ $(git grep -l "#include \"$x\""); \ done Acked-by: David Gibson (ppc parts) Reviewed-by: Paolo Bonzini Reviewed-by: Alistair Francis Reviewed-by: Stefan Weil Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20200101112303.20724-3-philmd@redhat.com> Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.inc.c | 4 ++-- tcg/arm/tcg-target.inc.c | 4 ++-- tcg/i386/tcg-target.inc.c | 4 ++-- tcg/mips/tcg-target.inc.c | 2 +- tcg/ppc/tcg-target.inc.c | 4 ++-- tcg/riscv/tcg-target.inc.c | 4 ++-- tcg/s390/tcg-target.inc.c | 4 ++-- tcg/sparc/tcg-target.inc.c | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index 3f921015d3..843fd0ca69 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -10,7 +10,7 @@ * See the COPYING file in the top-level directory for details. */ =20 -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" #include "qemu/bitops.h" =20 /* We're going to re-use TCGType in setting of the SF bit, which controls @@ -1541,7 +1541,7 @@ static void tcg_out_cltz(TCGContext *s, TCGType ext, = TCGReg d, } =20 #ifdef CONFIG_SOFTMMU -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, * TCGMemOpIdx oi, uintptr_t ra) diff --git a/tcg/arm/tcg-target.inc.c b/tcg/arm/tcg-target.inc.c index 94d80d79d1..fffb6611e2 100644 --- a/tcg/arm/tcg-target.inc.c +++ b/tcg/arm/tcg-target.inc.c @@ -23,7 +23,7 @@ */ =20 #include "elf.h" -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" =20 int arm_arch =3D __ARM_ARCH; =20 @@ -1131,7 +1131,7 @@ static TCGCond tcg_out_cmp2(TCGContext *s, const TCGA= rg *args, } =20 #ifdef CONFIG_SOFTMMU -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, * int mmu_idx, uintptr_t ra) diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c index 9d8ed974e0..cdedcb2b25 100644 --- a/tcg/i386/tcg-target.inc.c +++ b/tcg/i386/tcg-target.inc.c @@ -22,7 +22,7 @@ * THE SOFTWARE. */ =20 -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" =20 #ifdef CONFIG_DEBUG_TCG static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] =3D { @@ -1647,7 +1647,7 @@ static void tcg_out_nopn(TCGContext *s, int n) } =20 #if defined(CONFIG_SOFTMMU) -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, * int mmu_idx, uintptr_t ra) diff --git a/tcg/mips/tcg-target.inc.c b/tcg/mips/tcg-target.inc.c index 5442167045..1da663ce84 100644 --- a/tcg/mips/tcg-target.inc.c +++ b/tcg/mips/tcg-target.inc.c @@ -1107,7 +1107,7 @@ static void tcg_out_call(TCGContext *s, tcg_insn_unit= *arg) } =20 #if defined(CONFIG_SOFTMMU) -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 static void * const qemu_ld_helpers[16] =3D { [MO_UB] =3D helper_ret_ldub_mmu, diff --git a/tcg/ppc/tcg-target.inc.c b/tcg/ppc/tcg-target.inc.c index d308d69aba..ee1f9227c1 100644 --- a/tcg/ppc/tcg-target.inc.c +++ b/tcg/ppc/tcg-target.inc.c @@ -23,7 +23,7 @@ */ =20 #include "elf.h" -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" =20 #if defined _CALL_DARWIN || defined __APPLE__ #define TCG_TARGET_CALL_DARWIN @@ -1845,7 +1845,7 @@ static const uint32_t qemu_exts_opc[4] =3D { }; =20 #if defined (CONFIG_SOFTMMU) -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 /* helper signature: helper_ld_mmu(CPUState *env, target_ulong addr, * int mmu_idx, uintptr_t ra) diff --git a/tcg/riscv/tcg-target.inc.c b/tcg/riscv/tcg-target.inc.c index 7018509693..2bc0ba71f2 100644 --- a/tcg/riscv/tcg-target.inc.c +++ b/tcg/riscv/tcg-target.inc.c @@ -27,7 +27,7 @@ * THE SOFTWARE. */ =20 -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" =20 #ifdef CONFIG_DEBUG_TCG static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] =3D { @@ -921,7 +921,7 @@ static void tcg_out_mb(TCGContext *s, TCGArg a0) */ =20 #if defined(CONFIG_SOFTMMU) -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, * TCGMemOpIdx oi, uintptr_t ra) diff --git a/tcg/s390/tcg-target.inc.c b/tcg/s390/tcg-target.inc.c index 8aaa4cebe8..b07e9ff7d6 100644 --- a/tcg/s390/tcg-target.inc.c +++ b/tcg/s390/tcg-target.inc.c @@ -29,7 +29,7 @@ #error "unsupported code generation mode" #endif =20 -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" #include "elf.h" =20 /* ??? The translation blocks produced by TCG are generally small enough to @@ -1536,7 +1536,7 @@ static void tcg_out_qemu_st_direct(TCGContext *s, Mem= Op opc, TCGReg data, } =20 #if defined(CONFIG_SOFTMMU) -#include "tcg-ldst.inc.c" +#include "../tcg-ldst.inc.c" =20 /* We're expecting to use a 20-bit negative offset on the tlb memory ops. = */ QEMU_BUILD_BUG_ON(TLB_MASK_TABLE_OFS(0) > 0); diff --git a/tcg/sparc/tcg-target.inc.c b/tcg/sparc/tcg-target.inc.c index d7986cda5c..65fddb310d 100644 --- a/tcg/sparc/tcg-target.inc.c +++ b/tcg/sparc/tcg-target.inc.c @@ -22,7 +22,7 @@ * THE SOFTWARE. */ =20 -#include "tcg-pool.inc.c" +#include "../tcg-pool.inc.c" =20 #ifdef CONFIG_DEBUG_TCG static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] =3D { --=20 2.20.1