summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-20 13:54:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-20 13:54:22 +0000
commit6ae4479190a2d73cad047eab6e86d4a71323329b (patch)
tree40df6769e9f06c5c5709fd0bb8c6833ed3a1f0d8 /toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch
parent15aa6d1a164a54a75aaae3656f47e3c692c36c79 (diff)
downloadmaster-31e0f0ae-6ae4479190a2d73cad047eab6e86d4a71323329b.tar.gz
master-31e0f0ae-6ae4479190a2d73cad047eab6e86d4a71323329b.tar.bz2
master-31e0f0ae-6ae4479190a2d73cad047eab6e86d4a71323329b.zip
gcc: drop version 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48395
Diffstat (limited to 'toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch')
-rw-r--r--toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch b/toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch
deleted file mode 100644
index f39ff52468..0000000000
--- a/toolchain/gcc/patches/4.8-linaro/201-musl_arm.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/gcc/config/arm/linux-eabi.h
-+++ b/gcc/config/arm/linux-eabi.h
-@@ -77,6 +77,23 @@
- %{mfloat-abi=soft*:" GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "} \
- %{!mfloat-abi=*:" GLIBC_DYNAMIC_LINKER_DEFAULT "}"
-
-+/* For ARM musl currently supports four dynamic linkers:
-+ - ld-musl-arm.so.1 - for the EABI-derived soft-float ABI
-+ - ld-musl-armhf.so.1 - for the EABI-derived hard-float ABI
-+ - ld-musl-armeb.so.1 - for the EABI-derived soft-float ABI, EB
-+ - ld-musl-armebhf.so.1 - for the EABI-derived hard-float ABI, EB
-+ musl does not support the legacy OABI mode.
-+ All the dynamic linkers live in /lib.
-+ We default to soft-float, EL. */
-+#undef MUSL_DYNAMIC_LINKER
-+#if TARGET_BIG_ENDIAN_DEFAULT
-+#define MUSL_DYNAMIC_LINKER_E "%{mlittle-endian:;:eb}"
-+#else
-+#define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:eb}"
-+#endif
-+#define MUSL_DYNAMIC_LINKER \
-+ "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}.so.1"
-+
- /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
- use the GNU/Linux version, not the generic BPABI version. */
- #undef LINK_SPEC
---- a/libitm/config/arm/hwcap.cc
-+++ b/libitm/config/arm/hwcap.cc
-@@ -40,7 +40,11 @@ int GTM_hwcap HIDDEN = 0
-
- #ifdef __linux__
- #include <unistd.h>
-+#ifdef __GLIBC__
- #include <sys/fcntl.h>
-+#else
-+#include <fcntl.h>
-+#endif
- #include <elf.h>
-
- static void __attribute__((constructor))