2 # Copyright (c) 1998 Robert Nordier
5 # Redistribution and use in source and binary forms are freely
6 # permitted provided that the above copyright notice and this
7 # paragraph and the following disclaimer are duplicated in all
10 # This software is provided "AS IS" and without any express or
11 # implied warranties, including, without limitation, the implied
12 # warranties of merchantability and fitness for a particular
19 # BTX C startup code (ELF).
29 .set ARGADJ,0xfa0 # Argument adjustment
43 addl $ARGADJ,%eax # argument
44 movl %eax,__args # pointer
45 call main # Invoke client main()
46 call exit # Invoke client exit()
50 .comm __base,4 # Client base address
51 .comm __args,4 # Client arguments