Lines Matching refs:header32
656 Elf32_Ehdr header32; in getArchitecture() member
714 buffer.header32.e_ident[0]!=ELFMAG0 || in getArchitecture()
715 buffer.header32.e_ident[1]!=ELFMAG1 || in getArchitecture()
716 buffer.header32.e_ident[2]!=ELFMAG2 || in getArchitecture()
717 buffer.header32.e_ident[3]!=ELFMAG3 || in getArchitecture()
718 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
724 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
737 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
744 *pCPU=buffer.header32.e_machine; in getArchitecture()
781 static Elf32_Ehdr header32={ in writeObjectCode() local
814 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)), /* sh_offset */ in writeObjectCode()
827 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)), /* sh_offset */ in writeObjectCode()
839 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40), /* sh_offset */ in writeObjectCode()
851 …(Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40+sizeof(entry)), /* sh… in writeObjectCode()
1071 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1072 header32.e_machine=cpu; in writeObjectCode()
1086 T_FileStream_write(out, &header32, (int32_t)sizeof(header32)); in writeObjectCode()