cputarg.pas 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. $Id$
  3. Copyright (c) 2001 by Peter Vreman
  4. Includes the i386 dependent target units
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit cputarg;
  19. {$i fpcdefs.inc}
  20. interface
  21. implementation
  22. uses
  23. systems { prevent a syntax error when nothing is included }
  24. {**************************************
  25. Targets
  26. **************************************}
  27. {$ifndef NOTARGETLINUX}
  28. ,t_linux
  29. {$endif}
  30. {$ifndef NOTARGETFREEBSD}
  31. ,t_fbsd
  32. {$endif}
  33. {$ifndef NOTARGETSUNOS}
  34. ,t_sunos
  35. {$endif}
  36. {$ifndef NOTARGETOS2}
  37. ,t_os2
  38. {$endif}
  39. {$ifndef NOTARGETWIN32}
  40. ,t_win32
  41. {$endif}
  42. {$ifndef NOTARGETNETWARE}
  43. ,t_nwm
  44. {$endif}
  45. {$ifndef NOTARGETGO32V2}
  46. ,t_go32v2
  47. {$endif}
  48. {$ifndef NOTARGETBEOS}
  49. ,t_beos
  50. {$endif}
  51. {$ifndef NOTARGETWDOSX}
  52. ,t_wdosx
  53. {$endif}
  54. {**************************************
  55. Assemblers
  56. **************************************}
  57. {$ifndef NOAG386ATT}
  58. ,ag386att
  59. {$endif}
  60. {$ifndef NOAG386NSM}
  61. ,ag386nsm
  62. {$endif}
  63. {$ifndef NOAG386INT}
  64. ,ag386int
  65. {$endif}
  66. ,ogcoff
  67. ,ogelf
  68. ;
  69. end.
  70. {
  71. $Log$
  72. Revision 1.8 2002-05-16 19:46:50 carl
  73. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  74. + try to fix temp allocation (still in ifdef)
  75. + generic constructor calls
  76. + start of tassembler / tmodulebase class cleanup
  77. Revision 1.6 2002/05/12 16:53:16 peter
  78. * moved entry and exitcode to ncgutil and cgobj
  79. * foreach gets extra argument for passing local data to the
  80. iterator function
  81. * -CR checks also class typecasts at runtime by changing them
  82. into as
  83. * fixed compiler to cycle with the -CR option
  84. * fixed stabs with elf writer, finally the global variables can
  85. be watched
  86. * removed a lot of routines from cga unit and replaced them by
  87. calls to cgobj
  88. * u32bit-s32bit updates for and,or,xor nodes. When one element is
  89. u32bit then the other is typecasted also to u32bit without giving
  90. a rangecheck warning/error.
  91. * fixed pascal calling method with reversing also the high tree in
  92. the parast, detected by tcalcst3 test
  93. Revision 1.5 2002/04/14 17:00:49 carl
  94. + att_reg2str -> gas_reg2str
  95. Revision 1.4 2002/04/04 18:31:37 carl
  96. + added wdosx support (patch from Pavel)
  97. Revision 1.3 2002/03/28 20:48:04 carl
  98. - remove go32v1 support
  99. Revision 1.2 2001/06/03 15:12:47 peter
  100. * t_beos target inclusion
  101. Revision 1.1 2001/04/18 22:02:01 peter
  102. * registration of targets and assemblers
  103. }