This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
bfd_mach_sh4 not #defined anywhere
- To: <insight at sourceware dot cygnus dot com>
- Subject: bfd_mach_sh4 not #defined anywhere
- From: "Robert Melchers" <robert dot melchers at drives dot eurotherm dot co dot uk>
- Date: Wed, 20 Oct 1999 11:07:44 +0100
- Reply-To: <robert dot melchers at drives dot eurotherm dot co dot uk>
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.