aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-04-23 00:37:42 -0700
committerDan Nicolaescu2010-04-23 00:37:42 -0700
commit809fcabaac3e5ecd5f953928483216d0d25b957e (patch)
treeb0904bc487af8491ee9366819b9154868442e89e /src
parented7103805c0fcb55add55f19800cfb54743132f1 (diff)
downloademacs-809fcabaac3e5ecd5f953928483216d0d25b957e.tar.gz
emacs-809fcabaac3e5ecd5f953928483216d0d25b957e.zip
* s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
* s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/s/netbsd.h7
-rw-r--r--src/s/openbsd.h1
3 files changed, 3 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d108a969883..9e08f6a8977 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-04-23 Dan Nicolaescu <dann@ics.uci.edu> 12010-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
4 * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove.
5
3 Simplify STARTFILES definition. 6 Simplify STARTFILES definition.
4 * s/hpux10-20.h (START_FILES): Explicitly define here instead of 7 * s/hpux10-20.h (START_FILES): Explicitly define here instead of
5 relying on Makefile.in to define it. 8 relying on Makefile.in to define it.
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 682b9482352..d9c6a1fd3f3 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -56,13 +56,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
56 56
57#define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib 57#define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib
58 58
59/* Link temacs with -z nocombreloc so that unexec works right, whether or
60 not -z combreloc is the default. GNU ld ignores unknown -z KEYWORD
61 switches, so this also works with older versions that don't implement
62 -z combreloc. */
63
64#define LD_SWITCH_SYSTEM_TEMACS -Wl,-z,nocombreloc
65
66/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears 59/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears
67 the library search parth, i.e. it won't search /usr/lib 60 the library search parth, i.e. it won't search /usr/lib
68 for libc and friends. Using -nostartfiles instead avoids 61 for libc and friends. Using -nostartfiles instead avoids
diff --git a/src/s/openbsd.h b/src/s/openbsd.h
index a74601d3ad8..c71aea4c9d4 100644
--- a/src/s/openbsd.h
+++ b/src/s/openbsd.h
@@ -17,7 +17,6 @@
17#define TERMINFO 17#define TERMINFO
18#define LIBS_TERMCAP -lncurses 18#define LIBS_TERMCAP -lncurses
19 19
20#undef LD_SWITCH_SYSTEM_TEMACS
21#undef LD_SWITCH_SYSTEM 20#undef LD_SWITCH_SYSTEM
22 21
23 /* Han Boetes <han@mijncomputer.nl> says this 22 /* Han Boetes <han@mijncomputer.nl> says this