crti.S 314 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
  5. * in this tarball.
  6. */
  7. #include <sysdep.h>
  8. .file "initfini.c"
  9. .section .init
  10. ENTRY(_init)
  11. subi sp, 8
  12. stw lr, (sp, 4)
  13. .section .fini
  14. ENTRY(_fini)
  15. subi sp, 8
  16. stw lr, (sp, 4)