Lines Matching refs:TO_NATIVE

457 	hdr->e_type      = TO_NATIVE(hdr->e_type);
458 hdr->e_machine = TO_NATIVE(hdr->e_machine);
459 hdr->e_version = TO_NATIVE(hdr->e_version);
460 hdr->e_entry = TO_NATIVE(hdr->e_entry);
461 hdr->e_phoff = TO_NATIVE(hdr->e_phoff);
462 hdr->e_shoff = TO_NATIVE(hdr->e_shoff);
463 hdr->e_flags = TO_NATIVE(hdr->e_flags);
464 hdr->e_ehsize = TO_NATIVE(hdr->e_ehsize);
465 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize);
466 hdr->e_phnum = TO_NATIVE(hdr->e_phnum);
467 hdr->e_shentsize = TO_NATIVE(hdr->e_shentsize);
468 hdr->e_shnum = TO_NATIVE(hdr->e_shnum);
469 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx);
489 info->num_sections = TO_NATIVE(sechdrs[0].sh_size);
495 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link);
503 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name);
504 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type);
505 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags);
506 sechdrs[i].sh_addr = TO_NATIVE(sechdrs[i].sh_addr);
507 sechdrs[i].sh_offset = TO_NATIVE(sechdrs[i].sh_offset);
508 sechdrs[i].sh_size = TO_NATIVE(sechdrs[i].sh_size);
509 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link);
510 sechdrs[i].sh_info = TO_NATIVE(sechdrs[i].sh_info);
511 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign);
512 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize);
562 sym->st_shndx = TO_NATIVE(sym->st_shndx);
563 sym->st_name = TO_NATIVE(sym->st_name);
564 sym->st_value = TO_NATIVE(sym->st_value);
565 sym->st_size = TO_NATIVE(sym->st_size);
577 *p = TO_NATIVE(*p);
1277 return TO_NATIVE(*location);
1279 return TO_NATIVE(*location) + 4;
1334 inst = TO_NATIVE(*(uint32_t *)loc);
1338 inst = TO_NATIVE(*(uint32_t *)loc);
1345 inst = TO_NATIVE(*(uint32_t *)loc);
1350 upper = TO_NATIVE(*(uint16_t *)loc);
1351 lower = TO_NATIVE(*((uint16_t *)loc + 1));
1368 upper = TO_NATIVE(*(uint16_t *)loc);
1369 lower = TO_NATIVE(*((uint16_t *)loc + 1));
1392 upper = TO_NATIVE(*(uint16_t *)loc);
1393 lower = TO_NATIVE(*((uint16_t *)loc + 1));
1414 inst = TO_NATIVE(*location);
1459 *r_sym = TO_NATIVE(mips64_r_info->r_sym);
1466 r_info = TO_NATIVE(r_info64);
1470 r_info = TO_NATIVE(r_info32);
1495 r_offset = TO_NATIVE(rela->r_offset);
1499 taddr = tsym->st_value + TO_NATIVE(rela->r_addend);
1538 r_offset = TO_NATIVE(rel->r_offset);