system.pp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2002 by Olle Raab
  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. unit System;
  12. interface
  13. {$Y-}
  14. type
  15. integer = -32768 .. 32767;
  16. byte =0..255;
  17. shortint=-128..127;
  18. word=0..65535;
  19. longint=+(-$7FFFFFFF-1)..$7FFFFFFF;
  20. pchar=^char;
  21. implementation
  22. procedure do_exit;[public,alias:'FPC_DO_EXIT'];
  23. begin
  24. end;
  25. procedure fpc_initializeunits;[public,alias:'FPC_INITIALIZEUNITS'];
  26. begin
  27. end;
  28. { This is a hack to make it work until powerpc.inc is fixed.
  29. This function is never called directly, it's a dummy to hold the register save/
  30. load subroutines
  31. }
  32. procedure saverestorereg;
  33. assembler;
  34. asm
  35. export ._restf14[PR]
  36. csect ._restf14[PR]
  37. ._restf14:
  38. mtlr r0
  39. blr
  40. export ._savef14[PR]
  41. csect ._savef14[PR]
  42. ._savef14:
  43. blr
  44. end;
  45. end.
  46. {
  47. $Log$
  48. Revision 1.2 2002-10-10 19:44:05 florian
  49. * changes from Olle to compile/link a simple program
  50. Revision 1.1 2002/10/02 21:34:31 florian
  51. * first dummy implementation
  52. }