mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Mark ELF's first symbol as format specific so that llvm-nm ignores it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186860 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1232,7 +1232,8 @@ error_code ELFObjectFile<ELFT>::getSymbolFlags(DataRefImpl Symb,
|
||||
Result |= SymbolRef::SF_Absolute;
|
||||
|
||||
if (symb->getType() == ELF::STT_FILE ||
|
||||
symb->getType() == ELF::STT_SECTION)
|
||||
symb->getType() == ELF::STT_SECTION ||
|
||||
Symb == begin_symbols()->getRawDataRefImpl())
|
||||
Result |= SymbolRef::SF_FormatSpecific;
|
||||
|
||||
if (getSymbolTableIndex(symb) == ELF::SHN_UNDEF)
|
||||
|
||||
Reference in New Issue
Block a user