Commit f4cea372 authored by Raymond Toy's avatar Raymond Toy
Browse files

Make the C stack not executable

 * Config.sparc_common
   * OS_LINK_FLAGS is not common, so remove it.
 * Config.sparc_gcc
 * Config.sparc_sunc
   * Set OS_LINK_FLAGS appropriately.
parent de34b9a7
......@@ -57,6 +57,5 @@ 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 = -M /usr/lib/ld/map.noexstk
OS_LIBS= -lsocket -lnsl -ldl
EXEC_FINAL_OBJ = exec-final.o
......@@ -29,3 +29,4 @@ CPP = gcc
CFLAGS += -O -Wall
DEPEND_FLAGS = -MM
ASFLAGS = -g -traditional-cpp $(AS_V8PLUS)
OS_LINK_FLAGS += -Wl,-M,/usr/lib/ld/map.noexstk
......@@ -27,3 +27,4 @@ endif
CFLAGS += -xlibmieee -O
DEPEND_FLAGS = -xM
ASFLAGS = $(AS_V8PLUS)
OS_LINK_FLAGS = -M /usr/lib/ld/map.noexstk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment