Message ID | 87v9apsist.fsf@redhat.com |
---|---|
State | New |
Headers | show
Delivered-To: patches-gcc@linaro.org Received: by 2002:a4a:af48:0:0:0:0:0 with SMTP id x8csp7518600oon; Thu, 18 Feb 2021 03:43:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHpDDH+NUXi61W9270o1Ca7nvnXbbEyN3PrRLOEeP1KmkgLYYWKV4XUwMDRcqTpEeJ3gKu X-Received: by 2002:aa7:dd49:: with SMTP id o9mr3756574edw.14.1613648604465; Thu, 18 Feb 2021 03:43:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613648604; cv=none; d=google.com; s=arc-20160816; b=gIJQnpEnpfv+CrsujNCul2X85Ja+vo4TYQl30QCJhS8Pni3ZfYz4IAtYRjhzEnjy4F 2eiZnhC6aVVKdmqzXq4T/gRIZRLGmWaRiRt4+XgfUUBYztGGimiElyKzEIYyQwjiCcVX INWalp+bwBgG9SBfrK9v/rQQNIUNgwIQeaiwVUeugUiqgkZ+j/zK+qTc74Z5baHgmkf6 Wmgaw23aMXlQgESWxbzd+NXT6rehMwCOY6ZnpoSER2e8fiGn63BBkHoxnAsP5k4FRD6c N9IGlhw8yCJHFp8+UyNEDOdHcbUi8SxVEyvBkUgtBOceFFnFffHZmOxyoPVVo2pcGSCe lBlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:mime-version :message-id:date:subject:to:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=QU1508dCMTKyPyojtozPbB4vw8Ji1ZhZ+yvEiPlZXZo=; b=uRa9n/UZnw9Tf3t8VbLU8BHueXsBpZhvB8oculRUqZQJHh4wjoeWi5/OwKOX5jv2Il KBPnJ3Cc0IIBO5dRWzUhei463w1piFZC8i9qOOawZ/nBcHK5EKBxr2Ua3MUXLaDlLZdP 7fbe573B3f9QD3JjPzkvfUuq1QaCOb7ozdgrpozWkczW1f+7D5cxi4tjy92Ps81VelPq x9390KmKZ7nxWsQCMsBEVwYXDpkYMCd2eWlqKguoO/HfQegQ0VH2U6ODQ3ymKrjKdvl+ /q4597MMM7IW7sh3vhMq/38J4LLW3MK6TXvM1GhWBypiqbYDxLPXgT9G5mR/gAg9DtSm fWgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=x3HKVYiY; spf=pass (google.com: domain of binutils-bounces@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=binutils-bounces@sourceware.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 fj2si3347726ejc.472.2021.02.18.03.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 03:43:24 -0800 (PST) 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; dkim=pass header.i=@sourceware.org header.s=default header.b=x3HKVYiY; spf=pass (google.com: domain of binutils-bounces@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=binutils-bounces@sourceware.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 96E64386EC49; Thu, 18 Feb 2021 11:43:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96E64386EC49 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613648602; bh=QU1508dCMTKyPyojtozPbB4vw8Ji1ZhZ+yvEiPlZXZo=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=x3HKVYiY6ssaG33+5frFU4Eoo5KlbKEePHFRCb6y9UurGzkgNVpTyCc+fzRuvYXA8 W9MBFFPN53To+RXz1UZ+oG6VRFzCAx8z6zT8elK1p0iVsXrV2bI4YqLHsi0l2TL6cx CZKxN+RzLBlxS55I4SFUpxNmR0PprrO58xe7YK8Y= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id C69A3386103E for <binutils@sourceware.org>; Thu, 18 Feb 2021 11:43:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C69A3386103E Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-115-lVHPCM3VPLmtj3Eid64VHQ-1; Thu, 18 Feb 2021 06:43:17 -0500 X-MC-Unique: lVHPCM3VPLmtj3Eid64VHQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C4487102C85B for <binutils@sourceware.org>; Thu, 18 Feb 2021 11:43:16 +0000 (UTC) Received: from comet.redhat.com (ovpn-114-62.ams2.redhat.com [10.36.114.62]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 42CD418F0A for <binutils@sourceware.org>; Thu, 18 Feb 2021 11:43:15 +0000 (UTC) To: binutils@sourceware.org Subject: Commit: Fix merging empty ppc64le notes Date: Thu, 18 Feb 2021 11:43:14 +0000 Message-ID: <87v9apsist.fsf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, 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: <https://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: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Nick Clifton via Binutils <binutils@sourceware.org> Reply-To: Nick Clifton <nickc@redhat.com> Errors-To: binutils-bounces@sourceware.org Sender: "Binutils" <binutils-bounces@sourceware.org> |
Series |
|
Related |
show
|
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 0e1047e748..54a59430f1 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -2275,6 +2275,11 @@ merge_gnu_build_notes (bfd * abfd, goto done; } + if (start > end) + /* This can happen with PPC64LE binaries where empty notes are + encoded as start = end + 4. */ + start = end; + if (is_open_note (pnote)) { if (start)