| 431 | } |
| 432 | |
| 433 | static int xh_elf_gnu_hash_lookup(xh_elf_t *self, const char *symbol, uint32_t *symidx) |
| 434 | { |
| 435 | if(0 == xh_elf_gnu_hash_lookup_def(self, symbol, symidx)) return 0; |
| 436 | if(0 == xh_elf_gnu_hash_lookup_undef(self, symbol, symidx)) return 0; |
| 437 | return XH_ERRNO_NOTFND; |
| 438 | } |
| 439 | |
| 440 | static int xh_elf_find_symidx_by_name(xh_elf_t *self, const char *symbol, uint32_t *symidx) |
| 441 | { |
no test coverage detected