[llvm] r260880 - Reverted r260879 as it caused test failures in lld.
Scott Egerton via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 15 02:04:38 PST 2016
Author: s.egerton
Date: Mon Feb 15 04:04:38 2016
New Revision: 260880
URL: http://llvm.org/viewvc/llvm-project?rev=260880&view=rev
Log:
Reverted r260879 as it caused test failures in lld.
Modified:
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm/trunk/test/MC/Mips/mips-pdr.s
Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp?rev=260880&r1=260879&r2=260880&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp Mon Feb 15 04:04:38 2016
@@ -611,7 +611,7 @@ void MipsTargetELFStreamer::emitDirectiv
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 =
Modified: llvm/trunk/test/MC/Mips/mips-pdr.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips-pdr.s?rev=260880&r1=260879&r2=260880&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips-pdr.s (original)
+++ llvm/trunk/test/MC/Mips/mips-pdr.s Mon Feb 15 04:04:38 2016
@@ -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
More information about the llvm-commits
mailing list