Lines 165-171
Link Here
|
165 |
\ |
165 |
\ |
166 |
while (sym < symend) { \ |
166 |
while (sym < symend) { \ |
167 |
char *symname = (void *)(elf + stroff + sym->st_name); \ |
167 |
char *symname = (void *)(elf + stroff + sym->st_name); \ |
168 |
if (ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ |
168 |
if (ELF##n##_ST_TYPE(sym->st_info) == STT_FUNC && \ |
|
|
169 |
ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ |
169 |
sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \ |
170 |
sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \ |
170 |
sym->st_name && \ |
171 |
sym->st_name && \ |
171 |
/* Minor optimization to avoid strcmp. */ \ |
172 |
/* Minor optimization to avoid strcmp. */ \ |