123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- #include <features.h>
- #include <sys/regdef.h>
- .text
- .align 3
- .globl _start
- .ent _start, 0
- .type _start,@function
- #if defined(__UCLIBC_CTOR_DTOR__)
- .type _init,%function
- .type _fini,%function
- #else
- .weak _init
- .weak _fini
- #endif
- .type __uClibc_main,%function
- _start:
- .frame $15, 0, $15
- br gp, 1f
- 1: ldgp gp, 0(gp)
- subq sp, 16, sp
- mov 0, $15
- .prologue 0
-
- lda a0, main
- ldl a1, 16(sp)
- lda a2, 24(sp)
-
- lda a3, _init
- lda a4, _fini
-
- mov v0, a5
-
- stq sp, 0(sp)
-
- jsr ra, __uClibc_main
-
- call_pal 0
- .end _start
- .data
- .globl __data_start
- __data_start:
- .weak data_start
- data_start = __data_start
|