1
0

crt_arch.h 249 B

12345678910111213
  1. __asm__(
  2. ".text \n"
  3. ".global " START "\n"
  4. ".type " START ", @function\n"
  5. START ":\n"
  6. " move $fp, $zero\n"
  7. " move $a0, $sp\n"
  8. ".weak _DYNAMIC\n"
  9. ".hidden _DYNAMIC\n"
  10. " la.local $a1, _DYNAMIC\n"
  11. " bstrins.d $sp, $zero, 3, 0\n"
  12. " b " START "_c\n"
  13. );