mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +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:
parent
451cc566c1
commit
cbbf570823
@ -584,7 +584,8 @@ void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) {
|
||||
SectionKind::getBSS());
|
||||
TextSection =
|
||||
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_MEM_EXECUTE |
|
||||
COFF::IMAGE_SCN_MEM_READ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user