Annotation of coherent/b/lib/libc/csu/i386/mcrts0.s, revision 1.1

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: //////////
        !             8: / csu/i386/mcrts0.s
        !             9: / C run-time start-off with profiling.
        !            10: / i386 COHERENT native version.
        !            11: //////////
        !            12: 
        !            13:        .globl  _start
        !            14:        .globl  environ
        !            15:        .globl  main
        !            16:        .globl  exit
        !            17:        .globl  _exit
        !            18:        .globl  _profon
        !            19:        .globl  _profoff
        !            20: 
        !            21:        .bss    environ, 4
        !            22: 
        !            23:        .text
        !            24: _start:        
        !            25:        popl    %eax                            / argc to EAX
        !            26:        mov     %esp, %ebp                      / argv to EBP
        !            27:        lea     4(%esp,%eax,4), %edx            / envp to EDX
        !            28:        movl    %edx, environ                   / initialize environ
        !            29:        pushl   %edx
        !            30:        pushl   %ebp
        !            31:        pushl   %eax
        !            32:        call    _profon                         / enable profiling
        !            33:        call    main                            / main(argc, argv, envp)
        !            34:        addl    $12,%esp
        !            35:        pushl   %eax
        !            36:        call    exit                            / exit(status)
        !            37: _exit:
        !            38:        call    _profoff                        / disable profiling
        !            39:        movl    $1,%eax
        !            40:        lcall   $0x7,$0
        !            41:        hlt                                     / NOTREACHED
        !            42: 
        !            43: / end of csu/i386/mcrts0.s

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.