1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
2013-04-01 Magnus Granberg <zorry@gentoo.org>
* gcc/config/mips/gnu-user.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC.
* gcc/config/mips/gnu-user64.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC.
* gcc/config/mips/mips.h (SUBTARGET_EXTRA_SPECS): Add ESP_EXTRA_SPECS.
--- a/gcc/config/mips/gnu-user.h 2013-01-10 21:38:27.000000000 +0100
+++ b/gcc/config/mips/gnu-user.h 2013-03-10 22:37:33.743176388 +0100
@@ -125,9 +125,16 @@ extern const char *host_detect_local_cpu
"%{mabi=64:%{!msym32:%<mplt}}"
#undef DRIVER_SELF_SPECS
+#ifdef ENABLE_ESP
#define DRIVER_SELF_SPECS \
BASE_DRIVER_SELF_SPECS, \
+ ESP_DRIVER_SELF_SPEC, \
LINUX_DRIVER_SELF_SPECS
+# else
+#define DRIVER_SELF_SPECS \
+ BASE_DRIVER_SELF_SPECS, \
+ LINUX_DRIVER_SELF_SPECS
+#endif
/* Similar to standard Linux, but adding -ffast-math support. */
#undef GNU_USER_TARGET_MATHFILE_SPEC
--- a/gcc/config/mips/gnu-user64.h 2013-01-10 21:38:27.000000000 +0100
+++ b/gcc/config/mips/gnu-user64.h 2013-03-10 22:32:11.209166777 +0100
@@ -26,9 +26,16 @@ along with GCC; see the file COPYING3.
" %{!mabi=*: -" MULTILIB_ABI_DEFAULT "}"
#undef DRIVER_SELF_SPECS
+#ifdef ENABLE_ESP
#define DRIVER_SELF_SPECS \
BASE_DRIVER_SELF_SPECS, \
+ ESP_DRIVER_SELF_SPEC, \
LINUX64_DRIVER_SELF_SPECS
+# else
+#define DRIVER_SELF_SPECS \
+ BASE_DRIVER_SELF_SPECS, \
+ LINUX64_DRIVER_SELF_SPECS
+#endif
#undef GNU_USER_TARGET_LINK_SPEC
#define GNU_USER_TARGET_LINK_SPEC "\
--- a/gcc/config/mips/mips.h 2013-01-10 21:38:27.000000000 +0100
+++ b/gcc/config/mips/mips.h 2013-03-24 16:59:01.474513910 +0100
@@ -1197,9 +1197,13 @@ struct mips_cpu_info {
SUBTARGET_EXTRA_SPECS
#ifndef SUBTARGET_EXTRA_SPECS
+#ifdef ENABLE_ESP
+#define SUBTARGET_EXTRA_SPECS ESP_EXTRA_SPECS
+#else
#define SUBTARGET_EXTRA_SPECS
#endif
-
+#endif
+
#define DBX_DEBUGGING_INFO 1 /* generate stabs (OSF/rose) */
#define DWARF2_DEBUGGING_INFO 1 /* dwarf2 debugging info */
|