hanchenye-llvm-project/lld/ELF
Sean Silva f1c5a0f09c [ELF] Avoid unnecessary global variable.
Summary: It looks like this snuck through in r256143/D15383.

Reviewers: ruiu, grimar

Differential Revision: http://reviews.llvm.org/D16500

llvm-svn: 258599
2016-01-23 01:49:37 +00:00
..
CMakeLists.txt Set the folder for libraries to 'lld libraries'. NFC. 2016-01-07 00:14:04 +00:00
Config.h Reapply r257753 with fix: 2016-01-15 13:34:52 +00:00
Driver.cpp Delete addIgnoredStrong. 2016-01-19 00:05:54 +00:00
Driver.h ELF: Make private functions private. 2016-01-07 17:54:21 +00:00
DriverUtils.cpp Remove unnecessary `lld::`. 2016-01-06 20:11:55 +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 Simplify function signature. NFC. 2016-01-21 02:10:12 +00:00
InputFiles.h Simplify function signature. NFC. 2016-01-21 02:10:12 +00:00
InputSection.cpp Remove unnecessary object:: prefix. 2016-01-22 21:49:07 +00:00
InputSection.h Simplify MipsReginfoInputSection. 2016-01-06 22:42:43 +00:00
LinkerScript.cpp Fix bug in handling of quoted linker script tokens and update tests to use it. 2016-01-22 23:46:37 +00:00
MarkLive.cpp Merge two consecutive if's. NFC. 2016-01-12 21:57:44 +00:00
Options.td Reapply r257753 with fix: 2016-01-15 13:34:52 +00:00
OutputSections.cpp [ELF] Avoid unnecessary global variable. 2016-01-23 01:49:37 +00:00
OutputSections.h [ELF] Avoid unnecessary global variable. 2016-01-23 01:49:37 +00:00
README.md [README] Update to reflect the new world order. 2015-12-24 10:03:46 +00:00
SymbolTable.cpp Rename IgnoredWeak to Ignored. 2016-01-19 21:19:52 +00:00
SymbolTable.h Delete addIgnoredStrong. 2016-01-19 00:05:54 +00:00
Symbols.cpp Rename IgnoredWeak to Ignored. 2016-01-19 21:19:52 +00:00
Symbols.h Remove dead code. 2016-01-22 19:55:01 +00:00
Target.cpp [ELF] - fix possible UB when dereferencing null 2016-01-22 18:02:28 +00:00
Target.h [ELF] - fix possible UB when dereferencing null 2016-01-22 18:02:28 +00:00
Writer.cpp [ELF] Avoid unnecessary global variable. 2016-01-23 01:49:37 +00:00
Writer.h ELF2: Implement --gc-sections. 2015-10-22 18:49:53 +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 or FreeBSD/x86-64 "Hello world" can be linked on Linux/PPC64 and on Linux/AArch64 or FreeBSD/AArch64.

Performance

Achieving good performance is one of our goals. It's too early to reach a conclusion, but we are optimistic about that as it currently seems to be faster than GNU gold. It will be interesting to compare when we are close to feature parity.