]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove obsolete SHLIB_COMPAT conditionalization in Versions files.
authorRoland McGrath <roland@hack.frob.com>
Sat, 22 Feb 2014 09:19:45 +0000 (01:19 -0800)
committerRoland McGrath <roland@hack.frob.com>
Sat, 22 Feb 2014 09:19:45 +0000 (01:19 -0800)
ChangeLog
Makerules
hurd/Versions
mach/Versions

index 7bf701318fe9bc42dcac6c31f0bbc2e682d02692..a9fe7a5cbcc3ac3e0675dde916fb01a1a0e55732 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2014-02-22  Roland McGrath  <roland@hack.frob.com>
 
+       * Makerules ($(common-objpfx)Versions.v.i): No longer depend
+       on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
+       Versions files is now verboten.
+       * hurd/Versions (libc: GLIBC_2.0):
+       Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
+       (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
+       [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
+       * mach/Versions: Likewise.
+
        * csu/Versions: Remove unused %include.
        * resolv/Versions: Likewise.
 
index 59b28f7e360eb3d07c60e6d09afbcee6d106341a..c2324366df5a8d4e66e7b87248f2f614d335bcb0 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -311,7 +311,6 @@ $(common-objpfx)Versions.all: $(..)scripts/firstversions.awk \
 # See %.v/%.v.i implicit rules in Makeconfig.
 $(common-objpfx)Versions.v.i: $(wildcard $(subdirs:%=$(..)%/Versions)) \
                              $(wildcard $(sysdirs:%=%/Versions)) \
-                             $(common-objpfx)abi-versions.h \
                              $(sysd-versions-force)
 $(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
                               $(common-objpfx)Versions.v \
index 83c8ab182604302d354f486f4919e9abc7313be9..77f5b4271e08a527e405f68421b51e7975ac1a40 100644 (file)
@@ -1,32 +1,5 @@
-%define SHARED
-%include <shlib-compat.h>
-
 libc {
   GLIBC_2.0 {
-%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-    # These few symbols are here only for binary compatibility
-    # with the pre-versioning libc.so.0.2 ABI.  Their replacements
-    # are in the GLIBC_2.1 version set.  When the soname changes,
-    # these can be removed.
-    __getuids;
-    __hurd_file_name_lookup;
-    _hurd_proc_init; _hurd_umask;
-%endif
-
-    # These go into a different version set if GLIBC_2.0 compatibility
-    # is not required.  See below.
-%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
-    # variables used for detecting cthreads
-    _cthread_exit_routine; _cthread_init_routine;
-
-    # cthreads functions with stubs in libc
-    cthread_keycreate; cthread_getspecific; cthread_setspecific;
-    __libc_getspecific;
-
-    # weak refs to libthreads functions that libc calls iff libthreads in use
-    cthread_fork; cthread_detach;
-%endif
-
     # necessary for the Hurd brk implementation
     _end;
 
@@ -157,7 +130,6 @@ libc {
     __errno_location;
   }
 
-%if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
   HURD_CTHREADS_0.3 {
     # weak refs to libthreads functions that libc calls iff libthreads in use
     cthread_fork; cthread_detach;
@@ -169,5 +141,4 @@ libc {
     cthread_keycreate; cthread_getspecific; cthread_setspecific;
     __libc_getspecific;
   }
-%endif
 }
index 18ec511d912dd615d569c002741913e36d764f81..45260c7c0afad81f12f3d7b34ecf2ec98aeccae0 100644 (file)
@@ -1,27 +1,11 @@
-%define SHARED
-%include <shlib-compat.h>
-
 libc {
   GLIBC_2.0 {
-%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-    # This symbol is here only for binary compatibility with the
-    # pre-versioning libc.so.0.2 ABI.  When the soname changes,
-    # it can be removed.
-    __vm_allocate;
-%endif
-
     # variables used in Mach-specific macros
     __mach_task_self_;
     __vm_page_size;
 
     # functions used in inline functions and macros
     __mach_port_deallocate; __mach_thread_self;
-%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
-    __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock;
-    __mutex_unlock; __mutex_unlock_solid;
-    __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock;
-    __spin_unlock;
-%endif
 
     # functions used by RPC stubs
     __mach_msg; __mach_msg_overwrite;
@@ -71,12 +55,10 @@ libc {
     mig_strncpy;
   }
 
-%if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
   HURD_CTHREADS_0.3 {
     __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock;
     __mutex_unlock; __mutex_unlock_solid;
     __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock;
     __spin_unlock;
   }
-%endif
 }