Lines Matching refs:sh_offset
332 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset;
344 ptr = ehdrC + shdr[i].sh_offset;
426 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset);
431 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
432 targ = (Elf_Word*)(ehdrC + shdr[ target_shndx ].sh_offset);
459 (ehdrC + shdr[ sym.st_shndx ].sh_offset
552 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset);
557 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
558 targ = (Elf_Addr) (ehdrC + shdr[ target_shndx ].sh_offset);
594 (ehdrC + shdr[ sym.st_shndx ].sh_offset
716 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset;
839 sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset;
846 if (debug_linker>1) fprintf(stderr, "offs=%4d ", (int)shdr[i].sh_offset );
848 ehdrC + shdr[i].sh_offset,
849 ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1);
877 strtab = ehdrC + shdr[i].sh_offset;
892 stab = (Elf_Sym*) (ehdrC + shdr[i].sh_offset);
961 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset;
1007 it, and set its .sh_offset field such that
1008 ehdrC + .sh_offset == addr_of_zeroed_space. */
1010 shdr[i].sh_offset = ((char*)zspace) - ((char*)ehdrC);
1033 addProddableBlock(oc, ehdrC + shdr[i].sh_offset, shdr[i].sh_size);
1034 //addSection(oc, kind, ehdrC + shdr[i].sh_offset,
1035 // ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1);
1041 stab = (Elf_Sym*) (ehdrC + shdr[i].sh_offset);
1090 ad = ehdrC + shdr[ secno ].sh_offset + stab[j].st_value;