mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
Remove dead code. Fixes a GCC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
462aaeb178
commit
81cfb8529b
@ -505,10 +505,7 @@ void ELFObjectWriterImpl::RecordRelocation(const MCAssembler &Asm,
|
||||
|
||||
Value = Target.getConstant();
|
||||
|
||||
if (Target.isAbsolute()) {
|
||||
Type = Is64Bit ? ELF::R_X86_64_NONE : ELF::R_386_NONE;
|
||||
Index = 0;
|
||||
} else {
|
||||
if (!Target.isAbsolute()) {
|
||||
const MCSymbol *Symbol = &Target.getSymA()->getSymbol();
|
||||
MCSymbolData &SD = Asm.getSymbolData(*Symbol);
|
||||
const MCSymbolData *Base = Asm.getAtom(Layout, &SD);
|
||||
|
Loading…
Reference in New Issue
Block a user