32x drc functional on ARM, random adjustments
[picodrive.git] / platform / linux / host_dasm.c
index 9947689..91ea4da 100644 (file)
@@ -21,10 +21,6 @@ static struct disassemble_info di;
 #define BFD_MACH bfd_mach_i386_i386_intel_syntax
 #endif
 
-/* hacks for ARM */
-int floatformat_to_double;
-int floatformat_ieee_single_little;
-
 /* symbols */
 static asymbol **symbols;
 static long symcount;
@@ -41,7 +37,7 @@ remove_useless_symbols (asymbol **symbols, long count)
     {
       asymbol *sym = *in_ptr++;
 
-      if (sym->name == NULL || sym->name[0] == '\0')
+      if (sym->name == NULL || sym->name[0] == '\0' || sym->name[0] == '$')
         continue;
       if (sym->flags & (BSF_DEBUGGING | BSF_SECTION_SYM))
         continue;
@@ -57,6 +53,7 @@ remove_useless_symbols (asymbol **symbols, long count)
 */
       *out_ptr++ = sym;
     }
+
   return out_ptr - symbols;
 }