Lines Matching refs:header32
629 Elf32_Ehdr header32; in getArchitecture() member
687 buffer.header32.e_ident[0]!=ELFMAG0 || in getArchitecture()
688 buffer.header32.e_ident[1]!=ELFMAG1 || in getArchitecture()
689 buffer.header32.e_ident[2]!=ELFMAG2 || in getArchitecture()
690 buffer.header32.e_ident[3]!=ELFMAG3 || in getArchitecture()
691 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
697 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
710 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
717 *pCPU=buffer.header32.e_machine; in getArchitecture()
754 static Elf32_Ehdr header32={ in writeObjectCode() local
787 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)), /* sh_offset */ in writeObjectCode()
800 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)), /* sh_offset */ in writeObjectCode()
812 … (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40), /* sh_offset */ in writeObjectCode()
824 …(Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40+sizeof(entry)), /* sh… in writeObjectCode()
1044 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1045 header32.e_machine=cpu; in writeObjectCode()
1059 T_FileStream_write(out, &header32, (int32_t)sizeof(header32)); in writeObjectCode()