Lines Matching refs:header32
658 Elf32_Ehdr header32; in getArchitecture() member
716 buffer.header32.e_ident[0]!=ELFMAG0 || in getArchitecture()
717 buffer.header32.e_ident[1]!=ELFMAG1 || in getArchitecture()
718 buffer.header32.e_ident[2]!=ELFMAG2 || in getArchitecture()
719 buffer.header32.e_ident[3]!=ELFMAG3 || in getArchitecture()
720 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
726 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
739 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
746 *pCPU=buffer.header32.e_machine; in getArchitecture()
783 static Elf32_Ehdr header32={ in writeObjectCode() local
816 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)), /* sh_offset */ in writeObjectCode()
829 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)), /* sh_offset */ in writeObjectCode()
841 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40), /* sh_offset */ in writeObjectCode()
853 …(Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40+sizeof(entry)), /* sh… in writeObjectCode()
1073 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1074 header32.e_machine=cpu; in writeObjectCode()
1088 T_FileStream_write(out, &header32, (int32_t)sizeof(header32)); in writeObjectCode()