emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100118: * m/amdx86-64.h (START_FILES


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100118: * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove.
Date: Sun, 02 May 2010 12:32:18 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100118
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Sun 2010-05-02 12:32:18 -0700
message:
  * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove.
  The FreeBSD is not needed, the default works, Solaris version is
  not needed, and the remaining case is not supported by configure.
modified:
  src/ChangeLog
  src/m/amdx86-64.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-05-02 18:44:04 +0000
+++ b/src/ChangeLog     2010-05-02 19:32:18 +0000
@@ -1,3 +1,9 @@
+2010-05-02  Dan Nicolaescu  <address@hidden>
+
+       * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove.
+       The FreeBSD is not needed, the default works, Solaris version is
+       not needed, and the remaining case is not supported by configure.
+
 2010-05-02  Jan Djärv  <address@hidden>
 
        * xsmfns.c (CHDIR_OPT): New define.

=== modified file 'src/m/amdx86-64.h'
--- a/src/m/amdx86-64.h 2010-04-28 06:43:38 +0000
+++ b/src/m/amdx86-64.h 2010-05-02 19:32:18 +0000
@@ -58,29 +58,7 @@
 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
 #undef DATA_SEG_BITS
 
-
-/* For GNU_LINUX,  __OpenBSD__, __NetBSD__, __APPLE__, things are set
-   correctly in s/gnu-linux.h, netbsd.h, darwin.h.  */
-#ifdef SOLARIS2
-#undef START_FILES
-#undef LIB_STANDARD
-#elif defined (__FreeBSD__) || (defined (DARWIN_OS) && !defined (__APPLE__))
-/* On FreeBSD, the libraries for binaries native to the build host's
-   architecture are installed under /usr/lib, and the ones that need
-   special paths are 32-bit compatibility libraries (installed under
-   /usr/lib32).  So to build a native binary of Emacs on FreeBSD/amd64
-   we can just point to /usr/lib (the default $CRT_DIR).  */
-#undef START_FILES
-#define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o
-/* The duplicate -lgcc is intentional in the definition of LIB_STANDARD.
-   The reason is that some functions in libgcc.a call functions from libc.a,
-   and some libc.a functions need functions from libgcc.a.  Since most
-   versions of ld are one-pass linkers, we need to mention -lgcc twice,
-   or else we risk getting unresolved externals.  */
-#undef LIB_STANDARD
-#define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o
-
-#endif /* SOLARIS2 */
+#endif /* DARWIN_OS && ! __APPLE__ */
 
 /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e
    (do not change this comment) */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]