Lines Matching refs:header32
659 Elf32_Ehdr header32; in getArchitecture() member
724 buffer.header32.e_ident[0]!=ELFMAG0 || in getArchitecture()
725 buffer.header32.e_ident[1]!=ELFMAG1 || in getArchitecture()
726 buffer.header32.e_ident[2]!=ELFMAG2 || in getArchitecture()
727 buffer.header32.e_ident[3]!=ELFMAG3 || in getArchitecture()
728 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
734 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
747 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
754 *pCPU=buffer.header32.e_machine; in getArchitecture()
791 static Elf32_Ehdr header32={ in writeObjectCode() local
824 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)), /* sh_offset */ in writeObjectCode()
837 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)), /* sh_offset */ in writeObjectCode()
849 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40), /* sh_offset */ in writeObjectCode()
861 …(Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40+sizeof(entry)), /* sh… in writeObjectCode()
1088 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1089 header32.e_machine=cpu; in writeObjectCode()
1103 T_FileStream_write(out, &header32, (int32_t)sizeof(header32)); in writeObjectCode()