Lines Matching refs:header32
751 Elf32_Ehdr header32; in getArchitecture() member
823 buffer.header32.e_ident[0]!=ELFMAG0 || in getArchitecture()
824 buffer.header32.e_ident[1]!=ELFMAG1 || in getArchitecture()
825 buffer.header32.e_ident[2]!=ELFMAG2 || in getArchitecture()
826 buffer.header32.e_ident[3]!=ELFMAG3 || in getArchitecture()
827 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
833 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
846 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
853 *pCPU=buffer.header32.e_machine; in getArchitecture()
900 static Elf32_Ehdr header32={ in writeObjectCode() local
933 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)), /* sh_offset */ in writeObjectCode()
946 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)), /* sh_offset */ in writeObjectCode()
958 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40), /* sh_offset */ in writeObjectCode()
970 …(Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40+sizeof(entry)), /* sh… in writeObjectCode()
1210 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1211 header32.e_machine=cpu; in writeObjectCode()
1225 T_FileStream_write(out, &header32, (int32_t)sizeof(header32)); in writeObjectCode()