aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/.Sanitize1
-rw-r--r--bfd/hosts/m68knbsd.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize
index 357e7e9..5f5037f 100644
--- a/bfd/hosts/.Sanitize
+++ b/bfd/hosts/.Sanitize
@@ -60,6 +60,7 @@ irix3.h
irix4.h
lynx.h
m68klynx.h
+m68knbsd.h
m68kv4.h
m88kmach3.h
miniframe.h
diff --git a/bfd/hosts/m68knbsd.h b/bfd/hosts/m68knbsd.h
new file mode 100644
index 0000000..9c9430d
--- /dev/null
+++ b/bfd/hosts/m68knbsd.h
@@ -0,0 +1,14 @@
+/* m68k hosts running NetBSD */
+
+#ifndef hosts_m68knbsd_h
+#define hosts_m68knbsd_h
+
+#include "hosts/nbsd.h"
+
+#define HOST_MACHINE_ARCH bfd_arch_m68k
+#define HOST_BIG_ENDIAN_P
+
+#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
+ ((core_bfd)->tdata.trad_core_data->u.u_sig)
+#define u_comm u_kproc.kp_proc.p_comm
+#endif