llvm-project/lld/ELF
Rui Ueyama 22e5551ed7 Do not add .dynamic entries that don't have to be added early in the ctor. NFC.
We add dynamic section entries both in the ctor of the class and
DynamicSection::finalizeContents(). Some entries need to be added early
in the ctor because they add strings to .dynstr. Other entries were
intended to be added in finalizeContents(). However, some entries are
added in the ctor even though they don't add strings. This patch
fix the issue.

llvm-svn: 320851
2017-12-15 19:39:59 +00:00
..
Arch Return R_PLT_PC for R_PPC_PLTREL24. 2017-12-11 22:40:18 +00:00
AArch64ErrataFix.cpp [ELF] Complete implementation of --fix-cortex-a53-843419 2017-12-15 10:32:34 +00:00
AArch64ErrataFix.h [ELF] Fix buildbot warning error. 2017-12-15 10:47:44 +00:00
Bits.h Move bit operations to a new file, ELF/Bits.h. 2017-10-26 21:37:17 +00:00
CMakeLists.txt [ELF] Implement scanner for Cortex-A53 Erratum 843419 2017-12-05 15:59:05 +00:00
Config.h [ELF] Remove Duplicate .ARM.exidx sections 2017-12-15 11:09:41 +00:00
Driver.cpp [ELF] Remove Duplicate .ARM.exidx sections 2017-12-15 11:09:41 +00:00
Driver.h [ELF] Fall back to search dirs for linker scripts specified with -T 2017-11-20 15:43:20 +00:00
DriverUtils.cpp Remove redundant local variables. 2017-12-11 23:19:11 +00:00
EhFrame.cpp De-template EhReader. NFC. 2017-10-27 03:14:09 +00:00
EhFrame.h De-template EhReader. NFC. 2017-10-27 03:14:09 +00:00
Filesystem.cpp Don't use llvm/Config/config.h. 2017-11-17 21:40:38 +00:00
Filesystem.h Add a missing #include. 2017-11-17 08:17:21 +00:00
GdbIndex.cpp Remove some includes from InputFiles.h. 2017-12-09 16:56:18 +00:00
GdbIndex.h [ELF] - Teach LLD to use information from .debug_str for error reporting. 2017-11-17 11:57:47 +00:00
ICF.cpp Add an option for ICFing data. 2017-12-12 01:36:24 +00:00
ICF.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
InputFiles.cpp Handle a VersymIndex of 0 as an error. 2017-12-15 14:52:40 +00:00
InputFiles.h Inline a small function. 2017-12-13 22:53:59 +00:00
InputSection.cpp Move Repl to SectionBase. 2017-12-13 22:59:23 +00:00
InputSection.h Move Repl to SectionBase. 2017-12-13 22:59:23 +00:00
LTO.cpp Use Symbol::File directly. 2017-11-29 22:47:35 +00:00
LTO.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
LinkerScript.cpp [ELF] Reset OutputSection size prior to processing linker script commands 2017-12-12 11:51:13 +00:00
LinkerScript.h Delete dead code. NFC. 2017-11-29 01:55:03 +00:00
MapFile.cpp Remove some includes from InputFiles.h. 2017-12-09 16:56:18 +00:00
MapFile.h Pass symbol attributes instead of ElfSym to Shared symbol ctor. 2017-10-28 20:15:56 +00:00
MarkLive.cpp ELF: Do not follow relocation edges to output sections during GC. 2017-12-11 22:47:43 +00:00
Options.td [ELF] Remove Duplicate .ARM.exidx sections 2017-12-15 11:09:41 +00:00
OutputSections.cpp [ELF] Refactor to remove loop copying all Sections in OS->finalize() [NFC] 2017-12-12 13:38:51 +00:00
OutputSections.h Fix line endings. NFC. 2017-12-12 17:37:01 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Move RelaPlt and RelaIplt to InX. NFC. 2017-12-10 20:07:03 +00:00
Relocations.h Rename Body -> Sym. 2017-11-04 00:31:04 +00:00
ScriptLexer.cpp [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
ScriptLexer.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
ScriptParser.cpp Move Memory.{h,cpp} to Common. 2017-11-28 20:39:17 +00:00
ScriptParser.h [ELF] Support expressions with -defsym option 2017-11-04 02:03:58 +00:00
Strings.cpp Factor out common code to Common/Strings.cpp. 2017-11-28 02:15:26 +00:00
Strings.h Factor out common code to Common/Strings.cpp. 2017-11-28 02:15:26 +00:00
SymbolTable.cpp Use warn() instead of error() to report a bad symbol in a DSO. 2017-12-15 00:01:33 +00:00
SymbolTable.h Compact symbols from 96 to 88 bytes. 2017-12-12 01:45:49 +00:00
Symbols.cpp Move Repl to SectionBase. 2017-12-13 22:59:23 +00:00
Symbols.h Compact symbols from 96 to 88 bytes. 2017-12-12 01:45:49 +00:00
SyntheticSections.cpp Do not add .dynamic entries that don't have to be added early in the ctor. NFC. 2017-12-15 19:39:59 +00:00
SyntheticSections.h Do not add .dynamic entries that don't have to be added early in the ctor. NFC. 2017-12-15 19:39:59 +00:00
Target.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Target.h [ELF] When a relocation is out of range print the value and the range 2017-12-11 20:47:21 +00:00
Thunks.cpp Replace a dyn_cast with a cast. NFC. 2017-11-29 21:29:52 +00:00
Thunks.h ELF: Merge DefinedRegular and Defined. 2017-11-06 04:35:31 +00:00
Writer.cpp [ELF] Remove Duplicate .ARM.exidx sections 2017-12-15 11:09:41 +00:00
Writer.h Create reserved symbols early so they can be versioned. 2017-12-11 17:23:28 +00:00

README.md

See docs/NewLLD.rst