| From 9bbce1b5a10caf636eee137e5a229e5434a6c8f5 Mon Sep 17 00:00:00 2001 |
| From: Khem Raj <raj.khem@gmail.com> |
| Date: Tue, 2 Feb 2016 10:26:10 -0800 |
| Subject: [PATCH] nios2: Define MUSL_DYNAMIC_LINKER |
| |
| Upstream-Status: Pending |
| |
| Signed-off-by: Marek Vasut <marex@denx.de> |
| Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| --- |
| 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 \ |