llvm-project/lld/ELF
Rui Ueyama afff74e228 ELF2: Simplify Writer interface.
We are using Writer more like a function instead of a class.
This patch makes it a function to simplify the interface.
All details of Writer class is now hidden from other parts of the linker.

llvm-svn: 244169
2015-08-05 23:24:46 +00:00
..
CMakeLists.txt [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
Chunks.cpp For now we only have on Chunk type. Simplify. 2015-08-05 13:55:34 +00:00
Chunks.h For now we only have on Chunk type. Simplify. 2015-08-05 13:55:34 +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: Simplify Writer interface. 2015-08-05 23:24:46 +00:00
Driver.h Create ObjectFile with the correct endian and word size. 2015-08-04 15:45:54 +00:00
DriverUtils.cpp [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
InputFiles.cpp lld elf2: Diagnose trying to mix incompatible files. 2015-08-05 12:03:34 +00:00
InputFiles.h For now we only have on Chunk type. Simplify. 2015-08-05 13:55:34 +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 Delete dead code. 2015-08-05 13:26:54 +00:00
SymbolTable.h The SymbolTable doesn't need to be a template. 2015-08-04 14:29:01 +00:00
Symbols.cpp Delete dead code. 2015-08-05 13:26:54 +00:00
Symbols.h Delete dead code. 2015-08-05 13:26:54 +00:00
Writer.cpp ELF2: Simplify Writer interface. 2015-08-05 23:24:46 +00:00
Writer.h ELF2: Simplify Writer interface. 2015-08-05 23:24:46 +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.