diff options
author | Khem Raj <kraj@mvista.com> | 2008-12-09 03:37:32 +0000 |
---|---|---|
committer | Khem Raj <kraj@mvista.com> | 2008-12-09 03:37:32 +0000 |
commit | 3457c21572aaed60e16b6b0e53478bf9ba5c820f (patch) | |
tree | 48bcf36bdbead8b85ae035f55437d91a47ab59c9 /libpthread/nptl/sysdeps/pthread/pt-initfini.c | |
parent | 8fa1c38997f005c90cb5828be149ab32496bcd40 (diff) | |
download | uClibc-alpine-3457c21572aaed60e16b6b0e53478bf9ba5c820f.tar.bz2 uClibc-alpine-3457c21572aaed60e16b6b0e53478bf9ba5c820f.tar.xz |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch makes mips nptl port compile again
Replace remaining instances of asm by __asm__ and volatile by __volatile__
include bits/errno.h instead of obsolete bits/errno_values.h
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pt-initfini.c')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/pt-initfini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pt-initfini.c b/libpthread/nptl/sysdeps/pthread/pt-initfini.c index 1e35edd3e..5955a7efc 100644 --- a/libpthread/nptl/sysdeps/pthread/pt-initfini.c +++ b/libpthread/nptl/sysdeps/pthread/pt-initfini.c @@ -40,7 +40,7 @@ /* We use embedded asm for .section unconditionally, as this makes it easier to insert the necessary directives into crtn.S. */ -#define SECTION(x) asm (".section " x ) +#define SECTION(x) __asm__ (".section " x ) /* Embed an #include to pull in the alignment and .end directives. */ asm ("\n#include \"defs.h\""); |