mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Remove dead code. Fixes a GCC warning.
llvm-svn: 111271
This commit is contained in:
parent
16dd681b0e
commit
5756afebba
@ -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