aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-04-23 00:21:18 -0700
committerDan Nicolaescu2010-04-23 00:21:18 -0700
commited7103805c0fcb55add55f19800cfb54743132f1 (patch)
tree3f9d71d642149baaa42cc654982fd58c9ade577e /src
parentfeeb1604f50bafb987b4e85ac3df5edef5151662 (diff)
downloademacs-ed7103805c0fcb55add55f19800cfb54743132f1.tar.gz
emacs-ed7103805c0fcb55add55f19800cfb54743132f1.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/Makefile.in18
-rw-r--r--src/s/cygwin.h2
-rw-r--r--src/s/hpux10-20.h2
4 files changed, 10 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6797b623db2..d108a969883 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
12010-04-23 Dan Nicolaescu <dann@ics.uci.edu> 12010-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 Simplify STARTFILES definition.
4 * s/hpux10-20.h (START_FILES): Explicitly define here instead of
5 relying on Makefile.in to define it.
6 * s/cygwin.h (START_FILES): Likewise.
7 * Makefile.in (STARTFILES): Remove conditional code, not needed anymore.
8
3 Clean up Solaris code. 9 Clean up Solaris code.
4 * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM) 10 * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
5 (LIB_MOTIF): Remove, configure takes care of this. 11 (LIB_MOTIF): Remove, configure takes care of this.
diff --git a/src/Makefile.in b/src/Makefile.in
index ab9272f5285..e0b7013c0ab 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -219,26 +219,8 @@ DEPFLAGS = -MMD -MF deps/$*.d
219#define LD_SWITCH_X_DEFAULT 219#define LD_SWITCH_X_DEFAULT
220#endif 220#endif
221 221
222#ifndef ORDINARY_LINK
223
224#ifndef START_FILES
225#ifdef NO_REMAP
226#define START_FILES pre-crt0.o /lib/crt0.o
227#else /* ! defined (NO_REMAP) */
228#define START_FILES ecrt0.o
229#endif /* ! defined (NO_REMAP) */
230#endif /* START_FILES */
231STARTFILES = START_FILES 222STARTFILES = START_FILES
232 223
233#else /* ORDINARY_LINK */
234
235/* config.h might want to force START_FILES anyway */
236#ifdef START_FILES
237STARTFILES = START_FILES
238#endif /* START_FILES */
239
240#endif /* not ORDINARY_LINK */
241
242 224
243#ifdef NS_IMPL_GNUSTEP 225#ifdef NS_IMPL_GNUSTEP
244/* Pull in stuff from GNUstep-make. */ 226/* Pull in stuff from GNUstep-make. */
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 9f4669d6e3f..914f11f1bba 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -140,6 +140,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
140#define LIB_MATH 140#define LIB_MATH
141#define LIBS_DEBUG 141#define LIBS_DEBUG
142 142
143#define START_FILES ecrt0.o
144
143/* the end */ 145/* the end */
144 146
145/* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b 147/* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index c5dba525d64..0ac37cb3c87 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -175,6 +175,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
175 175
176#define NO_REMAP 176#define NO_REMAP
177 177
178#define START_FILES pre-crt0.o /lib/crt0.o
179
178/* Define VIRT_ADDR_VARIES if the virtual addresses of 180/* Define VIRT_ADDR_VARIES if the virtual addresses of
179 pure and impure space as loaded can vary, and even their 181 pure and impure space as loaded can vary, and even their
180 relative order cannot be relied on. 182 relative order cannot be relied on.