diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2010-02-17 16:54:59 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-02-17 16:55:05 -0800 |
commit | 397c0e487350873287499529be351c750c422fc3 (patch) | |
tree | c5dd80530f3a6e40f62642bd6cf200236439afa6 | |
parent | 44f3864ffcf205930a0cf7e553ab91f2cb01d02d (diff) |
fix nptl build for sparc
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r-- | libc/sysdeps/linux/sparc/sysdep.h | 6 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/sysdep.h b/libc/sysdeps/linux/sparc/sysdep.h index 230efe941..cf3e3afd1 100644 --- a/libc/sysdeps/linux/sparc/sysdep.h +++ b/libc/sysdeps/linux/sparc/sysdep.h @@ -60,6 +60,10 @@ ENTRY(name); \ END(name) -#endif +#endif /* __ASSEMBLER__ */ + +/* Pointer mangling is not yet supported for SPARC. */ +#define PTR_MANGLE(var) (void) (var) +#define PTR_DEMANGLE(var) (void) (var) #endif diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h deleted file mode 100644 index acf1a617e..000000000 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h +++ /dev/null @@ -1 +0,0 @@ -#include "../i386/not-cancel.h" |