| commit | dc61925cf9de3cba7f310c9e8855c56b8e5b3edc | [log] [tgz] |
|---|---|---|
| author | John Porto <jpp@chromium.org> | Wed Feb 10 15:57:16 2016 -0800 |
| committer | John Porto <jpp@chromium.org> | Wed Feb 10 15:57:16 2016 -0800 |
| tree | 942b79d43196c2f4518534aeeb8705ac6d428d2d | |
| parent | e54e530e505a92a139f9dfbc1c2cd080eb61d17d [diff] [blame] |
Subzero. ARM32. Nonsfi. Adds nonsfi support to the ARM32 backend. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4076 R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1665263003 .
diff --git a/src/IceAssembler.cpp b/src/IceAssembler.cpp index 28851f9..88c35d7 100644 --- a/src/IceAssembler.cpp +++ b/src/IceAssembler.cpp
@@ -143,6 +143,12 @@ Buffer.size()); } +void Assembler::bindRelocOffset(RelocOffset *Offset) { + if (!getPreliminary()) { + Offset->setOffset(Buffer.getPosition()); + } +} + void Assembler::emitIASBytes(GlobalContext *Ctx) const { Ostream &Str = Ctx->getStrEmit(); intptr_t EndPosition = Buffer.size();