From 5dd477d4472bb08aa6925ea124c3937584e13d18 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 22 Aug 1991 03:00:18 +0000 Subject: [PATCH] Support HP-300's under BSD. --- gas/a.out.gnu.h | 4 ++++ include/sysdep.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gas/a.out.gnu.h b/gas/a.out.gnu.h index 0d315453b8..21cd75460e 100755 --- a/gas/a.out.gnu.h +++ b/gas/a.out.gnu.h @@ -55,6 +55,10 @@ enum machine_type { /* skip a bunch so we don't run into any of sun's numbers */ M_386 = 100, M_29K = 101, + /* HP/BSD formats */ + M_HP200 = 200, /* hp200 (68010) BSD binary */ + M_HP300 = 300, /* hp300 (68020+68881) BSD binary */ + M_HPUX23 = 0x020C, /* hp200/300 HPUX binary */ }; #define N_MAGIC(exec) ((exec).a_info & 0xffff) diff --git a/include/sysdep.h b/include/sysdep.h index 154b272e70..da40fc38aa 100755 --- a/include/sysdep.h +++ b/include/sysdep.h @@ -50,6 +50,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define VAX_BSD_SYS 14 #define TAHOE_BSD_SYS 15 #define RTBSD_SYS 16 /* IBM RT/PC running bsd Unix */ +#define HP300BSD_SYS 17 #include @@ -131,4 +132,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif +#if HOST_SYS == HP300BSD_SYS +#include +#endif + #endif -- 2.34.1