diff options
Diffstat (limited to 'binutils/srconv.c')
-rw-r--r-- | binutils/srconv.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/binutils/srconv.c b/binutils/srconv.c index 3762a25..d2e0cdb 100644 --- a/binutils/srconv.c +++ b/binutils/srconv.c @@ -1883,10 +1883,12 @@ main (int ac, char **av) printf ("ids %d %d\n", base1, base2); tree = coff_grok (abfd); + if (tree) + { + if (!noprescan) + prescan (tree); - if (!noprescan) - prescan (tree); - - wr_module (tree); + wr_module (tree); + } return 0; } |