First attempt at completing the cris port

diff --git a/klibc/arch/cris/MCONFIG b/klibc/arch/cris/MCONFIG
index 27809eb..33e0c48 100644
--- a/klibc/arch/cris/MCONFIG
+++ b/klibc/arch/cris/MCONFIG
@@ -9,3 +9,9 @@
 
 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
+# 96? MB - normal binaries start at 128? MB
+SHAREDFLAGS     = -Ttext 0x06000200
diff --git a/klibc/arch/cris/Makefile.inc b/klibc/arch/cris/Makefile.inc
index 41183fd..9c8ed6d 100644
--- a/klibc/arch/cris/Makefile.inc
+++ b/klibc/arch/cris/Makefile.inc
@@ -7,4 +7,18 @@
 # accordingly.
 #
 
+ARCHOBJS = \
+	arch/$(ARCH)/setjmp.o \
+	arch/$(ARCH)/syscall.o \
+	libgcc/__ashldi3.o \
+	libgcc/__ashrdi3.o \
+	libgcc/__lshrdi3.o \
+	libgcc/__muldi3.o \
+	libgcc/__negdi2.o \
+	libgcc/__divdi3.o \
+	libgcc/__moddi3.o \
+	libgcc/__udivdi3.o \
+	libgcc/__umoddi3.o \
+	libgcc/__udivmoddi4.o
+
 archclean: