summaryrefslogtreecommitdiffstats
path: root/initramfs/uclib-rootfs/usr
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-05-29 03:43:00 +0200
committerSebastian Schmelzer2009-05-29 03:43:00 +0200
commit03f23c065757a37f63fa90f21b354a3d938f98bb (patch)
treed44d88c58922f260b7a2973f89babec6dd865357 /initramfs/uclib-rootfs/usr
parentupdate to uclibc 0.9.30.1 II (diff)
downloadcore-03f23c065757a37f63fa90f21b354a3d938f98bb.tar.gz
core-03f23c065757a37f63fa90f21b354a3d938f98bb.tar.xz
core-03f23c065757a37f63fa90f21b354a3d938f98bb.zip
force svn to add missing libs ..
TODO: why are they matched by svn:ignore ?! git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2901 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/uclib-rootfs/usr')
-rwxr-xr-xinitramfs/uclib-rootfs/usr/lib/libz.so11
1 files changed, 11 insertions, 0 deletions
diff --git a/initramfs/uclib-rootfs/usr/lib/libz.so b/initramfs/uclib-rootfs/usr/lib/libz.so
new file mode 100755
index 00000000..97779630
--- /dev/null
+++ b/initramfs/uclib-rootfs/usr/lib/libz.so
@@ -0,0 +1,11 @@
+/* GNU ld script
+ Since Gentoo has critical dynamic libraries in /lib, and the static versions
+ in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
+ run into linking problems. This "fake" dynamic lib is a linker script that
+ redirects the linker to the real lib. And yes, this works in the cross-
+ compiling scenario as the sysroot-ed linker will prepend the real path.
+
+ See bug http://bugs.gentoo.org/4411 for more info.
+ */
+OUTPUT_FORMAT ( elf32-i386 )
+GROUP ( /lib/libz.so )