2
0

cputarg.pas 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. $Id$
  3. Copyright (c) 2001-2002 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 NOTARGETBSD}
  31. ,t_bsd
  32. {$endif}
  33. {$ifndef NOTARGETSUNOS}
  34. ,t_sunos
  35. {$endif}
  36. {$ifndef NOTARGETEMX}
  37. ,t_emx
  38. {$endif}
  39. {$ifndef NOTARGETOS2}
  40. ,t_os2
  41. {$endif}
  42. {$ifndef NOTARGETWIN32}
  43. ,t_win32
  44. {$endif}
  45. {$ifndef NOTARGETNETWARE}
  46. ,t_nwm
  47. {$endif}
  48. {$ifndef NOTARGETGO32V2}
  49. ,t_go32v2
  50. {$endif}
  51. {$ifndef NOTARGETBEOS}
  52. ,t_beos
  53. {$endif}
  54. {$ifndef NOTARGETWDOSX}
  55. ,t_wdosx
  56. {$endif}
  57. {$ifndef NOTARGETWATCOM}
  58. ,t_watcom
  59. {$endif}
  60. {**************************************
  61. Assemblers
  62. **************************************}
  63. {$ifndef NOAG386ATT}
  64. ,agx86att
  65. {$endif}
  66. {$ifndef NOAG386NSM}
  67. ,ag386nsm
  68. {$endif}
  69. {$ifndef NOAG386INT}
  70. ,ag386int
  71. {$endif}
  72. ,ogcoff
  73. ,ogelf
  74. ;
  75. end.
  76. {
  77. $Log$
  78. Revision 1.13 2003-09-05 17:41:13 florian
  79. * merged Wiktor's Watcom patches in 1.1
  80. Revision 1.12 2003/05/20 23:54:00 florian
  81. + basic darwin support added
  82. Revision 1.11 2003/04/25 12:04:31 florian
  83. * merged agx64att and ag386att to x86/agx86att
  84. Revision 1.10 2003/03/23 23:33:10 hajny
  85. + emx target added
  86. Revision 1.9 2002/05/18 13:34:22 peter
  87. * readded missing revisions
  88. Revision 1.8 2002/05/16 19:46:50 carl
  89. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  90. + try to fix temp allocation (still in ifdef)
  91. + generic constructor calls
  92. + start of tassembler / tmodulebase class cleanup
  93. Revision 1.6 2002/05/12 16:53:16 peter
  94. * moved entry and exitcode to ncgutil and cgobj
  95. * foreach gets extra argument for passing local data to the
  96. iterator function
  97. * -CR checks also class typecasts at runtime by changing them
  98. into as
  99. * fixed compiler to cycle with the -CR option
  100. * fixed stabs with elf writer, finally the global variables can
  101. be watched
  102. * removed a lot of routines from cga unit and replaced them by
  103. calls to cgobj
  104. * u32bit-s32bit updates for and,or,xor nodes. When one element is
  105. u32bit then the other is typecasted also to u32bit without giving
  106. a rangecheck warning/error.
  107. * fixed pascal calling method with reversing also the high tree in
  108. the parast, detected by tcalcst3 test
  109. Revision 1.5 2002/04/14 17:00:49 carl
  110. + att_reg2str -> gas_reg2str
  111. Revision 1.4 2002/04/04 18:31:37 carl
  112. + added wdosx support (patch from Pavel)
  113. Revision 1.3 2002/03/28 20:48:04 carl
  114. - remove go32v1 support
  115. }