blob: 3cd75b718373b26be82c56fb06ddd60a28402bb4 [file] [log] [blame]
Andrew Geisslerc182c622020-05-15 14:13:32 -05001From 4e53d0ae70af85af0e112a48a3e4dfe4c39f4a8d Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 2 Feb 2016 10:26:10 -0800
Andrew Geisslerc182c622020-05-15 14:13:32 -05004Subject: [PATCH] nios2: Define MUSL_DYNAMIC_LINKER
Andrew Geissler82c905d2020-04-13 13:39:40 -05005
6Upstream-Status: Pending
7
8Signed-off-by: Marek Vasut <marex@denx.de>
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 gcc/config/nios2/linux.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h
Andrew Geisslerc182c622020-05-15 14:13:32 -050015index 4bdcdcca1f0..e7943a9d640 100644
Andrew Geissler82c905d2020-04-13 13:39:40 -050016--- a/gcc/config/nios2/linux.h
17+++ b/gcc/config/nios2/linux.h
18@@ -30,6 +30,7 @@
19 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
20
21 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1"
22+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1"
23
24 #undef LINK_SPEC
25 #define LINK_SPEC LINK_SPEC_ENDIAN \