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
AArch64ErrataFix.h
ARMErrataFix.cpp
ARMErrataFix.h
CMakeLists.txt
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
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
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
EhFrame.h
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
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
ScriptLexer.h
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
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
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
Thunks.h
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