From patchwork Thu Apr 2 16:29:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 38712 Return-Path: X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by sourceware.org (Postfix) with ESMTPS id 994B3388B800 for ; Thu, 2 Apr 2020 16:37:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 994B3388B800 IronPort-SDR: RIjUYoZSGvcDLYExpTIhIa215PsxWdIefOJMvDTlvOUqCqWd9Ylooch5H3iJrepFBAevYbjVSz sbFK6R0WhlsA5b67F0IKtvIFOhLbjeEepAe+8SWa8d9pj6KdIkNipbEIywX5v9/e2FMcBUIAfV IWoleF+n1RvTw/uglWrhySELudGWdv+VQkL8O78OWanVaWGl4iJUzPfwfOB3fJsUBf0Zu1ukgN ERc2qR6eb82nM6wmP5acE69snoDm3vbt5LWeItWO3wXInif7JNdQ04dN9in4Kw91EOYnfshMci 8dY= X-IronPort-AV: E=Sophos;i="5.72,336,1580745600"; d="scan'208";a="134426328" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 03 Apr 2020 00:37:26 +0800 IronPort-SDR: 7HQrrQGNUbAIJK+1dHro93ua0cWgJdmSAdIvQllv+CoI7Kt2KcHPGa8X5J7sENrnnR85TdG7f/ GHxgI37Yo/3tCZu8Kps5XDXyLLLRm2jLTCBJMdb68N3RRUKjRyFzLoiDRPdd6RaT935d7VYsUI qzIB1g42NRZ0r8JxDQtrazaMSyqhs8HSCNybpl82Dc+104NGPu5fM2Tmajjew7mKWYPpuRH5nw n2H3eGezLBW52p6/mHZwL2z3NO6klGq6Dn/+LpiTxW4empFGlNgmnt9qsIurNCsKNg9sjSi0/x W/9Jc0l3hdeoCBR/NH5Ymsuq Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2020 09:28:18 -0700 IronPort-SDR: 4n07H9EqTTEFKA2weZaLOvxLpQxIL8yNgzG2jJkKJYlRxf/zwp9LkokjgrKj/Amej5KAs5+5OI QHUk9wyM1K/hL0J+vKVCjFpsd3KrI8TXnW2N4xgePTukejwkye1jpt6H5M8azjtawVc3PdH9+Y pYI/a70V5HWJivIYKXlj+hjZMLkbX8bm5T932lvKstnb1tMifnqiA+m6r5fQ4GnsWSG4sZQg9B hXyK7hMGjTraoWyFcxKMUqsWIr66MGH0PvWsLBQH+l9IvkozOpevBA9OatzAEygXoV1xwcK6Vu 1dQ= WDCIronportException: Internal Received: from phd004806.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.55.43]) by uls-op-cesaip02.wdc.com with ESMTP; 02 Apr 2020 09:37:26 -0700 From: Alistair Francis To: libc-alpha@sourceware.org Cc: alistair23@gmail.com, Zong Li Subject: [PATCH 05/18] RISC-V: Support dynamic loader for the 32-bit Date: Thu, 2 Apr 2020 09:29:35 -0700 Message-Id: <20200402162939.358617-6-alistair.francis@wdc.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200402162939.358617-1-alistair.francis@wdc.com> References: <20200402162939.358617-1-alistair.francis@wdc.com> MIME-Version: 1.0 X-Spam-Status: No, score=-26.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, 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-List-Received-Date: Thu, 02 Apr 2020 16:37:33 -0000 From: Zong Li Add the LD_SO_ABI definition for RISC-V 32-bit. --- 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 \