Message ID | 20200712125542.1322-4-jon.turney@dronecode.org.uk |
---|---|
State | New |
Headers | show
Delivered-To: patches-gcc@linaro.org Received: by 2002:a4a:6c4f:0:0:0:0:0 with SMTP id u15csp2034669oof; Sun, 12 Jul 2020 05:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPLY+cK8Pkz/pv+MyJQl00ym4DrvnrC7N4tl8LHaAHtgJ4gAXnukpmkSugqz+OxpdI4TM9 X-Received: by 2002:a17:906:38da:: with SMTP id r26mr67219142ejd.120.1594558580361; Sun, 12 Jul 2020 05:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594558580; cv=none; d=google.com; s=arc-20160816; b=A9bbAyBUgfv0Qmk7Gy+o+gt2CkI4zlldGgaKCJLwTc111OWfmGsaK53wBavlnPviGH KXLSndggG4Wb/f9XFOnWdYFxLKUHQNH9c3i378yuJAM5B719k2iMOuaQMUULt3BhRAXg wqVN0jVOZ4Vr7vxw8uPSqcc8uN1xliCuEInZ+nVwt+qavkrJ7E1xcZSk3jxOZcPQqpjG jjz5xPicO4ycW9NdRMXiukJf9Gf+VIMi5IBtMhw58p2Mbz074Geu9G1z+FQ7E3hQ7blM 4R4TPz6wqNtvBqAL0IenlqKVEBo/keetls98sXoaL8ZT4fiHHXSOaIp7wsphu59O60mF 7F1g== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dmarc-filter:delivered-to; bh=nLMWIexJ656ikNyKizxigjkwzVvbkjibOk/mg6KONzU=; b=LxYLJxLTQsBD9urvjS0cQ9nGVt4mZVe/YNE5kVSrhk/T/jKvTin8QmnqJc2/1Js7OL AoBmquYPQbj3qJFeCWEQ4Oz8Bchf2ALwpQnMETUfI0Q0t5l9N9ibaiSAYO+Lu3J6rb1k gvtsdoO/gWehE6Jip/Sq/QWdi9YX6rWTrOSnFocO4YLKapP8eAbyTLZ+3peeeS7F1hwL //+ZicYxBcuUzaLfWBUbLq4ROZAHQolTAiuFefUxUnNfIVOkhb0/AXxxW6R8csYd2anZ WDTLKCB2fgrOdRepkpEnnCaWYmvknvfqyxI2LYTQLWMdA/5WkPUMIf6CktalS5DzPSyc URTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of binutils-bounces@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=binutils-bounces@sourceware.org Return-Path: <binutils-bounces@sourceware.org> Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n27si7389171eje.543.2020.07.12.05.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2020 05:56:20 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; spf=pass (google.com: domain of binutils-bounces@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=binutils-bounces@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7CEC0385702F; Sun, 12 Jul 2020 12:56:10 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from sa-prd-fep-042.btinternet.com (mailomta14-sa.btinternet.com [213.120.69.20]) by sourceware.org (Postfix) with ESMTPS id 02215385702F for <binutils@sourceware.org>; Sun, 12 Jul 2020 12:56:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 02215385702F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from sa-prd-rgout-004.btmx-prd.synchronoss.net ([10.2.38.7]) by sa-prd-fep-042.btinternet.com with ESMTP id <20200712125607.OJWG2233.sa-prd-fep-042.btinternet.com@sa-prd-rgout-004.btmx-prd.synchronoss.net>; Sun, 12 Jul 2020 13:56:07 +0100 Authentication-Results: btinternet.com; none X-Originating-IP: [31.51.206.31] X-OWM-Source-IP: 31.51.206.31 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduiedrvdeigdeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepfeeiudevhefgffffueeuheelfeegveefvdffleejfeehudetleetledvteethfdvnecukfhppeefuddrhedurddvtdeirdefudenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhephhgvlhhopehlohgtrghlhhhoshhtrdhlohgtrghlughomhgrihhnpdhinhgvthepfedurdehuddrvddtiedrfedupdhmrghilhhfrhhomhepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqedprhgtphhtthhopeeosghinhhuthhilhhssehsohhurhgtvgifrghrvgdrohhrgheqpdhrtghpthhtohepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqe X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from localhost.localdomain (31.51.206.31) by sa-prd-rgout-004.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED9B661065DF3A8; Sun, 12 Jul 2020 13:56:07 +0100 From: Jon Turney <jon.turney@dronecode.org.uk> To: binutils@sourceware.org Subject: [PATCH 3/5] Don't hardcode CONTEXT size for a NOTE_INFO_THREAD win32pstatus note Date: Sun, 12 Jul 2020 13:55:40 +0100 Message-Id: <20200712125542.1322-4-jon.turney@dronecode.org.uk> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712125542.1322-1-jon.turney@dronecode.org.uk> References: <20200712125542.1322-1-jon.turney@dronecode.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <http://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <http://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Cc: Jon Turney <jon.turney@dronecode.org.uk> Errors-To: binutils-bounces@sourceware.org Sender: "Binutils" <binutils-bounces@sourceware.org> |
Series |
|
Related |
show
|
diff --git a/bfd/elf.c b/bfd/elf.c index d4900dd3709..61a7f0930e2 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -10178,7 +10178,7 @@ elfcore_grok_win32pstatus (bfd *abfd, Elf_Internal_Note *note) return FALSE; /* sizeof (thread_info.thread_context) */ - sect->size = 716; + sect->size = note->descsz - 12; /* offsetof (thread_info.thread_context) */ sect->filepos = note->descpos + 12; sect->alignment_power = 2;