diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2010-05-17 07:15:24 -0700 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-05-17 07:15:24 -0700 |
commit | 02b44fe054665a21351fa5840b75ac585085618c (patch) | |
tree | f3a9427c160e3404455b270764d97af1e788f7f6 /libc | |
parent | 6f1daaaf2d94c1e6184add44eda38b0781b88cf0 (diff) |
some (all?) archs don't define asm, so use builtin __asm__
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 4ee44439f..a98d92a8c 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -109,7 +109,7 @@ _pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer *__buffer, static __always_inline int not_null_ptr(const void *p) { const void *q; - asm ("" + __asm__ ("" : "=r" (q) /* output */ : "0" (p) /* input */ ); |