aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
diff options
context:
space:
mode:
authorSyrone Wong <wong.syrone@gmail.com>2020-07-08 06:46:22 +0800
committerPetr Štetiar <ynezz@true.cz>2020-07-11 13:33:28 +0200
commite027df97fc69dbdf0e770d5e3cf1f85228116ef9 (patch)
tree26c32970fa7bb36cd5d029414d5bc637159ce394 /toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
parentbf540f333ce6426b353d1f025455c1dfc0d089f6 (diff)
downloadupstream-e027df97fc69dbdf0e770d5e3cf1f85228116ef9.tar.gz
upstream-e027df97fc69dbdf0e770d5e3cf1f85228116ef9.tar.bz2
upstream-e027df97fc69dbdf0e770d5e3cf1f85228116ef9.zip
toolchain/gcc: Add GCC 10.1.0 patches
Compared to GCC 9: 870-ppc_no_crtsavres.patch changes moved to another file following upstream 881-no_tm_section.patch keep the tm section disabled patches refreshed to apply cleanly See https://gcc.gnu.org/gcc-10/porting_to.html for more info Compiled and run tested on x86_64 Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Diffstat (limited to 'toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch')
-rw-r--r--toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
index 18aa021b93..e3cb616c4e 100644
--- a/toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
@@ -11,7 +11,7 @@ Date: Wed Feb 2 19:34:36 2011 +0000
+++ b/gcc/config/arm/linux-eabi.h
@@ -91,10 +91,15 @@
#define MUSL_DYNAMIC_LINKER \
- "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}.so.1"
+ "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
+/* For armv4 we pass --fix-v4bx to linker to support EABI */
+#undef TARGET_FIX_V4BX_SPEC