Print this page
3317 dis(1) should support cross-target disassembly

@@ -724,11 +724,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

@@ -744,11 +743,10 @@
                 sym++;
         }
 
         return (0);
 }
-#endif
 
 /*
  * Iterate over all sections in the target, executing the given callback for
  * each.
  */