crtn.S 638 B

12345678910111213141516171819202122232425262728293031323334
  1. .file "initfini.c"
  2. .section .init
  3. .global _init
  4. .type _init, %function
  5. #if defined __thumb__
  6. .align 1
  7. .thumb
  8. @ this will not work on ARMv4T, but lots of stuff
  9. @ in here won't work there anyway...
  10. pop {r4-r7, pc}
  11. #else
  12. .align 2
  13. .arm
  14. ldmdb fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
  15. #endif
  16. .size _init, .-_init
  17. .section .fini
  18. .global _fini
  19. .type _fini, %function
  20. #if defined __thumb__
  21. .align 1
  22. .thumb
  23. pop {r4-r7, pc}
  24. #else
  25. .align 2
  26. .arm
  27. ldmdb fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
  28. #endif
  29. .size _fini, .-_fini
  30. @ In fact this is modified to 3.4.4
  31. .ident "GCC: (GNU) 3.3.2 20031005 (Debian prerelease)"