llvm-project/lld/ELF
Peter Smith ee6d7186c3 [ELF] Move createThunks() after scanRelocations()
A necessary first step towards range extension thunks is to delay
the creation of thunks until the layout of InputSections within
OutputSections has been done.
    
The change scans the relocations directly from InputSections rather
than looking in the ELF File the InputSection came from. This will
allow a future change to redirect the relocations to symbols defined
by Thunks rather than indirect when resolving relocations.
    
A side-effect of moving ThunkCreation is that the OutSecOff of
InputSections may change in an OutputSection that contains Thunks.
In well behaved programs thunks are not in OutputSections with
dynamic relocations.
    
Differential Revision: https://reviews.llvm.org/D28811

llvm-svn: 292359
2017-01-18 09:57:14 +00:00
..
CMakeLists.txt Implement -Map. 2017-01-13 21:05:46 +00:00
Config.h Implement -Map. 2017-01-13 21:05:46 +00:00
Driver.cpp Add -no-{export-dynamic,fatal-warnings}. 2017-01-15 03:38:55 +00:00
Driver.h Add linker-script-included files to reproduce tar files. 2017-01-09 01:42:02 +00:00
DriverUtils.cpp Rename lld::stringize -> lld::toString. 2017-01-06 10:04:35 +00:00
EhFrame.cpp Move getLocation from Relocations.cpp to InputSection.cpp. 2016-11-25 18:51:53 +00:00
EhFrame.h [ELF] Print error location in .eh_frame parser 2016-11-23 09:45:17 +00:00
Error.cpp Remove error(error_code, const Twine &). 2017-01-12 22:18:04 +00:00
Error.h Remove error(error_code, const Twine &). 2017-01-12 22:18:04 +00:00
GdbIndex.cpp [ELF] - Return file offset as address only for allocatable sections when building .gdb_index 2016-12-23 07:51:59 +00:00
GdbIndex.h [ELF] - Partial support of --gdb-index command line option (Part 3). 2016-12-15 12:07:53 +00:00
ICF.cpp Fix typo. 2017-01-15 02:34: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 Remove error(error_code, const Twine &). 2017-01-12 22:18:04 +00:00
InputFiles.h Add linker-script-included files to reproduce tar files. 2017-01-09 01:42:02 +00:00
InputSection.cpp Do not use the same name for both a class and a variable. 2017-01-12 21:44:20 +00:00
InputSection.h [ELF] - Reuse Decompressor class. 2017-01-12 10:53:31 +00:00
LTO.cpp Remove error(error_code, const Twine &). 2017-01-12 22:18:04 +00:00
LTO.h [ELF] Add support for thunks to undefined non-weak symbols 2017-01-04 09:45:45 +00:00
LinkerScript.cpp [ELF] - Support optional comma after output section command. 2017-01-17 15:32:12 +00:00
LinkerScript.h [ELF] Linkerscript: print location of undefined symbol usage 2016-12-22 13:13:12 +00:00
MapFile.cpp [ELF] - Fix format specifiers in writeOutSecLine() 2017-01-16 11:35:38 +00:00
MapFile.h Implement -Map. 2017-01-13 21:05:46 +00:00
MarkLive.cpp Parse relocations only once. 2016-11-10 14:53:24 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
Mips.cpp [ELF][MIPS] N32 ABI support 2016-11-05 22:58:01 +00:00
Options.td Move a flag definition to the right place as -demangle is not ignored. 2017-01-15 03:45:46 +00:00
OutputSections.cpp Implement -Map. 2017-01-13 21:05:46 +00:00
OutputSections.h Implement -Map. 2017-01-13 21:05:46 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ELF] Move createThunks() after scanRelocations() 2017-01-18 09:57:14 +00:00
Relocations.h [ELF] Move createThunks() after scanRelocations() 2017-01-18 09:57:14 +00:00
ScriptParser.cpp Simplify ScriptParser. 2016-12-01 04:36:54 +00:00
ScriptParser.h Simplify ScriptParser. 2016-12-01 04:36:54 +00:00
Strings.cpp [ELF] __cxa_demangle is now called itaniumDemangle. Update. 2017-01-17 01:59:13 +00:00
Strings.h Use ArrayRef instead of `const std::vector`. 2016-12-20 23:17:00 +00:00
SymbolTable.cpp Add a isInCurrentDSO helper. NFC. 2017-01-17 16:08:06 +00:00
SymbolTable.h Add a isInCurrentDSO helper. NFC. 2017-01-17 16:08:06 +00:00
Symbols.cpp Add a isInCurrentDSO helper. NFC. 2017-01-17 16:08:06 +00:00
Symbols.h Add a isInCurrentDSO helper. NFC. 2017-01-17 16:08:06 +00:00
SyntheticSections.cpp Add a isInCurrentDSO helper. NFC. 2017-01-17 16:08:06 +00:00
SyntheticSections.h [ELF] - Partial support of --gdb-index command line option (Part 3). 2016-12-15 12:07:53 +00:00
Target.cpp [ELF] Move createThunks() after scanRelocations() 2017-01-18 09:57:14 +00:00
Target.h [ELF] Move createThunks() after scanRelocations() 2017-01-18 09:57:14 +00:00
Threads.h Update comment to clarify the machine spec. 2016-12-04 02:34:29 +00:00
Thunks.cpp [ELF] Add support for thunks to undefined non-weak symbols 2017-01-04 09:45:45 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp [ELF] Move createThunks() after scanRelocations() 2017-01-18 09:57:14 +00:00
Writer.h Move a function defintion to make it static. 2016-12-21 00:05:39 +00:00

README.md

See docs/NewLLD.rst