aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEli Bendersky <eliben@chromium.org>2012-10-31 10:56:50 -0700
committerEli Bendersky <eliben@chromium.org>2012-10-31 10:56:50 -0700
commit228957b28f4ebb833c7417aa1d773dc77721bb45 (patch)
tree2a04c295d9a9065057c87f2235d2c2029561290b /lib
parent5aad254469ae849ba380eaa46a7d2142ba234f6e (diff)
Remove align symbol injection by the assembler.
Step 2 of fixing the problem described in BUG #3115. BUG= http://code.google.com/p/nativeclient/issues/detail?id=3115 Review URL: https://codereview.chromium.org/11276064
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCParser/AsmParser.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp
index a1f0a2a885..d4ab2f07e8 100644
--- a/lib/MC/MCParser/AsmParser.cpp
+++ b/lib/MC/MCParser/AsmParser.cpp
@@ -585,13 +585,6 @@ bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
if (!NoInitialTextSection)
Out.InitSections();
- // @LOCALMOD-BEGIN
- // This is needed to make crtn compile, but do we really need this?
- // TODO(pdox): Figure out if there's a better way or place to define this.
- MCSymbol *Sym = getContext().GetOrCreateSymbol(StringRef("NACLENTRYALIGN"));
- Out.EmitAssignment(Sym, MCConstantExpr::Create(5, getContext()));
- // @LOCALMOD-END
-
// Prime the lexer.
Lex();