llvm-project/lld/ELF
George Rimar 19d6ce9d8e [ELF] - Simplify removeUnusedSyntheticSections a bit.
Previously`InX::Got` and InX::MipsGot synthetic sections
were not removed if ElfSym::GlobalOffsetTable was defined.
ElfSym::GlobalOffsetTable is a symbol for _GLOBAL_OFFSET_TABLE_.

Patch moves ElfSym::GlobalOffsetTable check out from removeUnusedSyntheticSections.
Also note that there was no point to check ElfSym::GlobalOffsetTable for MIPS case
because InX::MipsGot::empty() always returns false for non-relocatable case, and in case
of relocatable output we do not create special symbols anyways.

Differential revision: https://reviews.llvm.org/D37623

llvm-svn: 314099
2017-09-25 09:46:33 +00:00
..
Arch [MIPS] Explicitly list supported relocations for MIPS target. NFC 2017-09-21 14:40:32 +00:00
CMakeLists.txt Add basic 64-bit SPARC support 2017-06-28 17:05:39 +00:00
Config.h Keep some relocations with undefined weak symbols. 2017-09-15 18:05:02 +00:00
Driver.cpp Include thin --whole-archive members in --reproduce. 2017-09-20 22:59:50 +00:00
Driver.h [GSoC] Flag value completion for clang 2017-06-20 16:31:31 +00:00
DriverUtils.cpp [ELF] Rewrite --symbol-ordering-file path in reproducer 2017-09-06 10:10:49 +00:00
EhFrame.cpp Revert rL313697, "Compact EhSectionPiece from 32 bytes to 16 bytes." 2017-09-20 08:03:18 +00:00
EhFrame.h Revert rL313697, "Compact EhSectionPiece from 32 bytes to 16 bytes." 2017-09-20 08:03:18 +00:00
Error.cpp Use StringRef::contains(). 2017-07-19 21:40:26 +00:00
Error.h [lld/pdb] Add some basic linker module symbols. 2017-07-10 21:01:37 +00:00
Filesystem.cpp ELF: Only unlink regular files 2017-07-04 16:03:34 +00:00
Filesystem.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
GdbIndex.cpp Remove unused member variable. 2017-09-24 23:12:36 +00:00
GdbIndex.h Remove unused member variable. 2017-09-24 23:12:36 +00:00
ICF.cpp Rewrite std::equal as plain for-loops. 2017-08-28 22:28:41 +00:00
ICF.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
InputFiles.cpp [ELF] - Introduce std::vector<InputFile *> global arrays. 2017-09-19 09:20:54 +00:00
InputFiles.h [ELF] - Introduce std::vector<InputFile *> global arrays. 2017-09-19 09:20:54 +00:00
InputSection.cpp [AArch64] Implement R_AARCH64_ LD_PREL_LO19. 2017-09-20 23:49:50 +00:00
InputSection.h Revert rL313697, "Compact EhSectionPiece from 32 bytes to 16 bytes." 2017-09-20 08:03:18 +00:00
LTO.cpp [ELF] - LTO: do not optimize away symbols accessed from linkerscript. 2017-09-25 09:31:43 +00:00
LTO.h Make __start_sec __end_sec handling more precise. 2017-07-26 23:39:10 +00:00
LinkerScript.cpp [ELF] - Report orphan sections if -verbose given. 2017-09-25 09:41:32 +00:00
LinkerScript.h Align addresses, not offsets. 2017-09-12 00:06:00 +00:00
MapFile.cpp [ELF] - Introduce std::vector<InputFile *> global arrays. 2017-09-19 09:20:54 +00:00
MapFile.h Merge OutputSectionCommand and OutputSection. 2017-07-27 19:22:43 +00:00
MarkLive.cpp Revert rL313697, "Compact EhSectionPiece from 32 bytes to 16 bytes." 2017-09-20 08:03:18 +00:00
Memory.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
Options.td Add -no-gdb-index which negates -gdb-index option. 2017-09-07 22:40:54 +00:00
OutputSections.cpp [ELF] - Do not merge sections from SHT_GROUP when -relocatable 2017-09-19 09:40:31 +00:00
OutputSections.h [ELF] - Remove one of OutputSectionFactory::addInputSec(). 2017-09-15 15:44:00 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Remove useless accessor. 2017-09-18 23:07:09 +00:00
Relocations.h [ELF] Rename variables and add comments to getISThunkSec [NFC] 2017-09-12 09:17:39 +00:00
ScriptLexer.cpp [ELF] - Do not report multiple errors for single one in ScriptLexer::setError. 2017-08-23 08:48:39 +00:00
ScriptLexer.h [ELF] - Remove ScriptLexer::Error field and check ErrorCount instead. 2017-08-04 10:34:14 +00:00
ScriptParser.cpp Consider ForceAbsolute again in moveAbsRight. 2017-09-20 19:24:57 +00:00
ScriptParser.h Move the parser for the linker script to a separate file. 2017-04-05 05:07:39 +00:00
Strings.cpp [ELF] Prevent crash with binary inputs with non-ascii file names 2017-09-07 08:30:09 +00:00
Strings.h [ELF] Prevent crash with binary inputs with non-ascii file names 2017-09-07 08:30:09 +00:00
SymbolTable.cpp Rename copy -> copyFrom. 2017-09-25 00:57:30 +00:00
SymbolTable.h Move Config->SymbolRenaming to SymbolTable. 2017-09-25 00:57:18 +00:00
Symbols.cpp Rename copy -> copyFrom. 2017-09-25 00:57:30 +00:00
Symbols.h Rename copy -> copyFrom. 2017-09-25 00:57:30 +00:00
SyntheticSections.cpp [ELF] - Simplify removeUnusedSyntheticSections a bit. 2017-09-25 09:46:33 +00:00
SyntheticSections.h Speeds up CU vector creation. 2017-09-25 04:55:27 +00:00
Target.cpp [ELF] Introduce target specific inBranchRange() function 2017-07-17 16:54:29 +00:00
Target.h Fix which file is in an error message. 2017-08-04 18:33:16 +00:00
Threads.h Update comments: parallel_for_each -> parallelForEach 2017-08-23 19:03:20 +00:00
Thunks.cpp [ELF] Fix edge condition in thunk offset calculation 2017-09-21 21:04:42 +00:00
Thunks.h [ELF] - Fix member name: alignment -> Alignment. NFC. 2017-07-18 11:59:19 +00:00
Writer.cpp [ELF] - Simplify removeUnusedSyntheticSections a bit. 2017-09-25 09:46:33 +00:00
Writer.h [ELF] - Rename PhdrEntry::First/Last to FirstSec/LastSec. NFC. 2017-09-07 11:01:10 +00:00

README.md

See docs/NewLLD.rst