Home
last modified time | relevance | path

Searched refs:ELF_STB_Shift (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/MC/
DMCELFSymbolFlags.h25 ELF_STB_Shift = 4, // Shift value for STB_* flags. enumerator
31 ELF_STB_Local = (ELF::STB_LOCAL << ELF_STB_Shift),
32 ELF_STB_Global = (ELF::STB_GLOBAL << ELF_STB_Shift),
33 ELF_STB_Weak = (ELF::STB_WEAK << ELF_STB_Shift),
34 ELF_STB_Loproc = (ELF::STB_LOPROC << ELF_STB_Shift),
35 ELF_STB_Hiproc = (ELF::STB_HIPROC << ELF_STB_Shift),
/external/llvm/lib/MC/
DMCELF.cpp25 uint32_t OtherFlags = SD.getFlags() & ~(0xf << ELF_STB_Shift); in SetBinding()
26 SD.setFlags(OtherFlags | (Binding << ELF_STB_Shift)); in SetBinding()
30 uint32_t Binding = (SD.getFlags() & (0xf << ELF_STB_Shift)) >> ELF_STB_Shift; in GetBinding()
DELFObjectWriter.cpp577 uint8_t Info = (Binding << ELF_STB_Shift) | (Type << ELF_STT_Shift); in WriteSymbol()