|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
#
|
|
|
# Filename: package/.../gcc/35_all_gcc48_config_arm.patch
|
|
|
# Copyright (C) 2015 The OpenSDE Project
|
|
|
#
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
#
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
# version.
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
2013-06-03 Magnus Granberg <zorry@gentoo.org>
|
|
|
|
|
|
* gcc/config/arm/arm.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC.
|
|
|
* gcc/config/arm/elf.h (SUBSUBTARGET_EXTRA_SPECS): Add ESP_EXTRA_SPECS.
|
|
|
|
|
|
--- a/gcc/config/arm/arm.h 2013-01-15 17:17:28.000000000 +0100
|
|
|
+++ b/gcc/config/arm/arm.h 2013-02-18 22:45:18.327284928 +0100
|
|
|
@@ -2326,6 +2326,11 @@ extern const char *host_detect_local_cpu
|
|
|
# define MCPU_MTUNE_NATIVE_SPECS ""
|
|
|
#endif
|
|
|
|
|
|
-#define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
|
|
|
-
|
|
|
+#ifdef ENABLE_ESP
|
|
|
+# define DRIVER_SELF_SPECS \
|
|
|
+ MCPU_MTUNE_NATIVE_SPECS, \
|
|
|
+ ESP_DRIVER_SELF_SPEC
|
|
|
+#else
|
|
|
+# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
|
|
|
+#endif
|
|
|
#endif /* ! GCC_ARM_H */
|
|
|
--- a/gcc/config/arm/elf.h 2013-01-10 21:38:27.000000000 +0100
|
|
|
+++ b/gcc/config/arm/elf.h 2013-05-19 02:15:49.595855825 +0200
|
|
|
@@ -49,7 +49,11 @@
|
|
|
#endif
|
|
|
|
|
|
#undef SUBSUBTARGET_EXTRA_SPECS
|
|
|
+#ifdef ENABLE_ESP
|
|
|
+#define SUBSUBTARGET_EXTRA_SPECS ESP_EXTRA_SPECS
|
|
|
+#else
|
|
|
#define SUBSUBTARGET_EXTRA_SPECS
|
|
|
+#endif
|
|
|
|
|
|
#ifndef ASM_SPEC
|
|
|
#define ASM_SPEC "\
|