hanchenye-llvm-project/lld/ELF
Igor Kudrin 2f610d5e13 [ELF/AArch64] Accept -m aarch64linux.
This option is passed by clang driver if the target triple
is "aarch64-unknown-linux".

Differential Revision: http://reviews.llvm.org/D14831

llvm-svn: 253639
2015-11-20 02:48:53 +00:00
..
CMakeLists.txt ELF2: Implement --gc-sections. 2015-10-22 18:49:53 +00:00
Config.h [ELF2] - Implemented PT_GNU_STACK support, -z execstack option. 2015-11-14 20:56:08 +00:00
Driver.cpp [ELF/AArch64] Accept -m aarch64linux. 2015-11-20 02:48:53 +00:00
Driver.h Simplify the InputFile type hierarchy. 2015-10-12 01:55:32 +00:00
DriverUtils.cpp Update lld to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC 2015-10-21 16:31:56 +00:00
Error.cpp [ELF2] Output of all unknown arguments instead of only one. 2015-09-24 18:55:33 +00:00
Error.h [ELF2] Output of all unknown arguments instead of only one. 2015-09-24 18:55:33 +00:00
InputFiles.cpp Remove redundant namespace specifiers. 2015-11-20 02:19:36 +00:00
InputFiles.h Make a function out-of-line. 2015-11-20 02:10:52 +00:00
InputSection.cpp [ELF2] getPLTRefReloc() -> getPltRefReloc(). 2015-11-17 17:47:53 +00:00
InputSection.h Add support for processing .eh_frame. 2015-11-11 19:54:14 +00:00
LinkerScript.cpp [ELF2] SECTIONS command basic support 2015-11-12 09:52:08 +00:00
MarkLive.cpp Early continue. NFC. 2015-11-12 19:45:58 +00:00
Options.td Accept -whole-archive and -no-whole-archive (with a single dash) 2015-11-18 17:22:02 +00:00
OutputSections.cpp Fix formatting. 2015-11-19 23:30:10 +00:00
OutputSections.h [ELF2] - Implemented R_X86_64_GOTTPOFF relocation 2015-11-13 16:28:53 +00:00
README.md ELF2: Add a note about performance. 2015-10-13 21:28:02 +00:00
SymbolTable.cpp [ELF] Prevent SEGFAULT in case of conflict with an internally defined symbol. 2015-11-19 19:08:45 +00:00
SymbolTable.h [ELF2] Add GOT section for MIPS target. 2015-11-06 07:43:03 +00:00
Symbols.cpp [ELF] Define symbols "_end" and "end" if referenced. 2015-11-20 02:32:35 +00:00
Symbols.h [ELF] Define symbols "_end" and "end" if referenced. 2015-11-20 02:32:35 +00:00
Target.cpp [ELF2/AArch64] Add lazy relocation support for AArch64. 2015-11-17 18:01:30 +00:00
Target.h [ELF2] getPLTRefReloc() -> getPltRefReloc(). 2015-11-17 17:47:53 +00:00
Writer.cpp [ELF] Define symbols "_end" and "end" if referenced. 2015-11-20 02:32:35 +00:00
Writer.h ELF2: Implement --gc-sections. 2015-10-22 18:49:53 +00:00

README.md

The New ELF Linker

This directory contains a port of the new PE/COFF linker for ELF.

Overall Design

See COFF/README.md for details on the design. Note that unlike COFF, we do not distinguish chunks from input sections; they are merged together.

Capabilities

This linker can link LLVM and Clang on Linux/x86-64 or FreeBSD/x86-64 with -LLVM_ENABLE_THREADS=OFF. "Hello world" can be linked on Linux/PPC64.

Performance

Achieving good performance is one of our goals. It's too early to reach a conclusion, but we are optimistic about that as it currently seems to be faster than GNU gold. It will be interesting to compare when we are close to feature parity.