[PATCH] [lld] ELF: Initial implementation for ARM static linking

Denis Protivensky dprotivensky at accesssoftek.com
Wed Nov 26 04:17:28 PST 2014


Hi,

The patch contains the skeleton code for ELF binary generation for ARM platform.
The code is "almost" able to statically link the simplest case of void main() { return 0; } sample.

Added all needed relocations, GOT and TLS handling.
Some of these may still be improper which causes segfaults.

NOTE: the tests are absent because there's no simple way to generate diff for binary files (which are used in tests by the linker).

Regards,
  Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf.arm.patch
Type: text/x-patch
Size: 58043 bytes
Desc: elf.arm.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141126/573b1ae8/attachment.bin>


More information about the llvm-commits mailing list