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

Side by Side Diff: src/trusted/service_runtime/linux/arm/sel_segments.c

Issue 1485143002: arm: Make sel build with clang's built-in assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | 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 #include <stdint.h> 7 #include <stdint.h>
8 #include "native_client/src/trusted/service_runtime/sel_util.h" 8 #include "native_client/src/trusted/service_runtime/sel_util.h"
9 9
10 uint32_t NaClGetStackPtr(void) { 10 uint32_t NaClGetStackPtr(void) {
11 uint32_t sp; 11 uint32_t sp;
12 12
13 asm("mov %0, %%sp" : "=r" (sp)); 13 asm("mov %0, sp" : "=r" (sp));
14 14
15 return sp; 15 return sp;
16 } 16 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698