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

Unified Diff: src/untrusted/irt/aeabi_read_tp.S

Issue 8826003: Modify ARM .S code so it can be processed by both gnu-as and llvm-mc. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years 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
« no previous file with comments | « src/trusted/service_runtime/nacl.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/aeabi_read_tp.S
===================================================================
--- src/untrusted/irt/aeabi_read_tp.S (revision 7372)
+++ src/untrusted/irt/aeabi_read_tp.S (working copy)
@@ -20,13 +20,12 @@
.p2align NACL_BLOCK_SHIFT
__aeabi_read_tp:
push {r1, r2, r3, lr}
-
- /*
- * Insert enough nops so the call is the last instruction in the bundle.
- */
- .rept ((NACL_BLOCK_SIZE - (. - __aeabi_read_tp)) / 4) - 1
nop
- .endr
+ nop
+ /* NOTE: The call must be last slot in the bundle.
+ * Consider using the pnacl specifc pseudo opcodes
+ * once we build this with llvm-mc only.
+ */
bl __nacl_read_tp
pop {r1, r2, r3, lr}
« no previous file with comments | « src/trusted/service_runtime/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698