This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-alpha at sourceware dot org
- Date: Sat, 21 Apr 2012 09:17:25 +0000 (UTC)
- Subject: Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions
The file sysdeps/unix/sysv/Versions only defines a single symbol
version, for sysinfo. This syscall is defined in
sysdeps/unix/sysv/linux/syscalls.list and there are no other
definitions of this function in glibc. So
sysdeps/unix/sysv/linux/Versions seems a more appropriate place to
define this symbol version, making sysdeps/unix/sysv/Versions
redundant.
I propose this patch to move the symbol version to
sysdeps/unix/sysv/linux/Versions and remove
sysdeps/unix/sysv/Versions. Tested x86_64.
2012-04-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
* sysdeps/unix/sysv/Versions: Remove file.
diff --git a/sysdeps/unix/sysv/Versions b/sysdeps/unix/sysv/Versions
deleted file mode 100644
index bdb8ba8..0000000
--- a/sysdeps/unix/sysv/Versions
+++ /dev/null
@@ -1,5 +0,0 @@
-libc {
- GLIBC_2.0 {
- sysinfo;
- }
-}
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index f9647be..16bb281 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -51,7 +51,7 @@ libc {
setfsgid; setfsuid;
# s*
- setresgid; setresuid; swapoff; swapon; sysctl;
+ setresgid; setresuid; swapoff; swapon; sysctl; sysinfo;
# u*
umount; uselib;
--
Joseph S. Myers
joseph@codesourcery.com