diff options
Diffstat (limited to 'bfd/evax-alpha.c')
-rw-r--r-- | bfd/evax-alpha.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c index 20a5a97..a13ae6e 100644 --- a/bfd/evax-alpha.c +++ b/bfd/evax-alpha.c @@ -196,7 +196,6 @@ evax_initialize (abfd) PRIV(buf_size) = 0; PRIV(rec_length) = 0; PRIV(file_format) = FF_UNKNOWN; - PRIV(filename) = NULL; PRIV(fixup_done) = false; PRIV(sections) = NULL; @@ -530,12 +529,6 @@ evax_close_and_cleanup (abfd) } PRIV(buf_size) = 0; - if (PRIV(filename) != NULL) - { - free (PRIV(filename)); - PRIV(filename) = NULL; - } - if (PRIV(output_buf) != 0) { free (PRIV(output_buf)); @@ -1010,9 +1003,9 @@ evax_get_symtab (abfd, symbols) PRIV(symcache) = symbols; bfd_hash_traverse(PRIV(evax_symbol_table), copy_symbols, (PTR)abfd); - symbols[bfd_get_symcount(abfd)] = NULL; + symbols[PRIV(egsd_sym_count)] = NULL; - return bfd_get_symcount(abfd); + return PRIV(egsd_sym_count); } |