mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Object/COFF: Support common symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b1671bae7
commit
11ba26db13
@ -226,7 +226,9 @@ error_code COFFObjectFile::getSymbolNMTypeChar(DataRefImpl Symb,
|
||||
if (symb->StorageClass == COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL) {
|
||||
Result = 'w';
|
||||
return object_error::success; // Don't do ::toupper.
|
||||
} else
|
||||
} else if (symb->Value != 0) // Check for common symbols.
|
||||
ret = 'c';
|
||||
else
|
||||
ret = 'u';
|
||||
break;
|
||||
case COFF::IMAGE_SYM_ABSOLUTE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user