hanchenye-llvm-project/lld/ELF
Rafael Espindola 83b0dc6392 ELF: Drop the Chunk base class.
With OutputSection being a virtual interface, each concrete OutputSection
handles only one type of chunk and we don't need a base Chunk class.

So for we have a class that handles input sections and one that handles
the string table, but this extends naturally for other outputs (symbol table,
merging of SHF_MERGE sections, etc.).

llvm-svn: 244972
2015-08-13 22:21:37 +00:00
..
CMakeLists.txt ELF: Create a string table. 2015-08-12 00:00:24 +00:00
Chunks.cpp Make getSectionName non virtual. NFC. 2015-08-13 19:18:30 +00:00
Chunks.h ELF: Drop the Chunk base class. 2015-08-13 22:21:37 +00:00
Config.h [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
Driver.cpp ELF2: Remove unused global variable. 2015-08-11 21:45:55 +00:00
Driver.h Move the error handling functions to Error.h. NFC. 2015-08-06 15:08:23 +00:00
DriverUtils.cpp Move the error handling functions to Error.h. NFC. 2015-08-06 15:08:23 +00:00
Error.cpp Move the error handling functions to Error.h. NFC. 2015-08-06 15:08:23 +00:00
Error.h Move the error handling functions to Error.h. NFC. 2015-08-06 15:08:23 +00:00
InputFiles.cpp Include non-alloca sections in the link. 2015-08-13 14:45:44 +00:00
InputFiles.h Don't depend on getDotSymtabSec. It is going away. 2015-08-10 15:12:17 +00:00
Options.td [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
README.md [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
SymbolTable.cpp Move the error handling functions to Error.h. NFC. 2015-08-06 15:08:23 +00:00
SymbolTable.h The SymbolTable doesn't need to be a template. 2015-08-04 14:29:01 +00:00
Symbols.cpp ELF2: Make Defined{Regular,Weak} ctors look the same as other SymbolBody ctors. 2015-08-11 23:37:25 +00:00
Symbols.h ELF2: Make Defined{Regular,Weak} ctors look the same as other SymbolBody ctors. 2015-08-11 23:37:25 +00:00
Writer.cpp ELF: Drop the Chunk base class. 2015-08-13 22:21:37 +00:00
Writer.h Move more code that is local to Writer.cpp to an anonymous namespace. 2015-08-11 23:22:24 +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.

Capabilities

This linker can currently generate a valid ELF file that can be run on linux from a single input file.