mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Remove getOrCreateSymbolData. There is no MCSymbolData anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,7 @@ void MipsELFStreamer::createPendingLabelRelocs() {
|
||||
if (ELFTargetStreamer->isMicroMipsEnabled()) {
|
||||
for (auto *L : Labels) {
|
||||
auto *Label = cast<MCSymbolELF>(L);
|
||||
getOrCreateSymbolData(Label);
|
||||
getAssembler().registerSymbol(*Label);
|
||||
// The "other" values are stored in the last 6 bits of the second byte.
|
||||
// The traditional defines for STO values assume the full byte and thus
|
||||
// the shift to pack it.
|
||||
|
||||
@@ -457,7 +457,7 @@ void MipsTargetELFStreamer::emitLabel(MCSymbol *S) {
|
||||
auto *Symbol = cast<MCSymbolELF>(S);
|
||||
if (!isMicroMipsEnabled())
|
||||
return;
|
||||
getStreamer().getOrCreateSymbolData(Symbol);
|
||||
getStreamer().getAssembler().registerSymbol(*Symbol);
|
||||
uint8_t Type = Symbol->getType();
|
||||
if (Type != ELF::STT_FUNC)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user