Lines Matching refs:scns
289 assert (offsetof (struct Elf, state.elf32.scns) in file_read_elf()
290 == offsetof (struct Elf, state.elf64.scns)); in file_read_elf()
291 elf->state.elf32.scns.cnt = scncnt; in file_read_elf()
292 elf->state.elf32.scns.max = scnmax; in file_read_elf()
362 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
363 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
364 elf->state.elf32.scns.data[cnt].shdr.e32 = in file_read_elf()
369 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf()
370 elf->state.elf32.scns.data[cnt].data_base = in file_read_elf()
373 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf()
380 elf->state.elf32.scns.data[elf->state.elf32.shdr[cnt].sh_link].shndx_index in file_read_elf()
385 if (elf->state.elf32.scns.data[cnt].shndx_index == 0) in file_read_elf()
386 elf->state.elf32.scns.data[cnt].shndx_index = -1; in file_read_elf()
393 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
394 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
395 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf()
400 elf->state.elf32.scns_last = &elf->state.elf32.scns; in file_read_elf()
459 elf->state.elf64.scns.data[cnt].index = cnt; in file_read_elf()
460 elf->state.elf64.scns.data[cnt].elf = elf; in file_read_elf()
461 elf->state.elf64.scns.data[cnt].shdr.e64 = in file_read_elf()
466 elf->state.elf64.scns.data[cnt].rawdata_base = in file_read_elf()
467 elf->state.elf64.scns.data[cnt].data_base = in file_read_elf()
470 elf->state.elf64.scns.data[cnt].list = &elf->state.elf64.scns; in file_read_elf()
477 elf->state.elf64.scns.data[elf->state.elf64.shdr[cnt].sh_link].shndx_index in file_read_elf()
482 if (elf->state.elf64.scns.data[cnt].shndx_index == 0) in file_read_elf()
483 elf->state.elf64.scns.data[cnt].shndx_index = -1; in file_read_elf()
490 elf->state.elf64.scns.data[cnt].index = cnt; in file_read_elf()
491 elf->state.elf64.scns.data[cnt].elf = elf; in file_read_elf()
492 elf->state.elf64.scns.data[cnt].list = &elf->state.elf64.scns; in file_read_elf()
497 elf->state.elf64.scns_last = &elf->state.elf64.scns; in file_read_elf()
1035 assert (offsetof (struct Elf, state.elf32.scns) in write_file()
1036 == offsetof (struct Elf, state.elf64.scns)); in write_file()
1037 result->state.elf.scns_last = &result->state.elf32.scns; in write_file()
1038 result->state.elf32.scns.max = NSCNSALLOC; in write_file()