systems.pas 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. {
  2. $Id$
  3. Copyright (C) 1998-2000 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. ttargetcpu=
  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. );
  42. tprocessors = (no_processor
  43. ,Class386,ClassP5,ClassP6
  44. ,MC68000,MC68100,MC68020
  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
  50. );
  51. tasmmode= (asmmode_none
  52. ,asmmode_i386_direct,asmmode_i386_att,asmmode_i386_intel
  53. ,asmmode_m68k_mot
  54. ,asmmode_alpha_direct
  55. ,asmmode_powerpc_direct
  56. );
  57. { IMPORTANT NOTE:
  58. the integer value of this enum is stored in PPU
  59. files to recognize the target, so if you add new targets
  60. allways add them at end PM
  61. FURTHERMORE : Make sure that this branch values, are
  62. consistant with the main branch version always. (CEC)
  63. }
  64. type
  65. ttarget =
  66. (
  67. target_none, { 0 }
  68. obsolete_target_i386_GO32V1,{ 1 }
  69. target_i386_GO32V2, { 2 }
  70. target_i386_linux, { 3 }
  71. target_i386_OS2, { 4 }
  72. target_i386_Win32, { 5 }
  73. target_i386_freebsd, { 6 }
  74. target_m68k_Amiga, { 7 }
  75. target_m68k_Atari, { 8 }
  76. target_m68k_Mac, { 9 }
  77. target_m68k_linux, { 10 }
  78. target_m68k_PalmOS, { 11 }
  79. target_alpha_linux, { 12 }
  80. target_powerpc_linux, { 13 }
  81. target_powerpc_macos, { 14 }
  82. target_i386_sunos, { 15 }
  83. target_i386_beos, { 16 }
  84. target_i386_netbsd, { 17 }
  85. target_m68k_netbsd, { 18 }
  86. target_i386_Netware, { 19 }
  87. target_i386_qnx, { 20 }
  88. target_i386_wdosx, { 21 }
  89. target_sparc_sunos, { 22 }
  90. target_sparc_linux { 23 }
  91. );
  92. tasm = (as_none
  93. ,as_i386_as,as_i386_as_aout,as_i386_asw,as_i386_aswdosx,
  94. as_i386_nasmcoff,as_i386_nasmwin32,as_i386_nasmwdosx,
  95. as_i386_nasmelf,as_i386_nasmobj,
  96. as_i386_tasm,as_i386_masm,
  97. as_i386_dbg,as_i386_coff,as_i386_pecoff,as_i386_elf32,as_i386_pecoffwdosx
  98. ,as_m68k_as,as_m68k_gas,as_m68k_mit,as_m68k_mot,
  99. as_m68k_mpw,as_m68k_palm
  100. ,as_alpha_as
  101. ,as_powerpc_as,as_powerpc_mpw,
  102. as_SPARC_as,as_SPARC_elf32
  103. );
  104. tld = (ld_none,
  105. ld_i386_GO32V1,ld_i386_GO32V2,ld_i386_linux,
  106. ld_i386_OS2,ld_i386_Win32,ld_i386_freebsd,
  107. ld_i386_Netware,ld_i386_sunos,ld_i386_beos,
  108. ld_m68k_Amiga,ld_m68k_Atari,ld_m68k_Mac,
  109. ld_m68k_linux,ld_m68k_PalmOS,ld_m68k_freebsd,
  110. ld_alpha_linux,
  111. ld_powerpc_linux,ld_powerpc_macos,ld_i386_Wdosx,
  112. ld_SPARC_SunOs,ld_SPARC_linux
  113. );
  114. tar = (ar_none
  115. ,ar_gnu_ar,ar_gnu_arw
  116. );
  117. tres = (res_none
  118. ,res_gnu_windres,res_emxbind
  119. );
  120. tscripttype = (script_none
  121. ,script_dos,script_unix,script_amiga
  122. );
  123. {*****************************************************************************
  124. Structures
  125. *****************************************************************************}
  126. type
  127. palignmentinfo = ^talignmentinfo;
  128. talignmentinfo = packed record
  129. procalign,
  130. loopalign,
  131. jumpalign,
  132. constalignmin,
  133. constalignmax,
  134. varalignmin,
  135. varalignmax,
  136. localalignmin,
  137. localalignmax,
  138. paraalign,
  139. recordalignmin,
  140. recordalignmax,
  141. maxCrecordalign : longint;
  142. end;
  143. pasminfo = ^tasminfo;
  144. tasminfo = packed record
  145. id : tasm;
  146. idtxt : string[9];
  147. asmbin : string[8];
  148. asmcmd : string[50];
  149. supported_target : ttarget;
  150. outputbinary,
  151. allowdirect,
  152. externals,
  153. needar,
  154. labelprefix_only_inside_procedure : boolean;
  155. labelprefix : string[3];
  156. comment : string[2];
  157. secnames : array[tsection] of string[20];
  158. end;
  159. parinfo = ^tarinfo;
  160. tarinfo = packed record
  161. id : tar;
  162. arcmd : string[50];
  163. end;
  164. presinfo = ^tresinfo;
  165. tresinfo = packed record
  166. id : tres;
  167. resbin : string[8];
  168. rescmd : string[50];
  169. end;
  170. {# }
  171. ttargetflags = (tf_none,
  172. tf_under_development,
  173. tf_need_export,tf_needs_isconsole
  174. ,tf_code_small,tf_static_reg_based
  175. );
  176. ptargetinfo = ^ttargetinfo;
  177. ttargetinfo = packed record
  178. target : ttarget;
  179. name : string[30];
  180. shortname : string[9];
  181. flags : set of ttargetflags;
  182. cpu : ttargetcpu;
  183. unit_env : string[12];
  184. extradefines : string[40];
  185. sourceext,
  186. pasext,
  187. exeext,
  188. defext,
  189. scriptext,
  190. smartext,
  191. unitext,
  192. unitlibext,
  193. asmext,
  194. objext,
  195. resext,
  196. resobjext : string[4];
  197. sharedlibext : string[10];
  198. staticlibext,
  199. staticlibprefix : string[4];
  200. sharedlibprefix : string[4];
  201. sharedClibext : string[10];
  202. staticClibext,
  203. staticClibprefix : string[4];
  204. sharedClibprefix : string[4];
  205. Cprefix : string[2];
  206. newline : string[2];
  207. dirsep : char;
  208. files_case_relevent : boolean;
  209. assem : tasm;
  210. assemextern : tasm; { external assembler, used by -a }
  211. link : tld;
  212. linkextern : tld; { external linker, used by -s }
  213. ar : tar;
  214. res : tres;
  215. script : tscripttype;
  216. endian : tendian;
  217. alignment : talignmentinfo;
  218. {
  219. Offset from the argument pointer register to the first
  220. argument's address. On some machines it may depend on
  221. the data type of the function.
  222. (see also FIRST_PARM_OFFSET in GCC source)
  223. }
  224. first_parm_offset : longint;
  225. heapsize,
  226. stacksize : longint;
  227. DllScanSupported : boolean;
  228. use_function_relative_addresses : boolean;
  229. end;
  230. pasmmodeinfo = ^tasmmodeinfo;
  231. tasmmodeinfo = packed record
  232. id : tasmmode;
  233. idtxt : string[8];
  234. end;
  235. const
  236. { alias for supported_target field in tasminfo }
  237. target_any = target_none;
  238. var
  239. targetinfos : array[ttarget] of ptargetinfo;
  240. asminfos : array[tasm] of pasminfo;
  241. arinfos : array[tar] of parinfo;
  242. resinfos : array[tres] of presinfo;
  243. asmmodeinfos : array[tasmmode] of pasmmodeinfo;
  244. source_info : ttargetinfo;
  245. target_cpu : ttargetcpu;
  246. target_info : ttargetinfo;
  247. target_asm : tasminfo;
  248. target_ar : tarinfo;
  249. target_res : tresinfo;
  250. target_path : string[12]; { for rtl/<X>/,fcl/<X>/, etc. }
  251. function set_target(t:ttarget):boolean;
  252. function set_target_asm(t:tasm):boolean;
  253. function set_target_ar(t:tar):boolean;
  254. function set_target_res(t:tres):boolean;
  255. function set_target_by_string(const s : string) : boolean;
  256. function set_target_asm_by_string(const s : string) : boolean;
  257. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  258. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  259. procedure RegisterTarget(const r:ttargetinfo);
  260. procedure RegisterAsmMode(const r:tasmmodeinfo);
  261. procedure RegisterRes(const r:tresinfo);
  262. procedure RegisterAr(const r:tarinfo);
  263. procedure InitSystems;
  264. implementation
  265. uses
  266. cutils;
  267. {****************************************************************************
  268. Target setting
  269. ****************************************************************************}
  270. function set_target(t:ttarget):boolean;
  271. begin
  272. set_target:=false;
  273. if assigned(targetinfos[t]) then
  274. begin
  275. target_info:=targetinfos[t]^;
  276. set_target_asm(target_info.assem);
  277. set_target_ar(target_info.ar);
  278. set_target_res(target_info.res);
  279. target_path:=lower(target_info.shortname);
  280. target_cpu:=target_info.cpu;
  281. set_target:=true;
  282. exit;
  283. end;
  284. end;
  285. function set_target_asm(t:tasm):boolean;
  286. begin
  287. set_target_asm:=false;
  288. if assigned(asminfos[t]) then
  289. begin
  290. target_asm:=asminfos[t]^;
  291. set_target_asm:=true;
  292. exit;
  293. end;
  294. end;
  295. function set_target_ar(t:tar):boolean;
  296. begin
  297. set_target_ar:=false;
  298. if assigned(arinfos[t]) then
  299. begin
  300. target_ar:=arinfos[t]^;
  301. set_target_ar:=true;
  302. exit;
  303. end;
  304. end;
  305. function set_target_res(t:tres):boolean;
  306. begin
  307. set_target_res:=false;
  308. if assigned(resinfos[t]) then
  309. begin
  310. target_res:=resinfos[t]^;
  311. set_target_res:=true;
  312. exit;
  313. end;
  314. end;
  315. function set_target_by_string(const s : string) : boolean;
  316. var
  317. hs : string;
  318. t : ttarget;
  319. begin
  320. set_target_by_string:=false;
  321. { this should be case insensitive !! PM }
  322. hs:=upper(s);
  323. for t:=low(ttarget) to high(ttarget) do
  324. if assigned(targetinfos[t]) and
  325. (upper(targetinfos[t]^.shortname)=hs) then
  326. begin
  327. set_target_by_string:=set_target(t);
  328. exit;
  329. end;
  330. end;
  331. function set_target_asm_by_string(const s : string) : boolean;
  332. var
  333. hs : string;
  334. t : tasm;
  335. begin
  336. set_target_asm_by_string:=false;
  337. { this should be case insensitive !! PM }
  338. hs:=upper(s);
  339. for t:=low(tasm) to high(tasm) do
  340. if assigned(asminfos[t]) and
  341. (asminfos[t]^.idtxt=hs) then
  342. begin
  343. set_target_asm_by_string:=set_target_asm(t);
  344. exit;
  345. end;
  346. end;
  347. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  348. var
  349. hs : string;
  350. ht : tasmmode;
  351. begin
  352. set_asmmode_by_string:=false;
  353. { this should be case insensitive !! PM }
  354. hs:=upper(s);
  355. for ht:=low(tasmmode) to high(tasmmode) do
  356. if assigned(asmmodeinfos[ht]) and
  357. (asmmodeinfos[ht]^.idtxt=hs) then
  358. begin
  359. t:=asmmodeinfos[ht]^.id;
  360. set_asmmode_by_string:=true;
  361. end;
  362. end;
  363. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  364. begin
  365. with d do
  366. begin
  367. { general update rules:
  368. minimum: if higher then update
  369. maximum: if lower then update or if undefined then update }
  370. if s.procalign>procalign then
  371. procalign:=s.procalign;
  372. if s.loopalign>loopalign then
  373. loopalign:=s.loopalign;
  374. if s.jumpalign>jumpalign then
  375. jumpalign:=s.jumpalign;
  376. if s.constalignmin>constalignmin then
  377. constalignmin:=s.constalignmin;
  378. if (constalignmax=0) or
  379. ((s.constalignmax>0) and (s.constalignmax<constalignmax)) then
  380. constalignmax:=s.constalignmax;
  381. if s.varalignmin>varalignmin then
  382. varalignmin:=s.varalignmin;
  383. if (varalignmax=0) or
  384. ((s.varalignmax>0) and (s.varalignmax<varalignmax)) then
  385. varalignmax:=s.varalignmax;
  386. if s.localalignmin>localalignmin then
  387. localalignmin:=s.localalignmin;
  388. if (localalignmax=0) or
  389. ((s.localalignmax>0) and (s.localalignmax<localalignmax)) then
  390. localalignmax:=s.localalignmax;
  391. if s.paraalign>paraalign then
  392. paraalign:=s.paraalign;
  393. if s.recordalignmin>recordalignmin then
  394. recordalignmin:=s.recordalignmin;
  395. if (recordalignmax=0) or
  396. ((s.recordalignmax>0) and (s.recordalignmax<recordalignmax)) then
  397. recordalignmax:=s.recordalignmax;
  398. if (maxCrecordalign=0) or
  399. ((s.maxCrecordalign>0) and (s.maxCrecordalign<maxCrecordalign)) then
  400. maxCrecordalign:=s.maxCrecordalign;
  401. end;
  402. end;
  403. {****************************************************************************
  404. Target registration
  405. ****************************************************************************}
  406. procedure RegisterTarget(const r:ttargetinfo);
  407. var
  408. t : ttarget;
  409. begin
  410. t:=r.target;
  411. if assigned(targetinfos[t]) then
  412. writeln('Warning: Target is already registered!')
  413. else
  414. Getmem(targetinfos[t],sizeof(ttargetinfo));
  415. targetinfos[t]^:=r;
  416. end;
  417. procedure RegisterAsmmode(const r:tasmmodeinfo);
  418. var
  419. t : tasmmode;
  420. begin
  421. t:=r.id;
  422. if assigned(asmmodeinfos[t]) then
  423. writeln('Warning: Asmmode is already registered!')
  424. else
  425. Getmem(asmmodeinfos[t],sizeof(tasmmodeinfo));
  426. asmmodeinfos[t]^:=r;
  427. end;
  428. procedure RegisterRes(const r:tresinfo);
  429. var
  430. t : tres;
  431. begin
  432. t:=r.id;
  433. if assigned(resinfos[t]) then
  434. writeln('Warning: resourcecompiler is already registered!')
  435. else
  436. Getmem(resinfos[t],sizeof(tresinfo));
  437. resinfos[t]^:=r;
  438. end;
  439. procedure RegisterAr(const r:tarinfo);
  440. var
  441. t : tar;
  442. begin
  443. t:=r.id;
  444. if assigned(arinfos[t]) then
  445. writeln('Warning: ar is already registered!')
  446. else
  447. Getmem(arinfos[t],sizeof(tarinfo));
  448. arinfos[t]^:=r;
  449. end;
  450. procedure DeregisterInfos;
  451. var
  452. assem : tasm;
  453. target : ttarget;
  454. ar : tar;
  455. asmmode : tasmmode;
  456. res : tres;
  457. begin
  458. for target:=low(ttarget) to high(ttarget) do
  459. if assigned(targetinfos[target]) then
  460. begin
  461. freemem(targetinfos[target],sizeof(ttargetinfo));
  462. targetinfos[target]:=nil;
  463. end;
  464. for assem:=low(tasm) to high(tasm) do
  465. if assigned(asminfos[assem]) then
  466. begin
  467. freemem(asminfos[assem],sizeof(tasminfo));
  468. asminfos[assem]:=nil;
  469. end;
  470. for ar:=low(tar) to high(tar) do
  471. if assigned(arinfos[ar]) then
  472. begin
  473. freemem(arinfos[ar],sizeof(tarinfo));
  474. arinfos[ar]:=nil;
  475. end;
  476. for res:=low(tres) to high(tres) do
  477. if assigned(resinfos[res]) then
  478. begin
  479. freemem(resinfos[res],sizeof(tresinfo));
  480. resinfos[res]:=nil;
  481. end;
  482. for asmmode:=low(tasmmode) to high(tasmmode) do
  483. if assigned(asmmodeinfos[asmmode]) then
  484. begin
  485. freemem(asmmodeinfos[asmmode],sizeof(tasmmodeinfo));
  486. asmmodeinfos[asmmode]:=nil;
  487. end;
  488. end;
  489. {****************************************************************************
  490. Initialization of default target
  491. ****************************************************************************}
  492. procedure default_target(t:ttarget);
  493. begin
  494. set_target(t);
  495. if source_info.name='' then
  496. source_info:=target_info;
  497. end;
  498. procedure set_source(t:ttarget);
  499. begin
  500. { can't use message() here (PFV) }
  501. if source_info.name<>'' then
  502. Writeln('Warning: Source OS Redefined!');
  503. if assigned(targetinfos[t]) then
  504. source_info:=targetinfos[t]^
  505. else
  506. Writeln('Warning: Source OS Not Supported!');
  507. end;
  508. procedure InitSystems;
  509. begin
  510. { first get source OS }
  511. source_info.name:='';
  512. { please note then we use cpu86 and cpu68 here on purpose !! }
  513. {$ifdef cpu86}
  514. {$ifdef GO32V2}
  515. set_source(target_i386_GO32V2);
  516. {$else}
  517. {$ifdef OS2}
  518. set_source(target_i386_OS2);
  519. if (OS_Mode = osDOS) or (OS_Mode = osDPMI) then
  520. source_info.scriptext := '.bat';
  521. { OS/2 via EMX can be run under DOS as well }
  522. {$else}
  523. {$ifdef WIN32}
  524. {$ifdef WDOSX}
  525. set_source(target_i386_wdosx);
  526. {$else}
  527. set_source(target_i386_WIN32);
  528. {$endif}
  529. {$else}
  530. {$ifdef FreeBSD}
  531. set_source(target_i386_FreeBSD);
  532. {$else}
  533. {$ifdef netbsd}
  534. set_source(target_i386_NetBSD);
  535. {$else}
  536. {$ifdef sunos}
  537. set_source(target_i386_sunos);
  538. {$else}
  539. {$ifdef beos}
  540. set_source(target_i386_beos);
  541. {$else}
  542. { Must be the last as some freebsd also
  543. defined linux }
  544. {$ifdef linux}
  545. set_source(target_i386_linux);
  546. {$else}
  547. {$error Error setting source OS}
  548. {$endif linux}
  549. {$endif beos}
  550. {$endif sunos}
  551. {$endif netbsd}
  552. {$endif freebsd}
  553. {$endif win32}
  554. {$endif os2}
  555. {$endif go32v2}
  556. {$endif cpu86}
  557. {$ifdef cpu68}
  558. {$ifdef AMIGA}
  559. set_source(target_m68k_Amiga);
  560. {$else}
  561. {$ifdef ATARI}
  562. set_source(target_m68k_Atari);
  563. {$else}
  564. {$ifdef MACOS}
  565. set_source(target_m68k_MAC);
  566. {$else}
  567. {$ifdef linux}
  568. set_source(target_m68k_linux);
  569. {$endif linux}
  570. {$endif macos}
  571. {$endif atari}
  572. {$endif amiga}
  573. {$endif cpu68}
  574. { Now default target, this is dependent on the i386 or m68k define,
  575. when the define is the same as the current cpu then we use the source
  576. os, else we pick a default }
  577. {$ifdef i386}
  578. {$ifdef cpu86}
  579. default_target(source_info.target);
  580. {$else cpu86}
  581. default_target(target_i386_linux);
  582. {$endif cpu86}
  583. {$endif i386}
  584. {$ifdef m68k}
  585. {$ifdef cpu68}
  586. default_target(source_info.target);
  587. {$else cpu68}
  588. default_target(target_m68k_linux);
  589. {$endif cpu68}
  590. {$endif m68k}
  591. {$ifdef alpha}
  592. {$ifdef cpualpha}
  593. default_target(source_info.target);
  594. {$else cpualpha}
  595. default_target(target_alpha_linux);
  596. {$endif cpualpha}
  597. {$endif alpha}
  598. {$ifdef powerpc}
  599. {$ifdef cpuppc}
  600. default_target(source_info.target);
  601. {$else cpuppc}
  602. default_target(target_powerpc_linux);
  603. {$endif cpuppc}
  604. {$endif powerpc}
  605. {$IFDEF SPARC}
  606. default_target(target_SPARC_linux);
  607. {$ENDIF SPARC}
  608. end;
  609. initialization
  610. finalization
  611. DeregisterInfos;
  612. end.
  613. {
  614. $Log$
  615. Revision 1.44 2002-05-16 19:46:45 carl
  616. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  617. + try to fix temp allocation (still in ifdef)
  618. + generic constructor calls
  619. + start of tassembler / tmodulebase class cleanup
  620. Revision 1.42 2002/05/06 19:52:04 carl
  621. + added more patches from Mazen for SPARC port
  622. Revision 1.41 2002/04/24 16:08:30 carl
  623. * fix compilation problem
  624. Revision 1.40 2002/04/20 21:32:26 carl
  625. + generic FPC_CHECKPOINTER
  626. + first parameter offset in stack now portable
  627. * rename some constants
  628. + move some cpu stuff to other units
  629. - remove unused constents
  630. * fix stacksize for some targets
  631. * fix generic size problems which depend now on EXTEND_SIZE constant
  632. Revision 1.39 2002/04/15 19:08:22 carl
  633. + target_info.size_of_pointer -> pointer_size
  634. + some cleanup of unused types/variables
  635. Revision 1.38 2002/04/14 16:56:30 carl
  636. - remove duplicate comment
  637. Revision 1.37 2002/04/07 10:20:15 carl
  638. + added SPARC targets
  639. + added VM target
  640. Revision 1.36 2002/04/04 19:18:06 carl
  641. - removed cmnts
  642. }