From patchwork Wed Jun 3 16:26:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 39451 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 04BDC388E814; Wed, 3 Jun 2020 16:34:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04BDC388E814 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1591202095; bh=j5Ay566FteMDrW2RD7qdu5jgcmlcaYwjgQ20oMZ30wY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=eoXQjNpyDWaJdLnxIkXcEv7f2PTBmidIqDlGDFc7YlbOC9g2oIpx6Z7j1n9zkaKL9 dvs+/0K1AyAZ2AkE1tQDEZCFv6yv0GgT3J9JO34Pshmn1CsLOXR+hBLQ/pKl4T5CMp pg+z5D95zuKr8dRv3j7gu15+lqr3m0Ud6KjT2zXw= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa6.hgst.iphmx.com (esa6.hgst.iphmx.com [216.71.154.45]) by sourceware.org (Postfix) with ESMTPS id 54E94388E803 for ; Wed, 3 Jun 2020 16:34:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 54E94388E803 IronPort-SDR: jG0JjRCMrGhK+JGO6IIlPFBurnFRpDAo0DLJ/N8e5cKlpAITmlLygGPuEq1UE+gIjv2YMSzRuT vjYJAr+aCYdbG8OISh2rwyClIezZUCey851jZGsSA/IuYMp21tKeZC42HP1sgFuNSch0RvZOJN 9FQ3CFF+1qpJJJkXIawyuoOCeOINxe+DX6lXb8UT+16Xus6jxQTEoATzJLPmvV45hONrfRRNgx EsDXUkujYKVMHFQa3QKtux9yQLaDdd3wgcRmpMlTl+7Q9mDg0841keYUWbxtqoxhGCW9BL89cN ZNU= X-IronPort-AV: E=Sophos;i="5.73,468,1583164800"; d="scan'208";a="140547126" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 04 Jun 2020 00:34:52 +0800 IronPort-SDR: RS/XlArAxDU63RCHFuwwyRzx7tfn1Rlvhix94W/7MMykX1Mggpi9yxrw523TgHC1kF10b+5Lys sC4z2HFPqatXCaLDi3IgDKcIEpkRZ4Gyw= Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2020 09:24:30 -0700 IronPort-SDR: lCSiBPI0dyOe8BLyZyhE2MJrnCyhNDh4gWkmdk0IQG8cRIMRMlaNS+tvdxxNGyWa5HjUXpBkbG 0W65vvhldi6w== WDCIronportException: Internal Received: from cne220230.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.57.144]) by uls-op-cesaip01.wdc.com with ESMTP; 03 Jun 2020 09:34:51 -0700 To: libc-alpha@sourceware.org Subject: [PATCH v2 15/18] riscv32: Specify the arch_minimum_kernel as 5.4 Date: Wed, 3 Jun 2020 09:26:06 -0700 Message-Id: <33169356cba36b85a5d9e121b90be4590b134add.1591201405.git.alistair.francis@wdc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-15.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alistair Francis via Libc-alpha From: Alistair Francis Reply-To: Alistair Francis Cc: alistair.francis@wdc.com Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" --- sysdeps/unix/sysv/linux/riscv/configure | 4 ++++ sysdeps/unix/sysv/linux/riscv/configure.ac | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sysdeps/unix/sysv/linux/riscv/configure b/sysdeps/unix/sysv/linux/riscv/configure index 2b3c77f18c..33139618e7 100755 --- a/sysdeps/unix/sysv/linux/riscv/configure +++ b/sysdeps/unix/sysv/linux/riscv/configure @@ -162,6 +162,10 @@ if test $libc_cv_riscv_int_abi = no; then as_fn_error $? "Unable to determine integer ABI" "$LINENO" 5 fi +if test $libc_cv_riscv_int_abi = ilp32; then + arch_minimum_kernel=5.4.0 +fi + libc_cv_riscv_float_abi=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sysdeps/unix/sysv/linux/riscv/configure.ac b/sysdeps/unix/sysv/linux/riscv/configure.ac index 710d46afcd..9c736415f7 100644 --- a/sysdeps/unix/sysv/linux/riscv/configure.ac +++ b/sysdeps/unix/sysv/linux/riscv/configure.ac @@ -13,6 +13,10 @@ if test $libc_cv_riscv_int_abi = no; then AC_MSG_ERROR([Unable to determine integer ABI]) fi +if test $libc_cv_riscv_int_abi = ilp32; then + arch_minimum_kernel=5.4.0 +fi + libc_cv_riscv_float_abi=no AC_EGREP_CPP(yes, [#ifdef __riscv_float_abi_double yes