changeset 105956:31f80330b77b

* s/freebsd.h: * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 11 Nov 2009 19:13:50 +0000
parents 21f6a54627b6
children 25e1d7e37015
files src/ChangeLog src/s/freebsd.h src/s/netbsd.h
diffstat 3 files changed, 4 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Nov 11 19:02:35 2009 +0000
+++ b/src/ChangeLog	Wed Nov 11 19:13:50 2009 +0000
@@ -1,5 +1,8 @@
 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* s/freebsd.h:
+	* s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
+
 	* Makefile.in: Add dependencies to lisp.h.  Remove dependencies
 	for non-existent files: unexmips.c, unexnext.c, abbrev.c, malloc.c.
 
--- a/src/s/freebsd.h	Wed Nov 11 19:02:35 2009 +0000
+++ b/src/s/freebsd.h	Wed Nov 11 19:13:50 2009 +0000
@@ -84,19 +84,7 @@
 
 #else /* not __ELF__ */
 
-#ifndef NO_SHARED_LIBS
-#define LD_SWITCH_SYSTEM -e start -dc -L/usr/local/lib
-#define HAVE_TEXT_START		/* No need to define `start_of_text'. */
-#if __FreeBSD_version >= 300002
-#define START_FILES pre-crt0.o /usr/lib/aout/crt0.o
-#else /* __FreeBSD_version < 300002 */
-#define START_FILES pre-crt0.o /usr/lib/crt0.o
-#endif /* __FreeBSD_version < 300002 */
-#define UNEXEC unexsunos4.o
-#define RUN_TIME_REMAP
-#define LIB_GCC -lgcc
-
-#else /* NO_SHARED_LIBS */
+#ifdef NO_SHARED_LIBS
 #ifdef __FreeBSD__  /* shared libs are available, but the user prefers
                      not to use them.  */
 #define LD_SWITCH_SYSTEM -Bstatic -L/usr/local/lib
--- a/src/s/netbsd.h	Wed Nov 11 19:02:35 2009 +0000
+++ b/src/s/netbsd.h	Wed Nov 11 19:13:50 2009 +0000
@@ -53,16 +53,6 @@
 /* Netbsd has POSIX-style pgrp behavior.  */
 #undef BSD_PGRPS
 
-#if !defined (NO_SHARED_LIBS) && ! defined (__ELF__)
-/* These definitions should work for either dynamic or static linking,
-   whichever is the default for `cc -nostdlib'.  */
-#define HAVE_TEXT_START		/* No need to define `start_of_text'.  */
-#define START_FILES pre-crt0.o /usr/lib/crt0.o
-#define UNEXEC unexsunos4.o
-#define RUN_TIME_REMAP
-
-#endif /* not NO_SHARED_LIBS and not ELF */
-
 #if !defined (NO_SHARED_LIBS) && defined (__ELF__)
 #define START_FILES pre-crt0.o /usr/lib/crt0.o START_FILES_1 /usr/lib/crtbegin.o
 #define UNEXEC unexelf.o