[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2649 - glibc-package/branches/glibc-2.7/debian/patches/alpha



Author: madcoder
Date: 2007-11-02 00:16:34 +0000 (Fri, 02 Nov 2007)
New Revision: 2649

Modified:
   glibc-package/branches/glibc-2.7/debian/patches/alpha/submitted-PTR_MANGLE.diff
Log:
We shall not define those in the assembly case.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>


Modified: glibc-package/branches/glibc-2.7/debian/patches/alpha/submitted-PTR_MANGLE.diff
===================================================================
--- glibc-package/branches/glibc-2.7/debian/patches/alpha/submitted-PTR_MANGLE.diff	2007-11-01 23:42:11 UTC (rev 2648)
+++ glibc-package/branches/glibc-2.7/debian/patches/alpha/submitted-PTR_MANGLE.diff	2007-11-02 00:16:34 UTC (rev 2649)
@@ -45,7 +45,7 @@
  #endif /* ASSEMBLER */
 --- glibc-2.7.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h
 +++ glibc-2.7/sysdeps/unix/sysv/linux/alpha/sysdep.h
-@@ -98,4 +98,44 @@
+@@ -98,4 +98,46 @@
  	INTERNAL_SYSCALL1(name, err_out, nr, args);			\
  })
  
@@ -85,8 +85,10 @@
 +# endif
 +#else
 +/* Pointer mangling is not yet supported for static libc on alpha.  */
-+# define PTR_MANGLE(var)   (void) (var)
-+# define PTR_DEMANGLE(var) (void) (var)
++# ifndef __ASSEMBLER__
++#  define PTR_MANGLE(var)   (void) (var)
++#  define PTR_DEMANGLE(var) (void) (var)
++# endif
 +#endif
 +
  #endif /* _LINUX_ALPHA_SYSDEP_H */



Reply to: