Lines Matching refs:TO_NATIVE

448 	hdr->e_type      = TO_NATIVE(hdr->e_type);  in parse_elf()
449 hdr->e_machine = TO_NATIVE(hdr->e_machine); in parse_elf()
450 hdr->e_version = TO_NATIVE(hdr->e_version); in parse_elf()
451 hdr->e_entry = TO_NATIVE(hdr->e_entry); in parse_elf()
452 hdr->e_phoff = TO_NATIVE(hdr->e_phoff); in parse_elf()
453 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); in parse_elf()
454 hdr->e_flags = TO_NATIVE(hdr->e_flags); in parse_elf()
455 hdr->e_ehsize = TO_NATIVE(hdr->e_ehsize); in parse_elf()
456 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
457 hdr->e_phnum = TO_NATIVE(hdr->e_phnum); in parse_elf()
458 hdr->e_shentsize = TO_NATIVE(hdr->e_shentsize); in parse_elf()
459 hdr->e_shnum = TO_NATIVE(hdr->e_shnum); in parse_elf()
460 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
478 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
484 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf()
492 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name); in parse_elf()
493 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf()
494 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf()
495 sechdrs[i].sh_addr = TO_NATIVE(sechdrs[i].sh_addr); in parse_elf()
496 sechdrs[i].sh_offset = TO_NATIVE(sechdrs[i].sh_offset); in parse_elf()
497 sechdrs[i].sh_size = TO_NATIVE(sechdrs[i].sh_size); in parse_elf()
498 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf()
499 sechdrs[i].sh_info = TO_NATIVE(sechdrs[i].sh_info); in parse_elf()
500 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()
501 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize); in parse_elf()
553 sym->st_shndx = TO_NATIVE(sym->st_shndx); in parse_elf()
554 sym->st_name = TO_NATIVE(sym->st_name); in parse_elf()
555 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
556 sym->st_size = TO_NATIVE(sym->st_size); in parse_elf()
568 *p = TO_NATIVE(*p); in parse_elf()
1316 *r_sym = TO_NATIVE(mips64_r_info->r_sym); in get_rel_type_and_sym()
1321 r_info = TO_NATIVE((Elf64_Xword)r_info); in get_rel_type_and_sym()
1323 r_info = TO_NATIVE((Elf32_Word)r_info); in get_rel_type_and_sym()
1340 r_offset = TO_NATIVE(rela->r_offset); in section_rela()
1344 taddr = tsym->st_value + TO_NATIVE(rela->r_addend); in section_rela()
1383 r_offset = TO_NATIVE(rel->r_offset); in section_rel()