diff options
| author | Dan Nicolaescu | 2008-07-23 06:39:16 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-23 06:39:16 +0000 |
| commit | 268b24eec66c68694ddd31f4373f17aefe01bfe0 (patch) | |
| tree | 83833f72c35343afd58621030d45a145a193745c /src/s | |
| parent | 911109b18b567e97e8f593a2798ead907c09004e (diff) | |
| download | emacs-268b24eec66c68694ddd31f4373f17aefe01bfe0.tar.gz emacs-268b24eec66c68694ddd31f4373f17aefe01bfe0.zip | |
* s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK):
* s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused.
(LD_SWITCH_SYSTEM_1): Remove, update users.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/freebsd.h | 18 | ||||
| -rw-r--r-- | src/s/netbsd.h | 3 |
2 files changed, 7 insertions, 14 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index ca183b57ff1..acb9ec95db2 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -68,7 +68,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 68 | 68 | ||
| 69 | #ifdef __ELF__ | 69 | #ifdef __ELF__ |
| 70 | 70 | ||
| 71 | #define LD_SWITCH_SYSTEM_1 | 71 | /* Let `ld' find image libs and similar things in /usr/local/lib. The |
| 72 | system compiler, GCC, has apparently been modified to not look | ||
| 73 | there, contrary to what a stock GCC would do. */ | ||
| 74 | |||
| 75 | #define LD_SWITCH_SYSTEM -L/usr/local/lib | ||
| 72 | #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o | 76 | #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o |
| 73 | #define UNEXEC unexelf.o | 77 | #define UNEXEC unexelf.o |
| 74 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o | 78 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o |
| @@ -78,7 +82,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 78 | #else /* not __ELF__ */ | 82 | #else /* not __ELF__ */ |
| 79 | 83 | ||
| 80 | #ifndef NO_SHARED_LIBS | 84 | #ifndef NO_SHARED_LIBS |
| 81 | #define LD_SWITCH_SYSTEM_1 -e start -dc -L/usr/local/lib | 85 | #define LD_SWITCH_SYSTEM -e start -dc -L/usr/local/lib |
| 82 | #define HAVE_TEXT_START /* No need to define `start_of_text'. */ | 86 | #define HAVE_TEXT_START /* No need to define `start_of_text'. */ |
| 83 | #if __FreeBSD_version >= 300002 | 87 | #if __FreeBSD_version >= 300002 |
| 84 | #define START_FILES pre-crt0.o /usr/lib/aout/crt0.o | 88 | #define START_FILES pre-crt0.o /usr/lib/aout/crt0.o |
| @@ -92,20 +96,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 92 | #else /* NO_SHARED_LIBS */ | 96 | #else /* NO_SHARED_LIBS */ |
| 93 | #ifdef __FreeBSD__ /* shared libs are available, but the user prefers | 97 | #ifdef __FreeBSD__ /* shared libs are available, but the user prefers |
| 94 | not to use them. */ | 98 | not to use them. */ |
| 95 | #define LD_SWITCH_SYSTEM_1 -Bstatic -L/usr/local/lib | 99 | #define LD_SWITCH_SYSTEM -Bstatic -L/usr/local/lib |
| 96 | #define A_TEXT_OFFSET(x) (sizeof (struct exec)) | ||
| 97 | #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | ||
| 98 | #endif /* __FreeBSD__ */ | 100 | #endif /* __FreeBSD__ */ |
| 99 | #endif /* NO_SHARED_LIBS */ | 101 | #endif /* NO_SHARED_LIBS */ |
| 100 | 102 | ||
| 101 | #endif /* not __ELF__ */ | 103 | #endif /* not __ELF__ */ |
| 102 | 104 | ||
| 103 | /* Let `ld' find image libs and similar things in /usr/local/lib. The | ||
| 104 | system compiler, GCC, has apparently been modified to not look | ||
| 105 | there, contrary to what a stock GCC would do. */ | ||
| 106 | |||
| 107 | #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_1 -L/usr/local/lib | ||
| 108 | |||
| 109 | #define HAVE_GETLOADAVG 1 | 105 | #define HAVE_GETLOADAVG 1 |
| 110 | #define HAVE_TERMIOS | 106 | #define HAVE_TERMIOS |
| 111 | #define NO_TERMIO | 107 | #define NO_TERMIO |
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index 2e0af41a2f6..fdd41d3b829 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -41,9 +41,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 41 | #define TABDLY OXTABS | 41 | #define TABDLY OXTABS |
| 42 | #define TAB3 OXTABS | 42 | #define TAB3 OXTABS |
| 43 | 43 | ||
| 44 | #define A_TEXT_OFFSET(x) (sizeof (struct exec)) | ||
| 45 | #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | ||
| 46 | |||
| 47 | #define HAVE_TERMIOS | 44 | #define HAVE_TERMIOS |
| 48 | #define NO_TERMIO | 45 | #define NO_TERMIO |
| 49 | 46 | ||