llvm-project/lld/ELF
Rafael Espindola f1e245315b Use relocations to fill statically known got entries.
Right now we just remember a SymbolBody for each got entry and
duplicate a bit of logic to decide what value, if any, should be
written for that SymbolBody.

With ARM there will be more complicated values, and it seems better to
just use the relocation code to fill the got entries. This makes it
clear that each entry is filled by the dynamic linker or by the static
linker.

llvm-svn: 288107
2016-11-29 03:45:36 +00:00
..
CMakeLists.txt Remove a file that is too short to be an independent file. 2016-11-19 23:26:41 +00:00
Config.h [ELF] - Implemented -no-rosegment. 2016-11-28 10:05:20 +00:00
Driver.cpp [ELF] - Set Config->SingleRoRx differently. NFC. 2016-11-28 10:11:10 +00:00
Driver.h Remove a file that is too short to be an independent file. 2016-11-19 23:26:41 +00:00
DriverUtils.cpp [ELF] Better error reporting for linker scripts 2016-11-21 15:49:56 +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 Make getColorDiagnostics return a boolean value instead of an enum. 2016-11-26 15:10:01 +00:00
Error.h Update comment. 2016-11-24 01:44:21 +00:00
GdbIndex.cpp Define toString() as a generic function to get a string for error message. 2016-11-23 18:07:33 +00:00
GdbIndex.h [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
ICF.cpp Update comments. 2016-11-20 23:15:54 +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 Move typedefs inside a class definition. 2016-11-25 18:51:56 +00:00
InputFiles.h Move typedefs inside a class definition. 2016-11-25 18:51:56 +00:00
InputSection.cpp Change return types of split{Non,}Strings. 2016-11-26 15:15:11 +00:00
InputSection.h Change return types of split{Non,}Strings. 2016-11-26 15:15:11 +00:00
LTO.cpp [ELF] Be compliant with LLVM and rename Lto into LTO. NFCI. 2016-11-26 05:37:04 +00:00
LTO.h [ELF] Be compliant with LLVM and rename Lto into LTO. NFCI. 2016-11-26 05:37:04 +00:00
LinkerScript.cpp [ELF] - Set Config->SingleRoRx differently. NFC. 2016-11-28 10:11:10 +00:00
LinkerScript.h [ELF] Print file:line for 'undefined section' errors 2016-11-28 09:58:04 +00:00
MarkLive.cpp Parse relocations only once. 2016-11-10 14:53:24 +00:00
Memory.cpp Replace GAlloc with a template function. 2016-11-01 21:06:40 +00:00
Memory.h [ELF] - Fix mistype. NFC. 2016-11-08 15:26:21 +00:00
Mips.cpp [ELF][MIPS] N32 ABI support 2016-11-05 22:58:01 +00:00
Options.td [ELF] - Implemented -no-rosegment. 2016-11-28 10:05:20 +00:00
OutputSections.cpp Split MergeOutputSection::finalize. 2016-11-26 15:09:58 +00:00
OutputSections.h Split MergeOutputSection::finalize. 2016-11-26 15:09:58 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Use relocations to fill statically known got entries. 2016-11-29 03:45:36 +00:00
Relocations.h Move getLocation from Relocations.cpp to InputSection.cpp. 2016-11-25 18:51:53 +00:00
ScriptParser.cpp [ELF] Print file:line for 'undefined section' errors 2016-11-28 09:58:04 +00:00
ScriptParser.h [ELF] Print file:line for 'undefined section' errors 2016-11-28 09:58:04 +00:00
Strings.cpp Define toString(const SymbolBody &) and remove maybeDemangle instead. 2016-11-24 20:24:18 +00:00
Strings.h Define toString(const SymbolBody &) and remove maybeDemangle instead. 2016-11-24 20:24:18 +00:00
SymbolTable.cpp [ELF] Be compliant with LLVM and rename Lto into LTO. NFCI. 2016-11-26 05:37:04 +00:00
SymbolTable.h [ELF] Be compliant with LLVM and rename Lto into LTO. NFCI. 2016-11-26 05:37:04 +00:00
Symbols.cpp Define toString(const SymbolBody &) and remove maybeDemangle instead. 2016-11-24 20:24:18 +00:00
Symbols.h Define toString(const SymbolBody &) and remove maybeDemangle instead. 2016-11-24 20:24:18 +00:00
SyntheticSections.cpp Use relocations to fill statically known got entries. 2016-11-29 03:45:36 +00:00
SyntheticSections.h Use relocations to fill statically known got entries. 2016-11-29 03:45:36 +00:00
Target.cpp Use relocations to fill statically known got entries. 2016-11-29 03:45:36 +00:00
Target.h [ELF] Refactor getDynRel to print error location 2016-11-25 08:56:36 +00:00
Thunks.cpp Split Header into individual fields. 2016-11-09 01:42:41 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp [ELF] - Do not put non exec sections first when -no-rosegment 2016-11-28 10:26:21 +00:00
Writer.h Make OutputSectionBase a class instead of class template. 2016-11-09 23:23:45 +00:00

README.md

See docs/NewLLD.rst