Skip to content

Commit

Permalink
Reverted r260879 as it caused test failures in lld.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260880 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ScottEgerton committed Feb 15, 2016
1 parent 77405b1 commit 894a6f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ void MipsTargetELFStreamer::emitDirectiveEnd(StringRef Name) {
MCStreamer &OS = getStreamer();

MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS,
ELF::SHT_REL);
ELF::SHF_ALLOC | ELF::SHT_REL);

MCSymbol *Sym = Context.getOrCreateSymbol(Name);
const MCSymbolRefExpr *ExprRef =
Expand Down
4 changes: 2 additions & 2 deletions test/MC/Mips/mips-pdr.s
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# OBJOUT: Section {
# OBJOUT: Name: .pdr
# OBJOUT: Type: SHT_PROGBITS (0x1)
# OBJOUT: Flags [ (0x9)
# OBJOUT-NOT: SHF_ALLOC (0x2)
# OBJOUT: Flags [ (0xB)
# OBJOUT: SHF_ALLOC (0x2)
# OBJOUT: SHF_WRITE (0x1)
# OBJOUT: ]
# OBJOUT: Size: 64
Expand Down

0 comments on commit 894a6f0

Please sign in to comment.