|
|
1.1 root 1: # C library -- execv
2:
3: # execv(file, argv);
4: #
5: # where argv is a vector argv[0] ... argv[x], 0
6: # last vector element must be 0
7:
8: .globl _execv
9: .globl _environ
10:
11: _execv:
12: linkw a6,#0
13: movl _environ,sp@- | default environ
14: movl sp@(16),sp@- | argv
15: movl sp@(16),sp@- | file
16: jsr _execve
17: addl #12,sp
18: unlk a6
19: rts
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.