S/390 shared support; remove redundant Makefile include
diff --git a/klibc/MCONFIG b/klibc/MCONFIG
index 71ba121..a46a98a 100644
--- a/klibc/MCONFIG
+++ b/klibc/MCONFIG
@@ -11,11 +11,6 @@
SOFLAGS = -fPIC
-#
-# Include arch-specific rule fragments
-#
-include arch/$(ARCH)/MCONFIG
-
.SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss
.c.o:
diff --git a/klibc/README b/klibc/README
index 315cab0..baa2242 100644
--- a/klibc/README
+++ b/klibc/README
@@ -34,8 +34,8 @@
The following is the last known status of various architectures:
- Known to work: alpha arm i386
- Works static, not shared: mips(*) s390 s390x sparc(*) sparc64(*) arm-thumb
+ Known to work: alpha arm i386 s390 s390x
+ Works static, not shared: mips(*) sparc(*) sparc64(*) arm-thumb
Need crt0.S updates: ppc
Missing setjmp: ppc64
May or may not work: x86_64
diff --git a/klibc/arch/s390/MCONFIG b/klibc/arch/s390/MCONFIG
index 4463d2d..e32c33f 100644
--- a/klibc/arch/s390/MCONFIG
+++ b/klibc/arch/s390/MCONFIG
@@ -9,3 +9,5 @@
OPTFLAGS = -Os -fomit-frame-pointer
BITSIZE = 32
+
+SHAREDFLAGS = -Ttext 0x40000200
diff --git a/klibc/arch/s390x/MCONFIG b/klibc/arch/s390x/MCONFIG
index ee1415e..1c8232b 100644
--- a/klibc/arch/s390x/MCONFIG
+++ b/klibc/arch/s390x/MCONFIG
@@ -9,3 +9,5 @@
OPTFLAGS = -Os -fomit-frame-pointer
BITSIZE = 64
+
+SHAREDFLAGS = -Ttext 0x40000200