New DefAddrSize variable

git-svn-id: svn://svn.cc65.org/cc65/trunk@2679 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-11-23 21:38:54 +00:00
parent 2863d55ebd
commit eb7fc320cc
3 changed files with 12 additions and 6 deletions

View File

@@ -271,9 +271,9 @@ void SymImport (SymEntry* S, unsigned char AddrSize, unsigned Flags)
return;
}
/* Map a default address size to a real value */
/* If no address size is given, use the default address size */
if (AddrSize == ADDR_SIZE_DEFAULT) {
AddrSize = SymAddrSize (S);
AddrSize = DefAddrSize;
}
/* If the symbol is marked as import or global, check the symbol flags,