[cfe-dev] Clang builds a working Linux Kernel (Boots to RL5 with SMP, networking and X, self hosts)
Sylvere Teissier
st at invia.fr
Wed Oct 27 07:11:16 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27/10/2010 14:53, Rafael EspĂndola wrote:
>> Now that LLVM is supposedly able to emit ELF object files without assistance from external tools, what is holding back llvm-ld from being used to produce the final executable? Is llvm-ld a priority of the MC subproject?
>
> LLVM should be able to produce .o files now. To produce .so and
> executable files it needs to be able implement the relocations instead
> of just listing them. To replace the system linker you will also need
> to be able to read ELF and implement support for linker scripts.
>
Yes ! And before writing a linker you need a low-level library that
manipulate and do abstraction of binary objects formats.
For example in gnu ld it's called "libbfd".
An alternative to "libbfd" for llvm project is proposed by bigcheese here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-September/034412.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMyDMDAAoJENlXRqSDmxB9/fAH+wYOV6WTTn+YOCJJQ+Sv0aJc
YTr2lygEcp+IyJcIPV3OPqpbCkydtSVuroefd4IANKG3ekOFq15DY2VyolFQvN7E
d9/d+fICWdoBaaMRV8v3QSqtSYaLDD5zxh8w0fDu920Y0Oennco235gLDMDSrpiz
UVVpWtKR/4W1NhPditC4TMJ8uHDq45NonuNEbN4V7CnexhWSoKcI1Slvz5ugplXp
nWzqrZXHgahKbRxniC6thqMc1xwC3U6H2qOo2ctbfleU1+PMQrM7EG0kM0n5fHzY
A3FB83pPfv4EyyT+ZrYArjnxJUytsb8Y1uw+mP0Oq9jr+jFIJS5IqrIZhKLJmck=
=zHck
-----END PGP SIGNATURE-----
More information about the cfe-dev
mailing list