summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/alpha/MCONFIG
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/arch/alpha/MCONFIG')
-rw-r--r--usr/klibc/arch/alpha/MCONFIG19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr/klibc/arch/alpha/MCONFIG b/usr/klibc/arch/alpha/MCONFIG
new file mode 100644
index 0000000..64847b7
--- /dev/null
+++ b/usr/klibc/arch/alpha/MCONFIG
@@ -0,0 +1,19 @@
+# -*- makefile -*-
+#
+# arch/alpha/MCONFIG
+#
+# Build configuration for this architecture
+#
+
+KLIBCOPTFLAGS += -Os
+KLIBCBITSIZE = 64
+
+# Extra linkflags when building the shared version of the library
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# 7 GB - normal binaries start at 4.5 GB, and the stack is below
+# the binary.
+KLIBCSHAREDFLAGS = $(LD_IMAGE_BASE_OPT) 0x1c0000000
+
+# Kernel uses our sa_restorer for signal return
+KLIBCEXECSTACK := n