diff options
author | Alan Modra <amodra@bigpond.net.au> | 2011-08-04 10:23:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2011-08-04 10:23:59 +0000 |
commit | 1e0c2972a7ee27613d470510bed9f008356753bb (patch) | |
tree | 7171ef93a998729427412daab405f083ac1a954b /gas/write.c | |
parent | 2511bbd6c890184567620c9e2bf94014d3ae771c (diff) | |
download | binutils-redhat-1e0c2972a7ee27613d470510bed9f008356753bb.tar.gz |
* write.c (write_object_file): Call set_symtab even if we had
errors.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c index 5eb4b56ef7..39b88a68b7 100644 --- a/gas/write.c +++ b/gas/write.c @@ -2073,13 +2073,14 @@ write_object_file (void) obj_adjust_symtab (); #endif + set_symtab (); + /* Stop if there is an error. */ if (had_errors ()) return; /* Now that all the sizes are known, and contents correct, we can start writing to the file. */ - set_symtab (); /* If *_frob_file changes the symbol value at this point, it is responsible for moving the changed value into symp->bsym->value |