Lines Matching refs:TO_NATIVE
462 hdr->e_type = TO_NATIVE(hdr->e_type); in parse_elf()
463 hdr->e_machine = TO_NATIVE(hdr->e_machine); in parse_elf()
464 hdr->e_version = TO_NATIVE(hdr->e_version); in parse_elf()
465 hdr->e_entry = TO_NATIVE(hdr->e_entry); in parse_elf()
466 hdr->e_phoff = TO_NATIVE(hdr->e_phoff); in parse_elf()
467 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); in parse_elf()
468 hdr->e_flags = TO_NATIVE(hdr->e_flags); in parse_elf()
469 hdr->e_ehsize = TO_NATIVE(hdr->e_ehsize); in parse_elf()
470 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
471 hdr->e_phnum = TO_NATIVE(hdr->e_phnum); in parse_elf()
472 hdr->e_shentsize = TO_NATIVE(hdr->e_shentsize); in parse_elf()
473 hdr->e_shnum = TO_NATIVE(hdr->e_shnum); in parse_elf()
474 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
492 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
498 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf()
506 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name); in parse_elf()
507 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf()
508 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf()
509 sechdrs[i].sh_addr = TO_NATIVE(sechdrs[i].sh_addr); in parse_elf()
510 sechdrs[i].sh_offset = TO_NATIVE(sechdrs[i].sh_offset); in parse_elf()
511 sechdrs[i].sh_size = TO_NATIVE(sechdrs[i].sh_size); in parse_elf()
512 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf()
513 sechdrs[i].sh_info = TO_NATIVE(sechdrs[i].sh_info); in parse_elf()
514 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()
515 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize); in parse_elf()
564 sym->st_shndx = TO_NATIVE(sym->st_shndx); in parse_elf()
565 sym->st_name = TO_NATIVE(sym->st_name); in parse_elf()
566 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
567 sym->st_size = TO_NATIVE(sym->st_size); in parse_elf()
579 *p = TO_NATIVE(*p); in parse_elf()
1172 return TO_NATIVE(*location); in addend_386_rel()
1174 return TO_NATIVE(*location) + 4; in addend_386_rel()
1195 inst = TO_NATIVE(*(uint32_t *)loc); in addend_arm_rel()
1199 inst = TO_NATIVE(*(uint32_t *)loc); in addend_arm_rel()
1206 inst = TO_NATIVE(*(uint32_t *)loc); in addend_arm_rel()
1211 upper = TO_NATIVE(*(uint16_t *)loc); in addend_arm_rel()
1212 lower = TO_NATIVE(*((uint16_t *)loc + 1)); in addend_arm_rel()
1229 upper = TO_NATIVE(*(uint16_t *)loc); in addend_arm_rel()
1230 lower = TO_NATIVE(*((uint16_t *)loc + 1)); in addend_arm_rel()
1253 upper = TO_NATIVE(*(uint16_t *)loc); in addend_arm_rel()
1254 lower = TO_NATIVE(*((uint16_t *)loc + 1)); in addend_arm_rel()
1275 inst = TO_NATIVE(*location); in addend_mips_rel()
1328 *r_sym = TO_NATIVE(mips64_r_info->r_sym); in get_rel_type_and_sym()
1333 r_info = TO_NATIVE((Elf64_Xword)r_info); in get_rel_type_and_sym()
1335 r_info = TO_NATIVE((Elf32_Word)r_info); in get_rel_type_and_sym()
1352 r_offset = TO_NATIVE(rela->r_offset); in section_rela()
1356 taddr = tsym->st_value + TO_NATIVE(rela->r_addend); in section_rela()
1395 r_offset = TO_NATIVE(rel->r_offset); in section_rel()