]> git.sur5r.net Git - cc65/commitdiff
Define default segment names
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 8 Feb 2003 09:37:42 +0000 (09:37 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 8 Feb 2003 09:37:42 +0000 (09:37 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1936 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/segdefs.h

index 2d4e4ba8e0686a8ef8d0cbe07039ba258db25a65..1390246ce7ba2a27f0a63d19fbab99a141e0e109 100644 (file)
 #define SEGTYPE_ZP     2
 #define SEGTYPE_FAR    3
 
+/* Default segment names */
+#define SEGNAME_NULL    "NULL"
+#define SEGNAME_ZP      "ZEROPAGE"
+#define SEGNAME_DATA    "DATA"
+#define SEGNAME_BSS     "BSS"
+#define SEGNAME_RODATA  "RODATA"
+#define SEGNAME_CODE    "CODE"
+
 /* Fragment types in the object file */
 #define FRAG_TYPEMASK  0x38            /* Mask the type of the fragment */
 #define FRAG_BYTEMASK   0x07           /* Mask for byte count */