Index: bfd/coff-sh.c =================================================================== RCS file: /cvs/src/src/bfd/coff-sh.c,v retrieving revision 1.20 diff -u -r1.20 coff-sh.c --- coff-sh.c 2002/03/07 18:11:20 1.20 +++ coff-sh.c 2002/04/04 22:45:04 @@ -476,9 +476,15 @@ /* An array mapping BFD reloc codes to SH PE relocs. */ static const struct shcoff_reloc_map sh_reloc_map[] = { +#if COFF_WITH_PE { BFD_RELOC_32, R_SH_IMM32CE }, { BFD_RELOC_RVA, R_SH_IMAGEBASE }, { BFD_RELOC_CTOR, R_SH_IMM32CE }, +#else + { BFD_RELOC_32, R_SH_IMM32 }, + { BFD_RELOC_RVA, R_SH_IMAGEBASE }, + { BFD_RELOC_CTOR, R_SH_IMM32 }, +#endif }; /* Given a BFD reloc code, return the howto structure for the