From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80952 invoked by alias); 25 Oct 2017 22:41:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 80523 invoked by uid 89); 25 Oct 2017 22:41:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: 5pmail.ess.barracuda.com Received: from 5pmail.ess.barracuda.com (HELO 5pmail.ess.barracuda.com) (64.235.154.203) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Oct 2017 22:41:02 +0000 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1411.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Wed, 25 Oct 2017 22:40:07 +0000 Received: from [10.20.78.65] (10.20.78.65) by mips01.mipstec.com (10.20.43.31) with Microsoft SMTP Server id 14.3.361.1; Wed, 25 Oct 2017 15:38:27 -0700 Date: Wed, 25 Oct 2017 22:41:00 -0000 From: "Maciej W. Rozycki" To: Djordje Todorovic CC: , , , , , , Pedro Alves Subject: Re: [PATCH 1/3] BFD: Write Linux core PRSTATUS note into MIPS core file In-Reply-To: <1508940933-13857-1-git-send-email-djordje.todorovic@rt-rk.com> Message-ID: References: <1508940933-13857-1-git-send-email-djordje.todorovic@rt-rk.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-BESS-ID: 1508971206-452059-5294-1137525-5 X-BESS-VER: 2017.12.1-r1709122024 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.186293 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status:1 X-SW-Source: 2017-10/txt/msg00787.txt.bz2 On Wed, 25 Oct 2017, Djordje Todorovic wrote: > diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c > index 17ca432..69c6061 100644 > --- a/bfd/elf32-mips.c > +++ b/bfd/elf32-mips.c > @@ -2554,6 +2593,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = { > #define ELF_COMMONPAGESIZE 0x1000 > #define elf32_bed elf32_tradbed > > +#undef elf_backend_write_core_note > +#define elf_backend_write_core_note elf32_mips_write_core_note This is column #48 rather than #40 (compare the `elf32_bed' definition above and the preceding ones). Likewise the two other places. I'll fix it up myself when committing though, no need to resubmit. Maciej