about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-09-12 12:24:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-09-12 12:24:00 +0000
commitc729e7c13a7bc5ddec6fcaf82712aeff530e0d78 (patch)
tree63daa28a90d84e440a9e7d0841a2b89d8b4659e2 /sysdeps/mach/hurd
parentdc932a24d91eb13c570e82e12f7aba049431dc37 (diff)
downloadglibc-c729e7c13a7bc5ddec6fcaf82712aeff530e0d78.tar.gz
glibc-c729e7c13a7bc5ddec6fcaf82712aeff530e0d78.tar.xz
glibc-c729e7c13a7bc5ddec6fcaf82712aeff530e0d78.zip
Move OS-specific shlib-versions entries to sysdeps files.
This patch moves OS-specific entries in the top-level shlib-versions
file to appropriate sysdeps directories.  I left the entries in
nptl/shlib-versions and nptl_db/shlib-versions unchanged; I think it
can be for those doing non-Linux NPTL-using ports to figure out
whether those entries should actually be OS-independent or should move
to sysdeps.

Given these two patches, I think the only further change needed before
the first column of shlib-versions can be eliminated will be changing
sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions to use %ifdef
to distinguish BE and LE configurations, instead of relying on the
powerpc64-.*-linux.* and powerpc.*le-.*-linux.* patterns.

Tested on x86_64 that the installed shared libraries are unchanged by
this patch.

	* shlib-versions: Remove OS-specific entries.  Moved to files in
	sysdeps.
	* sysdeps/mach/hurd/shlib-versions: New file.
	* sysdeps/unix/sysv/linux/shlib-versions: Likewise.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/shlib-versions12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/shlib-versions b/sysdeps/mach/hurd/shlib-versions
new file mode 100644
index 0000000000..f79c6331b5
--- /dev/null
+++ b/sysdeps/mach/hurd/shlib-versions
@@ -0,0 +1,12 @@
+.*-.*-gnu-gnu.*		DEFAULT			GLIBC_2.2.6
+
+.*-.*-gnu-gnu.*		libm=6
+
+# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
+.*-.*-gnu-gnu.*		libmachuser=1
+
+# libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
+.*-.*-gnu-gnu.*		libhurduser=0.3
+
+# libc.so.0.3 is the first Hurd libc using libio.
+.*-.*-gnu-gnu.*		libc=0.3