Extend the object code format by adding a (currently empty) scope table.
Use the address size for import, export and debug symbols (object code change). More changes to support the --memory-model switch and address sizes. git-svn-id: svn://svn.cc65.org/cc65/trunk@2691 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -56,8 +56,10 @@ typedef enum {
|
||||
/* Memory model in use */
|
||||
extern mmodel_t MemoryModel;
|
||||
|
||||
|
||||
|
||||
/* Address sizes for the segments */
|
||||
extern unsigned char CodeAddrSize;
|
||||
extern unsigned char DataAddrSize;
|
||||
extern unsigned char ZpAddrSize;
|
||||
|
||||
|
||||
|
||||
@@ -70,6 +72,11 @@ extern mmodel_t MemoryModel;
|
||||
mmodel_t FindMemoryModel (const char* Name);
|
||||
/* Find a memory model by name. Return MMODEL_UNKNOWN for an unknown name. */
|
||||
|
||||
void SetMemoryModel (mmodel_t Model);
|
||||
/* Set the memory model updating the MemoryModel variables and the address
|
||||
* sizes for the segments.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* End of mmodel.h */
|
||||
|
||||
Reference in New Issue
Block a user