FreeCalypso > hg > freecalypso-reveng
diff ticoff/symtab.c @ 118:193926ccd1ec
tiobjd: better handling of section-relative relocs
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 03 Apr 2014 07:47:03 +0000 |
parents | 5f4141ee175b |
children | fb1e47bebe00 |
line wrap: on
line diff
--- a/ticoff/symtab.c Thu Apr 03 07:16:20 2014 +0000 +++ b/ticoff/symtab.c Thu Apr 03 07:47:03 2014 +0000 @@ -200,6 +200,20 @@ compare_for_sort); } +void +sort_symbols_of_all_sec() +{ + unsigned n; + struct internal_scnhdr *sec; + + for (n = 0; n < nsections; n++) { + sec = sections + n; + if (!sec->nsymbols) + continue; + sort_symbols_of_sec(sec); + } +} + cmd_nm() { unsigned n, m;