From patchwork Thu Jul 26 14:16:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zong Li X-Patchwork-Id: 949712 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-94778-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=andestech.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="bPqvGVwT"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bvLY3RMKz9rxx for ; Fri, 27 Jul 2018 00:17:25 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; q=dns; s=default; b=V73Zg +qi1lJ4afG+SRjUuVy+u7hLJYdrT6LRp4P3ngnwshtGoK2uAFy/LFqhJ3rDbOLAS 9hh2lu1++BCUvjEfOAYe3lGRo7/mhH7NigxOdrkxN8KRvsTt6xmsh8qa8bB0yWNf WDRzIYmi88ehyA6tLrhJyGUoT/gT6pN30/+Usg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; s=default; bh=54Vbrdqny78 hiLGh7NYG2FFJPNA=; b=bPqvGVwTqDUUJFILLEvvfMXRuEAZ3jllldZqOqgI+xU +9sHsEXAptW0DvGIgNG5+J4qh8Lz6/lPGwiF+y81kcHtn0nBcHRjjgQ4LbrjBbvi j1Gk+n6XgDqwb0iid3rH3ofmnyrhuS2MYE5Ow6tOujQ/UvmlUr7PDsMMUEFy+Qg4 = Received: (qmail 82979 invoked by alias); 26 Jul 2018 14:17:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 82874 invoked by uid 89); 26 Jul 2018 14:17:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: ATCSQR.andestech.com From: Zong Li To: , , , , CC: , , Zong Li Subject: [PATCH v3 2/8] RISC-V: Add dynamic loader for the 32 bit Date: Thu, 26 Jul 2018 22:16:22 +0800 Message-ID: <5b5e9c1b59c37e228b2625e320eb35d1f1e34687.1532587497.git.zong@andestech.com> In-Reply-To: References: MIME-Version: 1.0 X-DNSRBL: X-MAIL: ATCSQR.andestech.com w6QEGx7C027527 Add the LD_SO_ABI definition of the 32 bit RISC-V --- 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 0ca798a..088c201 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 \