2
0

systems.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775
  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. target_i386_openbsd, { 24 }
  96. target_m68k_openbsd, { 25 }
  97. system_x86_64_linux, { 26 }
  98. system_powerpc_macosx, { 27 }
  99. system_i386_EMX { 28 }
  100. );
  101. tasm = (as_none
  102. ,as_gas { standard gnu assembler }
  103. ,as_i386_as_aout
  104. ,as_i386_asw
  105. ,as_i386_nasmcoff
  106. ,as_i386_nasmwin32
  107. ,as_i386_nasmwdosx
  108. ,as_i386_nasmelf
  109. ,as_i386_nasmobj
  110. ,as_i386_tasm
  111. ,as_i386_masm
  112. ,as_i386_coff
  113. ,as_i386_pecoff
  114. ,as_i386_elf32
  115. ,as_i386_pecoffwdosx
  116. ,as_m68k_mit
  117. ,as_powerpc_mpw
  118. ,as_x86_64_as
  119. );
  120. tar = (ar_none
  121. ,ar_gnu_ar,ar_gnu_arw,ar_mpw_ar
  122. );
  123. tres = (res_none
  124. ,res_gnu_windres,res_emxbind
  125. ,res_m68k_palmos,res_m68k_mpw
  126. ,res_powerpc_mpw
  127. );
  128. tscripttype = (script_none
  129. ,script_dos,script_unix,script_amiga
  130. );
  131. tabi = (abi_default,abi_powerpc_sysv,abi_powerpc_aix);
  132. {*****************************************************************************
  133. Structures
  134. *****************************************************************************}
  135. type
  136. { Abstract linker class which is implemented in link module }
  137. TAbstractLinker = class
  138. end;
  139. TAbstractLinkerClass = class of TABstractLinker;
  140. { Abstract assembler class which is implemented in assemble module }
  141. TAbstractAssembler = class
  142. end;
  143. TAbstractAssemblerClass = class of TAbstractAssembler;
  144. palignmentinfo = ^talignmentinfo;
  145. talignmentinfo = packed record
  146. procalign,
  147. loopalign,
  148. jumpalign,
  149. constalignmin,
  150. constalignmax,
  151. varalignmin,
  152. varalignmax,
  153. localalignmin,
  154. localalignmax,
  155. paraalign,
  156. recordalignmin,
  157. recordalignmax,
  158. maxCrecordalign : longint;
  159. end;
  160. pasminfo = ^tasminfo;
  161. tasminfo = packed record
  162. id : tasm;
  163. idtxt : string[9];
  164. asmbin : string[8];
  165. asmcmd : string[50];
  166. supported_target : tsystem;
  167. outputbinary,
  168. allowdirect,
  169. needar,
  170. labelprefix_only_inside_procedure : boolean;
  171. labelprefix : string[3];
  172. comment : string[2];
  173. secnames : array[TSection] of string[20];
  174. end;
  175. parinfo = ^tarinfo;
  176. tarinfo = packed record
  177. id : tar;
  178. arcmd : string[50];
  179. end;
  180. presinfo = ^tresinfo;
  181. tresinfo = packed record
  182. id : tres;
  183. resbin : string[8];
  184. rescmd : string[50];
  185. end;
  186. tsystemflags = (tf_none,
  187. tf_under_development,
  188. tf_need_export,tf_needs_isconsole
  189. ,tf_code_small,tf_static_reg_based
  190. );
  191. psysteminfo = ^tsysteminfo;
  192. tsysteminfo = packed record
  193. system : tsystem;
  194. name : string[30];
  195. shortname : string[9];
  196. flags : set of tsystemflags;
  197. cpu : tsystemcpu;
  198. unit_env : string[12];
  199. extradefines : string[40];
  200. sourceext,
  201. pasext,
  202. exeext,
  203. defext,
  204. scriptext,
  205. smartext,
  206. unitext,
  207. unitlibext,
  208. asmext,
  209. objext,
  210. resext,
  211. resobjext : string[4];
  212. sharedlibext : string[10];
  213. staticlibext,
  214. staticlibprefix : string[4];
  215. sharedlibprefix : string[4];
  216. sharedClibext : string[10];
  217. staticClibext,
  218. staticClibprefix : string[4];
  219. sharedClibprefix : string[4];
  220. Cprefix : string[2];
  221. newline : string[2];
  222. dirsep : char;
  223. files_case_relevent : boolean;
  224. assem : tasm;
  225. assemextern : tasm; { external assembler, used by -a }
  226. link : tabstractlinkerclass;
  227. linkextern : tabstractlinkerclass; { external linker, used by -s }
  228. ar : tar;
  229. res : tres;
  230. script : tscripttype;
  231. endian : tendian;
  232. alignment : talignmentinfo;
  233. {
  234. Offset from the argument pointer register to the first
  235. argument's address. On some machines it may depend on
  236. the data type of the function.
  237. (see also FIRST_PARM_OFFSET in GCC source)
  238. }
  239. first_parm_offset : longint;
  240. heapsize,
  241. stacksize : longint;
  242. DllScanSupported : boolean;
  243. use_function_relative_addresses : boolean;
  244. abi : tabi;
  245. end;
  246. pasmmodeinfo = ^tasmmodeinfo;
  247. tasmmodeinfo = packed record
  248. id : tasmmode;
  249. idtxt : string[8];
  250. end;
  251. const
  252. { alias for supported_target field in tasminfo }
  253. system_any = system_none;
  254. var
  255. targetinfos : array[tsystem] of psysteminfo;
  256. asminfos : array[tasm] of pasminfo;
  257. arinfos : array[tar] of parinfo;
  258. resinfos : array[tres] of presinfo;
  259. asmmodeinfos : array[tasmmode] of pasmmodeinfo;
  260. source_info : tsysteminfo;
  261. target_cpu : tsystemcpu;
  262. target_info : tsysteminfo;
  263. target_asm : tasminfo;
  264. target_ar : tarinfo;
  265. target_res : tresinfo;
  266. target_path : string[12]; { for rtl/<X>/,fcl/<X>/, etc. }
  267. function set_target(t:tsystem):boolean;
  268. function set_target_asm(t:tasm):boolean;
  269. function set_target_ar(t:tar):boolean;
  270. function set_target_res(t:tres):boolean;
  271. function set_target_by_string(const s : string) : boolean;
  272. function set_target_asm_by_string(const s : string) : boolean;
  273. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  274. procedure set_source_info(const ti : tsysteminfo);
  275. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  276. procedure RegisterTarget(const r:tsysteminfo);
  277. procedure RegisterAsmMode(const r:tasmmodeinfo);
  278. procedure RegisterRes(const r:tresinfo);
  279. procedure RegisterAr(const r:tarinfo);
  280. { Register the external linker. This routine is called to setup the
  281. class to use for the linker. It returns the tsysteminfo structure
  282. updated with the correct linker class for external linking.
  283. }
  284. procedure RegisterExternalLinker(var system_info: tsysteminfo; c:TAbstractLinkerClass);
  285. { Register the internal linker. This routine is called to setup the
  286. class to use for the linker. It returns the tsysteminfo structure
  287. updated with the correct linker class for internal linking.
  288. If internal linking is not supported, this class can be set
  289. to nil.
  290. }
  291. procedure RegisterInternalLinker(var system_info : tsysteminfo; c:TAbstractLinkerClass);
  292. procedure InitSystems;
  293. implementation
  294. uses
  295. cutils;
  296. {****************************************************************************
  297. Target setting
  298. ****************************************************************************}
  299. function set_target(t:tsystem):boolean;
  300. begin
  301. set_target:=false;
  302. if assigned(targetinfos[t]) then
  303. begin
  304. target_info:=targetinfos[t]^;
  305. set_target_asm(target_info.assem);
  306. set_target_ar(target_info.ar);
  307. set_target_res(target_info.res);
  308. target_path:=lower(target_info.shortname);
  309. target_cpu:=target_info.cpu;
  310. set_target:=true;
  311. exit;
  312. end;
  313. end;
  314. function set_target_asm(t:tasm):boolean;
  315. begin
  316. set_target_asm:=false;
  317. if assigned(asminfos[t]) then
  318. begin
  319. target_asm:=asminfos[t]^;
  320. set_target_asm:=true;
  321. exit;
  322. end;
  323. end;
  324. function set_target_ar(t:tar):boolean;
  325. begin
  326. set_target_ar:=false;
  327. if assigned(arinfos[t]) then
  328. begin
  329. target_ar:=arinfos[t]^;
  330. set_target_ar:=true;
  331. exit;
  332. end;
  333. end;
  334. function set_target_res(t:tres):boolean;
  335. begin
  336. set_target_res:=false;
  337. if assigned(resinfos[t]) then
  338. begin
  339. target_res:=resinfos[t]^;
  340. set_target_res:=true;
  341. exit;
  342. end;
  343. end;
  344. function set_target_by_string(const s : string) : boolean;
  345. var
  346. hs : string;
  347. t : tsystem;
  348. begin
  349. set_target_by_string:=false;
  350. { this should be case insensitive !! PM }
  351. hs:=upper(s);
  352. for t:=low(tsystem) to high(tsystem) do
  353. if assigned(targetinfos[t]) and
  354. (upper(targetinfos[t]^.shortname)=hs) then
  355. begin
  356. set_target_by_string:=set_target(t);
  357. exit;
  358. end;
  359. end;
  360. function set_target_asm_by_string(const s : string) : boolean;
  361. var
  362. hs : string;
  363. t : tasm;
  364. begin
  365. set_target_asm_by_string:=false;
  366. { this should be case insensitive !! PM }
  367. hs:=upper(s);
  368. for t:=low(tasm) to high(tasm) do
  369. if assigned(asminfos[t]) and
  370. (asminfos[t]^.idtxt=hs) then
  371. begin
  372. set_target_asm_by_string:=set_target_asm(t);
  373. exit;
  374. end;
  375. end;
  376. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  377. var
  378. hs : string;
  379. ht : tasmmode;
  380. begin
  381. set_asmmode_by_string:=false;
  382. { this should be case insensitive !! PM }
  383. hs:=upper(s);
  384. for ht:=low(tasmmode) to high(tasmmode) do
  385. if assigned(asmmodeinfos[ht]) and
  386. (asmmodeinfos[ht]^.idtxt=hs) then
  387. begin
  388. t:=asmmodeinfos[ht]^.id;
  389. set_asmmode_by_string:=true;
  390. end;
  391. end;
  392. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  393. begin
  394. with d do
  395. begin
  396. { general update rules:
  397. minimum: if higher then update
  398. maximum: if lower then update or if undefined then update }
  399. if s.procalign>procalign then
  400. procalign:=s.procalign;
  401. if s.loopalign>loopalign then
  402. loopalign:=s.loopalign;
  403. if s.jumpalign>jumpalign then
  404. jumpalign:=s.jumpalign;
  405. if s.constalignmin>constalignmin then
  406. constalignmin:=s.constalignmin;
  407. if (constalignmax=0) or
  408. ((s.constalignmax>0) and (s.constalignmax<constalignmax)) then
  409. constalignmax:=s.constalignmax;
  410. if s.varalignmin>varalignmin then
  411. varalignmin:=s.varalignmin;
  412. if (varalignmax=0) or
  413. ((s.varalignmax>0) and (s.varalignmax<varalignmax)) then
  414. varalignmax:=s.varalignmax;
  415. if s.localalignmin>localalignmin then
  416. localalignmin:=s.localalignmin;
  417. if (localalignmax=0) or
  418. ((s.localalignmax>0) and (s.localalignmax<localalignmax)) then
  419. localalignmax:=s.localalignmax;
  420. if s.paraalign>paraalign then
  421. paraalign:=s.paraalign;
  422. if s.recordalignmin>recordalignmin then
  423. recordalignmin:=s.recordalignmin;
  424. if (recordalignmax=0) or
  425. ((s.recordalignmax>0) and (s.recordalignmax<recordalignmax)) then
  426. recordalignmax:=s.recordalignmax;
  427. if (maxCrecordalign=0) or
  428. ((s.maxCrecordalign>0) and (s.maxCrecordalign<maxCrecordalign)) then
  429. maxCrecordalign:=s.maxCrecordalign;
  430. end;
  431. end;
  432. {****************************************************************************
  433. Target registration
  434. ****************************************************************************}
  435. procedure RegisterTarget(const r:tsysteminfo);
  436. var
  437. t : tsystem;
  438. begin
  439. t:=r.system;
  440. if assigned(targetinfos[t]) then
  441. writeln('Warning: Target is already registered!')
  442. else
  443. Getmem(targetinfos[t],sizeof(tsysteminfo));
  444. targetinfos[t]^:=r;
  445. end;
  446. procedure RegisterAsmmode(const r:tasmmodeinfo);
  447. var
  448. t : tasmmode;
  449. begin
  450. t:=r.id;
  451. if assigned(asmmodeinfos[t]) then
  452. writeln('Warning: Asmmode is already registered!')
  453. else
  454. Getmem(asmmodeinfos[t],sizeof(tasmmodeinfo));
  455. asmmodeinfos[t]^:=r;
  456. end;
  457. procedure RegisterRes(const r:tresinfo);
  458. var
  459. t : tres;
  460. begin
  461. t:=r.id;
  462. if assigned(resinfos[t]) then
  463. writeln('Warning: resourcecompiler is already registered!')
  464. else
  465. Getmem(resinfos[t],sizeof(tresinfo));
  466. resinfos[t]^:=r;
  467. end;
  468. procedure RegisterAr(const r:tarinfo);
  469. var
  470. t : tar;
  471. begin
  472. t:=r.id;
  473. if assigned(arinfos[t]) then
  474. writeln('Warning: ar is already registered!')
  475. else
  476. Getmem(arinfos[t],sizeof(tarinfo));
  477. arinfos[t]^:=r;
  478. end;
  479. procedure RegisterExternalLinker(var system_info: tsysteminfo; c:TAbstractLinkerClass);
  480. begin
  481. system_info.linkextern := c;
  482. end;
  483. procedure RegisterInternalLinker(var system_info : tsysteminfo; c:TAbstractLinkerClass);
  484. begin
  485. system_info.link := c;
  486. end;
  487. procedure DeregisterInfos;
  488. var
  489. assem : tasm;
  490. target : tsystem;
  491. ar : tar;
  492. asmmode : tasmmode;
  493. res : tres;
  494. begin
  495. for target:=low(tsystem) to high(tsystem) do
  496. if assigned(targetinfos[target]) then
  497. begin
  498. freemem(targetinfos[target],sizeof(tsysteminfo));
  499. targetinfos[target]:=nil;
  500. end;
  501. for assem:=low(tasm) to high(tasm) do
  502. if assigned(asminfos[assem]) then
  503. begin
  504. freemem(asminfos[assem],sizeof(tasminfo));
  505. asminfos[assem]:=nil;
  506. end;
  507. for ar:=low(tar) to high(tar) do
  508. if assigned(arinfos[ar]) then
  509. begin
  510. freemem(arinfos[ar],sizeof(tarinfo));
  511. arinfos[ar]:=nil;
  512. end;
  513. for res:=low(tres) to high(tres) do
  514. if assigned(resinfos[res]) then
  515. begin
  516. freemem(resinfos[res],sizeof(tresinfo));
  517. resinfos[res]:=nil;
  518. end;
  519. for asmmode:=low(tasmmode) to high(tasmmode) do
  520. if assigned(asmmodeinfos[asmmode]) then
  521. begin
  522. freemem(asmmodeinfos[asmmode],sizeof(tasmmodeinfo));
  523. asmmodeinfos[asmmode]:=nil;
  524. end;
  525. end;
  526. {****************************************************************************
  527. Initialization of default target
  528. ****************************************************************************}
  529. procedure default_target(t:tsystem);
  530. begin
  531. set_target(t);
  532. if source_info.name='' then
  533. source_info:=target_info;
  534. end;
  535. procedure set_source_info(const ti : tsysteminfo);
  536. begin
  537. { can't use message() here (PFV) }
  538. if source_info.name<>'' then
  539. Writeln('Warning: Source OS Redefined!');
  540. source_info:=ti;
  541. end;
  542. procedure InitSystems;
  543. begin
  544. { Now default target, this is dependent on the i386 or m68k define,
  545. when the define is the same as the current cpu then we use the source
  546. os, else we pick a default }
  547. {$ifdef i386}
  548. {$ifdef cpu86}
  549. default_target(source_info.system);
  550. {$else cpu86}
  551. default_target(system_i386_linux);
  552. {$endif cpu86}
  553. {$endif i386}
  554. {$ifdef x86_64}
  555. {$ifdef cpu86_64}
  556. default_target(source_info.system);
  557. {$else cpu86_64}
  558. default_target(system_x86_64_linux);
  559. {$endif cpu86_64}
  560. {$endif x86_64}
  561. {$ifdef m68k}
  562. {$ifdef cpu68}
  563. default_target(source_info.target);
  564. {$else cpu68}
  565. default_target(system_m68k_linux);
  566. {$endif cpu68}
  567. {$endif m68k}
  568. {$ifdef alpha}
  569. {$ifdef cpualpha}
  570. default_target(source_info.system);
  571. {$else cpualpha}
  572. default_target(system_alpha_linux);
  573. {$endif cpualpha}
  574. {$endif alpha}
  575. {$ifdef powerpc}
  576. {$ifdef cpuppc}
  577. default_target(source_info.system);
  578. {$else cpuppc}
  579. default_target(system_powerpc_linux);
  580. {$endif cpuppc}
  581. {$endif powerpc}
  582. {$IFDEF sparc}
  583. default_target(system_sparc_linux);
  584. {$ENDIF sparc}
  585. end;
  586. initialization
  587. source_info.name:='';
  588. finalization
  589. DeregisterInfos;
  590. end.
  591. {
  592. $Log$
  593. Revision 1.61 2003-05-18 15:15:59 florian
  594. + added abi field to tsysteminfo
  595. Revision 1.60 2003/03/23 23:21:42 hajny
  596. + emx target added
  597. Revision 1.59 2003/01/12 15:42:23 peter
  598. * m68k pathexist update from 1.0.x
  599. * palmos res update from 1.0.x
  600. Revision 1.58 2003/01/05 13:36:53 florian
  601. * x86-64 compiles
  602. + very basic support for float128 type (x86-64 only)
  603. Revision 1.57 2002/10/05 12:43:29 carl
  604. * fixes for Delphi 6 compilation
  605. (warning : Some features do not work under Delphi)
  606. Revision 1.56 2002/10/03 21:18:29 carl
  607. * correct tsystem enumeration
  608. Revision 1.55 2002/09/07 18:05:51 florian
  609. * first part of PowerPC fixes
  610. Revision 1.54 2002/08/20 21:40:44 florian
  611. + target macos for ppc added
  612. + frame work for mpw assembler output
  613. Revision 1.53 2002/08/18 09:13:02 florian
  614. * small fixes to the alpha stuff
  615. Revision 1.52 2002/08/13 21:40:57 florian
  616. * more fixes for ppc calling conventions
  617. Revision 1.51 2002/08/12 15:08:40 carl
  618. + stab register indexes for powerpc (moved from gdb to cpubase)
  619. + tprocessor enumeration moved to cpuinfo
  620. + linker in target_info is now a class
  621. * many many updates for m68k (will soon start to compile)
  622. - removed some ifdef or correct them for correct cpu
  623. Revision 1.50 2002/08/10 14:46:31 carl
  624. + moved target_cpu_string to cpuinfo
  625. * renamed asmmode enum.
  626. * assembler reader has now less ifdef's
  627. * move from nppcmem.pas -> ncgmem.pas vec. node.
  628. Revision 1.49 2002/07/28 20:45:22 florian
  629. + added direct assembler reader for PowerPC
  630. Revision 1.48 2002/07/26 21:15:42 florian
  631. * rewrote the system handling
  632. Revision 1.47 2002/07/04 20:43:02 florian
  633. * first x86-64 patches
  634. Revision 1.46 2002/07/01 18:46:29 peter
  635. * internal linker
  636. * reorganized aasm layer
  637. Revision 1.45 2002/05/18 13:34:21 peter
  638. * readded missing revisions
  639. Revision 1.44 2002/05/16 19:46:45 carl
  640. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  641. + try to fix temp allocation (still in ifdef)
  642. + generic constructor calls
  643. + start of tassembler / tmodulebase class cleanup
  644. Revision 1.42 2002/05/06 19:52:04 carl
  645. + added more patches from Mazen for SPARC port
  646. Revision 1.41 2002/04/24 16:08:30 carl
  647. * fix compilation problem
  648. Revision 1.40 2002/04/20 21:32:26 carl
  649. + generic FPC_CHECKPOINTER
  650. + first parameter offset in stack now portable
  651. * rename some constants
  652. + move some cpu stuff to other units
  653. - remove unused constents
  654. * fix stacksize for some targets
  655. * fix generic size problems which depend now on EXTEND_SIZE constant
  656. Revision 1.39 2002/04/15 19:08:22 carl
  657. + target_info.size_of_pointer -> pointer_size
  658. + some cleanup of unused types/variables
  659. Revision 1.38 2002/04/14 16:56:30 carl
  660. - remove duplicate comment
  661. }