The one call site for this func is inside of an e1/bfin ifdef check,
so add the same logic to the definition to fix a build error:
elf2flt.c:212:1: error: ‘get_symbol_offset’ defined but not used [-Werror=unused-function]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+#if !defined TARGET_e1 && !defined TARGET_bfin
static long
get_symbol_offset(char *name, asection *sec, asymbol **symbol_table, long number_of_symbols)
{
}
}
return -1;
-}
+}
+#endif