+Wed May 4 11:29:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * config/obj-coffbfd.c (fixup_segment): Make common symbol and PC
+ relative adjustments when TE_LYNX is defined as well as when
+ TC_I386 is defined.
+
Wed May 4 02:29:21 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
* as.h (strstr): Restore declaration.
add_number += S_GET_VALUE (add_symbolP);
add_number -= md_pcrel_from (fixP);
-#ifdef TC_I386
+#if defined (TC_I386) || defined (TE_LYNX)
/* On the 386 we must adjust by the segment
vaddr as well. Ian Taylor. */
add_number -= segP->scnhdr.s_vaddr;
continue;
} /* COBR */
#endif /* TC_I960 */
-#ifdef TC_I386
+#if defined (TC_I386) || defined (TE_LYNX)
/* 386 COFF uses a peculiar format in
which the value of a common symbol is
stored in the .text segment (I've
{
fixP->fx_addsy = &abs_symbol;
} /* if there's an add_symbol */
-#ifdef TC_I386
+#if defined (TC_I386) || defined (TE_LYNX)
/* On the 386 we must adjust by the segment vaddr
as well. Ian Taylor. */
add_number -= segP->scnhdr.s_vaddr;