systems.pas 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. This unit contains information about the target systems supported
  5. (these are not processor specific)
  6. This program is free software; you can redistribute it and/or modify
  7. iu under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 3 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge- MA 02139, USA.
  17. ****************************************************************************
  18. }
  19. unit systems;
  20. {$i fpcdefs.inc}
  21. interface
  22. type
  23. tendian = (endian_little,endian_big);
  24. (*
  25. IMPORTANT NOTE:
  26. The value of this enumeration is stored in PPU files.
  27. Therefore adding new CPU targets should not change the
  28. values of the pre-existing targets. (CEC)
  29. FURTHERMORE : Make sure that this branch values, are
  30. consistant with the main branch version always.
  31. *)
  32. tsystemcpu=
  33. (
  34. cpu_no, { 0 }
  35. cpu_i386, { 1 }
  36. cpu_m68k, { 2 }
  37. cpu_alpha, { 3 }
  38. cpu_powerpc, { 4 }
  39. cpu_sparc, { 5 }
  40. cpu_vm, { 6 }
  41. cpu_iA64, { 7 }
  42. cpu_x86_64, { 8 }
  43. cpu_mips, { 9 }
  44. cpu_arm { 10 }
  45. );
  46. TSection=(sec_none,
  47. sec_code,sec_data,sec_bss,
  48. sec_idata2,sec_idata4,sec_idata5,sec_idata6,sec_idata7,sec_edata,
  49. sec_stab,sec_stabstr,sec_common
  50. );
  51. tasmmode= (asmmode_none
  52. { direct output with minimal parsing }
  53. ,asmmode_direct
  54. { standard assembler (cpu dependant) with full parsing }
  55. ,asmmode_standard
  56. ,asmmode_i386_att
  57. ,asmmode_i386_intel
  58. ,asmmode_ppc_gas
  59. ,asmmode_ppc_motorola
  60. );
  61. (* IMPORTANT NOTE:
  62. the integer value of this enum is stored in PPU
  63. files to recognize the target, so if you add new targets
  64. allways add them at end PM
  65. FURTHERMORE : Make sure that this branch values are
  66. consistant with the main branch version always. (CEC)
  67. *)
  68. type
  69. tsystem =
  70. (
  71. system_none, { 0 }
  72. obsolete_system_i386_GO32V1,{ 1 }
  73. system_i386_GO32V2, { 2 }
  74. system_i386_linux, { 3 }
  75. system_i386_OS2, { 4 }
  76. system_i386_Win32, { 5 }
  77. system_i386_freebsd, { 6 }
  78. system_m68k_Amiga, { 7 }
  79. system_m68k_Atari, { 8 }
  80. system_m68k_Mac, { 9 }
  81. system_m68k_linux, { 10 }
  82. system_m68k_PalmOS, { 11 }
  83. system_alpha_linux, { 12 }
  84. system_powerpc_linux, { 13 }
  85. system_powerpc_macos, { 14 }
  86. system_i386_sunos, { 15 }
  87. system_i386_beos, { 16 }
  88. system_i386_netbsd, { 17 }
  89. system_m68k_netbsd, { 18 }
  90. system_i386_Netware, { 19 }
  91. system_i386_qnx, { 20 }
  92. system_i386_wdosx, { 21 }
  93. system_sparc_sunos, { 22 }
  94. system_sparc_linux, { 23 }
  95. system_x86_64_linux, { 24 }
  96. system_powerpc_macosx { 25 }
  97. );
  98. tasm = (as_none
  99. ,as_gas { standard gnu assembler }
  100. ,as_i386_as_aout
  101. ,as_i386_asw
  102. ,as_i386_nasmcoff
  103. ,as_i386_nasmwin32
  104. ,as_i386_nasmwdosx
  105. ,as_i386_nasmelf
  106. ,as_i386_nasmobj
  107. ,as_i386_tasm
  108. ,as_i386_masm
  109. ,as_i386_coff
  110. ,as_i386_pecoff
  111. ,as_i386_elf32
  112. ,as_i386_pecoffwdosx
  113. ,as_m68k_mit
  114. ,as_powerpc_mpw
  115. );
  116. tar = (ar_none
  117. ,ar_gnu_ar,ar_gnu_arw,ar_mpw_ar
  118. );
  119. tres = (res_none
  120. ,res_gnu_windres,res_emxbind,res_mpw_res
  121. );
  122. tscripttype = (script_none
  123. ,script_dos,script_unix,script_amiga
  124. );
  125. {*****************************************************************************
  126. Structures
  127. *****************************************************************************}
  128. type
  129. { Abstract linker class which is implemented in link module }
  130. TAbstractLinker = class
  131. end;
  132. TAbstractLinkerClass = class of TABstractLinker;
  133. { Abstract assembler class which is implemented in assemble module }
  134. TAbstractAssembler = class
  135. end;
  136. TAbstractAssemblerClass = class of TAbstractAssembler;
  137. palignmentinfo = ^talignmentinfo;
  138. talignmentinfo = packed record
  139. procalign,
  140. loopalign,
  141. jumpalign,
  142. constalignmin,
  143. constalignmax,
  144. varalignmin,
  145. varalignmax,
  146. localalignmin,
  147. localalignmax,
  148. paraalign,
  149. recordalignmin,
  150. recordalignmax,
  151. maxCrecordalign : longint;
  152. end;
  153. pasminfo = ^tasminfo;
  154. tasminfo = packed record
  155. id : tasm;
  156. idtxt : string[9];
  157. asmbin : string[8];
  158. asmcmd : string[50];
  159. supported_target : tsystem;
  160. outputbinary,
  161. allowdirect,
  162. needar,
  163. labelprefix_only_inside_procedure : boolean;
  164. labelprefix : string[3];
  165. comment : string[2];
  166. secnames : array[TSection] of string[20];
  167. end;
  168. parinfo = ^tarinfo;
  169. tarinfo = packed record
  170. id : tar;
  171. arcmd : string[50];
  172. end;
  173. presinfo = ^tresinfo;
  174. tresinfo = packed record
  175. id : tres;
  176. resbin : string[8];
  177. rescmd : string[50];
  178. end;
  179. tsystemflags = (tf_none,
  180. tf_under_development,
  181. tf_need_export,tf_needs_isconsole
  182. ,tf_code_small,tf_static_reg_based
  183. );
  184. psysteminfo = ^tsysteminfo;
  185. tsysteminfo = packed record
  186. system : tsystem;
  187. name : string[30];
  188. shortname : string[9];
  189. flags : set of tsystemflags;
  190. cpu : tsystemcpu;
  191. unit_env : string[12];
  192. extradefines : string[40];
  193. sourceext,
  194. pasext,
  195. exeext,
  196. defext,
  197. scriptext,
  198. smartext,
  199. unitext,
  200. unitlibext,
  201. asmext,
  202. objext,
  203. resext,
  204. resobjext : string[4];
  205. sharedlibext : string[10];
  206. staticlibext,
  207. staticlibprefix : string[4];
  208. sharedlibprefix : string[4];
  209. sharedClibext : string[10];
  210. staticClibext,
  211. staticClibprefix : string[4];
  212. sharedClibprefix : string[4];
  213. Cprefix : string[2];
  214. newline : string[2];
  215. dirsep : char;
  216. files_case_relevent : boolean;
  217. assem : tasm;
  218. assemextern : tasm; { external assembler, used by -a }
  219. link : tabstractlinkerclass;
  220. linkextern : tabstractlinkerclass; { external linker, used by -s }
  221. ar : tar;
  222. res : tres;
  223. script : tscripttype;
  224. endian : tendian;
  225. alignment : talignmentinfo;
  226. {
  227. Offset from the argument pointer register to the first
  228. argument's address. On some machines it may depend on
  229. the data type of the function.
  230. (see also FIRST_PARM_OFFSET in GCC source)
  231. }
  232. first_parm_offset : longint;
  233. heapsize,
  234. stacksize : longint;
  235. DllScanSupported : boolean;
  236. use_function_relative_addresses : boolean;
  237. end;
  238. pasmmodeinfo = ^tasmmodeinfo;
  239. tasmmodeinfo = packed record
  240. id : tasmmode;
  241. idtxt : string[8];
  242. end;
  243. const
  244. { alias for supported_target field in tasminfo }
  245. system_any = system_none;
  246. var
  247. targetinfos : array[tsystem] of psysteminfo;
  248. asminfos : array[tasm] of pasminfo;
  249. arinfos : array[tar] of parinfo;
  250. resinfos : array[tres] of presinfo;
  251. asmmodeinfos : array[tasmmode] of pasmmodeinfo;
  252. source_info : tsysteminfo;
  253. target_cpu : tsystemcpu;
  254. target_info : tsysteminfo;
  255. target_asm : tasminfo;
  256. target_ar : tarinfo;
  257. target_res : tresinfo;
  258. target_path : string[12]; { for rtl/<X>/,fcl/<X>/, etc. }
  259. function set_target(t:tsystem):boolean;
  260. function set_target_asm(t:tasm):boolean;
  261. function set_target_ar(t:tar):boolean;
  262. function set_target_res(t:tres):boolean;
  263. function set_target_by_string(const s : string) : boolean;
  264. function set_target_asm_by_string(const s : string) : boolean;
  265. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  266. procedure set_source_info(const ti : tsysteminfo);
  267. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  268. procedure RegisterTarget(const r:tsysteminfo);
  269. procedure RegisterAsmMode(const r:tasmmodeinfo);
  270. procedure RegisterRes(const r:tresinfo);
  271. procedure RegisterAr(const r:tarinfo);
  272. { Register the external linker. This routine is called to setup the
  273. class to use for the linker. It returns the tsysteminfo structure
  274. updated with the correct linker class for external linking.
  275. }
  276. procedure RegisterExternalLinker(var system_info: tsysteminfo; c:TAbstractLinkerClass);
  277. { Register the internal linker. This routine is called to setup the
  278. class to use for the linker. It returns the tsysteminfo structure
  279. updated with the correct linker class for internal linking.
  280. If internal linking is not supported, this class can be set
  281. to nil.
  282. }
  283. procedure RegisterInternalLinker(var system_info : tsysteminfo; c:TAbstractLinkerClass);
  284. procedure InitSystems;
  285. implementation
  286. uses
  287. cutils;
  288. {****************************************************************************
  289. Target setting
  290. ****************************************************************************}
  291. function set_target(t:tsystem):boolean;
  292. begin
  293. set_target:=false;
  294. if assigned(targetinfos[t]) then
  295. begin
  296. target_info:=targetinfos[t]^;
  297. set_target_asm(target_info.assem);
  298. set_target_ar(target_info.ar);
  299. set_target_res(target_info.res);
  300. target_path:=lower(target_info.shortname);
  301. target_cpu:=target_info.cpu;
  302. set_target:=true;
  303. exit;
  304. end;
  305. end;
  306. function set_target_asm(t:tasm):boolean;
  307. begin
  308. set_target_asm:=false;
  309. if assigned(asminfos[t]) then
  310. begin
  311. target_asm:=asminfos[t]^;
  312. set_target_asm:=true;
  313. exit;
  314. end;
  315. end;
  316. function set_target_ar(t:tar):boolean;
  317. begin
  318. set_target_ar:=false;
  319. if assigned(arinfos[t]) then
  320. begin
  321. target_ar:=arinfos[t]^;
  322. set_target_ar:=true;
  323. exit;
  324. end;
  325. end;
  326. function set_target_res(t:tres):boolean;
  327. begin
  328. set_target_res:=false;
  329. if assigned(resinfos[t]) then
  330. begin
  331. target_res:=resinfos[t]^;
  332. set_target_res:=true;
  333. exit;
  334. end;
  335. end;
  336. function set_target_by_string(const s : string) : boolean;
  337. var
  338. hs : string;
  339. t : tsystem;
  340. begin
  341. set_target_by_string:=false;
  342. { this should be case insensitive !! PM }
  343. hs:=upper(s);
  344. for t:=low(tsystem) to high(tsystem) do
  345. if assigned(targetinfos[t]) and
  346. (upper(targetinfos[t]^.shortname)=hs) then
  347. begin
  348. set_target_by_string:=set_target(t);
  349. exit;
  350. end;
  351. end;
  352. function set_target_asm_by_string(const s : string) : boolean;
  353. var
  354. hs : string;
  355. t : tasm;
  356. begin
  357. set_target_asm_by_string:=false;
  358. { this should be case insensitive !! PM }
  359. hs:=upper(s);
  360. for t:=low(tasm) to high(tasm) do
  361. if assigned(asminfos[t]) and
  362. (asminfos[t]^.idtxt=hs) then
  363. begin
  364. set_target_asm_by_string:=set_target_asm(t);
  365. exit;
  366. end;
  367. end;
  368. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  369. var
  370. hs : string;
  371. ht : tasmmode;
  372. begin
  373. set_asmmode_by_string:=false;
  374. { this should be case insensitive !! PM }
  375. hs:=upper(s);
  376. for ht:=low(tasmmode) to high(tasmmode) do
  377. if assigned(asmmodeinfos[ht]) and
  378. (asmmodeinfos[ht]^.idtxt=hs) then
  379. begin
  380. t:=asmmodeinfos[ht]^.id;
  381. set_asmmode_by_string:=true;
  382. end;
  383. end;
  384. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  385. begin
  386. with d do
  387. begin
  388. { general update rules:
  389. minimum: if higher then update
  390. maximum: if lower then update or if undefined then update }
  391. if s.procalign>procalign then
  392. procalign:=s.procalign;
  393. if s.loopalign>loopalign then
  394. loopalign:=s.loopalign;
  395. if s.jumpalign>jumpalign then
  396. jumpalign:=s.jumpalign;
  397. if s.constalignmin>constalignmin then
  398. constalignmin:=s.constalignmin;
  399. if (constalignmax=0) or
  400. ((s.constalignmax>0) and (s.constalignmax<constalignmax)) then
  401. constalignmax:=s.constalignmax;
  402. if s.varalignmin>varalignmin then
  403. varalignmin:=s.varalignmin;
  404. if (varalignmax=0) or
  405. ((s.varalignmax>0) and (s.varalignmax<varalignmax)) then
  406. varalignmax:=s.varalignmax;
  407. if s.localalignmin>localalignmin then
  408. localalignmin:=s.localalignmin;
  409. if (localalignmax=0) or
  410. ((s.localalignmax>0) and (s.localalignmax<localalignmax)) then
  411. localalignmax:=s.localalignmax;
  412. if s.paraalign>paraalign then
  413. paraalign:=s.paraalign;
  414. if s.recordalignmin>recordalignmin then
  415. recordalignmin:=s.recordalignmin;
  416. if (recordalignmax=0) or
  417. ((s.recordalignmax>0) and (s.recordalignmax<recordalignmax)) then
  418. recordalignmax:=s.recordalignmax;
  419. if (maxCrecordalign=0) or
  420. ((s.maxCrecordalign>0) and (s.maxCrecordalign<maxCrecordalign)) then
  421. maxCrecordalign:=s.maxCrecordalign;
  422. end;
  423. end;
  424. {****************************************************************************
  425. Target registration
  426. ****************************************************************************}
  427. procedure RegisterTarget(const r:tsysteminfo);
  428. var
  429. t : tsystem;
  430. begin
  431. t:=r.system;
  432. if assigned(targetinfos[t]) then
  433. writeln('Warning: Target is already registered!')
  434. else
  435. Getmem(targetinfos[t],sizeof(tsysteminfo));
  436. targetinfos[t]^:=r;
  437. end;
  438. procedure RegisterAsmmode(const r:tasmmodeinfo);
  439. var
  440. t : tasmmode;
  441. begin
  442. t:=r.id;
  443. if assigned(asmmodeinfos[t]) then
  444. writeln('Warning: Asmmode is already registered!')
  445. else
  446. Getmem(asmmodeinfos[t],sizeof(tasmmodeinfo));
  447. asmmodeinfos[t]^:=r;
  448. end;
  449. procedure RegisterRes(const r:tresinfo);
  450. var
  451. t : tres;
  452. begin
  453. t:=r.id;
  454. if assigned(resinfos[t]) then
  455. writeln('Warning: resourcecompiler is already registered!')
  456. else
  457. Getmem(resinfos[t],sizeof(tresinfo));
  458. resinfos[t]^:=r;
  459. end;
  460. procedure RegisterAr(const r:tarinfo);
  461. var
  462. t : tar;
  463. begin
  464. t:=r.id;
  465. if assigned(arinfos[t]) then
  466. writeln('Warning: ar is already registered!')
  467. else
  468. Getmem(arinfos[t],sizeof(tarinfo));
  469. arinfos[t]^:=r;
  470. end;
  471. procedure RegisterExternalLinker(var system_info: tsysteminfo; c:TAbstractLinkerClass);
  472. begin
  473. system_info.linkextern := c;
  474. end;
  475. procedure RegisterInternalLinker(var system_info : tsysteminfo; c:TAbstractLinkerClass);
  476. begin
  477. system_info.link := c;
  478. end;
  479. procedure DeregisterInfos;
  480. var
  481. assem : tasm;
  482. target : tsystem;
  483. ar : tar;
  484. asmmode : tasmmode;
  485. res : tres;
  486. begin
  487. for target:=low(tsystem) to high(tsystem) do
  488. if assigned(targetinfos[target]) then
  489. begin
  490. freemem(targetinfos[target],sizeof(tsysteminfo));
  491. targetinfos[target]:=nil;
  492. end;
  493. for assem:=low(tasm) to high(tasm) do
  494. if assigned(asminfos[assem]) then
  495. begin
  496. freemem(asminfos[assem],sizeof(tasminfo));
  497. asminfos[assem]:=nil;
  498. end;
  499. for ar:=low(tar) to high(tar) do
  500. if assigned(arinfos[ar]) then
  501. begin
  502. freemem(arinfos[ar],sizeof(tarinfo));
  503. arinfos[ar]:=nil;
  504. end;
  505. for res:=low(tres) to high(tres) do
  506. if assigned(resinfos[res]) then
  507. begin
  508. freemem(resinfos[res],sizeof(tresinfo));
  509. resinfos[res]:=nil;
  510. end;
  511. for asmmode:=low(tasmmode) to high(tasmmode) do
  512. if assigned(asmmodeinfos[asmmode]) then
  513. begin
  514. freemem(asmmodeinfos[asmmode],sizeof(tasmmodeinfo));
  515. asmmodeinfos[asmmode]:=nil;
  516. end;
  517. end;
  518. {****************************************************************************
  519. Initialization of default target
  520. ****************************************************************************}
  521. procedure default_target(t:tsystem);
  522. begin
  523. set_target(t);
  524. if source_info.name='' then
  525. source_info:=target_info;
  526. end;
  527. procedure set_source_info(const ti : tsysteminfo);
  528. begin
  529. { can't use message() here (PFV) }
  530. if source_info.name<>'' then
  531. Writeln('Warning: Source OS Redefined!');
  532. source_info:=ti;
  533. end;
  534. procedure InitSystems;
  535. begin
  536. { Now default target, this is dependent on the i386 or m68k define,
  537. when the define is the same as the current cpu then we use the source
  538. os, else we pick a default }
  539. {$ifdef i386}
  540. {$ifdef cpu86}
  541. default_target(source_info.system);
  542. {$else cpu86}
  543. default_target(target_i386_linux);
  544. {$endif cpu86}
  545. {$endif i386}
  546. {$ifdef x86_64}
  547. {$ifdef cpu86_64}
  548. default_target(source_info.system);
  549. {$else cpu86_64}
  550. default_target(target_x86_64_linux);
  551. {$endif cpu86_64}
  552. {$endif x86_64}
  553. {$ifdef m68k}
  554. {$ifdef cpu68}
  555. default_target(source_info.target);
  556. {$else cpu68}
  557. default_target(system_m68k_linux);
  558. {$endif cpu68}
  559. {$endif m68k}
  560. {$ifdef alpha}
  561. {$ifdef cpualpha}
  562. default_target(source_info.system);
  563. {$else cpualpha}
  564. default_target(system_alpha_linux);
  565. {$endif cpualpha}
  566. {$endif alpha}
  567. {$ifdef powerpc}
  568. {$ifdef cpuppc}
  569. default_target(source_info.system);
  570. {$else cpuppc}
  571. default_target(system_powerpc_linux);
  572. {$endif cpuppc}
  573. {$endif powerpc}
  574. {$IFDEF sparc}
  575. default_target(system_sparc_linux);
  576. {$ENDIF sparc}
  577. end;
  578. initialization
  579. source_info.name:='';
  580. finalization
  581. DeregisterInfos;
  582. end.
  583. {
  584. $Log$
  585. Revision 1.55 2002-09-07 18:05:51 florian
  586. * first part of PowerPC fixes
  587. Revision 1.54 2002/08/20 21:40:44 florian
  588. + target macos for ppc added
  589. + frame work for mpw assembler output
  590. Revision 1.53 2002/08/18 09:13:02 florian
  591. * small fixes to the alpha stuff
  592. Revision 1.52 2002/08/13 21:40:57 florian
  593. * more fixes for ppc calling conventions
  594. Revision 1.51 2002/08/12 15:08:40 carl
  595. + stab register indexes for powerpc (moved from gdb to cpubase)
  596. + tprocessor enumeration moved to cpuinfo
  597. + linker in target_info is now a class
  598. * many many updates for m68k (will soon start to compile)
  599. - removed some ifdef or correct them for correct cpu
  600. Revision 1.50 2002/08/10 14:46:31 carl
  601. + moved target_cpu_string to cpuinfo
  602. * renamed asmmode enum.
  603. * assembler reader has now less ifdef's
  604. * move from nppcmem.pas -> ncgmem.pas vec. node.
  605. Revision 1.49 2002/07/28 20:45:22 florian
  606. + added direct assembler reader for PowerPC
  607. Revision 1.48 2002/07/26 21:15:42 florian
  608. * rewrote the system handling
  609. Revision 1.47 2002/07/04 20:43:02 florian
  610. * first x86-64 patches
  611. Revision 1.46 2002/07/01 18:46:29 peter
  612. * internal linker
  613. * reorganized aasm layer
  614. Revision 1.45 2002/05/18 13:34:21 peter
  615. * readded missing revisions
  616. Revision 1.44 2002/05/16 19:46:45 carl
  617. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  618. + try to fix temp allocation (still in ifdef)
  619. + generic constructor calls
  620. + start of tassembler / tmodulebase class cleanup
  621. Revision 1.42 2002/05/06 19:52:04 carl
  622. + added more patches from Mazen for SPARC port
  623. Revision 1.41 2002/04/24 16:08:30 carl
  624. * fix compilation problem
  625. Revision 1.40 2002/04/20 21:32:26 carl
  626. + generic FPC_CHECKPOINTER
  627. + first parameter offset in stack now portable
  628. * rename some constants
  629. + move some cpu stuff to other units
  630. - remove unused constents
  631. * fix stacksize for some targets
  632. * fix generic size problems which depend now on EXTEND_SIZE constant
  633. Revision 1.39 2002/04/15 19:08:22 carl
  634. + target_info.size_of_pointer -> pointer_size
  635. + some cleanup of unused types/variables
  636. Revision 1.38 2002/04/14 16:56:30 carl
  637. - remove duplicate comment
  638. }