Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Unified Diff: lib/MC/MCNaCl.cpp

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/MC/MCNaCl.cpp
diff --git a/lib/MC/MCNaCl.cpp b/lib/MC/MCNaCl.cpp
index d2a404721d37052ca68c4d8c650fb7486c1de3ed..47979a407ea685228d57ed357fceb78f4c8937ce 100644
--- a/lib/MC/MCNaCl.cpp
+++ b/lib/MC/MCNaCl.cpp
@@ -62,8 +62,7 @@ void initializeNaClMCStreamer(MCStreamer &Streamer, MCContext &Ctx,
// Emit an ELF Note section in its own COMDAT group which identifies NaCl
// object files to the gold linker, so it can use the NaCl layout.
const MCSection *Note = Ctx.getELFSection(
- NoteName, ELF::SHT_NOTE, ELF::SHF_ALLOC | ELF::SHF_GROUP,
- SectionKind::getReadOnly(), 0, NoteName);
+ NoteName, ELF::SHT_NOTE, ELF::SHF_ALLOC | ELF::SHF_GROUP, 0, NoteName);
Streamer.PushSection();
Streamer.SwitchSection(Note);

Powered by Google App Engine
This is Rietveld 408576698