From patchwork Fri Aug 18 17:57:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 714684 Delivered-To: patch@linaro.org Received: by 2002:a5d:484e:0:b0:317:ecd7:513f with SMTP id n14csp648250wrs; Fri, 18 Aug 2023 10:58:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcJ3AYmnrTBgUfqeJqyBOLyUNks4h44tst+Av4yGwHo7qT8Fb/G1tF2nTjmgOWKNUBtF11 X-Received: by 2002:a05:6214:57d6:b0:641:8e87:6d19 with SMTP id lw22-20020a05621457d600b006418e876d19mr3666078qvb.17.1692381511228; Fri, 18 Aug 2023 10:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692381511; cv=none; d=google.com; s=arc-20160816; b=dhR98Fn8PODZcgD1f5Sp2XfmC8g4SAmzva5XkvHXwgrXRtMXjcnDI0PcDI0hSxdiaT dyPHYim6WkZfLufQ4Wp5EJwvrOInJYN692lV1qdmDTxxoF02Hg7I8eZJJNqx9v7vz1VP oZBclYQXQfyd3lLX2jWAHG2yjWyMWCNmE90hcV12UsMNfZUecg0j2MOmuBQ2irfNC4Y3 IR3S+1+R6I201K/LBE905cwiv1wmhL73/usVKtPQxDPYnzycpUp5OwXGmTALeoG53bYy vQoNFPnihHDJCQKorfBMiT+27LylWP7qFDBxVWTRH4cmRjWSsKfXa9CBCX2TnSyALnTc AkJg== 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=wdilCwPFymanBcvogkn2wHE26a1921DHapwmojyGce8=; fh=IDR3SL6lwvblHJPJmbQ3/YzQ4jmMC8ZC3/QokybUV7g=; b=MjulwdZzWuhRFK9LDCBwOvMrLsmKZw/d0PuIbsVXySmqpnneTfsFxy0Vzri14UUkuH XtD2GvhjY1u6VyR+r59TDaZXrwSwmqPOTQbQJhS4fRD9rF897QtTmA1pOm2PdETtMduL BKmkV8RnuJxAh/bsnePckczJmI4pl9WdEP1uAJAE0AqmFj2i1afxX36lND6ygzY4Z11L KvnbBJ6xj0v4pn69UikBcg+NhQOt6FDG6QdWhns7YGMiNnMRGBf3DRVpt6H+8Z8+80BB W3B+Hn8SD6d2pTx5XmBzsagXhb5YItmVU8Qn0ni/pWLEEOGSfEt/e2V69jUNZ4GYVMTY 1bFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dvpTnjst; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j2-20020a0cf502000000b0063d390478f2si1575519qvm.23.2023.08.18.10.58.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Aug 2023 10:58: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=dvpTnjst; 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 ) id 1qX3jE-00011O-Vj; Fri, 18 Aug 2023 13:57:45 -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 ) id 1qX3jD-00010D-67 for qemu-devel@nongnu.org; Fri, 18 Aug 2023 13:57:43 -0400 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qX3jA-00049k-Jx for qemu-devel@nongnu.org; Fri, 18 Aug 2023 13:57:42 -0400 Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3a82db15081so761891b6e.0 for ; Fri, 18 Aug 2023 10:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692381459; x=1692986259; 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=wdilCwPFymanBcvogkn2wHE26a1921DHapwmojyGce8=; b=dvpTnjst9JON6CPOj3DAs2EIk93Jw9Tq8eEBxgDUlBWA59ZI0fScmRjP4ZFfSKVZZD qWT5I2E1RTkUS8Jq1XJmzkKUa/kjeQQ6Z+BlU07nQHt2/Q82s6MSxniLvPGoxPToaJ7t h697aKhHahnyDqXTUUfIw7sqasTJPldfHq4S7DEIlCodGfpademdxsN4QVirzDljAoZw RlChNGzv/fsblA9e6IuKWw4qy4fe44Bvf1VU/jvf27dO6jnnqB6p6AmobULrZPhIwey+ RAA0KX721cT0y2QHVFR0N4PZMIhId8HNW/oM61vPECzCr9TedJHXpKH1FU9TnWYH5Q9O AlLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692381459; x=1692986259; 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=wdilCwPFymanBcvogkn2wHE26a1921DHapwmojyGce8=; b=DY1U3e1+fICZGHh9xLZfGVqERiIVtSK4cdXJYWYjRpNrr77CQ8nuNLbdD6NaH4kx+K UwPLflYF0Kcn8BpBPSHpBxHtL3jHxE2ArGgW4zw3KPuqT1ORDubmr8z4jFkz6m38Vnlg LkpXouVcBxVNyRFo8l+PIn54BXnjgic91MioeZbCH0SDUtbBOFUk7sFNPk4dztlaWzd1 0fvNtm/nX+Tlj838ZT9Sezs1ewOf+/t/7qIIhts31T/3wl/SOXcA3pO9dg59hUtTKYCS OsHjunevGGNiKOzp094LQJn4QLZpx6ztc28xeh+VdnMBcSbR8bB6g9UknIDlSmGDgNJk H6HA== X-Gm-Message-State: AOJu0Yzjr02H/HXxnNlPMw7m4edzpJDXjaIAuXHNnWka/ySvvJTUlHgi htDjoD8e6jvLbPAXfrkX9WPV4JW4EId3iTRbxWs= X-Received: by 2002:a05:6808:18a3:b0:3a6:febf:fb with SMTP id bi35-20020a05680818a300b003a6febf00fbmr4682069oib.22.1692381459383; Fri, 18 Aug 2023 10:57:39 -0700 (PDT) Received: from stoup.. ([2602:47:d483:7301:cf24:6daf:2b9e:7972]) by smtp.gmail.com with ESMTPSA id q11-20020a638c4b000000b005637030d00csm1838212pgn.30.2023.08.18.10.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Aug 2023 10:57:39 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: imp@bsdimp.com Subject: [PATCH 2/3] bsd-user: Remove image_info.mmap Date: Fri, 18 Aug 2023 10:57:35 -0700 Message-Id: <20230818175736.144194-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230818175736.144194-1-richard.henderson@linaro.org> References: <20230818175736.144194-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::236; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x236.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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This value is unused. Signed-off-by: Richard Henderson --- bsd-user/qemu.h | 1 - bsd-user/elfload.c | 1 - 2 files changed, 2 deletions(-) diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index 178114b423..898fe3e8b3 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -52,7 +52,6 @@ struct image_info { abi_ulong end_data; abi_ulong start_brk; abi_ulong brk; - abi_ulong mmap; abi_ulong rss; abi_ulong start_stack; abi_ulong entry; diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 38a3439d2c..2d39e59258 100644 --- a/bsd-user/elfload.c +++ b/bsd-user/elfload.c @@ -738,7 +738,6 @@ int load_elf_binary(struct bsd_binprm *bprm, struct target_pt_regs *regs, /* OK, This is the point of no return */ info->end_data = 0; info->end_code = 0; - info->mmap = 0; elf_entry = (abi_ulong) elf_ex.e_entry; /* XXX Join this with PT_INTERP search? */