|
|
1.1 root 1: / (-lgl
2: / COHERENT Version 4.0
3: / Copyright (c) 1982, 1992 by Mark Williams Company.
4: / Copyright (c) Ciaran O'Donnell, Bievres, France, 1991.
5: / All rights reserved. May not be copied without permission.
6: / -lgl)
7: / /usr/src/csu/i386/mcrts0.s
8: / C run-time start-off with profiling.
9: / i386 COHERENT native version.
10:
11: .globl _start
12: .globl environ
13: .globl main
14: .globl exit
15: .globl _exit
16: .globl _profon
17: .globl _profoff
18:
19: .bss environ,4
20:
21: .text
22: _start:
23: popl %eax / argc to EAX
24: mov %esp, %ebp / argv to EBP
25: lea 4(%esp,%eax,4), %edx / envp to EDX
26: movl %edx, environ / initialize environ
27: pushl %edx
28: pushl %ebp
29: pushl %eax
30: call _profon / enable profiling
31: call main / main(argc, argv, envp)
32: addl $12,%esp
33: pushl %eax
34: call exit / exit(status)
35: _exit:
36: call _profoff / disable profiling
37: movl $1,%eax
38: lcall $0x7,$0
39: hlt / NOTREACHED
40:
41: / end of /usr/src/csu/i386/mcrts0.s
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.