File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ $os = Haiku if ($data =~ /OS_HAIKU/);
84
84
85
85
$architecture = x 86 if ($data =~ / ARCH_X86/ );
86
86
$architecture = x86_64 if ($data =~ / ARCH_X86_64/ );
87
+ $architecture = e2k if ($data =~ / ARCH_E2K/ );
87
88
$architecture = power if ($data =~ / ARCH_POWER/ );
88
89
$architecture = mips if ($data =~ / ARCH_MIPS/ );
89
90
$architecture = mips64 if ($data =~ / ARCH_MIPS64/ );
@@ -124,6 +125,11 @@ if ($architecture eq "zarch") {
124
125
$binary = 64;
125
126
}
126
127
128
+ if ($architecture eq " e2k" ) {
129
+ $defined = 1;
130
+ $binary = 64;
131
+ }
132
+
127
133
if ($architecture eq " alpha" ) {
128
134
$defined = 1;
129
135
$binary = 64;
@@ -223,6 +229,7 @@ if (($architecture eq "mips") || ($architecture eq "mips64")) {
223
229
224
230
$architecture = x 86 if ($data =~ / ARCH_X86/ );
225
231
$architecture = x86_64 if ($data =~ / ARCH_X86_64/ );
232
+ $architecture = e2k if ($data =~ / ARCH_E2K/ );
226
233
$architecture = power if ($data =~ / ARCH_POWER/ );
227
234
$architecture = mips if ($data =~ / ARCH_MIPS/ );
228
235
$architecture = mips64 if ($data =~ / ARCH_MIPS64/ );
Original file line number Diff line number Diff line change @@ -165,3 +165,7 @@ ARCH_LOONGARCH64
165
165
HAVE_C11
166
166
#endif
167
167
168
+ #if defined(__e2k__ )
169
+ ARCH_E2K
170
+ #endif
171
+
You can’t perform that action at this time.
0 commit comments