summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2014-10-20 21:50:35 +0200
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2014-10-20 21:50:35 +0200
commit14b76f84cd0c55d9da6a231e9ae2a2afe2134f3d (patch)
tree48a325d4e9859637494e47dbebb626b7e52be689
parent39a9fab76ba2909436a935915481c93b8082c93a (diff)
downloadgcc-patches-14b76f84cd0c55d9da6a231e9ae2a2afe2134f3d.tar.gz
Adapt patch 18 to 4.9-2014.10
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--4.9/0018-use-android-specs-on-aarch64.patch10
1 files changed, 9 insertions, 1 deletions
diff --git a/4.9/0018-use-android-specs-on-aarch64.patch b/4.9/0018-use-android-specs-on-aarch64.patch
index 2c1c0f1..f58a852 100644
--- a/4.9/0018-use-android-specs-on-aarch64.patch
+++ b/4.9/0018-use-android-specs-on-aarch64.patch
@@ -8,12 +8,20 @@
#define CPP_SPEC "%{pthread:-D_REENTRANT}"
-@@ -35,15 +36,40 @@
+@@ -35,23 +36,48 @@
%{mbig-endian:-EB} %{mlittle-endian:-EL} \
-maarch64linux%{mabi=ilp32:32}%{mbig-endian:b}"
-#define LINK_SPEC LINUX_TARGET_LINK_SPEC
-
+ #define GNU_USER_TARGET_MATHFILE_SPEC \
+ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+ GNU_USER_TARGET_MATHFILE_SPEC " " \
+ GNU_USER_TARGET_ENDFILE_SPEC
+
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \