|
|
1.1 root 1: # C library -- execle
2:
3: # execle(file, arg1, arg2, ... , env);
4: #
5:
6: .globl _execle
7:
8: _execle:
9: lea sp@(4),a0
10: L1:
11: movl a0@+,d0 | traverse the args
12: tstl d0
13: bne L1
14: movl a0@,sp@- | env
15: pea sp@(12) | argv
16: movl sp@(12),sp@- | file
17: jsr _execve
18: addl #12,sp
19: rts
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.