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

Unified Diff: src/untrusted/stubs/crtn_x86_32.S

Issue 639113003: Add nacl-clang testing to SCons (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: ncbray comment Created 6 years, 2 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
« no previous file with comments | « src/untrusted/stubs/crti_x86_64.S ('k') | src/untrusted/stubs/crtn_x86_64.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/stubs/crtn_x86_32.S
diff --git a/src/untrusted/stubs/crtn_x86_32.S b/src/untrusted/stubs/crtn_x86_32.S
index 2d2d279dd21f8cfa5b95e4384a0dc4bcbfa9747a..3c53e44ebbedae8f215b41e24d3d0cfefae48989 100644
--- a/src/untrusted/stubs/crtn_x86_32.S
+++ b/src/untrusted/stubs/crtn_x86_32.S
@@ -5,6 +5,10 @@
*/
/*
+ * nacl-clang does not use the .init/.fini mechanism at all.
+ */
+#if !defined(__clang__)
+ /*
* The .init section needs to be finished by a function return.
*/
.section .init
@@ -23,5 +27,5 @@
leave
naclret
-
+#endif
.p2align NACLENTRYALIGN,0xf4
« no previous file with comments | « src/untrusted/stubs/crti_x86_64.S ('k') | src/untrusted/stubs/crtn_x86_64.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698