1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-29 17:56:21 +00:00

Show weak symbols in od65

This commit is contained in:
James-Adam Renquinha Henri 2019-04-07 23:12:26 -04:00
parent bb62011a59
commit 1ba81c952e

View File

@ -221,6 +221,10 @@ static const char* GetExportFlags (unsigned Flags, const unsigned char* ConDes)
case SYM_EXPR: strcat (TypeDesc, ",SYM_EXPR"); break;
}
/* Is the symbol weak? */
if (Flags & SYM_MASK_WEAK) {
strcat (TypeDesc, ",SYM_WEAK");
}
/* Size available? */
if (SYM_HAS_SIZE (Flags)) {
strcat (TypeDesc, ",SYM_SIZE");