summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/6.2.0/xtensa-musl.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-24 22:24:38 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-24 22:25:08 +0200
commit9683c207c75e5bc6513b1e8db6bdc2ed4c3db1f5 (patch)
tree510da161ad9e89032f4df8738ca26ad0a2d6b33d /toolchain/gcc/patches/6.2.0/xtensa-musl.patch
parent9c15da431e4f1c8faf9bf747578b2c6b6c4d7d02 (diff)
gcc: update to 6.2.0, cleanup symbol names to simplify minor updates
Remove old versions of gcc no longer used or regulary tested. We concentrate on the latest three major versions for most of the architectures.
Diffstat (limited to 'toolchain/gcc/patches/6.2.0/xtensa-musl.patch')
-rw-r--r--toolchain/gcc/patches/6.2.0/xtensa-musl.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/6.2.0/xtensa-musl.patch b/toolchain/gcc/patches/6.2.0/xtensa-musl.patch
new file mode 100644
index 000000000..fa00abbfa
--- /dev/null
+++ b/toolchain/gcc/patches/6.2.0/xtensa-musl.patch
@@ -0,0 +1,27 @@
+From 8f018dd26d3d9992fc32f6ce04492572312d2790 Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Tue, 22 Mar 2016 16:07:24 +0300
+Subject: [PATCH] xtensa: support musl
+
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+ gcc/config/xtensa/linux.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/gcc/config/xtensa/linux.h b/gcc/config/xtensa/linux.h
+index 6ecb153..a41ef96 100644
+--- a/gcc/config/xtensa/linux.h
++++ b/gcc/config/xtensa/linux.h
+@@ -48,6 +48,9 @@ along with GCC; see the file COPYING3. If not see
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
+
++#undef MUSL_DYNAMIC_LINKER
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-xtensa.so.1"
++
+ #undef LINK_SPEC
+ #define LINK_SPEC \
+ "%{shared:-shared} \
+--
+2.1.4
+