crtn.S 277 B

123456789101112131415161718
  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. .file "initfini.c"
  8. .section .init
  9. ldw lr, (sp, 4)
  10. addi sp, 8
  11. rts
  12. .section .fini
  13. ldw lr, (sp, 4)
  14. addi sp, 8
  15. rts