forked from OSchip/llvm-project
Reverted r260879 as it caused test failures in lld.
llvm-svn: 260880
This commit is contained in:
parent
baec95a88c
commit
2c2a2f5119
|
@ -611,7 +611,7 @@ void MipsTargetELFStreamer::emitDirectiveEnd(StringRef Name) {
|
||||||
MCStreamer &OS = getStreamer();
|
MCStreamer &OS = getStreamer();
|
||||||
|
|
||||||
MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS,
|
MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS,
|
||||||
ELF::SHT_REL);
|
ELF::SHF_ALLOC | ELF::SHT_REL);
|
||||||
|
|
||||||
MCSymbol *Sym = Context.getOrCreateSymbol(Name);
|
MCSymbol *Sym = Context.getOrCreateSymbol(Name);
|
||||||
const MCSymbolRefExpr *ExprRef =
|
const MCSymbolRefExpr *ExprRef =
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
# OBJOUT: Section {
|
# OBJOUT: Section {
|
||||||
# OBJOUT: Name: .pdr
|
# OBJOUT: Name: .pdr
|
||||||
# OBJOUT: Type: SHT_PROGBITS (0x1)
|
# OBJOUT: Type: SHT_PROGBITS (0x1)
|
||||||
# OBJOUT: Flags [ (0x9)
|
# OBJOUT: Flags [ (0xB)
|
||||||
# OBJOUT-NOT: SHF_ALLOC (0x2)
|
# OBJOUT: SHF_ALLOC (0x2)
|
||||||
# OBJOUT: SHF_WRITE (0x1)
|
# OBJOUT: SHF_WRITE (0x1)
|
||||||
# OBJOUT: ]
|
# OBJOUT: ]
|
||||||
# OBJOUT: Size: 64
|
# OBJOUT: Size: 64
|
||||||
|
|
Loading…
Reference in New Issue