Lines Matching defs:Binding
22 void MCELF::SetBinding(MCSymbolData &SD, unsigned Binding) {
23 assert(Binding == ELF::STB_LOCAL || Binding == ELF::STB_GLOBAL ||
24 Binding == ELF::STB_WEAK);
26 SD.setFlags(OtherFlags | (Binding << ELF_STB_Shift));
30 uint32_t Binding = (SD.getFlags() & (0xf << ELF_STB_Shift)) >> ELF_STB_Shift;
31 assert(Binding == ELF::STB_LOCAL || Binding == ELF::STB_GLOBAL ||
32 Binding == ELF::STB_WEAK);
33 return Binding;