diff leo-obj/tool/richsym.c @ 148:13cc7e19ecec

tiobjd disasm -g: support -b as well
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 29 Apr 2014 06:45:45 +0000
parents 70631c246df0
children fdf3137c703a
line wrap: on
line diff
--- a/leo-obj/tool/richsym.c	Tue Apr 29 06:26:59 2014 +0000
+++ b/leo-obj/tool/richsym.c	Tue Apr 29 06:45:45 2014 +0000
@@ -269,7 +269,7 @@
 	}
 	printf("%s%s %s;", prefix, base_type, s1);
 	free(s1);
-	if (richsym_print_bitsize)
+	if (richsym_print_bitsize && (sym->type & 0x30) != 0x20)
 		printf("\t/* %u bits */", get_u32(sym->aux + 4));
 	putchar('\n');
 }