49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
--- src/machine.h.orig Mon Oct 23 03:59:26 1995
|
|
+++ src/machine.h Sat Mar 31 02:57:59 2001
|
|
@@ -33,6 +33,16 @@
|
|
# define M_MACHINE "dec_alpha"
|
|
# define M_dec_alpha
|
|
|
|
+# elif defined(__FreeBSD__) && defined(__i386__)
|
|
+
|
|
+ #define M_MACHINE "i386_freebsd"
|
|
+ #define M_i386_freebsd
|
|
+
|
|
+# elif defined(__FreeBSD__) && defined(__alpha__)
|
|
+
|
|
+ #define M_MACHINE "alpha_freebsd"
|
|
+ #define M_alpha_freebsd
|
|
+
|
|
# elif defined(__linux__) && !defined(__ELF__)
|
|
|
|
# define M_MACHINE "pc_linux_a_out"
|
|
@@ -101,7 +111,8 @@
|
|
/*---------------------------------*/
|
|
|
|
#if defined(M_sony_news) || defined(M_dec_ultrix) || defined(M_dec_alpha) ||\
|
|
- defined(M_pc_linux_elf)
|
|
+ defined(M_pc_linux_elf) || defined(M_i386_freebsd) ||\
|
|
+ defined(M_alpha_freebsd)
|
|
|
|
# define M_Asm_Symbol1(name) #name
|
|
# define M_Asm_Symbol(name) M_Asm_Symbol1(name)
|
|
@@ -122,7 +133,8 @@
|
|
|
|
|
|
#if defined(M_sparc) || defined(M_dec_ultrix) || defined(M_sony_news) || \
|
|
- defined(M_NeXT_hppa) || defined(M_dec_alpha)
|
|
+ defined(M_NeXT_hppa) || defined(M_dec_alpha) || defined(M_i386_freebsd) ||\
|
|
+ defined(M_alpha_freebsd)
|
|
|
|
# define M_Save_Control_Info
|
|
# define M_Restore_Control_Info
|
|
@@ -145,7 +157,7 @@
|
|
|
|
|
|
#if defined(M_sparc) || defined(M_dec_ultrix) || defined(M_sony_news) || \
|
|
- defined(M_NeXT_hppa)
|
|
+ defined(M_NeXT_hppa) || defined(M_i386_freebsd) || defined(M_alpha_freebsd)
|
|
|
|
# define M_Direct_Goto(lab) {lab(); return;}
|
|
# define M_Indirect_Goto(p_lab) {(* ((void (*)()) p_lab))();return;}
|