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

Unified Diff: src/assembler.cpp

Issue 1027593002: Subzero: Support non-IRT immediate calls with -filetype=iasm. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 9 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
« pydir/szbuild.py ('K') | « src/IceFixups.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.cpp
diff --git a/src/assembler.cpp b/src/assembler.cpp
index d131426d30c1ba598819dd6c1831179eb3496177..931998e2b72c73dae1732b32d0aa9df2b0a53e67 100644
--- a/src/assembler.cpp
+++ b/src/assembler.cpp
@@ -136,9 +136,9 @@ void Assembler::emitIASBytes(GlobalContext *Ctx) const {
Str << "\n";
}
Str << "\t.long ";
- NextFixup->emit(Ctx);
+ NextFixup->emit(Ctx, buffer_.Load<RelocOffsetT>(NextFixupLoc));
if (fixupIsPCRel(NextFixup->kind()))
- Str << " - (. + " << FixupSize << ")";
+ Str << " - .";
Str << "\n";
CurPosition = NextFixupLoc + FixupSize;
assert(CurPosition <= EndPosition);
« pydir/szbuild.py ('K') | « src/IceFixups.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698