llvm-project/lld/ELF
Rafael Espindola 85a6e0f870 Never fetch members for weak undefined symbols.
We were still fetching them when the archive was seen first.

We should experiment with just letting lazy symbols get to compare, it
might be cleaner for ELF.

llvm-svn: 249417
2015-10-06 15:18:50 +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] Add DT_INIT and DT_FINI dynamic table entries 2015-10-05 10:29:46 +00:00
Driver.cpp [ELF2] Add DT_INIT and DT_FINI dynamic table entries 2015-10-05 10:29:46 +00:00
Driver.h ELF2: Define Driver::addFile() as a one-stop place to open a file. 2015-10-01 15:23:09 +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 [elf2] Add STB_GNU_UNIQUE support. 2015-10-02 21:57:52 +00:00
InputFiles.h Don't include shared libraries multiple times. 2015-10-01 19:52:48 +00:00
InputSection.cpp Handle strong undefined symbols fetching members after a weak undefined. 2015-10-06 14:33:58 +00:00
InputSection.h Simplify memory management by having ELFData contain a ELFObj. 2015-09-24 15:11:50 +00:00
LinkerScript.cpp ELF2: Define Driver::addFile() as a one-stop place to open a file. 2015-10-01 15:23:09 +00:00
Options.td Fixed typo 2015-10-06 12:08:08 +00:00
OutputSections.cpp Handle strong undefined symbols fetching members after a weak undefined. 2015-10-06 14:33:58 +00:00
OutputSections.h Handle strong undefined symbols fetching members after a weak undefined. 2015-10-06 14:33:58 +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 Never fetch members for weak undefined symbols. 2015-10-06 15:18:50 +00:00
SymbolTable.h [ELF2] Add --undefined option 2015-10-05 09:43:57 +00:00
Symbols.cpp Don't complain about symbols showing up in multible shared libraries. 2015-09-23 14:23:59 +00:00
Symbols.h Handle strong undefined symbols fetching members after a weak undefined. 2015-10-06 14:33:58 +00:00
Target.cpp [ELF2/AArch64] Read the right amount of bytes. 2015-10-05 22:43:42 +00:00
Target.h Create R_X86_64_RELATIVE when needed. 2015-10-05 19:30:12 +00:00
Writer.cpp [elf2] Address style comments. 2015-10-06 02:13:54 +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.