+2011-08-04 Alan Modra <amodra@gmail.com>
+
+ * write.c (write_object_file): Call set_symtab even if we had
+ errors.
+
2011-08-04 Tristan Gingold <gingold@adacore.com>
* config/obj-elf.c (obj_elf_section): Do not free name.
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