[Glibc-bsd-commits] r2521 - trunk/glibc-ports

Aurelien Jarno aurel32 at alioth.debian.org
Sat May 23 13:40:57 UTC 2009


Author: aurel32
Date: 2009-05-23 13:40:56 +0000 (Sat, 23 May 2009)
New Revision: 2521

Added:
   trunk/glibc-ports/glibc-sysdeps-2.10.patch
Log:
Add patch for glibc 2.10


Added: trunk/glibc-ports/glibc-sysdeps-2.10.patch
===================================================================
--- trunk/glibc-ports/glibc-sysdeps-2.10.patch	                        (rev 0)
+++ trunk/glibc-ports/glibc-sysdeps-2.10.patch	2009-05-23 13:40:56 UTC (rev 2521)
@@ -0,0 +1,32 @@
+To be applied to the kfreebsd/ directory for glibc 2.10
+
+--- a/dl-osinfo.h
++++ b/dl-osinfo.h
+@@ -99,7 +99,7 @@
+   } while (0)
+ 
+ static inline uintptr_t __attribute__ ((always_inline))
+-_dl_setup_stack_chk_guard (void *dl_random)
++_dl_setup_stack_chk_guard (void)
+ {
+   uintptr_t ret;
+ #ifdef ENABLE_STACKGUARD_RANDOMIZE
+@@ -118,18 +118,3 @@
+   p[sizeof (ret) - 2] = '\n';
+   return ret;
+ }
+-
+-static inline uintptr_t __attribute__ ((always_inline))
+-_dl_setup_pointer_guard (void *dl_random, uintptr_t stack_chk_guard)
+-{
+-  uintptr_t ret;
+-
+-  ret = stack_chk_guard;
+-# ifndef HP_TIMING_NONAVAIL
+-  hp_timing_t now;
+-  HP_TIMING_NOW (now);
+-  ret ^= now;
+-# endif
+-  return ret;
+-}
+-




More information about the Glibc-bsd-commits mailing list