mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
getEFlags is const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1296,7 +1296,7 @@ ARMELFObjectWriter::~ARMELFObjectWriter()
|
||||
{}
|
||||
|
||||
// FIXME: get the real EABI Version from the Triple.
|
||||
unsigned ARMELFObjectWriter::getEFlags() {
|
||||
unsigned ARMELFObjectWriter::getEFlags() const {
|
||||
return ELF::EF_ARM_EABIMASK & DefaultEABIVersion;
|
||||
}
|
||||
|
||||
@@ -1646,7 +1646,7 @@ MipsELFObjectWriter::MipsELFObjectWriter(MCELFObjectTargetWriter *MOTW,
|
||||
MipsELFObjectWriter::~MipsELFObjectWriter() {}
|
||||
|
||||
// FIXME: get the real EABI Version from the Triple.
|
||||
unsigned MipsELFObjectWriter::getEFlags() {
|
||||
unsigned MipsELFObjectWriter::getEFlags() const {
|
||||
return ELF::EF_MIPS_NOREORDER | ELF::EF_MIPS_ARCH_32R2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user