From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2B37B1F5AE for ; Sun, 12 Jul 2020 15:57:10 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B43D1385702F; Sun, 12 Jul 2020 15:57:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B43D1385702F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1594569426; bh=JHVGBpOROEwHTW+eGIXcKsqltQUpoKiWrJ/eXN84pN8=; 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=JFK+FXwRY/1pOo4331ntlVmUdG/a9W8IHujurQsO5B2+ZjVMdrPQrmDWrtT/03MC/ 6QbwlCT4z8M5YzJgUiWZkreMLf7497ziwsJ945lWP2VgYaQ10eLyHslCFqHvUZcruW 048lFPBJiRaIJDQOzguGSYgdNNdg3B6v06hzwxPs= Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by sourceware.org (Postfix) with ESMTPS id C629D3858D37 for ; Sun, 12 Jul 2020 15:57:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C629D3858D37 IronPort-SDR: Tn6XwxRjO3YaqesUpuwDGWP1qgPocsTeFRQ2Hw8gXC2Tkhn4NqU8hJzjqFXdw5wEU7SOxekrgV xj9FYuLHQ5Rcc21JLwIzR9h7XHcS955vB5Vhgs1YGMOnk1HI4xfL8ioBEpIitwoHbqI6YtIrH8 XCDtPpTbNAh1N9p+H6Wg0AygO2Y9ZRHVUL+cGZTJr5dStq2X1WeCf2QJcNI1iYOZHbPAobD0HD tOnzroYyazdPM+pztJxltx5ip59x4psZFWtctn5RuY9Jwl0ToJwH/StA+c8la0slo2fScXLOIL vzE= X-IronPort-AV: E=Sophos;i="5.75,344,1589212800"; d="scan'208";a="142250033" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 12 Jul 2020 23:57:04 +0800 IronPort-SDR: SFcV38vEl1E6u7vCFf/YNoJoDGmK1ahNzLwWgntTVVBk8IPQeUtnZC9uNvKkaJ6moNw3MhxMvE dBlSC7AJeH1yTYb8C4T450nB7o6c3gN8M= 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; 12 Jul 2020 08:45:02 -0700 IronPort-SDR: WCs557VbBCwrcFY38N2N9OOyy8h2unLcA8fa1VD5pYIbsxQXzBmVqnkP+eGPc0acnzMwtbf2/5 ZSL5iRqjgvFw== WDCIronportException: Internal Received: from usa002626.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.57.178]) by uls-op-cesaip01.wdc.com with ESMTP; 12 Jul 2020 08:57:05 -0700 To: libc-alpha@sourceware.org Subject: [PATCH v3 05/19] RISC-V: Support dynamic loader for the 32-bit Date: Sun, 12 Jul 2020 08:47:34 -0700 Message-Id: <5ffcf9fa9b7b7e6e062bc0fb36b604ac5506253d.1594568655.git.alistair.francis@wdc.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , From: Alistair Francis via Libc-alpha 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 \ -- 2.27.0