llvm-project/lld/ELF
Peter Smith 580ba95b16 [ELF] Add sh_link field to .ARM.exidx sections for relocatable links
When doing a relocatable link the .ARM.exidx sections with the
SHF_LINK_ORDER flag set need to set the sh_link field to the executable
section they describe. We find the appropriate OutputSection by
following the sh_link field of the .ARM.exidx InputSections.
    
The getOutputSectionName() function rules make sure that when there are
multiple .ARM.exidx InputSections in an OutputSection they all have the
same sh_link field.

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

llvm-svn: 284820
2016-10-21 11:25:33 +00:00
..
CMakeLists.txt [ELF] Add DebugInfoDWARF dependency 2016-10-21 07:46:24 +00:00
Config.h [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
Driver.cpp [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
Driver.h Remove Config::Binary. 2016-10-20 05:12:29 +00:00
DriverUtils.cpp Move getVersionString to Core and simplify Version.cpp. 2016-10-19 20:53:07 +00:00
ELFCreator.cpp Simplify by merging a lambda with addSymbol. NFC. 2016-10-21 04:32:46 +00:00
ELFCreator.h Attempt to fix buildbots. 2016-10-20 22:29:22 +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 Include ARGV[0] in error messages. 2016-10-19 20:05:43 +00:00
Error.h Include ARGV[0] in error messages. 2016-10-19 20:05:43 +00:00
GdbIndex.cpp [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +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 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 Move code from InputFile to ELFCreator to decouple the two files. 2016-10-20 21:57:06 +00:00
InputFiles.h Move code from InputFile to ELFCreator to decouple the two files. 2016-10-20 21:57:06 +00:00
InputSection.cpp [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +00:00
InputSection.h Fix SectionPiece size when compiling with MSVC 2016-10-20 15:59:08 +00:00
LTO.cpp [ELF] - Applied clang format. NFC. 2016-10-20 08:36:42 +00:00
LTO.h Keep a private member private. 2016-09-29 22:37:45 +00:00
LinkerScript.cpp Don't include PHDRs if linker script doesn't want them 2016-10-20 09:39:09 +00:00
LinkerScript.h Improve comments. 2016-10-13 23:08:33 +00:00
MarkLive.cpp [ELF] - Applied clang format. NFC. 2016-10-20 08:36:42 +00:00
Mips.cpp [ELF] - Do not crash on MIPS if there is no object files in input. 2016-10-04 15:19:20 +00:00
Options.td [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
OutputSections.cpp [ELF] Add sh_link field to .ARM.exidx sections for relocatable links 2016-10-21 11:25:33 +00:00
OutputSections.h [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +00:00
Relocations.h [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +00:00
ScriptParser.cpp Simplify. NFC. 2016-10-21 04:52:13 +00:00
ScriptParser.h Rename skip(StringRef) -> consume(StringRef). 2016-10-17 16:01:53 +00:00
Strings.cpp [ELF] - Linkerscript: implemented SORT_BY_INIT_PRIORITY. 2016-09-15 19:15:12 +00:00
Strings.h Move a utility function to Strings.cpp. 2016-10-13 00:13:15 +00:00
SymbolListFile.cpp Rename skip(StringRef) -> consume(StringRef). 2016-10-17 16:01:53 +00:00
SymbolListFile.h [ELF] - Remove VersionScriptParser class and move the members to ScriptParser 2016-08-31 09:08:26 +00:00
SymbolTable.cpp [ELF] - Applied clang format. NFC. 2016-10-20 08:36:42 +00:00
SymbolTable.h Use CachedHashStringRef instead of CachedHash<StringRef>. 2016-10-18 17:50:36 +00:00
Symbols.cpp [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +00:00
Symbols.h [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +00:00
Target.cpp [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first 2016-10-21 07:22:30 +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 [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
Writer.h [ELF] - Applied clang format. NFC. 2016-10-20 08:36:42 +00:00

README.md

See docs/NewLLD.rst