7b3702e2dd
Successfully tested both the gcc4 compiler on x86_64 with a simple program (fbdebug) and the gcc4-armhf cross-compiler to build a very old u-boot port for Galaxy Nexus (a MR will follow soon) which failed to boot with either newer version (6 and 8). [skip ci]: already went through
35 lines
1 KiB
Diff
35 lines
1 KiB
Diff
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 "\
|