From 3457c21572aaed60e16b6b0e53478bf9ba5c820f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 9 Dec 2008 03:37:32 +0000 Subject: Signed-off-by: Khem Raj 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 --- libpthread/nptl/sysdeps/pthread/pt-initfini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/pthread') 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\""); -- cgit v1.2.3