Adds betters symbol listing.

This commit is contained in:
Felix Queißner 2016-06-30 18:14:46 +02:00
parent ef501952b2
commit ae9ea08ef1

View file

@ -233,10 +233,11 @@ int main(int argc, char **argv)
if(listSymbols)
{
printf("Symbols:\n");
FILE *fExports = stdout;
fprintf(fExports, "SYMBOLS\n");
for(llist_t *it = labels; it != NULL; it = it->next)
{
printf("%s@%d\n", it->name, it->value);
fprintf(fExports, "\t%s\t%X\n", it->name, it->value);
}
}