Lines Matching refs:coff_symbol

269   COFFSymbol *coff_symbol = createSymbol(Sec.getSectionName());  in defineSection()  local
279 coff_section->Symbol = coff_symbol; in defineSection()
280 coff_symbol->Section = coff_section; in defineSection()
281 coff_symbol->Data.StorageClass = COFF::IMAGE_SYM_CLASS_STATIC; in defineSection()
284 coff_symbol->Aux.resize(1); in defineSection()
285 memset(&coff_symbol->Aux[0], 0, sizeof(coff_symbol->Aux[0])); in defineSection()
286 coff_symbol->Aux[0].AuxType = ATSectionDefinition; in defineSection()
287 coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection(); in defineSection()
361 COFFSymbol *coff_symbol = GetOrCreateCOFFSymbol(&Symbol); in DefineSymbol() local
364 coff_symbol->Data.StorageClass = COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL; in DefineSymbol()
373 coff_symbol->Other = GetOrCreateCOFFSymbol(&SymRef->getSymbol()); in DefineSymbol()
381 coff_symbol->Other = WeakDefault; in DefineSymbol()
385 coff_symbol->Aux.resize(1); in DefineSymbol()
386 memset(&coff_symbol->Aux[0], 0, sizeof(coff_symbol->Aux[0])); in DefineSymbol()
387 coff_symbol->Aux[0].AuxType = ATWeakExternal; in DefineSymbol()
388 coff_symbol->Aux[0].Aux.WeakExternal.TagIndex = 0; in DefineSymbol()
389 coff_symbol->Aux[0].Aux.WeakExternal.Characteristics = in DefineSymbol()
392 coff_symbol->MC = &Symbol; in DefineSymbol()
395 coff_symbol->Data.Value = getSymbolValue(Symbol, Layout); in DefineSymbol()
398 coff_symbol->Data.Type = SymbolCOFF.getType(); in DefineSymbol()
399 coff_symbol->Data.StorageClass = SymbolCOFF.getClass(); in DefineSymbol()
402 if (coff_symbol->Data.StorageClass == COFF::IMAGE_SYM_CLASS_NULL) { in DefineSymbol()
406 coff_symbol->Data.StorageClass = IsExternal in DefineSymbol()
412 coff_symbol->Data.SectionNumber = COFF::IMAGE_SYM_ABSOLUTE; in DefineSymbol()
417 if (coff_symbol->Section && coff_symbol->Section != Sec) in DefineSymbol()
420 coff_symbol->Section = Sec; in DefineSymbol()
424 coff_symbol->MC = &Symbol; in DefineSymbol()