blob: 2e65740ec0d25c75ce08cceca698034ed3852d46 [file] [log] [blame]
Andrew Geisslerc926e172021-05-07 16:11:35 -05001From 9bbce1b5a10caf636eee137e5a229e5434a6c8f5 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 Geisslerc926e172021-05-07 16:11:35 -050015index 08edf1521f6..15696d86241 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 \