Index: tests/exception_test/direction_flag_x86.S |
diff --git a/tests/exception_test/direction_flag_x86.S b/tests/exception_test/direction_flag_x86.S |
index ea92ddede2978115406cfbdb3c82a268649fdfc8..d62695cc673cc22592fb9c772deb669ae96e848a 100644 |
--- a/tests/exception_test/direction_flag_x86.S |
+++ b/tests/exception_test/direction_flag_x86.S |
@@ -48,7 +48,11 @@ get_x86_direction_flag: |
setb %al |
add $4, %esp |
+#if defined(__native_client_nonsfi__) |
+ ret |
+#else |
naclret |
+#endif |
#else |
# error Unknown platform |