]> git.eshelyaron.com Git - emacs.git/commitdiff
Simplify STARTFILES definition.
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 23 Apr 2010 07:21:18 +0000 (00:21 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 23 Apr 2010 07:21:18 +0000 (00:21 -0700)
* s/hpux10-20.h (START_FILES): Explicitly define here instead of
relying on Makefile.in to define it.
* s/cygwin.h (START_FILES): Likewise.
* Makefile.in (STARTFILES): Remove conditional code, not needed anymore.

src/ChangeLog
src/Makefile.in
src/s/cygwin.h
src/s/hpux10-20.h

index 6797b623db28dd43757c254cafa3ad5e0140787a..d108a969883e5dafd335efaaa87fd6cef98f6834 100644 (file)
@@ -1,5 +1,11 @@
 2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       Simplify STARTFILES definition.
+       * s/hpux10-20.h (START_FILES): Explicitly define here instead of
+       relying on Makefile.in to define it.
+       * s/cygwin.h (START_FILES): Likewise.
+       * Makefile.in (STARTFILES): Remove conditional code, not needed anymore.
+
        Clean up Solaris code.
        * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
        (LIB_MOTIF): Remove, configure takes care of this.
index ab9272f5285a1f7bd8bf7a42aa755d84470a0e1c..e0b7013c0ab1b148a54494d30cdfd3a430a2c3db 100644 (file)
@@ -219,26 +219,8 @@ DEPFLAGS = -MMD -MF deps/$*.d
 #define LD_SWITCH_X_DEFAULT
 #endif
 
-#ifndef ORDINARY_LINK
-
-#ifndef START_FILES
-#ifdef NO_REMAP
-#define START_FILES pre-crt0.o /lib/crt0.o
-#else /* ! defined (NO_REMAP) */
-#define START_FILES ecrt0.o
-#endif /* ! defined (NO_REMAP) */
-#endif /* START_FILES */
 STARTFILES = START_FILES
 
-#else /* ORDINARY_LINK */
-
-/* config.h might want to force START_FILES anyway */
-#ifdef START_FILES
-STARTFILES = START_FILES
-#endif /* START_FILES */
-
-#endif /* not ORDINARY_LINK */
-
 
 #ifdef NS_IMPL_GNUSTEP
 /* Pull in stuff from GNUstep-make. */
index 9f4669d6e3ff227d1c649299c1ce6e37a29ba2ff..914f11f1bba7983fe06cd0cd28c22efa821cc4a2 100644 (file)
@@ -140,6 +140,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define LIB_MATH
 #define LIBS_DEBUG
 
+#define START_FILES ecrt0.o
+
 /* the end */
 
 /* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b
index c5dba525d64abfb7e791b91e3a1d29d9c929b1e4..0ac37cb3c878e64b8522788e4dca1bf5ca914401 100644 (file)
@@ -175,6 +175,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define NO_REMAP
 
+#define START_FILES pre-crt0.o /lib/crt0.o
+
 /* Define VIRT_ADDR_VARIES if the virtual addresses of
    pure and impure space as loaded can vary, and even their
    relative order cannot be relied on.