[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/s/freebsd.h,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/s/freebsd.h,v |
Date: |
Wed, 23 Jul 2008 06:39:17 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/07/23 06:39:16
Index: s/freebsd.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/s/freebsd.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- s/freebsd.h 20 Jul 2008 13:03:53 -0000 1.55
+++ s/freebsd.h 23 Jul 2008 06:39:16 -0000 1.56
@@ -68,7 +68,11 @@
#ifdef __ELF__
-#define LD_SWITCH_SYSTEM_1
+/* Let `ld' find image libs and similar things in /usr/local/lib. The
+ system compiler, GCC, has apparently been modified to not look
+ there, contrary to what a stock GCC would do. */
+
+#define LD_SWITCH_SYSTEM -L/usr/local/lib
#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
/usr/lib/crtbegin.o
#define UNEXEC unexelf.o
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
@@ -78,7 +82,7 @@
#else /* not __ELF__ */
#ifndef NO_SHARED_LIBS
-#define LD_SWITCH_SYSTEM_1 -e start -dc -L/usr/local/lib
+#define LD_SWITCH_SYSTEM -e start -dc -L/usr/local/lib
#define HAVE_TEXT_START /* No need to define `start_of_text'. */
#if __FreeBSD_version >= 300002
#define START_FILES pre-crt0.o /usr/lib/aout/crt0.o
@@ -92,20 +96,12 @@
#else /* NO_SHARED_LIBS */
#ifdef __FreeBSD__ /* shared libs are available, but the user prefers
not to use them. */
-#define LD_SWITCH_SYSTEM_1 -Bstatic -L/usr/local/lib
-#define A_TEXT_OFFSET(x) (sizeof (struct exec))
-#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
+#define LD_SWITCH_SYSTEM -Bstatic -L/usr/local/lib
#endif /* __FreeBSD__ */
#endif /* NO_SHARED_LIBS */
#endif /* not __ELF__ */
-/* Let `ld' find image libs and similar things in /usr/local/lib. The
- system compiler, GCC, has apparently been modified to not look
- there, contrary to what a stock GCC would do. */
-
-#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_1 -L/usr/local/lib
-
#define HAVE_GETLOADAVG 1
#define HAVE_TERMIOS
#define NO_TERMIO
- [Emacs-diffs] Changes to emacs/src/s/freebsd.h,v, Dan Nicolaescu, 2008/07/09
- [Emacs-diffs] Changes to emacs/src/s/freebsd.h,v, Dan Nicolaescu, 2008/07/10
- [Emacs-diffs] Changes to emacs/src/s/freebsd.h,v, Dan Nicolaescu, 2008/07/12
- [Emacs-diffs] Changes to emacs/src/s/freebsd.h,v, Dan Nicolaescu, 2008/07/16
- [Emacs-diffs] Changes to emacs/src/s/freebsd.h,v, Dan Nicolaescu, 2008/07/20
- [Emacs-diffs] Changes to emacs/src/s/freebsd.h,v,
Dan Nicolaescu <=