Home | History | Annotate | Download | only in MC

Lines Matching refs:macho

116     Flags |= macho::HF_SubsectionsViaSymbols;
124 Write32(is64Bit() ? macho::HM_Object64 : macho::HM_Object32);
129 Write32(macho::HFT_Object);
137 (is64Bit() ? macho::Header64Size : macho::Header32Size));
155 is64Bit() ? macho::SegmentLoadCommand64Size:
156 macho::SegmentLoadCommand32Size;
157 Write32(is64Bit() ? macho::LCT_Segment64 : macho::LCT_Segment);
159 NumSections * (is64Bit() ? macho::Section64Size :
160 macho::Section32Size));
228 assert(OS.tell() - Start == (is64Bit() ? macho::Section64Size :
229 macho::Section32Size));
241 Write32(macho::LCT_Symtab);
242 Write32(macho::SymtabLoadCommandSize);
248 assert(OS.tell() - Start == macho::SymtabLoadCommandSize);
264 Write32(macho::LCT_Dysymtab);
265 Write32(macho::DysymtabLoadCommandSize);
285 assert(OS.tell() - Start == macho::DysymtabLoadCommandSize);
300 Type = macho::STT_Undefined;
302 Type = macho::STT_Absolute;
304 Type = macho::STT_Section;
309 Type |= macho::STF_PrivateExtern;
313 Type |= macho::STF_External;
638 macho::SegmentLoadCommand64Size + NumSections * macho::Section64Size :
639 macho::SegmentLoadCommand32Size + NumSections * macho::Section32Size;
646 LoadCommandsSize += (macho::SymtabLoadCommandSize +
647 macho::DysymtabLoadCommandSize);
652 uint64_t SectionDataStart = (is64Bit() ? macho::Header64Size :
653 macho::Header32Size) + LoadCommandsSize;
690 std::vector<macho::RelocationEntry> &Relocs = Relocations[it];
694 RelocTableEnd += NumRelocs * macho::RelocationInfoSize;
720 SymbolTableOffset + NumSymTabSymbols * (is64Bit() ? macho::Nlist64Size :
721 macho::Nlist32Size);
749 std::vector<macho::RelocationEntry> &Relocs = Relocations[it];
770 uint32_t Flags = macho::ISF_Local;
772 Flags |= macho::ISF_Absolute;