summaryrefslogtreecommitdiff
path: root/klibc/klibc/arch/sh/MCONFIG
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/klibc/arch/sh/MCONFIG')
-rw-r--r--klibc/klibc/arch/sh/MCONFIG19
1 files changed, 19 insertions, 0 deletions
diff --git a/klibc/klibc/arch/sh/MCONFIG b/klibc/klibc/arch/sh/MCONFIG
new file mode 100644
index 0000000000..6cd4e5c839
--- /dev/null
+++ b/klibc/klibc/arch/sh/MCONFIG
@@ -0,0 +1,19 @@
+# -*- makefile -*-
+#
+# arch/sh/MCONFIG
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+ARCHREGFLAGS = -m4 -mno-implicit-fp
+OPTFLAGS = -Os -fomit-frame-pointer
+BITSIZE = 32
+
+# 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
+# 2 MB -- the normal starting point for text is 4 MB.
+SHAREDFLAGS = -Ttext 0x00200200
+