Re: source code of dynamic liner

From: Jeff Epler
Date: Mon Nov 30 2009 - 16:18:33 EST


The dynamic loader is part of userspace, so it is not an appropriate
topic for the linux-kernel mailing list.

Your Linux distribution probably includes tools for obtaining the
source package for any installed file. For instance, on Debian-derived
systems including Ubuntu, you can use dpkg-query and apt-get for these
tasks:

# Determine what binary package provides the file /lib/ld-linux.so.2
$ dpkg-query -S /lib/ld-linux.so.2
libc6: /lib/ld-linux.so.2

# Download and untar the related source package
$ apt-get source libc6
... (downloaded 14.5MB of files) ...
dpkg-source: extracting glibc in glibc-2.3.6
dpkg-source: unpacking glibc_2.3.6.orig.tar.gz
dpkg-source: applying ./glibc_2.3.6-0ubuntu20.5.diff.gz

Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/