aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/i386nbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/i386nbsd.h')
-rw-r--r--bfd/hosts/i386nbsd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/hosts/i386nbsd.h b/bfd/hosts/i386nbsd.h
new file mode 100644
index 0000000..1fd3bed
--- /dev/null
+++ b/bfd/hosts/i386nbsd.h
@@ -0,0 +1,14 @@
+/* Intel 386 running NetBSD */
+
+#ifndef hosts_i386bsd_H
+#define hosts_i386bsd_H
+
+#include "hosts/nbsd.h"
+
+#define HOST_MACHINE_ARCH bfd_arch_i386
+
+#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
+