New installation mechanism
authorceriel <none@none>
Mon, 2 Sep 1991 15:08:48 +0000 (15:08 +0000)
committerceriel <none@none>
Mon, 2 Sep 1991 15:08:48 +0000 (15:08 +0000)
14 files changed:
mach/i386/.distr
mach/i386/Action
mach/i386/libem/.distr
mach/i386/libem/print.s
mach/i386/libem/stop.s
mach/i386/libem/strhp.s
mach/i386/libend/.distr [new file with mode: 0644]
mach/i386/libend/LIST [new file with mode: 0644]
mach/i386/libend/edata.s [new file with mode: 0644]
mach/i386/libend/em_end.s [new file with mode: 0644]
mach/i386/libend/end.s [new file with mode: 0644]
mach/i386/libend/etext.s [new file with mode: 0644]
mach/i386/libsys/.distr
mach/i386/mach_params [new file with mode: 0644]

index 447a00f..a517828 100644 (file)
@@ -2,11 +2,8 @@ Action
 as
 ce
 cv
-libbc
-libcc
+libend
 libem
 libfp
-libm2
-liboc
-libpc
+libsys
 ncg
index 158a9e0..619ad16 100644 (file)
@@ -7,27 +7,15 @@ end
 name "Intel 80386 Xenix System V conversion program"
 dir cv
 end
-name "Intel 80386 C libraries"
-dir libcc
-end
 name "Intel 80386 EM library"
 dir libem
 end
-name "Intel 80386 Pascal library"
-dir libpc
-end
-name "Intel 80386 Basic library"
-dir libbc
-end
-name "Intel 80836 Occam library"
-dir liboc
+name "Intel 80386 etext,edata,end library"
+dir libend
 end
 name "Intel 80836 floating point library"
 dir libfp
 end
-name "Intel 80836 Modula-2 library"
-dir libm2
-end
 name "Intel 80836 Xenix systemcall library"
 dir libsys
 end
index e862ca9..d2b4f28 100644 (file)
@@ -1,5 +1,2 @@
 LIST
-Makefile
-compmodule
-end.s
 libem_s.a
index a18cd92..8b09b50 100644 (file)
@@ -39,7 +39,7 @@ printc:
        push    eax
        push    ebx
        push    eax
-       call    _write
+       call    __write
        pop     ebx
        pop     ebx
        pop     ebx
index 16d55c6..200d642 100644 (file)
@@ -2,4 +2,4 @@
 .sect .text
 .define .stop
 .stop:
-       jmp     _exit
+       jmp     __exit
index 8694103..d28131c 100644 (file)
@@ -13,7 +13,7 @@
        and     eax,~0777
        push    ebx
        push    eax
-       call    _brk
+       call    __brk
        pop     ecx
        pop     ebx
        cmp     eax,-1
diff --git a/mach/i386/libend/.distr b/mach/i386/libend/.distr
new file mode 100644 (file)
index 0000000..b48ec84
--- /dev/null
@@ -0,0 +1,2 @@
+LIST
+end_s.a
diff --git a/mach/i386/libend/LIST b/mach/i386/libend/LIST
new file mode 100644 (file)
index 0000000..2efbd3e
--- /dev/null
@@ -0,0 +1,5 @@
+end_s.a
+edata.s
+em_end.s
+end.s
+etext.s
diff --git a/mach/i386/libend/edata.s b/mach/i386/libend/edata.s
new file mode 100644 (file)
index 0000000..f53adc1
--- /dev/null
@@ -0,0 +1,9 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _edata
+.sect .data
+       .align 4
+       .sect .data
+_edata:
diff --git a/mach/i386/libend/em_end.s b/mach/i386/libend/em_end.s
new file mode 100644 (file)
index 0000000..a062368
--- /dev/null
@@ -0,0 +1,22 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        endtext,enddata,endbss,__end
+.sect .text
+       .align 4
+.sect .rom
+       .align 4
+.sect .data
+       .align 4
+.sect .bss
+       .align 4
+.sect .end ! only for declaration of _end, __end and endbss.
+
+       .sect .text
+endtext:
+       .sect .data
+enddata:
+       .sect .end
+__end:
+endbss:
diff --git a/mach/i386/libend/end.s b/mach/i386/libend/end.s
new file mode 100644 (file)
index 0000000..93a1e6e
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _end
+.sect .end ! only for declaration of _end, __end and endbss.
+_end:
diff --git a/mach/i386/libend/etext.s b/mach/i386/libend/etext.s
new file mode 100644 (file)
index 0000000..8c7453c
--- /dev/null
@@ -0,0 +1,9 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _etext
+.sect .text
+       .align 4
+       .sect .text
+_etext:
index d5a561d..1edec9f 100644 (file)
@@ -1,5 +1,3 @@
 LIST
-Makefile
-compmodule
 head_em.s
 libmon_s.a
diff --git a/mach/i386/mach_params b/mach/i386/mach_params
new file mode 100644 (file)
index 0000000..7210064
--- /dev/null
@@ -0,0 +1,4 @@
+MACH=i386
+SUF=o
+ASAR=aal
+RANLIB=: