From 86fe0598cb2eabcb44e6939f79b54f8ccd8576f9 Mon Sep 17 00:00:00 2001
From: pw <pw>
Date: Thu, 9 Sep 1999 16:26:34 +0000
Subject: [PATCH] Remove prepending "_" to global names on FreeBSD V3+ systems.
 Note that this may need to be undone if someone wants to build with the aout
 compatibility package. From Martin Cracauer.

---
 lisp/x86-assem.S | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lisp/x86-assem.S b/lisp/x86-assem.S
index 97e9c22f6..8f57bf13e 100644
--- a/lisp/x86-assem.S
+++ b/lisp/x86-assem.S
@@ -1,6 +1,6 @@
 ### x86-assem.S -*- Mode: Asm; -*-
 /**
- * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-assem.S,v 1.14 1998/06/19 14:26:13 dtc Exp $
+ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-assem.S,v 1.15 1999/09/09 16:26:34 pw Exp $
  *
  * Authors:	Paul F. Werkowski <pw@snoopy.mv.com>
  *		Douglas T. Crosher
@@ -17,8 +17,12 @@
 #define LANGUAGE_ASSEMBLY
 #include "internals.h"
 
+#if defined __FreeBSD__
+#include <osreldate.h>
+#endif
+
 /* Minimize conditionalization for different OS naming schemes */
-#if defined __linux__
+#if defined __linux__ || (__FreeBSD_version >= 300000)
 #define GNAME(var) var
 #else
 #define GNAME(var) _##var
-- 
GitLab