mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Object, COFF: Cleanup symbol type code, improve binutils compatibility
Do a better job classifying symbols. This increases the consistency between the COFF handling code and the ELF side of things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -857,7 +857,7 @@ void COFFDumper::printSymbol(const SymbolRef &Sym) {
|
||||
W.printHex("PointerToLineNumber", Aux->PointerToLinenumber);
|
||||
W.printHex("PointerToNextFunction", Aux->PointerToNextFunction);
|
||||
|
||||
} else if (Symbol.isWeakExternal()) {
|
||||
} else if (Symbol.isAnyUndefined()) {
|
||||
const coff_aux_weak_external *Aux;
|
||||
if (error(getSymbolAuxData(Obj, Symbol, I, Aux)))
|
||||
break;
|
||||
|
Reference in New Issue
Block a user