[cmucl-commit] [git] CMU Common Lisp branch master updated. snapshot-2013-04-23-g31b1a5a
Raymond Toy
rtoy at common-lisp.net
Sat May 4 21:19:48 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".
The branch, master has been updated
via 31b1a5a17dfebc3fd532f4443e7cbad70be2b4ba (commit)
via 2d4d5a7f1ce6dd95f2c268a880b6e4f8e16de44b (commit)
via 29d75bdbebc5d83ee777403999c36a6e1342b2d8 (commit)
from f7506ddc36c87beb770661e6f22e74807023a06a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 31b1a5a17dfebc3fd532f4443e7cbad70be2b4ba
Author: Raymond Toy <toy.raymond at gmail.com>
Date: Sat May 4 14:13:46 2013 -0700
Add -z noexecstack to disable exec flag for the C stack.
diff --git a/src/lisp/Config.x86_linux b/src/lisp/Config.x86_linux
index de24e73..569f4f5 100644
--- a/src/lisp/Config.x86_linux
+++ b/src/lisp/Config.x86_linux
@@ -6,7 +6,8 @@ CPPFLAGS += -m32 -rdynamic -D__NO_CTYPE -D_GNU_SOURCE
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC += linux-stubs.S
OS_SRC += Linux-os.c elf.c
-OS_LINK_FLAGS = -m32 -rdynamic -Xlinker --export-dynamic -Xlinker -Map -Xlinker foo
OS_LIBS = -ldl
+OS_LINK_FLAGS = -m32 -rdynamic -Xlinker --export-dynamic -Xlinker -Map -Xlinker foo
+OS_LINK_FLAGS += -Wl,-z,noexecstack
EXEC_FINAL_OBJ = exec-final.o
commit 2d4d5a7f1ce6dd95f2c268a880b6e4f8e16de44b
Author: Raymond Toy <toy.raymond at gmail.com>
Date: Sat May 4 14:11:25 2013 -0700
Don't need to set CC or CPP. But add a note that we implicitly assume
cc is Sun's C compiler, not an alias to gcc.
diff --git a/src/lisp/Config.sparc_sunc b/src/lisp/Config.sparc_sunc
index e1614e6..f5fb0e7 100644
--- a/src/lisp/Config.sparc_sunc
+++ b/src/lisp/Config.sparc_sunc
@@ -1,5 +1,9 @@
# -*- Mode: makefile -*-
+# Build cmucl using Sun C compiler. We assume cc is Sun's C compiler.
+# If you don't have it, why are you using this Config anyway? You're
+# on your own if you use this Config without Sun C compiler available.
+
include Config.sparc_common
# For v8plus support (allows 64-bit integer support on V9
@@ -20,8 +24,6 @@ CC_V8PLUS = -m32 -xarch=sparc
AS_V8PLUS = -m32 -xarch=sparc
endif
-CC = cc
-CPP = cc
CFLAGS += -xlibmieee -O
-DEPEND_FLAGS = -E -xM
+DEPEND_FLAGS = -xM
ASFLAGS = $(AS_V8PLUS)
commit 29d75bdbebc5d83ee777403999c36a6e1342b2d8
Author: Raymond Toy <toy.raymond at gmail.com>
Date: Sat May 4 14:08:17 2013 -0700
Make stacks not executable.
diff --git a/src/lisp/Config.sparc_common b/src/lisp/Config.sparc_common
index 89e2de0..551491a 100644
--- a/src/lisp/Config.sparc_common
+++ b/src/lisp/Config.sparc_common
@@ -57,6 +57,6 @@ ARCH_SRC = sparc-arch.c
DEPEND=$(CC)
OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
-OS_LINK_FLAGS=
+OS_LINK_FLAGS = -M /usr/lib/ld/map.noexstk
OS_LIBS= -lsocket -lnsl -ldl
EXEC_FINAL_OBJ = exec-final.o
-----------------------------------------------------------------------
Summary of changes:
src/lisp/Config.sparc_common | 2 +-
src/lisp/Config.sparc_sunc | 8 +++++---
src/lisp/Config.x86_linux | 3 ++-
3 files changed, 8 insertions(+), 5 deletions(-)
hooks/post-receive
--
CMU Common Lisp
More information about the cmucl-commit
mailing list