diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2014-10-20 21:50:35 +0200 |
---|---|---|
committer | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2014-10-20 21:50:35 +0200 |
commit | 14b76f84cd0c55d9da6a231e9ae2a2afe2134f3d (patch) | |
tree | 48a325d4e9859637494e47dbebb626b7e52be689 | |
parent | 39a9fab76ba2909436a935915481c93b8082c93a (diff) | |
download | gcc-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.patch | 10 |
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 \ { \ |