mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-15 19:19:36 +00:00
Record in a MCSymbolELF if it has been used in a relocation.
No functionality change, just saves an on the side map. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -77,4 +77,13 @@ unsigned MCSymbolELF::getOther() const {
|
||||
unsigned Other = (getFlags() & (0x3f << ELF_STO_Shift)) >> ELF_STO_Shift;
|
||||
return Other;
|
||||
}
|
||||
|
||||
void MCSymbolELF::setUsedInReloc() const {
|
||||
UsedInReloc = true;
|
||||
}
|
||||
|
||||
bool MCSymbolELF::isUsedInReloc() const {
|
||||
return UsedInReloc;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user