mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Fix gcc warning (enumeral and non-enumeral type in conditional expression)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -584,7 +584,8 @@ void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) {
|
|||||||
SectionKind::getBSS());
|
SectionKind::getBSS());
|
||||||
TextSection =
|
TextSection =
|
||||||
Ctx->getCOFFSection(".text",
|
Ctx->getCOFFSection(".text",
|
||||||
(IsWoA ? COFF::IMAGE_SCN_MEM_16BIT : 0) |
|
(IsWoA ? COFF::IMAGE_SCN_MEM_16BIT
|
||||||
|
: (COFF::SectionCharacteristics)0) |
|
||||||
COFF::IMAGE_SCN_CNT_CODE |
|
COFF::IMAGE_SCN_CNT_CODE |
|
||||||
COFF::IMAGE_SCN_MEM_EXECUTE |
|
COFF::IMAGE_SCN_MEM_EXECUTE |
|
||||||
COFF::IMAGE_SCN_MEM_READ,
|
COFF::IMAGE_SCN_MEM_READ,
|
||||||
|
Reference in New Issue
Block a user