aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBoris Bochkarev <[email protected]>2017-06-23 16:01:05 +0300
committerBoris Bochkarev <[email protected]>2017-06-23 18:47:04 +0300
commit42955cbdf3b4e2f378602e16cb373970d2ac5749 (patch)
tree6f5cfb6bae260df062d419144f52590df772f085 /erts
parentf52748254f17ba42e344798e8c787a1e3361fa33 (diff)
downloadotp-42955cbdf3b4e2f378602e16cb373970d2ac5749.tar.gz
otp-42955cbdf3b4e2f378602e16cb373970d2ac5749.tar.bz2
otp-42955cbdf3b4e2f378602e16cb373970d2ac5749.zip
Support e2k architecture
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in1
-rw-r--r--erts/emulator/beam/sys.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 830e3d7776..c2002f6899 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -640,6 +640,7 @@ case $chk_arch_ in
armv7l) ARCH=arm;;
armv7hl) ARCH=arm;;
tile) ARCH=tile;;
+ e2k) ARCH=e2k;;
*) ARCH=noarch;;
esac
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index d752ea4330..b87446b2fb 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -21,7 +21,7 @@
#ifndef __SYS_H__
#define __SYS_H__
-#if !defined(__GNUC__)
+#if !defined(__GNUC__) || defined(__e2k__)
# define ERTS_AT_LEAST_GCC_VSN__(MAJ, MIN, PL) 0
#elif !defined(__GNUC_MINOR__)
# define ERTS_AT_LEAST_GCC_VSN__(MAJ, MIN, PL) \