si_g.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2005 by Michael Van Canneyt, Peter Vreman,
  4. & Daniel Mantione, members of the Free Pascal development team.
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. var
  12. gmon_etext: pointer; external name '_etext';
  13. gmon_monstarted: longint = 0;
  14. procedure gmon_monstartup; external name 'monstartup';
  15. procedure gmon_mcleanup; external name '_mcleanup';
  16. procedure libc_atexit; external name '__libc_atexit';
  17. procedure libc_exit(ec : longint); external name '__libc_exit';
  18. procedure libc_init; external name '__libc_init';
  19. procedure libc_setfpucw; external name '__setfpucw';
  20. procedure libc_start_main; external name '__libc_start_main';
  21. {******************************************************************************
  22. Process + profiling start/halt
  23. ******************************************************************************}
  24. procedure _FPC_proc_gprof_start; assembler; nostackframe; public name '_start';
  25. asm
  26. end;