diff options
| author | Dan Nicolaescu | 2010-05-02 12:32:18 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-05-02 12:32:18 -0700 |
| commit | a101e0fbac19df1d78912ee67d690d65d8f96ab0 (patch) | |
| tree | d51c8a037cdef687d102268983da7565ffaf3dd0 | |
| parent | f63d0028c0cb44c5bf4ca7f36b66ab19595f6ecc (diff) | |
| download | emacs-a101e0fbac19df1d78912ee67d690d65d8f96ab0.tar.gz emacs-a101e0fbac19df1d78912ee67d690d65d8f96ab0.zip | |
* 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.
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/m/amdx86-64.h | 24 |
2 files changed, 7 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2e0a77ce187..12f15b3c2fd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-05-02 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove. | ||
| 4 | The FreeBSD is not needed, the default works, Solaris version is | ||
| 5 | not needed, and the remaining case is not supported by configure. | ||
| 6 | |||
| 1 | 2010-05-02 Jan Djärv <jan.h.d@swipnet.se> | 7 | 2010-05-02 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 8 | ||
| 3 | * xsmfns.c (CHDIR_OPT): New define. | 9 | * xsmfns.c (CHDIR_OPT): New define. |
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index b2e6cae48c7..376865af421 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -58,29 +58,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 58 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 58 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
| 59 | #undef DATA_SEG_BITS | 59 | #undef DATA_SEG_BITS |
| 60 | 60 | ||
| 61 | 61 | #endif /* DARWIN_OS && ! __APPLE__ */ | |
| 62 | /* For GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__, things are set | ||
| 63 | correctly in s/gnu-linux.h, netbsd.h, darwin.h. */ | ||
| 64 | #ifdef SOLARIS2 | ||
| 65 | #undef START_FILES | ||
| 66 | #undef LIB_STANDARD | ||
| 67 | #elif defined (__FreeBSD__) || (defined (DARWIN_OS) && !defined (__APPLE__)) | ||
| 68 | /* On FreeBSD, the libraries for binaries native to the build host's | ||
| 69 | architecture are installed under /usr/lib, and the ones that need | ||
| 70 | special paths are 32-bit compatibility libraries (installed under | ||
| 71 | /usr/lib32). So to build a native binary of Emacs on FreeBSD/amd64 | ||
| 72 | we can just point to /usr/lib (the default $CRT_DIR). */ | ||
| 73 | #undef START_FILES | ||
| 74 | #define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o | ||
| 75 | /* The duplicate -lgcc is intentional in the definition of LIB_STANDARD. | ||
| 76 | The reason is that some functions in libgcc.a call functions from libc.a, | ||
| 77 | and some libc.a functions need functions from libgcc.a. Since most | ||
| 78 | versions of ld are one-pass linkers, we need to mention -lgcc twice, | ||
| 79 | or else we risk getting unresolved externals. */ | ||
| 80 | #undef LIB_STANDARD | ||
| 81 | #define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o | ||
| 82 | |||
| 83 | #endif /* SOLARIS2 */ | ||
| 84 | 62 | ||
| 85 | /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e | 63 | /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e |
| 86 | (do not change this comment) */ | 64 | (do not change this comment) */ |