32x drc functional on ARM, random adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@824 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-22 20:16:32 +00:00
parent 274f95a9a9
commit 553c3eaa3a
12 changed files with 86 additions and 63 deletions

View file

@ -37,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;
@ -53,6 +53,7 @@ remove_useless_symbols (asymbol **symbols, long count)
*/
*out_ptr++ = sym;
}
return out_ptr - symbols;
}