Searched refs:elf_hdr (Results 1 – 2 of 2) sorted by relevance
377 Elf64_Ehdr elf_hdr; in ac_rgp_file_write_elf_object() local393 memcpy(&elf_hdr.e_ident, &elf_ident, EI_NIDENT); in ac_rgp_file_write_elf_object()394 elf_hdr.e_type = ET_REL; in ac_rgp_file_write_elf_object()395 elf_hdr.e_machine = EM_AMDGPU; in ac_rgp_file_write_elf_object()396 elf_hdr.e_version = EV_CURRENT; in ac_rgp_file_write_elf_object()397 elf_hdr.e_entry = 0; in ac_rgp_file_write_elf_object()398 elf_hdr.e_flags = flags; in ac_rgp_file_write_elf_object()399 elf_hdr.e_shstrndx = 1; /* string table entry is hardcoded to 1*/ in ac_rgp_file_write_elf_object()400 elf_hdr.e_phoff = 0; in ac_rgp_file_write_elf_object()401 elf_hdr.e_shentsize = sizeof(Elf64_Shdr); in ac_rgp_file_write_elf_object()[all …]
5554 - ac/rgp: set gfxip in elf_hdr.e_flags