From patchwork Tue Oct 26 12:44:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 46662 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 4BCD2385801F for ; Tue, 26 Oct 2021 12:47:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4BCD2385801F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1635252422; bh=OMEdcI/hbn/Vv9WhyQDYQUWYhT8IDo7OGh3m5+bU7Kc=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=uh4zz8dxEJQrSH2yHwE8ROW78Plyz2bFbvE51bEOuFYgz/Ph+t8CwRe0edZlQvdzW 65kz0mcCHHjS03dxSvRL2aRylA8w4Ut6hkBtZgLRoZQ8a7oIDYEsHANxNUaqH1Ak16 imjcAna6VyBxQMQAlfb18h1Ak8II8W+opIr0lYJY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id BA2833858421 for ; Tue, 26 Oct 2021 12:44:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA2833858421 Received: by mail-wr1-x435.google.com with SMTP id p14so13025267wrd.10 for ; Tue, 26 Oct 2021 05:44:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OMEdcI/hbn/Vv9WhyQDYQUWYhT8IDo7OGh3m5+bU7Kc=; b=ba9VM/QlBq3XnGbZf3vPAJZRuyNO1jVyklibLjaDZ/urOAf8aVSQxQDm0rKOsn4Iuv 026CJMf4GBz2wGF91e/0YNFi7g+2HFx/3v/+ABlmFVzYCiiYFRd3NbVFdAbYNzxJCn2O rM5V2DPAzYu3WV4vBQjDYWYde1ZUxlOYBmZsBr7sR8iqp3b+TZ9Ux5AWjrE/ZNvNBRPJ uBGKwPBl/2sWZGZu6Jz+0zT790s8LRqxe8JN+sls7OcDEGLpBV33E7ilnug1ntMyOJXF 0RCOPwwmR5yQ9lsHjpCC12WrdDHVTx0WW8qlTdowTelcdIevs4Z86rIRC1Ct+CWy2Ud4 ID7g== X-Gm-Message-State: AOAM532OzzODgjt6JGoQkJFyNEki8AjfkkyXYhtRMaViKNRPaPj4gQO4 NLvt5aELe4wJYaAt8RHDgVAEB3oSUkTtSA== X-Google-Smtp-Source: ABdhPJyqz8lh2quekhs7GE2TQb/HiKJp9hMvalHgOtyNJXF8JY6ZLnLQtmxjfuv9vTXYi4saIQ/Kqw== X-Received: by 2002:adf:fd47:: with SMTP id h7mr28336393wrs.200.1635252279768; Tue, 26 Oct 2021 05:44:39 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:6b9e:385e:1583:4f40]) by smtp.gmail.com with ESMTPSA id n68sm496146wmn.13.2021.10.26.05.44.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 05:44:39 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 4/4] gcc/nios2: Define the musl linker Date: Tue, 26 Oct 2021 13:44:37 +0100 Message-Id: <20211026124437.3301773-4-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211026124437.3301773-1-richard.purdie@linuxfoundation.org> References: <20211026124437.3301773-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Richard Purdie via Gcc-patches From: Richard Purdie Reply-To: Richard Purdie Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Add a definition of the musl linker used on the nios2 platform. 2021-10-26 Richard Purdie gcc/ChangeLog: * config/nios2/linux.h (MUSL_DYNAMIC_LINKER): Add musl linker Signed-off-by: Richard Purdie --- gcc/config/nios2/linux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h index 08edf1521f6..15696d86241 100644 --- a/gcc/config/nios2/linux.h +++ b/gcc/config/nios2/linux.h @@ -30,6 +30,7 @@ #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1" #undef LINK_SPEC #define LINK_SPEC LINK_SPEC_ENDIAN \