systems.pas 21 KB

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