This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bfd_mach_sh4 not #defined anywhere


Build problem with target = sh-coff (all Hitachi SH builds).
bfd_mach_sh4 is used by sh-tdep.c and others but is not defined anywhere that I can find. The fixed
I used was to add the following to bfd.h in my build dir.


  bfd_arch_sh,         /* Hitachi SH */
#define bfd_mach_sh            0
#define bfd_mach_sh3        0x30
#define bfd_mach_sh3e       0x3e
+ #define bfd_mach_sh4        0x40

I have no idea how to do this correctly, so I shall leave it to a more knowledgeable sole.

Robert.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]