diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2018-02-15 06:13:52 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2018-02-15 06:13:52 +0000 |
commit | 0d1e93d179752e3316670862c2916f9d1de4c258 (patch) | |
tree | 64846144da32c622d924d1a749f453ca49aa1a2d /lld/ELF/Writer.h | |
parent | 63d60e4322748be3c364ea9b194d62d477759297 (diff) |
[ELF] Simplify handling of AT section attribute.
This also makes the behavior close to GNU ld's.
Differential Revision: https://reviews.llvm.org/D43284
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index f48f9d1e01b..9c7fbd4b152 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -45,11 +45,6 @@ struct PhdrEntry { OutputSection *LastSec = nullptr; bool HasLMA = false; - // True if one of the sections in this program header has a LMA specified via - // linker script: AT(addr). We never allow 2 or more sections with LMA in the - // same program header. - bool ASectionHasLMA = false; - uint64_t LMAOffset = 0; }; |