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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * nacl-clang does not use the .init/.fini mechanism at all.
9 */
10 #if !defined(__clang__)
11 /*
8 * The .init section needs to be finished by a function return. 12 * The .init section needs to be finished by a function return.
9 */ 13 */
10 .section .init 14 .section .init
11 .p2align NACLENTRYALIGN,0x90 15 .p2align NACLENTRYALIGN,0x90
12 16
13 leave 17 leave
14 naclret 18 naclret
15 19
16 .p2align NACLENTRYALIGN,0xf4 20 .p2align NACLENTRYALIGN,0xf4
17 21
18 /* 22 /*
19 * The .fini section needs to be finished by a function return. 23 * The .fini section needs to be finished by a function return.
20 */ 24 */
21 .section .fini 25 .section .fini
22 .p2align NACLENTRYALIGN,0x90 26 .p2align NACLENTRYALIGN,0x90
23 27
24 leave 28 leave
25 naclret 29 naclret
26 30 #endif
27 .p2align NACLENTRYALIGN,0xf4 31 .p2align NACLENTRYALIGN,0xf4
OLDNEW
« 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