llvm-project/lld/ELF
Michael J. Spencer 1b3fffa6e0 [elf2] Add 32S and 64 relocations (needed for musl).
It wasn't obvious what the assembly was to generate these relocations, so I did the test with yaml.

llvm-svn: 246902
2015-09-05 00:36:03 +00:00
..
CMakeLists.txt ELF: Create a string table. 2015-08-12 00:00:24 +00:00
Chunks.cpp [elf2] Add basic relocation support for x86-64. 2015-08-27 23:15:56 +00:00
Chunks.h [elf2] Correctly handle sections with an alignment of 0. Spec says to treat it as an alignment of 1. 2015-09-05 00:25:33 +00:00
Config.h Make these headers as being c++. 2015-08-14 14:12:54 +00:00
Driver.cpp [elf2] Add basic archive file support. 2015-09-04 22:28:10 +00:00
Driver.h Make these headers as being c++. 2015-08-14 14:12:54 +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 Make these headers as being c++. 2015-08-14 14:12:54 +00:00
InputFiles.cpp [elf2] Add basic archive file support. 2015-09-04 22:28:10 +00:00
InputFiles.h [elf2] Add basic archive file support. 2015-09-04 22:28:10 +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 [elf2] Add basic archive file support. 2015-09-04 22:28:10 +00:00
SymbolTable.h [elf2] Add basic archive file support. 2015-09-04 22:28:10 +00:00
Symbols.cpp [elf2] Add basic archive file support. 2015-09-04 22:28:10 +00:00
Symbols.h [elf2] Add basic archive file support. 2015-09-04 22:28:10 +00:00
Writer.cpp [elf2] Add 32S and 64 relocations (needed for musl). 2015-09-05 00:36:03 +00:00
Writer.h Make these headers as being c++. 2015-08-14 14:12:54 +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.