Searched refs:shdrs (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/arch/mips/vdso/ |
| H A D | genvdso.h | 10 void *shdrs; in FUNC() local 15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC() 23 shdr = shdrs + (i * sh_entsize); in FUNC() 61 void *shdrs, *symtab; in FUNC() local 69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 74 shdr = shdrs + (i * sh_entsize); in FUNC() 101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
|
| /OK3568_Linux_fs/kernel/arch/sparc/vdso/ |
| H A D | vma.c | 72 Elf64_Shdr *shdrs; in one_section64() local 75 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section64() 76 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section64() 78 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section64() 80 *size = shdrs[i].sh_size; in one_section64() 81 return (void *)e->hdr + shdrs[i].sh_offset; in one_section64() 140 Elf32_Shdr *shdrs; in one_section32() local 143 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section32() 144 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section32() 146 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section32() [all …]
|
| /OK3568_Linux_fs/buildroot/package/patchelf/ |
| H A D | 0010-Fix-endianness-issues-for-powerpc-PIE.patch | 61 - while( shdrs[i].sh_offset <= pht_size && i < rdi(hdr->e_shnum) ) { 62 + while( rdi(shdrs[i].sh_offset) <= pht_size && i < rdi(hdr->e_shnum) ) { 63 if (not haveReplacedSection(getSectionName(shdrs[i]))) 64 - replaceSection(getSectionName(shdrs[i]), shdrs[i].sh_size); 65 + replaceSection(getSectionName(shdrs[i]), rdi(shdrs[i].sh_size));
|
| H A D | 0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch | 31 - while( shdrs[i].sh_addr <= pht_size && i < rdi(hdr->e_shnum) ) { 32 + while( shdrs[i].sh_offset <= pht_size && i < rdi(hdr->e_shnum) ) { 33 if (not haveReplacedSection(getSectionName(shdrs[i]))) 34 replaceSection(getSectionName(shdrs[i]), shdrs[i].sh_size);
|
| H A D | 0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch | 24 - sort(shdrs.begin(), shdrs.end(), comp); 25 + sort(shdrs.begin() + 1, shdrs.end(), comp);
|
| H A D | 0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch | 87 + while( shdrs[i].sh_addr <= pht_size && i < rdi(hdr->e_shnum) ) { 88 + if (not haveReplacedSection(getSectionName(shdrs[i]))) 89 + replaceSection(getSectionName(shdrs[i]), shdrs[i].sh_size);
|