1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-31 11:32:00 +00:00

Moved the segdefs module to ca65, since it was used only there and renamed it

to segdef, since there might be a new segdefs module in common soon.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5381 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-01-04 22:02:02 +00:00
parent ad88e77f43
commit 02cbc7da25
10 changed files with 24 additions and 24 deletions

View File

@ -55,6 +55,7 @@ OBJS = anonname.o \
pseudo.o \
repeat.o \
scanner.o \
segdef.o \
segment.o \
sizeof.o \
span.o \

View File

@ -88,6 +88,7 @@ OBJS = anonname.obj \
pseudo.obj \
repeat.obj \
scanner.obj \
segdef.obj \
segment.obj \
sizeof.obj \
span.obj \

View File

@ -1,15 +1,15 @@
/*****************************************************************************/
/* */
/* segdefs.c */
/* segdef.c */
/* */
/* Segment definitions for the bin65 binary utils */
/* Segment definitions for the ca65 assembler */
/* */
/* */
/* */
/* (C) 2002-2003 Ullrich von Bassewitz */
/* Römerstraße 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 1998-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@ -35,7 +35,9 @@
/* common */
#include "xmalloc.h"
#include "segdefs.h"
/* ca65 */
#include "segdef.h"
@ -78,4 +80,4 @@ SegDef* DupSegDef (const SegDef* Def)

View File

@ -1,15 +1,15 @@
/*****************************************************************************/
/* */
/* segdefs.h */
/* segdef.h */
/* */
/* Segment definitions for the bin65 binary utils */
/* Segment definitions for the ca65 assembler */
/* */
/* */
/* */
/* (C) 1998-2003 Ullrich von Bassewitz */
/* Römerstraße 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 1998-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@ -33,8 +33,8 @@
#ifndef SEGDEFS_H
#define SEGDEFS_H
#ifndef SEGDEF_H
#define SEGDEF_H
@ -77,7 +77,7 @@ SegDef* DupSegDef (const SegDef* D);
/* Duplicate a segment definition and return it */
/* End of segdefs.h */
#endif

View File

@ -42,10 +42,10 @@
#include "coll.h"
#include "fragdefs.h"
#include "inline.h"
#include "segdefs.h"
/* ca65 */
#include "fragment.h"
#include "segdef.h"

View File

@ -37,7 +37,6 @@ OBJS = abend.o \
mmodel.o \
print.o \
searchpath.o \
segdefs.o \
segnames.o \
shift.o \
strbuf.o \

View File

@ -79,7 +79,6 @@ OBJS = abend.obj \
mmodel.obj \
print.obj \
searchpath.obj \
segdefs.obj \
segnames.obj \
shift.obj \
strbuf.obj \

View File

@ -40,7 +40,6 @@
#include "check.h"
#include "coll.h"
#include "fragdefs.h"
#include "segdefs.h"
#include "xmalloc.h"
/* ld65 */

View File

@ -37,6 +37,7 @@
#include <string.h>
/* common */
#include "addrsize.h"
#include "alignment.h"
#include "check.h"
#include "coll.h"
@ -44,7 +45,6 @@
#include "fragdefs.h"
#include "hashfunc.h"
#include "print.h"
#include "segdefs.h"
#include "symdefs.h"
#include "xmalloc.h"
@ -105,7 +105,7 @@ static Segment* NewSegment (unsigned Name, unsigned char AddrSize)
S->ReadOnly = 0;
S->Dumped = 0;
S->BankRef = 0;
/* Insert the segment into the segment list and assign the segment id */
S->Id = CollCount (&SegmentList);
CollAppend (&SegmentList, S);

View File

@ -46,7 +46,6 @@
#include "objdefs.h"
#include "optdefs.h"
#include "scopedefs.h"
#include "segdefs.h"
#include "symdefs.h"
#include "xmalloc.h"