Reworked and improved the SYMBOLS section. The old syntax (using symbol =
value) is now gone, attributes are used instead. The SYMBOLS section does now support imports, so the linker config can be used to force symbols (and therefore module) imports. Evaluation of start address and size for memory areas has been delayed even further, so it is now possible to use the values from one memory area in the definition of the next one. git-svn-id: svn://svn.cc65.org/cc65/trunk@4851 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -122,9 +122,15 @@ typedef enum {
|
||||
CFGTOK_CONDES,
|
||||
CFGTOK_STARTADDRESS,
|
||||
|
||||
CFGTOK_ADDRSIZE,
|
||||
CFGTOK_VALUE,
|
||||
|
||||
CFGTOK_WEAK,
|
||||
|
||||
CFGTOK_ABS,
|
||||
CFGTOK_FAR,
|
||||
CFGTOK_LONG,
|
||||
|
||||
CFGTOK_SEGMENT,
|
||||
CFGTOK_LABEL,
|
||||
CFGTOK_COUNT,
|
||||
@@ -158,7 +164,13 @@ extern cfgtok_t CfgTok;
|
||||
extern StrBuf CfgSVal;
|
||||
extern unsigned long CfgIVal;
|
||||
|
||||
/* Error location */
|
||||
/* Error location. PLEASE NOTE: I'm abusing the FilePos structure to some
|
||||
* degree. It is used mostly to hold a file position, where the Name member
|
||||
* is an index into the source file table of an object file. As used in config
|
||||
* file processing, the Name member is a string pool index instead. This is
|
||||
* distinguished by the object file pointer being NULL or not in the structs
|
||||
* where this is relevant.
|
||||
*/
|
||||
extern FilePos CfgErrorPos;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user