1
0

crt_arch.h 310 B

1234567891011121314151617
  1. __asm__(
  2. ".text\n"
  3. ".global " START "\n"
  4. ".type " START ", %function\n"
  5. START ":\n"
  6. " lgr %r2, %r15\n"
  7. " larl %r3, 1f\n"
  8. " agf %r3, 0(%r3)\n"
  9. " aghi %r15, -160\n"
  10. " lghi %r0, 0\n"
  11. " stg %r0, 0(%r15)\n"
  12. " jg " START "_c\n"
  13. " .align 8\n"
  14. ".weak _DYNAMIC\n"
  15. ".hidden _DYNAMIC\n"
  16. "1: .long _DYNAMIC-.\n"
  17. );