mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix inverted condition.
llvm-svn: 148593
This commit is contained in:
parent
0ecda3fc14
commit
472cca5206
@ -272,7 +272,7 @@ loadSegment64(const MachOObject *Obj,
|
||||
// Allocate memory via the MM for the section.
|
||||
uint8_t *Buffer;
|
||||
uint32_t SectionID = Sections.size();
|
||||
if (Sect->Flags != 0x80000400)
|
||||
if (Sect->Flags == 0x80000400)
|
||||
Buffer = MemMgr->allocateCodeSection(Sect->Size, Sect->Align, SectionID);
|
||||
else
|
||||
Buffer = MemMgr->allocateDataSection(Sect->Size, Sect->Align, SectionID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user