r4785 - glibc-package/trunk/debian/patches/powerpc
Author: aurel32
Date: 2011-07-03 23:55:12 +0000 (Sun, 03 Jul 2011)
New Revision: 4785
Modified:
glibc-package/trunk/debian/patches/powerpc/submitted-ifunc.diff
Log:
Fix patches/powerpc/submitted-ifunc.diff for 2.13 version
Modified: glibc-package/trunk/debian/patches/powerpc/submitted-ifunc.diff
===================================================================
--- glibc-package/trunk/debian/patches/powerpc/submitted-ifunc.diff 2011-07-03 23:46:29 UTC (rev 4784)
+++ glibc-package/trunk/debian/patches/powerpc/submitted-ifunc.diff 2011-07-03 23:55:12 UTC (rev 4785)
@@ -19,10 +19,10 @@
/* Type used for the representation of TLS information in the TOC. */
typedef struct
-@@ -50,3 +52,5 @@ extern void *__tls_get_addr (tls_index *ti);
-
- /* Value used for dtv entries for which the allocation is delayed. */
- #define TLS_DTV_UNALLOCATED ((void *) -1l)
+@@ -47,3 +49,5 @@
+ # define GET_ADDR_OFFSET (ti->ti_offset + TLS_DTV_OFFSET)
+ # define __TLS_GET_ADDR(__ti) (__tls_get_addr (__ti) - TLS_DTV_OFFSET)
+ #endif
+
+#endif /* dl-tls.h */
diff --git a/sysdeps/powerpc/powerpc64/dl-irel.h b/sysdeps/powerpc/powerpc64/dl-irel.h
Reply to: