summaryrefslogtreecommitdiff
path: root/ELF/Writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/Writer.h')
-rw-r--r--ELF/Writer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ELF/Writer.h b/ELF/Writer.h
index d247068bab232..7806f824c58f9 100644
--- a/ELF/Writer.h
+++ b/ELF/Writer.h
@@ -23,7 +23,6 @@ class InputSectionBase;
template <class ELFT> class ObjFile;
class SymbolTable;
template <class ELFT> void writeResult();
-template <class ELFT> void markLive();
// This describes a program header entry.
// Each contains type, access flags and range of output sections that will be
@@ -44,10 +43,12 @@ struct PhdrEntry {
OutputSection *FirstSec = nullptr;
OutputSection *LastSec = nullptr;
bool HasLMA = false;
+
+ uint64_t LMAOffset = 0;
};
void addReservedSymbols();
-llvm::StringRef getOutputSectionName(InputSectionBase *S);
+llvm::StringRef getOutputSectionName(const InputSectionBase *S);
template <class ELFT> uint32_t calcMipsEFlags();