From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender-0.a4lg.com [IPv6:2401:2500:203:30b:4000:6bfe:4757:0]) by sourceware.org (Postfix) with ESMTPS id 1793C3858D32 for ; Wed, 21 Sep 2022 06:41:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1793C3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=irq.a4lg.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=irq.a4lg.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 27258300089; Wed, 21 Sep 2022 06:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1663742460; bh=AltUe5pfvMYj5G+mV58J/NBJXklGT1cQMwr7T4x5tsE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Mime-Version:Content-Transfer-Encoding; b=U1BKysbrHcfnYkRfeuBdV2UqDadHoLyB9Akqkjb1N53YsbwcPqe4lqf6wbvPd+SFI M7pHBGA51c0O3a77a0yRy6imgawd3mPAdBQ0IaXQoYeMp0aBZF/feGQZfzNzRe6hjf q/plopt3d9+wB0JIIFPK9EMpQGIwkV5fg4BEZpY0= From: Tsukasa OI To: Tsukasa OI , Nelson Chu , Shihua LIAO Cc: binutils@sourceware.org Subject: [PATCH 0/1] RISC-V: Minor fix to the 'Ztso' extension support Date: Wed, 21 Sep 2022 06:40:42 +0000 Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham 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 all, I think Shihua could have missed my review 2: (see near the end of my e-mail starting with "Other than that,"). Currently, it sets EF_RISCV_TSO ELF flag when initial ISA string contains the 'Ztso' extension. However, GAS has a way to update the ISA string: ".option arch". When the architecture is updated by ".option arch", EF_RISCV_RVC ELF flag is set when the 'C' extension is detected. Analogously, this patchset sets the EF_RISCV_TSO when the 'Ztso' extension is detected. With this patch, the 'Ztso' extension support will be complete. Thanks, Tsukasa OI (1): RISC-V: Set EF_RISCV_TSO also on .option arch gas/config/tc-riscv.c | 3 +++ 1 file changed, 3 insertions(+) base-commit: e472ec9fad6d7b0da914da606430e249d1bd99e4 -- 2.34.1