Let the linker generate a new symbol __NAME_FILEOFFS__ that contains the
offset of a memory area in the output file. Partially based on a contribution by David M. Lloyd, david.lloyd@redhat.com. git-svn-id: svn://svn.cc65.org/cc65/trunk@5351 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -63,6 +63,7 @@ struct MemoryArea {
|
||||
unsigned Name; /* Name index of the memory area */
|
||||
unsigned Attr; /* Which values are valid? */
|
||||
unsigned Flags; /* Set of bitmapped flags */
|
||||
unsigned long FileOffs; /* Offset in output file */
|
||||
struct ExprNode* StartExpr; /* Expression for start address */
|
||||
unsigned long Start; /* Start address */
|
||||
struct ExprNode* SizeExpr; /* Expression for size */
|
||||
|
||||
Reference in New Issue
Block a user