llvm-project/lld/ELF
Rui Ueyama 5a9640be32 ELF2: Split Writer::createSections into small functions.
Also added a few comments.

llvm-svn: 249781
2015-10-08 23:49:30 +00:00
..
CMakeLists.txt ELF2: Create LinkerScript.cpp and move code from DriverUtils to there. 2015-09-30 17:23:26 +00:00
Config.h ELF2: Define a utility function to handle simple command line options. 2015-10-07 19:34:51 +00:00
Driver.cpp [ELF2][mips] Support elf32ltsmip/elf32btsmip target emulation as the -m arguments 2015-10-08 12:13:38 +00:00
Driver.h [ELF2] Handle -m option 2015-10-07 09:13:03 +00:00
DriverUtils.cpp ELF2: Create LinkerScript.cpp and move code from DriverUtils to there. 2015-09-30 17:23:26 +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 Make this test a bit stricter. 2015-10-08 20:29:22 +00:00
InputFiles.h ELF2: Use the same name as COFF. 2015-10-07 23:20:23 +00:00
InputSection.cpp ELF2: Do not pass GotVA because it's accessible as Out<ELFT>::Got->getVA(). 2015-10-08 20:06:07 +00:00
InputSection.h ELF2: Make singleton output sections globally accessible. 2015-10-07 19:18:16 +00:00
LinkerScript.cpp [ELF2] Implement linker script SEARCH_DIR() directive. 2015-10-08 17:51:41 +00:00
Options.td [ELF2] -z now option implemented 2015-10-07 15:00:21 +00:00
OutputSections.cpp [ELF2] Make the .plt entry size target dependent 2015-10-08 21:51:31 +00:00
OutputSections.h [ELF2] Make the .plt entry size target dependent 2015-10-08 21:51:31 +00:00
README.md ELF2: Update README. 2015-10-06 19:21:13 +00:00
SymbolTable.cpp ELF2: Inititalize other symbols only once as well. 2015-10-08 00:44:28 +00:00
SymbolTable.h ELF2: Use the same name as COFF. 2015-10-07 23:20:23 +00:00
Symbols.cpp ELF2: Inititalize other symbols only once as well. 2015-10-08 00:44:28 +00:00
Symbols.h ELF2: Make member variable names shorter. 2015-10-08 00:29:00 +00:00
Target.cpp [ELF2] Make the system page size a target-dependent property 2015-10-08 22:23:54 +00:00
Target.h [ELF2] Make the system page size a target-dependent property 2015-10-08 22:23:54 +00:00
Writer.cpp ELF2: Split Writer::createSections into small functions. 2015-10-08 23:49:30 +00:00
Writer.h ELF2: De-templatize writeResult for simplicity. 2015-10-07 18:29:51 +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 with -LLVM_ENABLE_THREADS=OFF.