* write.c (adjust_reloc_syms): Make sure that symbols are
resolved; expression symbols may have been skipped.
+ * config/obj-coff.c (fixup_segment): Likewise.
Thu Dec 12 15:18:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
#include "as.h"
#include "obstack.h"
#include "subsegs.h"
-#include "libiberty.h"
/* I think this is probably always correct. */
#ifndef KEEP_RELOC_INFO
/* Turn the segment of the symbol into an offset. */
if (symbol_ptr)
{
+ resolve_symbol_value (symbol_ptr);
if (! symbol_ptr->sy_resolved)
{
char *file;
}
#endif
+ /* Make sure the symbols have been resolved; this may not have
+ happened if these are expression symbols. */
+ if (add_symbolP != NULL && ! add_symbolP->sy_resolved)
+ resolve_symbol_value (add_symbolP);
+ if (sub_symbolP != NULL && ! sub_symbolP->sy_resolved)
+ resolve_symbol_value (sub_symbolP);
+
if (add_symbolP != NULL
&& add_symbolP->sy_mri_common)
{