From patchwork Wed Aug 19 15:38:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 40292 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 2DF5D384243A; Wed, 19 Aug 2020 15:49:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DF5D384243A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1597852143; bh=iekg+qKSGLGIXQxsLNPTEXJ5q5U93+ZXx/xwuzKU780=; 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=sZtzziSs28P1lf70ovaN8i9BXv0Gph/GH6ofK6ngxp1hwu3AMBsIs4bnWJsAYsIeE xG3+N787rvxZ7dx8d3ECI7QzPk2nWIyyIkOUiK9qtw2YND7s6rOQlQ4+C5AnhkakhR TjSig+3YLACIAJNJcc7+Dl0pxXqWiDDWUZwXy1Ds= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) by sourceware.org (Postfix) with ESMTPS id 04E1A386F810 for ; Wed, 19 Aug 2020 15:49:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 04E1A386F810 IronPort-SDR: 85gYUKSDKn2cBxI8Hr/5+im1OiSGNVScfLwQw6nXxzsFtjCY5TZPjYlXLfQjhUeJj2GXcALbvE xQW9ZS5KrD9MfGTTF/196j0R0Img90IK0CsojcK6a9dAVI7JcJUOxLJTl7sg+uIdRWFSmHlhaw 4BK6O/qdkeXR10+dSTlgZXY5dWZ8FK9SqPXpxuAvzQJQ14gtHUE70wx4rlTHqCZpj1TANbrNo/ xnEHzvWoQ77cPbb/outvMS29XtoLuFa5cJhFidwy0KkxLQ3EG1nb6E9tXZDx4y8tNZTZPmX/p2 BOU= X-IronPort-AV: E=Sophos;i="5.76,331,1592841600"; d="scan'208";a="254766942" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 19 Aug 2020 23:49:00 +0800 IronPort-SDR: UImp6xEdrNb2YEZ9vdl1R66Z0EN4fkvUJKXUA5qNUKUyrZbYjsS/MYe5IhIP88ng9HOoe0qMOY 7HJ+n0zXP3hA== Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2020 08:35:58 -0700 IronPort-SDR: cMc/oXC99P7z8/BF6mBGrrWeusGH7mrmzTVFcSrxkQe9lJ/zTe+30DVifidFtGK7HWwH4EOtFN /L4va/TWx1Qw== WDCIronportException: Internal Received: from lpt-kalia-a.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.59.58]) by uls-op-cesaip01.wdc.com with ESMTP; 19 Aug 2020 08:49:00 -0700 To: libc-alpha@sourceware.org Subject: [PATCH v5 05/17] RISC-V: Support dynamic loader for the 32-bit Date: Wed, 19 Aug 2020 08:38:51 -0700 Message-Id: X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, 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" From: Zong Li Add the LD_SO_ABI definition for RISC-V 32-bit. Reviewed-by: Maciej W. Rozycki --- sysdeps/unix/sysv/linux/riscv/ldconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/riscv/ldconfig.h b/sysdeps/unix/sysv/linux/riscv/ldconfig.h index 3d7065b293..35badb7cf0 100644 --- a/sysdeps/unix/sysv/linux/riscv/ldconfig.h +++ b/sysdeps/unix/sysv/linux/riscv/ldconfig.h @@ -24,7 +24,7 @@ #if __riscv_xlen == 64 # define LD_SO_ABI "riscv64-lp64" #else -# error "rv32i-based targets are not supported" +# define LD_SO_ABI "riscv32-ilp32" #endif #define SYSDEP_KNOWN_INTERPRETER_NAMES \