From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id gHPWCPlFpWMfsgcAWB0awg (envelope-from ) for ; Fri, 23 Dec 2022 01:08:57 -0500 Received: by simark.ca (Postfix, from userid 112) id 20DF41E222; Fri, 23 Dec 2022 01:08:57 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=wdqxjGQl; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id CDD111E110 for ; Fri, 23 Dec 2022 01:08:56 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 81D753850F37 for ; Fri, 23 Dec 2022 06:08:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81D753850F37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671775735; bh=vJH4tsdbI/UuPflBolSOlv738DGbTln1sFI9PP025Rs=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=wdqxjGQlUZ4sUJEdqzAtP2BJ7Fjs69R1burnxMBvlXBPjrLkfhMd25nhuIg/Saphk 69KhuSmb5ft7rBriJjNgvkjbtkW74mcTMRb0zFi772SjBlzzUDy03uBBZ0IR9PecSF iZKEhosdZS5JES1d6Ho/8L7btOHfSgH22i2JARhk= Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 78A433850F06 for ; Fri, 23 Dec 2022 06:07:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 78A433850F06 Received: by smtp.gentoo.org (Postfix, from userid 559) id 1BB673411D4; Fri, 23 Dec 2022 06:07:30 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH 06/20] sim: ft32: move arch-specific settings to internal header Date: Fri, 23 Dec 2022 01:06:59 -0500 Message-Id: <20221223060713.28821-7-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221223060713.28821-1-vapier@gentoo.org> References: <20221223060713.28821-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" There's no need for these settings to be in sim-main.h which is shared with common/ sim code, so drop the ft32-sim.h include and move it to the few files that actually need it. --- sim/ft32/interp.c | 2 ++ sim/ft32/sim-main.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c index 9324475709e2..dfea4720c220 100644 --- a/sim/ft32/interp.c +++ b/sim/ft32/interp.c @@ -37,6 +37,8 @@ #include "opcode/ft32.h" +#include "ft32-sim.h" + /* * FT32 is a Harvard architecture: RAM and code occupy * different address spaces. diff --git a/sim/ft32/sim-main.h b/sim/ft32/sim-main.h index 5c84f9e2f219..4529d0187560 100644 --- a/sim/ft32/sim-main.h +++ b/sim/ft32/sim-main.h @@ -24,6 +24,4 @@ #include "sim-basics.h" #include "sim-base.h" -#include "ft32-sim.h" - #endif -- 2.39.0