summaryrefslogtreecommitdiff
path: root/ELF/Writer.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-29 16:26:20 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-29 16:26:20 +0000
commitbef2946c219dc621608bcc9e47f8b973e5ef5c70 (patch)
tree1e4dfae199fc27167ed7496693938fec2dab65c2 /ELF/Writer.h
parentc53addf38e24e4dafe992aafb3ae928bfa8fdb0a (diff)
Vendor import of lld trunk r304149:vendor/lld/lld-trunk-r304149
Notes
svn path=/vendor/lld/dist/; revision=319148 svn path=/vendor/lld/lld-trunk-r304149/; revision=319149; tag=vendor/lld/lld-trunk-r304149
Diffstat (limited to 'ELF/Writer.h')
-rw-r--r--ELF/Writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Writer.h b/ELF/Writer.h
index 17fbda394a20..e935b6419de6 100644
--- a/ELF/Writer.h
+++ b/ELF/Writer.h
@@ -30,7 +30,7 @@ bool isRelroSection(const OutputSection *Sec);
// Each contains type, access flags and range of output sections that will be
// placed in it.
struct PhdrEntry {
- PhdrEntry(unsigned Type, unsigned Flags);
+ PhdrEntry(unsigned Type, unsigned Flags) : p_type(Type), p_flags(Flags) {}
void add(OutputSection *Sec);
uint64_t p_paddr = 0;