瀏覽代碼

fix nptl build for sparc

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 15 年之前
父節點
當前提交
397c0e4873
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 5 1
      libc/sysdeps/linux/sparc/sysdep.h
  2. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h

+ 5 - 1
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

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h

@@ -1 +0,0 @@
-#include "../i386/not-cancel.h"