[PATCH] D54569: [LLD] [ELF] Fix compilation with GCC 5
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 15 00:22:59 PST 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346934: [ELF] Fix compilation with GCC 5 (authored by mstorsjo, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D54569?vs=174162&id=174163#toc
Repository:
rL LLVM
https://reviews.llvm.org/D54569
Files:
lld/trunk/ELF/Target.h
Index: lld/trunk/ELF/Target.h
===================================================================
--- lld/trunk/ELF/Target.h
+++ lld/trunk/ELF/Target.h
@@ -122,7 +122,7 @@
// A 4-byte field corresponding to one or more trap instructions, used to pad
// executable OutputSections.
- std::array<uint8_t, 4> TrapInstr = {0, 0, 0, 0};
+ std::array<uint8_t, 4> TrapInstr;
// If a target needs to rewrite calls to __morestack to instead call
// __morestack_non_split when a split-stack enabled caller calls a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54569.174163.patch
Type: text/x-patch
Size: 521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181115/10537419/attachment.bin>
More information about the llvm-commits
mailing list