Chromium Code Reviews| 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 |