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:
@@ -7,7 +7,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* R<>merstrasse 52 */
|
||||
/* R<>merstra<EFBFBD>e 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
@@ -46,10 +46,10 @@
|
||||
|
||||
/* Defines for magic and version */
|
||||
#define OBJ_MAGIC 0x616E7A55
|
||||
#define OBJ_VERSION 0x000A
|
||||
#define OBJ_VERSION 0x000B
|
||||
|
||||
/* Size of an object file header */
|
||||
#define OBJ_HDR_SIZE (20*4)
|
||||
#define OBJ_HDR_SIZE (22*4)
|
||||
|
||||
/* Flag bits */
|
||||
#define OBJ_FLAGS_DBGINFO 0x0001 /* File has debug info */
|
||||
@@ -80,6 +80,8 @@ struct ObjHeader {
|
||||
unsigned long StrPoolSize; /* 32: Size of string pool */
|
||||
unsigned long AssertOffs; /* 32: Offset to assertion table */
|
||||
unsigned long AssertSize; /* 32: Size of assertion table */
|
||||
unsigned long ScopeOffs; /* 32: Offset into scope table */
|
||||
unsigned long ScopeSize; /* 32: Size of scope table */
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user