Index: trunk/minix/lib/i86/rts/__sigreturn.s
===================================================================
--- trunk/minix/lib/i86/rts/__sigreturn.s	(revision 9)
+++ 	(revision )
@@ -1,10 +1,0 @@
-! This routine is the low-level code for returning from signals.  
-! It calls __sigreturn, which is the normal "system call" routine.
-! Both ___sigreturn and __sigreturn are needed.
-.sect .text; .sect .rom; .sect .data; .sect .bss
-.sect .text
-.define ___sigreturn
-.extern __sigreturn
-___sigreturn:
-	add sp, #8
-	jmp __sigreturn
Index: trunk/minix/lib/i86/rts/_sendrec.s
===================================================================
--- trunk/minix/lib/i86/rts/_sendrec.s	(revision 9)
+++ 	(revision )
@@ -1,32 +1,0 @@
-.define __send, __receive, __sendrec
-
-! See ../h/com.h for C definitions
-SEND = 1
-RECEIVE = 2
-BOTH = 3
-SYSVEC = 32
-
-!*========================================================================*
-!                           _send and _receive                            *
-!*========================================================================*
-! _send(), _receive(), _sendrec() all save bp, but destroy ax, bx, and cx.
-.extern __send, __receive, __sendrec
-__send:	mov cx,*SEND		! _send(dest, ptr)
-	jmp L0
-
-__receive:
-	mov cx,*RECEIVE		! _receive(src, ptr)
-	jmp L0
-
-__sendrec:
-	mov cx,*BOTH		! _sendrec(srcdest, ptr)
-	jmp L0
-
-  L0:	push bp			! save bp
-	mov bp,sp		! can't index off sp
-	mov ax,4(bp)		! ax = dest-src
-	mov bx,6(bp)		! bx = message pointer
-	int SYSVEC		! trap to the kernel
-	pop bp			! restore bp
-	ret			! return
-
Index: trunk/minix/lib/i86/rts/brksize.s
===================================================================
--- trunk/minix/lib/i86/rts/brksize.s	(revision 9)
+++ 	(revision )
@@ -1,4 +1,0 @@
-.define __brksize
-.data
-.extern endbss, __brksize
-__brksize: .data2 endbss
Index: trunk/minix/lib/i86/rts/ncrtso.s
===================================================================
--- trunk/minix/lib/i86/rts/ncrtso.s	(revision 9)
+++ 	(revision )
@@ -1,54 +1,0 @@
-! This is the C run-time start-off routine.  It's job is to take the
-! arguments as put on the stack by EXEC, and to parse them and set them up the
-! way _main expects them.
-! It also initializes _environ when this variable isn't defined by the
-! programmer.  The detection of whether _environ belong to us is rather
-! simplistic.  We simply check for some magic value, but there is no other
-! way.
-
-.extern _main, _exit, crtso, __penviron, __penvp
-.extern begtext, begdata, begbss, endtext, enddata, endbss
-.text
-begtext:
-crtso:
-	xor	bp, bp			! clear for backtrace of core files
-	mov	bx, sp
-	mov	ax, (bx)		! argc
-	lea	dx, 2(bx)		! argv
-	lea	cx, 4(bx)
-	add	cx, ax
-	add	cx, ax			! envp
-
-	! Test if environ is in the initialized data area and is set to our
-	! magic number.  If so then it is not redefined by the user.
-	mov	bx, #_environ
-	cmp	bx, #__edata		! within initialized data?
-	jae	0f
-	testb	bl, #1			! aligned?
-	jnz	0f
-	cmp	(bx), #0x5353		! is it our environ?
-	jne	0f
-	mov	__penviron, bx		! _penviron = &environ;
-0:	mov	bx, __penviron
-	mov	(bx), cx		! *_penviron = envp;
-
-	push	cx			! push envp
-	push	dx			! push argv
-	push	ax			! push argc
-
-	call	_main			! main(argc, argv, envp)
-
-	push	ax			! push exit status
-	call	_exit
-
-	hlt				! force a trap if exit fails
-
-.data
-begdata:
-	.data2	0			! for sep I&D: *NULL == 0
-__penviron:
-	.data2	__penvp			! Pointer to environ, or hidden pointer
-
-.bss
-begbss:
-	.comm	__penvp, 2		! Hidden environment vector
Index: trunk/minix/lib/i86/rts/nm2rtso.s
===================================================================
--- trunk/minix/lib/i86/rts/nm2rtso.s	(revision 9)
+++ 	(revision )
@@ -1,50 +1,0 @@
-! This is the Modula-2 run-time start-off routine.  It's job is to take the
-! arguments as put on the stack by EXEC, and to parse them and set them up the
-! way _m_a_i_n expects them.
-
-.extern __m_a_i_n, _exit, m2rtso, hol0, __penvp
-.extern begtext, begdata, begbss, endtext, enddata, endbss
-.text
-begtext:
-m2rtso:
-	xor	bp, bp			! clear for backtrace of core files
-	mov	bx, sp
-	mov	ax, (bx)		! argc
-	lea	dx, 2(bx)		! argv
-	lea	cx, 4(bx)
-	add	cx, ax
-	add	cx, ax			! envp
-
-	! Test if environ is in the initialized data area and is set to our
-	! magic number.  If so then it is not redefined by the user.
-	mov	bx, #_environ
-	cmp	bx, #__edata		! within initialized data?
-	jae	0f
-	testb	bl, #1			! aligned?
-	jnz	0f
-	cmp	(bx), #0x5353		! is it our environ?
-	jne	0f
-	mov	__penviron, bx		! _penviron = &environ;
-0:	mov	bx, __penviron
-	mov	(bx), cx		! *_penviron = envp;
-
-	push	cx			! push envp
-	push	dx			! push argv
-	push	ax			! push argc
-
-	call	__m_a_i_n		! run Modula-2 program
-
-	push	ax			! push exit status
-	call	__exit
-
-	hlt				! force a trap if exit fails
-
-.data
-begdata:
-	.data2	0			! for sep I&D: *NULL == 0
-__penviron:
-	.data2	__penvp			! Pointer to environ, or hidden pointer
-
-.bss
-begbss:
-	.comm	__penvp, 2		! Hidden environment vector
Index: trunk/minix/lib/i86/rts/nprtso.s
===================================================================
--- trunk/minix/lib/i86/rts/nprtso.s	(revision 9)
+++ 	(revision )
@@ -1,52 +1,0 @@
-! This is the Pascal run-time start-off routine.  It's job is to take the
-! arguments as put on the stack by EXEC, and to parse them and set them up the
-! way _m_a_i_n expects them.
-
-.extern __m_a_i_n, _exit, prtso, hol0, __penvp
-.extern begtext, begdata, begbss, endtext, enddata, endbss
-.text
-begtext:
-prtso:
-	xor	bp, bp			! clear for backtrace of core files
-	mov	bx, sp
-	mov	ax, (bx)		! argc
-	lea	dx, 2(bx)		! argv
-	lea	cx, 4(bx)
-	add	cx, ax
-	add	cx, ax			! envp
-
-	! Test if environ is in the initialized data area and is set to our
-	! magic number.  If so then it is not redefined by the user.
-	mov	bx, #_environ
-	cmp	bx, #__edata		! within initialized data?
-	jae	0f
-	testb	bl, #1			! aligned?
-	jnz	0f
-	cmp	(bx), #0x5353		! is it our environ?
-	jne	0f
-	mov	__penviron, bx		! _penviron = &environ;
-0:	mov	bx, __penviron
-	mov	(bx), cx		! *_penviron = envp;
-
-	push	cx			! push envp
-	push	dx			! push argv
-	push	ax			! push argc
-
-	mov	.ignmask, #56
-
-	call	__m_a_i_n		! run Pascal program
-
-	push	ax			! push exit status
-	call	__exit
-
-	hlt				! force a trap if exit fails
-
-.data
-begdata:
-	.data2	0			! for sep I&D: *NULL == 0
-__penviron:
-	.data2	__penvp			! Pointer to environ, or hidden pointer
-
-.bss
-begbss:
-	.comm	__penvp, 2		! Hidden environment vector
