llvm-project/lld/ELF
Rui Ueyama d2ada2ea5d Do not scan relocations twice for MIPS.
Previously, relocations for MIPS were scanned twice; once in regular
scanRelocs() and the other is in scanRelocsForThunks. In the former
function, we computed types of relocations and skipped R_THUNK relocations.
In the latter function, we computed the same value again and skipped
all but R_THUNK relocations. It was wasteful. This patch fixes that.
Now R_THUNK relocations are handled in the regular manner.

llvm-svn: 273346
2016-06-22 00:57:09 +00:00
..
CMakeLists.txt Create Relocations.cpp and move scanRelocs there. 2016-05-24 20:24:43 +00:00
Config.h [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
Driver.cpp Make local: optional. 2016-06-17 13:38:09 +00:00
Driver.h Create version.txt in a reproduce archive file. 2016-06-06 15:34:37 +00:00
DriverUtils.cpp Create version.txt in a reproduce archive file. 2016-06-06 15:34:37 +00:00
EhFrame.cpp ELF: Handle empty CIE augmentation string 2016-05-25 14:45:28 +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 Print the cpio trailer after every member. 2016-05-04 12:47:56 +00:00
Error.h Print the cpio trailer after every member. 2016-05-04 12:47:56 +00:00
ICF.cpp Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +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 Internalize symbols in comdats. 2016-06-15 17:56:10 +00:00
InputFiles.h Don't include --start-lib/--end-lib files twice. 2016-06-14 21:56:36 +00:00
InputSection.cpp [ELF][MIPS] Support GOT entries for non-preemptible symbols with different addends 2016-06-19 21:39:37 +00:00
InputSection.h Rename Align -> Alignment. 2016-06-17 01:18:46 +00:00
LTO.cpp Revert "Revert "Add a test showing that lto produces relaxable relocations."" 2016-06-21 14:47:43 +00:00
LTO.h Delete dead variable. 2016-04-28 20:29:12 +00:00
LinkerScript.cpp Rename Align -> Alignment. 2016-06-17 01:18:46 +00:00
LinkerScript.h Removed another dead code. NFC. 2016-05-04 15:04:08 +00:00
MarkLive.cpp Rename EHInputSection -> EhInputSection. 2016-05-24 04:19:20 +00:00
Options.td Accept both single and double dashes for all options. 2016-06-21 08:45:50 +00:00
OutputSections.cpp [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
OutputSections.h [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Do not scan relocations twice for MIPS. 2016-06-22 00:57:09 +00:00
Relocations.h [ELF][MIPS] Support GOT entries for non-preemptible symbols with different addends 2016-06-19 21:39:37 +00:00
ScriptParser.cpp Add support for # comments. 2016-06-16 13:29:48 +00:00
ScriptParser.h Apply clang-tidy's misc-move-constructor-init to lld. 2016-06-03 16:57:13 +00:00
SymbolListFile.cpp Don't go on an infinite loop on a missing ";". 2016-06-20 14:02:22 +00:00
SymbolListFile.h [ELF] - Forgot to address these two minors before commit r273152. NFC. 2016-06-20 13:22:54 +00:00
SymbolTable.cpp [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
SymbolTable.h Internalize symbols in comdats. 2016-06-15 17:56:10 +00:00
Symbols.cpp [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
Symbols.h [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
Target.cpp Simplify writeThunk. NFC. 2016-06-21 23:53:08 +00:00
Target.h Remove default values that vary depending on target. 2016-06-16 23:50:25 +00:00
Writer.cpp [ELF] - Removed excessive reference from pointer arguments. NFC. 2016-06-20 13:30:37 +00:00
Writer.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00

README.md

See docs/NewLLD.rst