Print this page
remove crap I didnt end up using
take to dis and libdisasm with an axe; does not yet compile
@@ -707,11 +707,10 @@
*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
@@ -726,11 +725,10 @@
return (sym->se_sym.st_value - addr);
}
return (0);
}
-#endif
/*
* Iterate over all sections in the target, executing the given callback for
* each.
*/