aboutsummaryrefslogtreecommitdiff
path: root/lld/ELF/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Config.h')
-rw-r--r--lld/ELF/Config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h
index d9639b0..a83a4c1 100644
--- a/lld/ELF/Config.h
+++ b/lld/ELF/Config.h
@@ -404,6 +404,7 @@ struct Config {
bool zIfuncNoplt;
bool zInitfirst;
bool zInterpose;
+ bool zKeepDataSectionPrefix;
bool zKeepTextSectionPrefix;
bool zLrodataAfterBss;
bool zNoBtCfi;
@@ -701,6 +702,8 @@ struct Ctx : CommonLinkerContext {
std::unique_ptr<llvm::TarWriter> tar;
// InputFile for linker created symbols with no source location.
InputFile *internalFile = nullptr;
+ // Dummy Undefined for relocations without a symbol.
+ Undefined *dummySym = nullptr;
// True if symbols can be exported (isExported) or preemptible.
bool hasDynsym = false;
// True if SHT_LLVM_SYMPART is used.