Bladeren bron

fix nptl build for sparc

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 15 jaren geleden
bovenliggende
commit
397c0e4873
2 gewijzigde bestanden met toevoegingen van 5 en 2 verwijderingen
  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"