Home
last modified time | relevance | path

Searched refs:shndx (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/scripts/
Dsortextable.c184 static inline unsigned int get_secindex(unsigned int shndx, in get_secindex() argument
188 if (is_shndx_special(shndx)) in get_secindex()
189 return SPECIAL(shndx); in get_secindex()
190 if (shndx != SHN_XINDEX) in get_secindex()
191 return shndx; in get_secindex()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c91 static const char *sec_name(unsigned shndx) in sec_name() argument
97 if (shndx < ehdr.e_shnum) in sec_name()
98 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
99 else if (shndx == SHN_ABS) in sec_name()
101 else if (shndx == SHN_COMMON) in sec_name()
/Linux-v4.19/arch/x86/tools/
Drelocs.c239 static const char *sec_name(unsigned shndx) in sec_name() argument
245 if (shndx < ehdr.e_shnum) { in sec_name()
246 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
248 else if (shndx == SHN_ABS) { in sec_name()
251 else if (shndx == SHN_COMMON) { in sec_name()
/Linux-v4.19/tools/perf/util/
Dprobe-finder.c1508 Elf32_Word shndx; in debuginfo__get_text_offset() local
1524 p = dwfl_module_relocation_info(dbg->mod, i, &shndx); in debuginfo__get_text_offset()
1527 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset()