]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- dropped/outdated
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 3 Aug 2007 16:24:14 +0000 (16:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc-ctype-compat.patch -> 1.2

glibc-ctype-compat.patch [deleted file]

diff --git a/glibc-ctype-compat.patch b/glibc-ctype-compat.patch
deleted file mode 100644 (file)
index ab624d1..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-glibc 2.3.x changes some symbols (__ctype_b, __ctype_toupper, 
-__ctype_tolower) as hidden attribute. These symbols that are
-crashing the old 2.2.x dynamic linking code in static binaries
-are now exported. This patch is originally pulled from RedHat.
-
---- glibc/ctype/ctype-info.c   28 Sep 2002 20:36:35 -0000      1.1.1.9
-+++ glibc/ctype/ctype-info.c   29 Sep 2002 11:38:50 -0000      1.4
-@@ -48,18 +48,32 @@ extern const char _nl_C_LC_CTYPE_class_a
- #define b(t,x,o) (((const t *) _nl_C_LC_CTYPE_##x) + o)
-+// const unsigned short int *__ctype_b = b (unsigned short int, class, 128);
-+// const __uint32_t *__ctype32_b = b (__uint32_t, class32, 0);
-+// const __int32_t *__ctype_tolower = b (__int32_t, tolower, 128);
-+// const __int32_t *__ctype_toupper = b (__int32_t, toupper, 128);
-+// const __uint32_t *__ctype32_tolower = b (__uint32_t, tolower, 128);
-+// const __uint32_t *__ctype32_toupper = b (__uint32_t, toupper, 128);
-+
-+// compat_symbol (libc, __ctype_b, __ctype_b, GLIBC_2_0);
-+// compat_symbol (libc, __ctype_tolower, __ctype_tolower, GLIBC_2_0);
-+// compat_symbol (libc, __ctype_toupper, __ctype_toupper, GLIBC_2_0);
-+// compat_symbol (libc, __ctype32_b, __ctype32_b, GLIBC_2_0);
-+// compat_symbol (libc, __ctype32_tolower, __ctype32_tolower, GLIBC_2_2);
-+// compat_symbol (libc, __ctype32_toupper, __ctype32_toupper, GLIBC_2_2);
-+
-+#endif
-+
-+/* Temporarily exported until all .a libraries are recompiled.  */
-+#undef b
-+#define b(t,x,o) (((const t *) _nl_C_LC_CTYPE_##x) + o)
-+extern const char _nl_C_LC_CTYPE_class[] attribute_hidden;
-+extern const char _nl_C_LC_CTYPE_class32[] attribute_hidden;
-+extern const char _nl_C_LC_CTYPE_toupper[] attribute_hidden;
-+extern const char _nl_C_LC_CTYPE_tolower[] attribute_hidden;
- const unsigned short int *__ctype_b = b (unsigned short int, class, 128);
- const __uint32_t *__ctype32_b = b (__uint32_t, class32, 0);
- const __int32_t *__ctype_tolower = b (__int32_t, tolower, 128);
- const __int32_t *__ctype_toupper = b (__int32_t, toupper, 128);
- const __uint32_t *__ctype32_tolower = b (__uint32_t, tolower, 128);
- const __uint32_t *__ctype32_toupper = b (__uint32_t, toupper, 128);
--
--compat_symbol (libc, __ctype_b, __ctype_b, GLIBC_2_0);
--compat_symbol (libc, __ctype_tolower, __ctype_tolower, GLIBC_2_0);
--compat_symbol (libc, __ctype_toupper, __ctype_toupper, GLIBC_2_0);
--compat_symbol (libc, __ctype32_b, __ctype32_b, GLIBC_2_0);
--compat_symbol (libc, __ctype32_tolower, __ctype32_tolower, GLIBC_2_2);
--compat_symbol (libc, __ctype32_toupper, __ctype32_toupper, GLIBC_2_2);
--
--#endif
---- glibc-2.3.1-cygnus/locale/lc-ctype.c       28 Sep 2002 20:37:14 -0000      1.1.1.8
-+++ glibc-2.3.1-redhat/locale/lc-ctype.c       29 Sep 2002 11:38:51 -0000      1.5
-@@ -75,18 +75,32 @@ _nl_postload_ctype (void)
-      We need those relocations so that a versioned definition with a COPY
-      reloc in an executable will override the libc.so definition.  */
--compat_symbol (libc, __ctype_b, __ctype_b, GLIBC_2_0);
--compat_symbol (libc, __ctype_tolower, __ctype_tolower, GLIBC_2_0);
--compat_symbol (libc, __ctype_toupper, __ctype_toupper, GLIBC_2_0);
--compat_symbol (libc, __ctype32_b, __ctype32_b, GLIBC_2_0);
--compat_symbol (libc, __ctype32_tolower, __ctype32_tolower, GLIBC_2_2);
--compat_symbol (libc, __ctype32_toupper, __ctype32_toupper, GLIBC_2_2);
-+// compat_symbol (libc, __ctype_b, __ctype_b, GLIBC_2_0);
-+// compat_symbol (libc, __ctype_tolower, __ctype_tolower, GLIBC_2_0);
-+// compat_symbol (libc, __ctype_toupper, __ctype_toupper, GLIBC_2_0);
-+// compat_symbol (libc, __ctype32_b, __ctype32_b, GLIBC_2_0);
-+// compat_symbol (libc, __ctype32_tolower, __ctype32_tolower, GLIBC_2_2);
-+// compat_symbol (libc, __ctype32_toupper, __ctype32_toupper, GLIBC_2_2);
-+//  __ctype_b = current (uint16_t, CLASS, 128);
-+//  __ctype_toupper = current (uint32_t, TOUPPER, 128);
-+//  __ctype_tolower = current (uint32_t, TOLOWER, 128);
-+//  __ctype32_b = current (uint32_t, CLASS32, 0);
-+//  __ctype32_toupper = current (uint32_t, TOUPPER32, 0);
-+//  __ctype32_tolower = current (uint32_t, TOLOWER32, 0);
-+#endif
-+
-+  /* Temporary.  */
-+  extern __const unsigned short int *__ctype_b; /* Characteristics.  */
-+  extern __const __int32_t *__ctype_tolower; /* Case conversions.  */
-+  extern __const __int32_t *__ctype_toupper; /* Case conversions.  */
-+  extern const uint32_t *__ctype32_b;
-+  extern const uint32_t *__ctype32_toupper;
-+  extern const uint32_t *__ctype32_tolower;
-   __ctype_b = current (uint16_t, CLASS, 128);
-   __ctype_toupper = current (uint32_t, TOUPPER, 128);
-   __ctype_tolower = current (uint32_t, TOLOWER, 128);
-   __ctype32_b = current (uint32_t, CLASS32, 0);
-   __ctype32_toupper = current (uint32_t, TOUPPER32, 0);
-   __ctype32_tolower = current (uint32_t, TOLOWER32, 0);
--#endif
- }
This page took 0.074155 seconds and 4 git commands to generate.