diff options
Diffstat (limited to 'exec/hostarch.c')
-rw-r--r-- | exec/hostarch.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/exec/hostarch.c b/exec/hostarch.c index 05b6813b..a9bf123d 100644 --- a/exec/hostarch.c +++ b/exec/hostarch.c @@ -121,6 +121,19 @@ aout_mach_host_machine (host_t host, int *host_machine) #endif break; +#ifdef CPU_TYPE_ALPHA + case CPU_TYPE_ALPHA: +#ifdef BFD + *arch = bfd_arch_alpha; +#else +#ifndef M_ALPHA +#define M_ALPHA 999 /* XXX */ +#endif + *host_machine = M_ALPHA; +#endif + break; +#endif + default: #ifdef BFD return ENOEXEC; |