From: cuz Date: Sat, 8 Feb 2003 09:40:01 +0000 (+0000) Subject: Use default segment name definitions X-Git-Tag: V2.12.0~1750 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c5ba2bea5171cb3aa5c29a496047a877ee1f0ae;p=cc65 Use default segment name definitions git-svn-id: svn://svn.cc65.org/cc65/trunk@1938 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/objcode.c b/src/ca65/objcode.c index f4429c6ff..13dfd7069 100644 --- a/src/ca65/objcode.c +++ b/src/ca65/objcode.c @@ -83,12 +83,12 @@ struct Segment { { prev, 0, 0, num, 0, 0, segdef } /* Definitions for predefined segments */ -SegDef NullSegDef = STATIC_SEGDEF_INITIALIZER ("NULL", SEGTYPE_ABS); -SegDef ZeropageSegDef = STATIC_SEGDEF_INITIALIZER ("ZEROPAGE", SEGTYPE_ZP); -SegDef DataSegDef = STATIC_SEGDEF_INITIALIZER ("DATA", SEGTYPE_ABS); -SegDef BssSegDef = STATIC_SEGDEF_INITIALIZER ("BSS", SEGTYPE_ABS); -SegDef RODataSegDef = STATIC_SEGDEF_INITIALIZER ("RODATA", SEGTYPE_ABS); -SegDef CodeSegDef = STATIC_SEGDEF_INITIALIZER ("CODE", SEGTYPE_ABS); +SegDef NullSegDef = STATIC_SEGDEF_INITIALIZER (SEGNAME_NULL, SEGTYPE_ABS); +SegDef ZeropageSegDef = STATIC_SEGDEF_INITIALIZER (SEGNAME_ZEROPAGE, SEGTYPE_ZP); +SegDef DataSegDef = STATIC_SEGDEF_INITIALIZER (SEGNAME_DATA, SEGTYPE_ABS); +SegDef BssSegDef = STATIC_SEGDEF_INITIALIZER (SEGNAME_BSS, SEGTYPE_ABS); +SegDef RODataSegDef = STATIC_SEGDEF_INITIALIZER (SEGNAME_RODATA, SEGTYPE_ABS); +SegDef CodeSegDef = STATIC_SEGDEF_INITIALIZER (SEGNAME_CODE, SEGTYPE_ABS); /* Predefined segments */ static Segment NullSeg = SEG (&NullSegDef, 5, NULL);