From 14a6fcea4266e0e38846bb3bc34e169ae8c26c35 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 19 Jan 1995 06:27:59 +0000 Subject: Add case for CPU_TYPE_ALPHA. --- exec/hostarch.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; -- cgit v1.2.3