]> git.eshelyaron.com Git - emacs.git/commitdiff
Changes to support NetBSD.
authorCharles Hannum <mycroft@gnu.org>
Fri, 22 Jul 1994 18:28:20 +0000 (18:28 +0000)
committerCharles Hannum <mycroft@gnu.org>
Fri, 22 Jul 1994 18:28:20 +0000 (18:28 +0000)
src/m/ns32000.h
src/m/sparc.h

index a05a612b6aba4bbf37f97feeb5b215cbf615e8ce..e45f223211cdead986fb5ef6719781bfea61ae80 100644 (file)
@@ -96,7 +96,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    in the file alloca.s should be used.  */
 
 /* #define C_ALLOCA */
-/* #define HAVE_ALLOCA */
+#ifdef __NetBSD__
+#define HAVE_ALLOCA
+#endif
 
 /* Define NO_REMAP if memory segmentation makes it not work well
    to change the boundary between the text section and data section
@@ -109,8 +111,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define STACK_DIRECTION -1
 
+#ifndef __NetBSD__
 #define EXEC_MAGIC 0410
 
 #define PURESIZE 140000
 
 #define START_FILES pre-crt0.o /lib/crt0.o
+#endif
index 184bdbc4f363cc3997eb2b647e06bf2b80986af4..341f37ca97145c2041b2f72e479def6a6a0f91b7 100644 (file)
@@ -110,6 +110,9 @@ NOTE-END  */
 #define PURESIZE 130000
 #endif
 
+#ifndef __NetBSD__
+/* This really belongs in s/sun.h.  */
+
 /* Say that the text segment of a.out includes the header;
    the header actually occupies the first few bytes of the text segment
    and is counted in hdr.a_text.  */
@@ -119,3 +122,5 @@ NOTE-END  */
 /* This is the offset of the executable's text, from the start of the file.  */
 
 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
+
+#endif /* __NetBSD__ */