summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-02-17 16:49:55 -0800
committerKhem Raj <raj.khem@gmail.com>2010-02-17 16:50:57 -0800
commitf09e8e4ba639d236322e10130fbc19845f61d59a (patch)
tree5f738903c76ea01b16bf9ef90ae13ad225ad295f /libc
parentfad28cf83c815179bf4b9201e1a57bde3ce51a55 (diff)
Fix nptl build for mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/mips/sysdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sysdep.h b/libc/sysdeps/linux/mips/sysdep.h
index 0c30e20d7..56d159073 100644
--- a/libc/sysdeps/linux/mips/sysdep.h
+++ b/libc/sysdeps/linux/mips/sysdep.h
@@ -383,6 +383,9 @@ L(syse1):
#define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
"$14", "$15", "$24", "$25", "memory"
+/* Pointer mangling is not yet supported for MIPS. */
+#define PTR_MANGLE(var) (void) (var)
+#define PTR_DEMANGLE(var) (void) (var)
#endif /* __ASSEMBLER__ */
#endif /* _LINUX_MIPS_SYSDEP_H */