Fixed up support for the gbz80 such that it will at least run (and fail badly) the...
[fw/sdcc] / device / include / asm / gbz80 / features.h
index 8abaeb3fa84bbdbcb743cbe10e9c2edddc7d117f..28866ec106a089d9ec4c815da1fd9a1f53a0b899 100644 (file)
@@ -1,9 +1,19 @@
-/** GBZ80 specific features.
+/** Z80 specific features.
  */
-#ifndef __SDC51_ASM_GBZ80_FEATURES_H
-#define __SDC51_ASM_GBZ80_FEATURES_H   1
+#ifndef __SDC51_ASM_Z80_FEATURES_H
+#define __SDC51_ASM_Z80_FEATURES_H   1
 
 #define _REENTRANT
 #define _CODE
 
+#define _SDCC_MANGLES_SUPPORT_FUNS     1
+#define _SDCC_Z80_STYLE_LIB_OPT                1
+
+/* The following are disabled to make the dhrystone test more authentic.
+ */
+#define _SDCC_PORT_PROVIDES_MEMCPY     1
+#define _SDCC_PORT_PROVIDES_STRCMP     1
+/* Register allocator is as good as hand coded asm.  Cool. */
+#define _SDCC_PORT_PROVIDES_STRCPY     0
+
 #endif