summaryrefslogtreecommitdiff
path: root/lld/ELF/Writer.h
diff options
context:
space:
mode:
authorEugene Leviant <evgeny.leviant@gmail.com>2016-09-09 09:46:16 +0000
committerEugene Leviant <evgeny.leviant@gmail.com>2016-09-09 09:46:16 +0000
commit90a594f3838b9d9cc8c681b8862c1e9b3cf10853 (patch)
tree9555f34b05eb1ba84f53052287e243b9d32b78fd /lld/ELF/Writer.h
parent9bc899bb535a921430da5bcd4d1cf44059864743 (diff)
Linker script: implement AT [ (address) ] for PHDR
Differential revision: https://reviews.llvm.org/D24340
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r--lld/ELF/Writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h
index 8383a0493c2..4d9df9302bb 100644
--- a/lld/ELF/Writer.h
+++ b/lld/ELF/Writer.h
@@ -38,6 +38,7 @@ struct PhdrEntry {
typename ELFT::Phdr H = {};
OutputSectionBase<ELFT> *First = nullptr;
OutputSectionBase<ELFT> *Last = nullptr;
+ bool HasLMA = false;
};
template <class ELFT>