#include "check.h"
#include "coll.h"
#include "scanner.h"
+#include "segnames.h"
#include "xmalloc.h"
/* cc65 */
void InitSegNames (void)
/* Initialize the segment names */
{
- SegmentNames [SEG_BSS] = xstrdup ("BSS");
- SegmentNames [SEG_CODE] = xstrdup ("CODE");
- SegmentNames [SEG_DATA] = xstrdup ("DATA");
- SegmentNames [SEG_RODATA] = xstrdup ("RODATA");
+ SegmentNames [SEG_BSS] = xstrdup (SEGNAME_BSS);
+ SegmentNames [SEG_CODE] = xstrdup (SEGNAME_CODE);
+ SegmentNames [SEG_DATA] = xstrdup (SEGNAME_DATA);
+ SegmentNames [SEG_RODATA] = xstrdup (SEGNAME_RODATA);
}