hanchenye-llvm-project/lld/ELF
George Rimar a213e6b6f5 [ELF] - Fix for: Bug 30521 - lld exits non-zero return value linking a library with no entry symbol
PR30521 was about linking shared library. After r282295 code when linking -shared produced
"entry symbol not found" warning, what in combination with --fatal-errors failed linkage.

Patch fixes logic (and adds testcases) to follow next rules:

1) If entry was specified and not found report warning.
2) If entry was not specified then:
 a) Emit warning if not -shared.
 b) Do not emit warning if -shared.

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

llvm-svn: 282427
2016-09-26 19:04:42 +00:00
..
CMakeLists.txt [ELF] Add support for -b binary 2016-09-09 22:08:04 +00:00
Config.h Rename SortSectionPolicy::IgnoreConfig to None. 2016-09-16 21:14:55 +00:00
Driver.cpp [ELF] - Fix for: Bug 30521 - lld exits non-zero return value linking a library with no entry symbol 2016-09-26 19:04:42 +00:00
Driver.h Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
DriverUtils.cpp COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
ELFCreator.cpp Add comments. 2016-09-12 21:44:29 +00:00
ELFCreator.h [ELF] Add support for -b binary 2016-09-09 22:08:04 +00:00
EhFrame.cpp [ELF] Allow arbitrary code alignment in .eh_frame 2016-07-29 04:41:38 +00:00
EhFrame.h Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
Error.cpp Delete dead code. 2016-07-18 18:24:41 +00:00
Error.h Fix old copy-n-paste errors. 2016-09-15 22:26:07 +00:00
ICF.cpp Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
ICF.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
InputFiles.cpp Accept sh_entsize = 0. 2016-09-21 03:22:18 +00:00
InputFiles.h Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
InputSection.cpp [ELF] Resolve weak undefined TLS symbols when no phdr is available. 2016-09-23 18:47:50 +00:00
InputSection.h Store an ArrayRef for Data in InputSectionData. 2016-09-12 13:13:53 +00:00
LTO.cpp [LTO] Add a test for invalid alias analysis pipelines. 2016-09-24 20:05:52 +00:00
LTO.h Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
LinkerScript.cpp [ELF] - Format. NFC. 2016-09-26 11:00:48 +00:00
LinkerScript.h [ELF] - Linkerscript: implement DEFINED() command. 2016-09-23 13:17:23 +00:00
MarkLive.cpp Linkerscript: don't crash when GC .debug_line 2016-09-26 09:04:16 +00:00
Mips.cpp Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
Options.td [ELF] - Implemented --sort-section cmd line option and SORT_NONE script command. 2016-09-16 20:21:55 +00:00
OutputSections.cpp [ELF] - Linkerscript: implemented SORT_BY_INIT_PRIORITY. 2016-09-15 19:15:12 +00:00
OutputSections.h Avoid duplicated code. 2016-09-22 16:47:21 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ARM] ARM TLS shouldn't use relaxations 2016-09-23 13:54:48 +00:00
Relocations.h Delete dead field. NFC. 2016-09-07 20:37:34 +00:00
ScriptParser.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
ScriptParser.h Remove dead ctor. 2016-07-30 00:13:30 +00:00
Strings.cpp [ELF] - Linkerscript: implemented SORT_BY_INIT_PRIORITY. 2016-09-15 19:15:12 +00:00
Strings.h Fix old copy-n-paste errors. 2016-09-15 22:26:07 +00:00
SymbolListFile.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
SymbolListFile.h [ELF] - Remove VersionScriptParser class and move the members to ScriptParser 2016-08-31 09:08:26 +00:00
SymbolTable.cpp Recommit r281318 "[ELF] - Versionscript: support mangled symbols with the same name." 2016-09-15 12:44:38 +00:00
SymbolTable.h Recommit r281318 "[ELF] - Versionscript: support mangled symbols with the same name." 2016-09-15 12:44:38 +00:00
Symbols.cpp [ELF] Do not adjust TLS symbol value when produce relocatable object 2016-09-14 16:26:19 +00:00
Symbols.h Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
Target.cpp [ELF/AArch64] Implement some UABS relocs 2016-09-12 10:02:41 +00:00
Target.h [ELF] Set MAXPAGESIZE to 2MiB on x86-64 to match bfd and gold. 2016-08-17 02:10:51 +00:00
Thunks.cpp Sign extend a value before passing it to the Target. 2016-09-01 13:52:52 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp Linker script: fix crash when discarding section 2016-09-23 13:17:16 +00:00
Writer.h Linker script: implement AT [ (address) ] for PHDR 2016-09-09 09:46:16 +00:00

README.md

See docs/NewLLD.rst