summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-19 06:27:59 +0000
committerRoland McGrath <roland@gnu.org>1995-01-19 06:27:59 +0000
commit14a6fcea4266e0e38846bb3bc34e169ae8c26c35 (patch)
treebb8977f8aa26de734473b2fef85d65ed713e8908
parentd9e84361d7acc5347a8dbdd5abdeca77e17335ed (diff)
Add case for CPU_TYPE_ALPHA.
-rw-r--r--exec/hostarch.c13
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;