aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-09-03 01:02:29 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-09-03 01:02:29 +0000
commit7fe50dedf74e27b0bdb658a6614e4086383df2f6 (patch)
treeef5c44821d2323a318878cf6819770736e3e995b
parentaff3e6d104bb092b1072988932e3a06383d1faad (diff)
downloadklibc-7fe50dedf74e27b0bdb658a6614e4086383df2f6.tar.gz
S/390 shared support; remove redundant Makefile includeklibc-0.66
-rw-r--r--klibc/MCONFIG5
-rw-r--r--klibc/README4
-rw-r--r--klibc/arch/s390/MCONFIG2
-rw-r--r--klibc/arch/s390x/MCONFIG2
4 files changed, 6 insertions, 7 deletions
diff --git a/klibc/MCONFIG b/klibc/MCONFIG
index 71ba121eb7d38..a46a98a9dde47 100644
--- a/klibc/MCONFIG
+++ b/klibc/MCONFIG
@@ -11,11 +11,6 @@ CFLAGS = -Wp,-MD,$(dir $*).$(notdir $*).d $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS)
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 315cab018214f..baa2242e4ccca 100644
--- a/klibc/README
+++ b/klibc/README
@@ -34,8 +34,8 @@ b) If you're cross-compiling, change ARCH in the main MCONFIG file to
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 4463d2d0709a6..e32c33faa1973 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 ee1415e7264c9..1c8232bed5875 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