mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Remove unused variable, found with gcc-5.1 -Wunused-variable.
The variable, MachOSectionTypes, seems to have been unused since its introduction in r178679. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235863 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b5a15b779
commit
c5889e0fab
@ -203,31 +203,6 @@ static const EnumEntry<uint32_t> MachOHeaderFlags[] = {
|
|||||||
LLVM_READOBJ_ENUM_ENT(MachO, MH_APP_EXTENSION_SAFE),
|
LLVM_READOBJ_ENUM_ENT(MachO, MH_APP_EXTENSION_SAFE),
|
||||||
};
|
};
|
||||||
|
|
||||||
static const EnumEntry<unsigned> MachOSectionTypes[] = {
|
|
||||||
{ "Regular" , 0x00 },
|
|
||||||
{ "ZeroFill" , 0x01 },
|
|
||||||
{ "CStringLiterals" , 0x02 },
|
|
||||||
{ "4ByteLiterals" , 0x03 },
|
|
||||||
{ "8ByteLiterals" , 0x04 },
|
|
||||||
{ "LiteralPointers" , 0x05 },
|
|
||||||
{ "NonLazySymbolPointers" , 0x06 },
|
|
||||||
{ "LazySymbolPointers" , 0x07 },
|
|
||||||
{ "SymbolStubs" , 0x08 },
|
|
||||||
{ "ModInitFuncs" , 0x09 },
|
|
||||||
{ "ModTermFuncs" , 0x0A },
|
|
||||||
{ "Coalesced" , 0x0B },
|
|
||||||
{ "GBZeroFill" , 0x0C },
|
|
||||||
{ "Interposing" , 0x0D },
|
|
||||||
{ "16ByteLiterals" , 0x0E },
|
|
||||||
{ "DTraceDOF" , 0x0F },
|
|
||||||
{ "LazyDylibSymbolPoints" , 0x10 },
|
|
||||||
{ "ThreadLocalRegular" , 0x11 },
|
|
||||||
{ "ThreadLocalZerofill" , 0x12 },
|
|
||||||
{ "ThreadLocalVariables" , 0x13 },
|
|
||||||
{ "ThreadLocalVariablePointers" , 0x14 },
|
|
||||||
{ "ThreadLocalInitFunctionPointers", 0x15 }
|
|
||||||
};
|
|
||||||
|
|
||||||
static const EnumEntry<unsigned> MachOSectionAttributes[] = {
|
static const EnumEntry<unsigned> MachOSectionAttributes[] = {
|
||||||
{ "LocReloc" , 1 << 0 /*S_ATTR_LOC_RELOC */ },
|
{ "LocReloc" , 1 << 0 /*S_ATTR_LOC_RELOC */ },
|
||||||
{ "ExtReloc" , 1 << 1 /*S_ATTR_EXT_RELOC */ },
|
{ "ExtReloc" , 1 << 1 /*S_ATTR_EXT_RELOC */ },
|
||||||
|
Loading…
Reference in New Issue
Block a user