Lines Matching refs:outscn
414 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() argument
416 ELF_CHECK (gelf_update_shdr (outscn, newshdr), in update_shdr()
422 update_sh_size (Elf_Scn *outscn, const Elf_Data *data) in update_sh_size() argument
425 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
430 update_shdr (outscn, newshdr); in update_sh_size()
435 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs() argument
438 Elf_Data *data = elf_getdata (outscn, NULL); in adjust_relocs()
480 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in adjust_relocs()
485 update_shdr (outscn, newshdr); in adjust_relocs()
543 update_sh_size (outscn, data); in adjust_relocs()
577 update_sh_size (outscn, data); in adjust_relocs()
718 Elf_Scn *outscn; member
877 && shndx == elf_ndxscn (split_bss->outscn)) in collect_symbols()
879 s->shndx = elf_ndxscn (split_bss[-1].outscn); in collect_symbols()
1084 sections[i].outscn = NULL; in find_alloc_sections_prelink()
1175 sec->outscn = NULL; in find_alloc_sections_prelink()
1217 sec->outscn = scn; in find_alloc_sections_prelink()
1225 if (sections[i].outscn == scn) in find_alloc_sections_prelink()
1249 if (sec->outscn == NULL in find_alloc_sections_prelink()
1277 sec->outscn = undo_sec->outscn; in find_alloc_sections_prelink()
1311 if (sec->outscn != NULL) in new_shstrtab()
1319 unstripped_strent[elf_ndxscn (sec->outscn) - 1] = sec->strent; in new_shstrtab()
1401 sections[i].outscn = NULL; in copy_elided_sections()
1527 sec->outscn = scn; in copy_elided_sections()
1557 if (sec->outscn == NULL) in copy_elided_sections()
1593 sec->outscn = elf_newscn (unstripped); in copy_elided_sections()
1594 Elf_Data *newdata = elf_newdata (sec->outscn); in copy_elided_sections()
1595 ELF_CHECK (newdata != NULL && gelf_update_shdr (sec->outscn, in copy_elided_sections()
1607 ndx_section[secndx - 1] = elf_ndxscn (sec->outscn); in copy_elided_sections()
1628 if (sec->outscn != NULL) in copy_elided_sections()
1631 GElf_Shdr *shdr = gelf_getshdr (sec->outscn, &shdr_mem); in copy_elided_sections()
1666 Elf_Data *outdata = elf_getdata (sec->outscn, NULL); in copy_elided_sections()
1675 placed[elf_ndxscn (sec->outscn) - 1] = true; in copy_elided_sections()
1684 update_shdr (sec->outscn, &shdr_mem); in copy_elided_sections()
1955 if (sec->outscn != NULL && sec->shdr.sh_link == old_sh_link) in copy_elided_sections()
1956 adjust_relocs (sec->outscn, sec->scn, &sec->shdr, in copy_elided_sections()
1969 stripped_symtab->outscn, in copy_elided_sections()
1976 stripped_dynsym->outscn, in copy_elided_sections()