aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/s/freebsd.h18
-rw-r--r--src/s/netbsd.h3
3 files changed, 11 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ea6ce58ec94..0d4027d881a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12008-07-23 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK):
4 * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused.
5 (LD_SWITCH_SYSTEM_1): Remove, update users.
6
3 * s/darwin.h (DATA_END): 7 * s/darwin.h (DATA_END):
4 * m/intel386.h (DATA_END): 8 * m/intel386.h (DATA_END):
5 * m/ibmrs6000.h (DATA_END): 9 * m/ibmrs6000.h (DATA_END):
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