enumerating them, since the reloc type can not serve as an index
into the m68k COFF howto_table.
+Fri Apr 29 15:08:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * cf-m68klynx.c (CALC_ADDEND): Check for PC relative relocs by
+ enumerating them, since the reloc type can not serve as an index
+ into the m68k COFF howto_table.
+
Fri Apr 29 09:42:39 1994 Steve Chamberlain (sac@cygnus.com)
* config.bfd (*-go32): Changed to coff.
cache_ptr->addend = - (ptr->section->vma + ptr->value); \
else \
cache_ptr->addend = 0; \
- if (ptr && _bfd_m68klynx_howto_table[reloc.r_type].pc_relative) \
+ if (ptr && (reloc.r_type == R_PCRBYTE \
+ || reloc.r_type == R_PCRWORD \
+ || reloc.r_type == R_PCRLONG)) \
cache_ptr->addend += asect->vma; \
}