From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16419 invoked from network); 3 Sep 2020 11:24:55 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 3 Sep 2020 11:24:55 -0000 Received: (qmail 18223 invoked by uid 550); 3 Sep 2020 11:24:12 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18087 invoked from network); 3 Sep 2020 11:24:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=aaQ6EHXyZUWSY h8MHmvKIZ92dfiuomneQZMr8ZEqGLM=; b=eE+w9vdFC4qz5ykilXy6Nj6NZJegw wJfJ4nzGx7/CHuK6N2w38p7cJGiXDTRJbI5sXCEp3o/S6bjn2ol8oo6ulbrq3BoV EdPVI9QHI2sGRKJ4qgab93gABxytsOsqHfEKdAhtOSza77iIKB5N9cyBuXveFusv LAolcpiIc2Aj+JmYOAqKmKWZKWhla9iIUJQjw5JkDn3BvXzNmJ7iX9VcbnYem6to O7MYUMdf5QAIGhWmVgowV1shYALvN7+GCIzZ+I/4Z0eFObps20FnM+CnlN7qaA+Z SiNlsLL+fogdC0M12UMceWQvbOZzEXGrO7YujL1RNPqmYhilkhEUJcC2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=aaQ6EHXyZUWSYh8MHmvKIZ92dfiuomneQZMr8ZEqGLM=; b=W/EeWYps ZIc68gWLGN5ByBViIpnPXHUHSX+U7Syv2kLNXmjd31ULitDDbNqXO25jblVb2Dp1 i830anBCLgTvvxmHWxZ+NJ7Alu12dIVj/iRDrj0i4S6Recqh61DqVlcrpz3gmCt/ 6KCzC+9jJ49M9K+c1ZY4tDVO9naSyvhXLepGwUv0wIGGZF8LxfnvuYh6rwElyBOo T/nlonc5mHu1XlgHIxqxyPe4Sfz5czTiGDmud2VPiCtn3SAYFUiWRhgMNHJyH/jc q4Zj1flQSPnmDCCBpNmw1eL1fsxr+hOhRY/nrCj1BFrdzIZYilnLHvuiFqyuGlJD 5yfi8VWNGGytvA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeguddggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepufhtvghfrghnucfqkdftvggrrhcuoehsohhrvggrrhesfhgr shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeegueehieeifeehleevgfdvfe fgtefhhedtieduhfegiefhtdfghfdtteeijeelveenucfkphepvddtledriedrudehgedr feegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsh horhgvrghrsehfrghsthhmrghilhdrtghomh X-ME-Proxy: From: Stefan O'Rear To: musl@lists.openwall.com Cc: Stefan O'Rear Date: Thu, 3 Sep 2020 07:23:04 -0400 Message-Id: <20200903112309.102601-10-sorear@fastmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200903112309.102601-1-sorear@fastmail.com> References: <20200903112309.102601-1-sorear@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [PATCH 09/14] riscv32: Target and subtarget detection --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 49a7b403..346080ce 100755 --- a/configure +++ b/configure @@ -336,6 +336,7 @@ or1k*) ARCH=or1k ;; powerpc64*|ppc64*) ARCH=powerpc64 ;; powerpc*|ppc*) ARCH=powerpc ;; riscv64*) ARCH=riscv64 ;; +riscv32*) ARCH=riscv32 ;; sh[1-9bel-]*|sh|superh*) ARCH=sh ;; s390x*) ARCH=s390x ;; unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;; @@ -694,7 +695,7 @@ trycppif __LITTLE_ENDIAN__ "$t" && SUBARCH=${SUBARCH}le trycppif _SOFT_FLOAT "$t" && fail "$0: error: soft-float not supported on powerpc64" fi -if test "$ARCH" = "riscv64" ; then +if test "$ARCH" = "riscv64" -o "$ARCH" = "riscv32" ; then trycppif __riscv_float_abi_soft "$t" && SUBARCH=${SUBARCH}-sf trycppif __riscv_float_abi_single "$t" && SUBARCH=${SUBARCH}-sp fi -- 2.25.4