FreeCalypso > hg > freecalypso-reveng
diff ticoff/tables.c @ 116:5f4141ee175b
tiobjd: retain the original symtab order for symbols at the same position
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 03 Apr 2014 07:00:08 +0000 |
parents | e650fdc743fe |
children | 2c6b1319383b |
line wrap: on
line diff
--- a/ticoff/tables.c Thu Apr 03 06:50:07 2014 +0000 +++ b/ticoff/tables.c Thu Apr 03 07:00:08 2014 +0000 @@ -98,6 +98,7 @@ exit(1); } symtab[n] = in; + in->number = n; in->name = get_secorsym_name(symtab_raw[n].e_name); in->value = get_u32(symtab_raw[n].e_value); in->scnum = get_s16(symtab_raw[n].e_scnum);