Message ID | 20230511080450.860923-9-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp3267203wrs; Thu, 11 May 2023 01:11:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7dhllPljo/t3dhP0a/g9WOGlA6ZDZHhDDGWuf/LHH2PY/N8Db/KrJIqz9BYVr53hBhVBZl X-Received: by 2002:ad4:5f8e:0:b0:5ef:410f:88be with SMTP id jp14-20020ad45f8e000000b005ef410f88bemr30704000qvb.1.1683792691585; Thu, 11 May 2023 01:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683792691; cv=none; d=google.com; s=arc-20160816; b=FZztd81nA2sN80qTeBMRtYd/1ae2LAuaOzI4fRsXM+P44j5E6/C89P0ZQBaQVY2BT8 +rKlD2NLlVs3q6HUmkbChz2FOMOSauVejbNd7IiJVACuE7maUm01ZplEzbFxWvRq/Wc+ 0A6AUK94AqJOJVx9SUCpKvTkS5w+iMabcVzOwprntDWavO2u6oVmxUv7U9lMbsPR1vGf mUw/cLai8+ujZyMC2crng0PU4FHZDpWX1TIn7d2ER6peTeoHHK/2groQZFCUMDue2NVL G6EoiazPb6EoVWFrLF/ZVz9AhMi1pcmMvGsznS9Bls6jYhlT+ytW/YuV1Hxixl6X6nNr 3bwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=I/9c63Radhgc81C1RKjpHc6zkE/Zkh0JPyRZzb2Zqao=; b=xH1jkRwyFNPTywLrtk5P4q8hkpEeupl08ZtY2m043K+mZQDdGtUm8Fhbi6YriTiDW4 65SW2afTInB4z7fR78xvj8Fe4MHANLmfiONEj9IdYXdM6gHW5xjSPiYC7hfo85NgIODg 4nVXr1bRjVnzkY2kmJmnxGNTmayUwe3pk2Eng+hSePS1BK8TtAF5V8f+J0+SMyNzJlVh 2/da3Or/Lv7L4pWbbq7BLLMu/h0xmE3dD0XFs6+rg+B+9SY4eoQDrE1/gYwBGW1Ssb3P 4tol1pz3hPQeHPEGiX/qmyrnTpppVkxCIPJSZZca/IRv1l+VHSGO92V/vO0Nh72cz/z8 tmbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g1BwYUTG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w9-20020ac857c9000000b003f38dfb0bcasi3049880qta.41.2023.05.11.01.11.31 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 May 2023 01:11:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g1BwYUTG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1px1Ia-0006Oi-Ku; Thu, 11 May 2023 04:05:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1px1IV-0006Ke-4u for qemu-devel@nongnu.org; Thu, 11 May 2023 04:05:12 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1px1IK-0000x5-1j for qemu-devel@nongnu.org; Thu, 11 May 2023 04:05:08 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-50bcb4a81ceso14613170a12.2 for <qemu-devel@nongnu.org>; Thu, 11 May 2023 01:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683792298; x=1686384298; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I/9c63Radhgc81C1RKjpHc6zkE/Zkh0JPyRZzb2Zqao=; b=g1BwYUTGIhvh9p+PL7x55z/Y8A0wXqfW1tG34hFXhn8PGSLQ1HnKpS7tT3da3jdRnD aJEVUjKTs1HlSVaaVwipq0eUQL+lXLj3JeLJ18ZQuGkc+32/1gDiY7oOLFweyxBPTmJ/ WPRe9pR+4rMJb6UxbNUMjazUYTNll7+/G7qXxTfL19xnt6brk8P1h8LAguQVqbKQm/AS u3mfDneNjvji6Pzb5K5MSaSdqSrWTXgqRgN/qFz9wcyBzPEmccYewXcbLi8PsauLb6Pf eoE8HWJxytYkPXlvlc/a5Qa5RfCIrfaZzTWKJj9O0r+68oRdcaK0CopESosAhXWPdQJd 5YUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683792298; x=1686384298; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I/9c63Radhgc81C1RKjpHc6zkE/Zkh0JPyRZzb2Zqao=; b=G+MPpQg7vvdJCjTcWbbTvcZfGByE07Rcax3S9IkmBv0xeIWJ0fKtnLNGcVa19Yvuxr 9G3kCfuI6FIfxPyUD+w3ZksZiU5hgY++GvOkU2XwczBlnS+YzZUlWetlMywCJ9t1RtKY MqCwRv8jlRUQDwUfpTzFm9BPZsdXUqA9ib6/Uq28ZOVHmfm8KAOiLQPACRYkuEe5ZTYf zYk8k4UUVIrg7T7ypRB8IVbmX5H6eVLou9SrIUu8h4PezIVOl27qxI5jzlCS/7AWLAZc NQ8WWUpOqOx4Kkj8LbBVQMM4xuHLHENfiIpbiN1e+Epz+mHc5/r4pmEP7UU2yeDxvN0I Xd3A== X-Gm-Message-State: AC+VfDx+VLzBe6HAOKcUsXT9QTsmNvv+FOlRQw5wvzHXHnDXM+GTT1hW plxsIbsy119F3Xvwwj4wycSALam6PrTNj9oYJ7RH5A== X-Received: by 2002:aa7:d88f:0:b0:50b:c1e3:6f02 with SMTP id u15-20020aa7d88f000000b0050bc1e36f02mr16981690edq.21.1683792297923; Thu, 11 May 2023 01:04:57 -0700 (PDT) Received: from stoup.. ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id i12-20020aa7c70c000000b0050bd7267a5csm2662095edq.58.2023.05.11.01.04.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 01:04:57 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: Thomas Huth <thuth@redhat.com> Subject: [PULL 08/53] disas: Move disas.c into the target-independent source set Date: Thu, 11 May 2023 09:04:05 +0100 Message-Id: <20230511080450.860923-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230511080450.860923-1-richard.henderson@linaro.org> References: <20230511080450.860923-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=richard.henderson@linaro.org; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/53] target/m68k: Fix gen_load_fp for OS_LONG
|
expand
|
diff --git a/disas/disas.c b/disas/disas.c index 45614af02d..f405f4762a 100644 --- a/disas/disas.c +++ b/disas/disas.c @@ -122,11 +122,11 @@ void disas_initialize_debug_target(CPUDebug *s, CPUState *cpu) s->cpu = cpu; s->info.read_memory_func = target_read_memory; s->info.print_address_func = print_address; -#if TARGET_BIG_ENDIAN - s->info.endian = BFD_ENDIAN_BIG; -#else - s->info.endian = BFD_ENDIAN_LITTLE; -#endif + if (target_words_bigendian()) { + s->info.endian = BFD_ENDIAN_BIG; + } else { + s->info.endian = BFD_ENDIAN_LITTLE; + } CPUClass *cc = CPU_GET_CLASS(cpu); if (cc->disas_set_info) { diff --git a/disas/meson.build b/disas/meson.build index f40230c58f..832727e4b3 100644 --- a/disas/meson.build +++ b/disas/meson.build @@ -11,6 +11,7 @@ common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c')) common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c')) common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c')) common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone]) +common_ss.add(files('disas.c')) softmmu_ss.add(files('disas-mon.c')) -specific_ss.add(files('disas.c'), capstone) +specific_ss.add(capstone)