crtn.s 605 B

1234567891011121314151617181920212223
  1. //
  2. // Copyright 2001, QNX Software Systems Ltd. All Rights Reserved
  3. //
  4. // QNX has kindly released this source code under the QNX open
  5. // Community license, expressly to be used with the
  6. // Free Pascal runtime library
  7. //
  8. /* Make a placeholder .note segment */
  9. .section .note,"a"
  10. #if 0
  11. .long 4 /* Elf32_Nhdr.n_namesz = sizeof QNX_NOTE_NAME */
  12. .long 4 /* Elf32_Nhdr.n_descsz = sizeof Elf32_Word */
  13. .long 3 /* Elf32_Nhdr.n_type = QNT_STACK */
  14. .byte 'Q', 'N', 'X', 0 /* QNX_NOTE_NAME */
  15. .long 32768 /* stack size of 32k */
  16. #endif
  17. .section .init
  18. ret $0x0
  19. .section .fini
  20. ret $0x0