Print this page
remove crap I didnt end up using
take to dis and libdisasm with an axe; does not yet compile
*** 707,717 ****
*isfunc = (GELF_ST_TYPE(sym->se_sym.st_info) == STT_FUNC);
return (sym->se_name);
}
- #if !defined(__sparc)
/*
* Given an address, return the starting offset of the next symbol in the file.
* Only needed on variable length instruction architectures.
*/
off_t
--- 707,716 ----
*** 726,736 ****
return (sym->se_sym.st_value - addr);
}
return (0);
}
- #endif
/*
* Iterate over all sections in the target, executing the given callback for
* each.
*/
--- 725,734 ----