OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1daaa
)
some (all?) archs don't define asm, so use builtin __asm__
author
Austin Foxley
<austinf@cetoncorp.com>
Mon, 17 May 2010 14:15:24 +0000
(07:15 -0700)
committer
Austin Foxley
<austinf@cetoncorp.com>
Mon, 17 May 2010 14:15:24 +0000
(07:15 -0700)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libc/misc/internals/__uClibc_main.c
patch
|
blob
|
history
diff --git
a/libc/misc/internals/__uClibc_main.c
b/libc/misc/internals/__uClibc_main.c
index
4ee4443
..
a98d92a
100644
(file)
--- 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 */
);