[Nix-dev] Re: [Nix-commits] SVN commit: nix - 18468 - NicolasPierron - nixpkgs/branches/stdenv-updates/pkgs/lib

Eelco Dolstra e.dolstra at tudelft.nl
Fri Nov 20 12:44:26 CET 2009


Hi,

Ludovic Courtès wrote:

> It’s the dynamic linker that actually parses the ELF file, etc., not the
> kernel.  See ld.so(1) on a GNU system, for instance.

The kernel also parses the ELF file because it has to get the ELF interpreter
field and then load the dynamic linker (which is also an ELF executable).
PatchELF even contains a workaround for a bug in the ELF handling code in the
Linux kernel :-)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list