This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Head build fix for PTR_MANGLE
- From: Daniel Jacobowitz <drow at false dot org>
- To: libc-ports at sourceware dot org
- Date: Tue, 23 Jan 2007 11:47:57 -0500
- Subject: Head build fix for PTR_MANGLE
There's unconditional uses of these now.
--
Daniel Jacobowitz
CodeSourcery
2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
Define.
2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
Index: sysdeps/unix/sysv/linux/arm/sysdep.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h,v
retrieving revision 1.31
diff -u -p -r1.31 sysdep.h
--- sysdeps/unix/sysv/linux/arm/sysdep.h 21 Sep 2006 18:39:51 -0000 1.31
+++ sysdeps/unix/sysv/linux/arm/sysdep.h 23 Jan 2007 16:45:44 -0000
@@ -286,4 +286,8 @@ __local_syscall_error: \
#endif /* __ASSEMBLER__ */
+/* Pointer mangling is not yet supported for ARM. */
+#define PTR_MANGLE(var) (void) (var)
+#define PTR_DEMANGLE(var) (void) (var)
+
#endif /* linux/arm/sysdep.h */
Index: sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h,v
retrieving revision 1.4
diff -u -p -r1.4 sysdep.h
--- sysdeps/unix/sysv/linux/mips/mips32/sysdep.h 28 Mar 2005 09:17:26 -0000 1.4
+++ sysdeps/unix/sysv/linux/mips/mips32/sysdep.h 23 Jan 2007 16:45:44 -0000
@@ -289,4 +289,8 @@
#endif /* __ASSEMBLER__ */
+/* Pointer mangling is not yet supported for MIPS. */
+#define PTR_MANGLE(var) (void) (var)
+#define PTR_DEMANGLE(var) (void) (var)
+
#endif /* linux/mips/mips32/sysdep.h */
Index: sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h,v
retrieving revision 1.6
diff -u -p -r1.6 sysdep.h
--- sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h 3 Mar 2006 01:06:47 -0000 1.6
+++ sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h 23 Jan 2007 16:45:44 -0000
@@ -245,4 +245,8 @@
"$14", "$15", "$24", "$25", "memory"
#endif /* __ASSEMBLER__ */
+/* Pointer mangling is not yet supported for MIPS. */
+#define PTR_MANGLE(var) (void) (var)
+#define PTR_DEMANGLE(var) (void) (var)
+
#endif /* linux/mips/sysdep.h */
Index: sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h,v
retrieving revision 1.6
diff -u -p -r1.6 sysdep.h
--- sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h 3 Mar 2006 01:06:47 -0000 1.6
+++ sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h 23 Jan 2007 16:45:44 -0000
@@ -245,4 +245,8 @@
"$14", "$15", "$24", "$25", "memory"
#endif /* __ASSEMBLER__ */
+/* Pointer mangling is not yet supported for MIPS. */
+#define PTR_MANGLE(var) (void) (var)
+#define PTR_DEMANGLE(var) (void) (var)
+
#endif /* linux/mips/sysdep.h */