Lines Matching refs:TO_NATIVE
507 hdr->e_type = TO_NATIVE(hdr->e_type); in parse_elf()
508 hdr->e_machine = TO_NATIVE(hdr->e_machine); in parse_elf()
509 hdr->e_version = TO_NATIVE(hdr->e_version); in parse_elf()
510 hdr->e_entry = TO_NATIVE(hdr->e_entry); in parse_elf()
511 hdr->e_phoff = TO_NATIVE(hdr->e_phoff); in parse_elf()
512 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); in parse_elf()
513 hdr->e_flags = TO_NATIVE(hdr->e_flags); in parse_elf()
514 hdr->e_ehsize = TO_NATIVE(hdr->e_ehsize); in parse_elf()
515 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
516 hdr->e_phnum = TO_NATIVE(hdr->e_phnum); in parse_elf()
517 hdr->e_shentsize = TO_NATIVE(hdr->e_shentsize); in parse_elf()
518 hdr->e_shnum = TO_NATIVE(hdr->e_shnum); in parse_elf()
519 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
535 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
541 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf()
549 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name); in parse_elf()
550 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf()
551 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf()
552 sechdrs[i].sh_addr = TO_NATIVE(sechdrs[i].sh_addr); in parse_elf()
553 sechdrs[i].sh_offset = TO_NATIVE(sechdrs[i].sh_offset); in parse_elf()
554 sechdrs[i].sh_size = TO_NATIVE(sechdrs[i].sh_size); in parse_elf()
555 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf()
556 sechdrs[i].sh_info = TO_NATIVE(sechdrs[i].sh_info); in parse_elf()
557 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()
558 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize); in parse_elf()
610 sym->st_shndx = TO_NATIVE(sym->st_shndx); in parse_elf()
611 sym->st_name = TO_NATIVE(sym->st_name); in parse_elf()
612 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
613 sym->st_size = TO_NATIVE(sym->st_size); in parse_elf()
625 *p = TO_NATIVE(*p); in parse_elf()
687 crc = TO_NATIVE(*crcp); in handle_modversion()
1754 r->r_addend = TO_NATIVE(*location); in addend_386_rel()
1757 r->r_addend = TO_NATIVE(*location) + 4; in addend_386_rel()
1818 inst = TO_NATIVE(*location); in addend_mips_rel()
1852 r.r_offset = TO_NATIVE(rela->r_offset); in section_rela()
1857 r_sym = TO_NATIVE(r_sym); in section_rela()
1861 r.r_info = TO_NATIVE(rela->r_info); in section_rela()
1865 r.r_info = TO_NATIVE(rela->r_info); in section_rela()
1868 r.r_addend = TO_NATIVE(rela->r_addend); in section_rela()
1898 r.r_offset = TO_NATIVE(rel->r_offset); in section_rel()
1903 r_sym = TO_NATIVE(r_sym); in section_rel()
1907 r.r_info = TO_NATIVE(rel->r_info); in section_rel()
1911 r.r_info = TO_NATIVE(rel->r_info); in section_rel()