Add FORCE Z14
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 31 Jan 2019 20:15:50 +0000 (21:15 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Jan 2019 20:15:50 +0000 (21:15 +0100)
from patch provided by aarnez in #991

getarch.c

index d03ce6e..242d080 100644 (file)
--- a/getarch.c
+++ b/getarch.c
@@ -1085,6 +1085,16 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define CORENAME  "Z13"
 #endif
 
+#ifdef FORCE_Z14
+#define FORCE
+#define ARCHITECTURE    "ZARCH"
+#define SUBARCHITECTURE "Z14"
+#define ARCHCONFIG   "-DZ14 " \
+       "-DDTB_DEFAULT_ENTRIES=64"
+#define LIBNAME   "z14"
+#define CORENAME  "Z14"
+#endif
+
 #ifndef FORCE
 
 #ifdef USER_TARGET