From patchwork Wed Jun 3 16:25:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 39440 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 B4C08388C018; Wed, 3 Jun 2020 16:34:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4C08388C018 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1591202063; bh=//IniVVFfNkzn8LVVCyHrqSlhZ4IBkNfhzjLE9Qp1bw=; 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=TjXhIDEdNfj1YtasdJb+JybGOhTVpZ32WWhCtbuN/wMaNjSIelQnMQchOPGL8suLd EzZHRxOtqurj070O/u50A8Vsx1lIB8jy4jAeJM6UYRYiKlPr7Z9FTlo2QhVlRw60ky pvJXxz1Y1QN5zS+1ps8TPrWRYXOt1ZCMBKG7FyS8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa3.hgst.iphmx.com (esa3.hgst.iphmx.com [216.71.153.141]) by sourceware.org (Postfix) with ESMTPS id 70499388C016 for ; Wed, 3 Jun 2020 16:34:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 70499388C016 IronPort-SDR: kFlojjK8X7/tEMGT+GNBtvf55284HhuQJZIlMWsWbB/uXyf0rvlWk6Xc3fhhUjm6M2YlcJrYTT wXBZTt0RQs6X/fxrliWLn05xwG/MkrpV4utUGN6LtbsRZ3qzwgVwgnBUEKVc8cgE9SiXUeO1DA Bwj+nLNd3LhlueeurtvZ1nAYzF9zAM7XXsL/HA9GpLGRnm6Q318Wq1nCOXNxZbdu9lUieJtOqY YZE8cJaYtQUnrOKMv7PKT7zR4R1PLoJoM3S2/RBNowCyItMt/DxxYQcmmcfnnXcRKNJuLryPj+ W/c= X-IronPort-AV: E=Sophos;i="5.73,468,1583164800"; d="scan'208";a="143452235" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 04 Jun 2020 00:34:20 +0800 IronPort-SDR: JTi+OeCGBKV6qJYEzqFKsFQzF3HZEjpkWTNvZ3COWfgakj9kG4TC36skyeV554Z0krZFkEfkr9 JYDlDsdu4L/hNgdXTMQUNRDygOFy7CHQU= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2020 09:23:58 -0700 IronPort-SDR: ma1tkCrgrguyy5BYuuuCE+ZcH1oS35E2JM60g5xsoGhfAacg/wLBNsIuAExtLlGsmwvKE/yUHk 8gcf/7D/it1Q== WDCIronportException: Internal Received: from cne220230.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.57.144]) by uls-op-cesaip02.wdc.com with ESMTP; 03 Jun 2020 09:34:20 -0700 To: libc-alpha@sourceware.org Subject: [PATCH v2 04/18] RISC-V: Support dynamic loader for the 32-bit Date: Wed, 3 Jun 2020 09:25:34 -0700 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-16.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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" 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 \