Home | History | Annotate | Download | only in MC

Lines Matching defs:Binding

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