From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 4CD393858D32 for ; Mon, 20 Mar 2023 22:35:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4CD393858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id 8865C300F04A; Mon, 20 Mar 2023 23:35:53 +0100 (CET) Date: Mon, 20 Mar 2023 23:35:53 +0100 From: Mark Wielaard To: Alexey Sheplyakov Cc: elfutils-devel@sourceware.org Subject: Re: [PATCH] LoongArch: implemented a basic machine flag check Message-ID: <20230320223553.GN24234@gnu.wildebeest.org> References: <20230320144502.3807720-1-asheplyakov@basealt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230320144502.3807720-1-asheplyakov@basealt.ru> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3030.8 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Alexey, On Mon, Mar 20, 2023 at 06:45:02PM +0400, Alexey Sheplyakov wrote: > With this patch I can use eu-elflint to verify LoongArch ELF > binaries. Previously eu-elflint was complaining about invalid > machine flags: > > $ ./src/elflint --gnu-ld ./src/elflint > invalid machine flags: 0x43 > $ echo $? > 1 Thanks. I quickly peeked at the LoongArch ELF ABI specification and this is precisely what needs to be checked. Added a ChangeLog entry to the commit message, a reference to the bug you filed and pushed. Cheers, Mark