llvm-project/lld/ELF
Igor Kudrin 66691de94c [ELF] Do not try to assign a memory region to a non-allocatable section
Non-allocatable sections are not part of the memory image of the
program, so there is no need to find memory regions for them either
matching properties or handling explicit assignments. The early test
and return help to simplify LinkerScript::findMemoryRegion() a bit.

Differential Revision: https://reviews.llvm.org/D113768
2021-11-15 15:59:39 +07:00
..
Arch [ELF] Make --no-relax disable R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX GOT optimization 2021-11-12 09:47:31 -08:00
AArch64ErrataFix.cpp [ELF] Move the outSecOff addend from relocAlloc/relocNonAlloc/... to InputSectionBase::relocate 2020-08-11 08:06:38 -07:00
AArch64ErrataFix.h [LLD][ELF] Optimize linker script filename glob pattern matching NFC 2020-09-16 10:26:11 +01:00
ARMErrataFix.cpp [LLD][ELF][ARM] Fix case of patched unrelocated BLX 2021-06-30 14:07:35 +01:00
ARMErrataFix.h [LLD][ELF] Optimize linker script filename glob pattern matching NFC 2020-09-16 10:26:11 +01:00
CMakeLists.txt [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
CallGraphSort.cpp [ELF] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
CallGraphSort.h
Config.h [ELF] Make --no-relax disable R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX GOT optimization 2021-11-12 09:47:31 -08:00
DWARF.cpp [ELF] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
DWARF.h [ELF] --gdb-index: skip SHF_GROUP .debug_info 2020-08-13 09:11:01 -07:00
Driver.cpp [ELF] Make --no-relax disable R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX GOT optimization 2021-11-12 09:47:31 -08:00
Driver.h [LLD] Rename lld port driver entry function to a consistent name 2020-12-18 12:18:37 +05:30
DriverUtils.cpp [ELF] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
EhFrame.cpp ELF: Teach the linker about the 'B' augmentation string character. 2021-01-05 19:51:11 -08:00
EhFrame.h [ELF] --icf: don't fold text sections with LSDA 2020-08-05 09:16:28 -07:00
ICF.cpp [ELF] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
ICF.h
InputFiles.cpp [ELF] Improve sh_info=0 and sh_info>=num_sections diagnostic for SHT_REL/SHT_RELA 2021-11-09 09:54:12 -08:00
InputFiles.h [ELF] Improve sh_info=0 and sh_info>=num_sections diagnostic for SHT_REL/SHT_RELA 2021-11-09 09:54:12 -08:00
InputSection.cpp [lld][ELF] Support for R_ARM_THM_JUMP8 2021-11-11 09:06:52 -08:00
InputSection.h [ELF] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
LTO.cpp [Support] Improve Caching conformance with Support library behavior 2021-11-04 13:00:44 -07:00
LTO.h
LinkerScript.cpp [ELF] Do not try to assign a memory region to a non-allocatable section 2021-11-15 15:59:39 +07:00
LinkerScript.h [ELF] Better resemble GNU ld when placing orphan sections into memory regions 2021-11-11 15:07:38 +07:00
MapFile.cpp [ELF] Add --why-extract= to query why archive members/lazy object files are extracted 2021-09-20 09:52:30 -07:00
MapFile.h [ELF] Add --why-extract= to query why archive members/lazy object files are extracted 2021-09-20 09:52:30 -07:00
MarkLive.cpp [ELF] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
MarkLive.h
Options.td [ELF] Make --no-relax disable R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX GOT optimization 2021-11-12 09:47:31 -08:00
OutputSections.cpp [ELF] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
OutputSections.h [ELF] Check the Elf_Rel addends for dynamic relocations 2021-07-09 10:41:40 +01:00
README.md
Relocations.cpp [ELF] Inline isPPC64SmallCodeModelTocReloc which is only called once. NFC 2021-11-09 20:41:05 -08:00
Relocations.h [ELF] Implement TLSDESC for x86-32 2021-10-28 17:52:03 -07:00
ScriptLexer.cpp [ELF] Optimize ScriptLexer::getLineNumber by caching the previous line number and offset 2021-06-22 15:35:24 -07:00
ScriptLexer.h [ELF] Optimize ScriptLexer::getLineNumber by caching the previous line number and offset 2021-06-22 15:35:24 -07:00
ScriptParser.cpp [ELF] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
ScriptParser.h [ELF] Improve --export-dynamic-symbol performance by checking whether wildcard is really used 2020-06-17 17:12:10 -07:00
SymbolTable.cpp [ELF] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
SymbolTable.h [ELF] Apply version script patterns to non-default version symbols 2021-08-04 23:52:56 -07:00
Symbols.cpp [ELF] Add --why-extract= to query why archive members/lazy object files are extracted 2021-09-20 09:52:30 -07:00
Symbols.h [ELF] Demote !isUsedInRegularObj lazy symbol 2021-10-11 09:46:31 -07:00
SyntheticSections.cpp [ELF] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
SyntheticSections.h [ELF][AArch64] Write addends for TLSDESC relocations with -z rel 2021-07-09 10:41:41 +01:00
Target.cpp [ELF] Change common diagnostics to report both object file location and source file location 2021-10-28 09:38:45 -07:00
Target.h [ELF] Inline isPPC64SmallCodeModelTocReloc which is only called once. NFC 2021-11-09 20:41:05 -08:00
Thunks.cpp [ELF] Refactor DynamicReloc to fix incorrect relocation addends 2021-07-09 10:41:40 +01:00
Thunks.h [lld] Add missing includes (NFC) 2021-06-03 18:55:18 +02:00
Writer.cpp [ELF] Better resemble GNU ld when placing orphan sections into memory regions 2021-11-11 15:07:38 +07:00
Writer.h

README.md

See docs/NewLLD.rst