File: local-pthread_once.diff

package info (click to toggle)
glibc 2.42-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 311,572 kB
  • sloc: ansic: 1,060,594; asm: 238,093; makefile: 20,949; python: 13,508; sh: 11,823; cpp: 5,188; awk: 1,794; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (52 lines) | stat: -rw-r--r-- 2,159 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Note: Keep the 2.41 symbol until we rebuild packages against the 2.42
symbol.

Index: glibc-upstream/sysdeps/htl/pt-once.c
===================================================================
--- glibc-upstream.orig/sysdeps/htl/pt-once.c
+++ glibc-upstream/sysdeps/htl/pt-once.c
@@ -58,5 +58,8 @@ libc_hidden_def (__pthread_once)
 versioned_symbol (libc, __pthread_once, pthread_once, GLIBC_2_42);
 
 #if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_42)
+compat_symbol (libpthread, __pthread_once, pthread_once, GLIBC_2_41);
+#endif
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_42)
 compat_symbol (libpthread, __pthread_once, pthread_once, GLIBC_2_12);
 #endif
Index: glibc-upstream/sysdeps/mach/hurd/i386/libc.abilist
===================================================================
--- glibc-upstream.orig/sysdeps/mach/hurd/i386/libc.abilist
+++ glibc-upstream/sysdeps/mach/hurd/i386/libc.abilist
@@ -2588,6 +2588,7 @@ GLIBC_2.41 pthread_mutexattr_setpshared
 GLIBC_2.41 pthread_mutexattr_setrobust F
 GLIBC_2.41 pthread_mutexattr_setrobust_np F
 GLIBC_2.41 pthread_mutexattr_settype F
+GLIBC_2.41 pthread_once F
 GLIBC_2.41 pthread_sigmask F
 GLIBC_2.42 __inet_ntop_chk F
 GLIBC_2.42 __inet_pton_chk F
Index: glibc-upstream/sysdeps/mach/hurd/x86_64/libc.abilist
===================================================================
--- glibc-upstream.orig/sysdeps/mach/hurd/x86_64/libc.abilist
+++ glibc-upstream/sysdeps/mach/hurd/x86_64/libc.abilist
@@ -2271,6 +2271,7 @@ GLIBC_2.41 pthread_mutexattr_setpshared
 GLIBC_2.41 pthread_mutexattr_setrobust F
 GLIBC_2.41 pthread_mutexattr_setrobust_np F
 GLIBC_2.41 pthread_mutexattr_settype F
+GLIBC_2.41 pthread_once F
 GLIBC_2.41 pthread_sigmask F
 GLIBC_2.42 __inet_ntop_chk F
 GLIBC_2.42 __inet_pton_chk F
Index: glibc-upstream/htl/Versions
===================================================================
--- glibc-upstream.orig/htl/Versions
+++ glibc-upstream/htl/Versions
@@ -148,6 +148,7 @@ libc {
     pthread_mutexattr_setpshared;
     pthread_mutexattr_setrobust; pthread_mutexattr_setrobust_np;
     pthread_mutexattr_settype;
+    pthread_once;
     pthread_sigmask;
   }