systems.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  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 defines.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. no_cpu, { 0 }
  35. i386, { 1 }
  36. m68k, { 2 }
  37. alpha, { 3 }
  38. powerpc { 4 }
  39. );
  40. tprocessors = (no_processor
  41. ,Class386,ClassP5,ClassP6
  42. ,MC68000,MC68100,MC68020
  43. );
  44. tsection=(sec_none,
  45. sec_code,sec_data,sec_bss,
  46. sec_idata2,sec_idata4,sec_idata5,sec_idata6,sec_idata7,sec_edata,
  47. sec_stab,sec_stabstr
  48. );
  49. tasmmode= (asmmode_none
  50. ,asmmode_i386_direct,asmmode_i386_att,asmmode_i386_intel
  51. ,asmmode_m68k_mot
  52. ,asmmode_alpha_direct
  53. ,asmmode_powerpc_direct
  54. );
  55. { IMPORTANT NOTE:
  56. the integer value of this enum is stored in PPU
  57. files to recognize the target, so if you add new targets
  58. allways add them at end PM
  59. FURTHERMORE : Make sure that this branch values, are
  60. consistant with the main branch version always.
  61. }
  62. { IMPORTANT NOTE:
  63. the integer value of this enum is stored in PPU
  64. files to recognize the target, so if you add new targets
  65. allways add them at end PM
  66. FURTHERMORE : Make sure that this branch values, are
  67. consistant with the main branch version always. (CEC)
  68. }
  69. type
  70. ttarget =
  71. (
  72. target_none, { 0 }
  73. target_i386_GO32V1, { 1 }
  74. target_i386_GO32V2, { 2 }
  75. target_i386_linux, { 3 }
  76. target_i386_OS2, { 4 }
  77. target_i386_Win32, { 5 }
  78. target_i386_freebsd, { 6 }
  79. target_m68k_Amiga, { 7 }
  80. target_m68k_Atari, { 8 }
  81. target_m68k_Mac, { 9 }
  82. target_m68k_linux, { 10 }
  83. target_m68k_PalmOS, { 11 }
  84. target_alpha_linux, { 12 }
  85. target_powerpc_linux, { 13 }
  86. target_powerpc_macos, { 14 }
  87. target_i386_sunos, { 15 }
  88. target_i386_beos, { 16 }
  89. target_i386_netbsd, { 17 }
  90. target_m68k_netbsd, { 18 }
  91. target_i386_Netware { 19 }
  92. );
  93. tasm = (as_none
  94. ,as_i386_as,as_i386_as_aout,as_i386_asw,
  95. as_i386_nasmcoff,as_i386_nasmwin32,
  96. as_i386_nasmelf,as_i386_nasmobj,
  97. as_i386_tasm,as_i386_masm,
  98. as_i386_dbg,as_i386_coff,as_i386_pecoff,as_i386_elf32
  99. ,as_m68k_as,as_m68k_gas,as_m68k_mit,as_m68k_mot,
  100. as_m68k_mpw,as_m68k_palm
  101. ,as_alpha_as
  102. ,as_powerpc_as,as_powerpc_mpw
  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
  112. );
  113. tar = (ar_none
  114. ,ar_gnu_ar,ar_gnu_arw
  115. );
  116. tres = (res_none
  117. ,res_gnu_windres,res_emxbind
  118. );
  119. tscripttype = (script_none
  120. ,script_dos,script_unix,script_amiga
  121. );
  122. {*****************************************************************************
  123. Structures
  124. *****************************************************************************}
  125. type
  126. palignmentinfo = ^talignmentinfo;
  127. talignmentinfo = packed record
  128. procalign,
  129. loopalign,
  130. jumpalign,
  131. constalignmin,
  132. constalignmax,
  133. varalignmin,
  134. varalignmax,
  135. localalignmin,
  136. localalignmax,
  137. paraalign,
  138. recordalignmin,
  139. recordalignmax,
  140. maxCrecordalign : longint;
  141. end;
  142. pasminfo = ^tasminfo;
  143. tasminfo = packed record
  144. id : tasm;
  145. idtxt : string[9];
  146. asmbin : string[8];
  147. asmcmd : string[50];
  148. supported_target : ttarget;
  149. outputbinary,
  150. allowdirect,
  151. externals,
  152. needar,
  153. labelprefix_only_inside_procedure : boolean;
  154. labelprefix : string[3];
  155. comment : string[2];
  156. secnames : array[tsection] of string[20];
  157. end;
  158. parinfo = ^tarinfo;
  159. tarinfo = packed record
  160. id : tar;
  161. arcmd : string[50];
  162. end;
  163. presinfo = ^tresinfo;
  164. tresinfo = packed record
  165. id : tres;
  166. resbin : string[8];
  167. rescmd : string[50];
  168. end;
  169. ttargetflags = (tf_none,
  170. tf_under_development,tf_supports_stack_checking,
  171. tf_need_export,tf_needs_isconsole
  172. {$ifdef m68k}
  173. ,tf_code_small,tf_static_a5_based
  174. {$endif m68k}
  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. size_of_pointer : byte;
  219. size_of_longint : byte;
  220. heapsize,
  221. maxheapsize,
  222. stacksize : longint;
  223. DllScanSupported : boolean;
  224. use_bound_instruction : boolean;
  225. use_function_relative_addresses : boolean;
  226. end;
  227. pasmmodeinfo = ^tasmmodeinfo;
  228. tasmmodeinfo = packed record
  229. id : tasmmode;
  230. idtxt : string[8];
  231. end;
  232. const
  233. { alias for supported_target field in tasminfo }
  234. target_any = target_none;
  235. var
  236. targetinfos : array[ttarget] of ptargetinfo;
  237. asminfos : array[tasm] of pasminfo;
  238. arinfos : array[tar] of parinfo;
  239. resinfos : array[tres] of presinfo;
  240. asmmodeinfos : array[tasmmode] of pasmmodeinfo;
  241. source_info : ttargetinfo;
  242. target_cpu : ttargetcpu;
  243. target_info : ttargetinfo;
  244. target_asm : tasminfo;
  245. target_ar : tarinfo;
  246. target_res : tresinfo;
  247. target_path : string[12]; { for rtl/<X>/,fcl/<X>/, etc. }
  248. function set_target(t:ttarget):boolean;
  249. function set_target_asm(t:tasm):boolean;
  250. function set_target_ar(t:tar):boolean;
  251. function set_target_res(t:tres):boolean;
  252. function set_target_by_string(const s : string) : boolean;
  253. function set_target_asm_by_string(const s : string) : boolean;
  254. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  255. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  256. procedure RegisterTarget(const r:ttargetinfo);
  257. procedure RegisterAsmMode(const r:tasmmodeinfo);
  258. procedure RegisterRes(const r:tresinfo);
  259. procedure RegisterAr(const r:tarinfo);
  260. procedure InitSystems;
  261. implementation
  262. uses
  263. cutils;
  264. {****************************************************************************
  265. Target setting
  266. ****************************************************************************}
  267. function set_target(t:ttarget):boolean;
  268. begin
  269. set_target:=false;
  270. if assigned(targetinfos[t]) then
  271. begin
  272. target_info:=targetinfos[t]^;
  273. set_target_asm(target_info.assem);
  274. set_target_ar(target_info.ar);
  275. set_target_res(target_info.res);
  276. target_path:=lower(target_info.shortname);
  277. target_cpu:=target_info.cpu;
  278. set_target:=true;
  279. exit;
  280. end;
  281. end;
  282. function set_target_asm(t:tasm):boolean;
  283. begin
  284. set_target_asm:=false;
  285. if assigned(asminfos[t]) then
  286. begin
  287. target_asm:=asminfos[t]^;
  288. set_target_asm:=true;
  289. exit;
  290. end;
  291. end;
  292. function set_target_ar(t:tar):boolean;
  293. begin
  294. set_target_ar:=false;
  295. if assigned(arinfos[t]) then
  296. begin
  297. target_ar:=arinfos[t]^;
  298. set_target_ar:=true;
  299. exit;
  300. end;
  301. end;
  302. function set_target_res(t:tres):boolean;
  303. begin
  304. set_target_res:=false;
  305. if assigned(resinfos[t]) then
  306. begin
  307. target_res:=resinfos[t]^;
  308. set_target_res:=true;
  309. exit;
  310. end;
  311. end;
  312. function set_target_by_string(const s : string) : boolean;
  313. var
  314. hs : string;
  315. t : ttarget;
  316. begin
  317. set_target_by_string:=false;
  318. { this should be case insensitive !! PM }
  319. hs:=upper(s);
  320. for t:=low(ttarget) to high(ttarget) do
  321. if assigned(targetinfos[t]) and
  322. (upper(targetinfos[t]^.shortname)=hs) then
  323. begin
  324. set_target_by_string:=set_target(t);
  325. exit;
  326. end;
  327. end;
  328. function set_target_asm_by_string(const s : string) : boolean;
  329. var
  330. hs : string;
  331. t : tasm;
  332. begin
  333. set_target_asm_by_string:=false;
  334. { this should be case insensitive !! PM }
  335. hs:=upper(s);
  336. for t:=low(tasm) to high(tasm) do
  337. if assigned(asminfos[t]) and
  338. (asminfos[t]^.idtxt=hs) then
  339. begin
  340. set_target_asm_by_string:=set_target_asm(t);
  341. exit;
  342. end;
  343. end;
  344. function set_asmmode_by_string(const s:string;var t:tasmmode):boolean;
  345. var
  346. hs : string;
  347. ht : tasmmode;
  348. begin
  349. set_asmmode_by_string:=false;
  350. { this should be case insensitive !! PM }
  351. hs:=upper(s);
  352. for ht:=low(tasmmode) to high(tasmmode) do
  353. if assigned(asmmodeinfos[ht]) and
  354. (asmmodeinfos[ht]^.idtxt=hs) then
  355. begin
  356. t:=asmmodeinfos[ht]^.id;
  357. set_asmmode_by_string:=true;
  358. end;
  359. end;
  360. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  361. begin
  362. with d do
  363. begin
  364. { general update rules:
  365. minimum: if higher then update
  366. maximum: if lower then update or if undefined then update }
  367. if s.procalign>procalign then
  368. procalign:=s.procalign;
  369. if s.loopalign>loopalign then
  370. loopalign:=s.loopalign;
  371. if s.jumpalign>jumpalign then
  372. jumpalign:=s.jumpalign;
  373. if s.constalignmin>constalignmin then
  374. constalignmin:=s.constalignmin;
  375. if (constalignmax=0) or (s.constalignmax<constalignmax) then
  376. constalignmax:=s.constalignmax;
  377. if s.varalignmin>varalignmin then
  378. varalignmin:=s.varalignmin;
  379. if (varalignmax=0) or (s.varalignmax<varalignmax) then
  380. varalignmax:=s.varalignmax;
  381. if s.localalignmin>localalignmin then
  382. localalignmin:=s.localalignmin;
  383. if (localalignmax=0) or (s.localalignmax<localalignmax) then
  384. localalignmax:=s.localalignmax;
  385. if s.paraalign>paraalign then
  386. paraalign:=s.paraalign;
  387. if s.recordalignmin>recordalignmin then
  388. recordalignmin:=s.recordalignmin;
  389. if (recordalignmax=0) or (s.recordalignmax<recordalignmax) then
  390. recordalignmax:=s.recordalignmax;
  391. if (maxCrecordalign=0) or (s.maxCrecordalign<maxCrecordalign) then
  392. maxCrecordalign:=s.maxCrecordalign;
  393. end;
  394. end;
  395. {****************************************************************************
  396. Target registration
  397. ****************************************************************************}
  398. procedure RegisterTarget(const r:ttargetinfo);
  399. var
  400. t : ttarget;
  401. begin
  402. t:=r.target;
  403. if assigned(targetinfos[t]) then
  404. writeln('Warning: Target is already registered!')
  405. else
  406. Getmem(targetinfos[t],sizeof(ttargetinfo));
  407. targetinfos[t]^:=r;
  408. end;
  409. procedure RegisterAsmmode(const r:tasmmodeinfo);
  410. var
  411. t : tasmmode;
  412. begin
  413. t:=r.id;
  414. if assigned(asmmodeinfos[t]) then
  415. writeln('Warning: Asmmode is already registered!')
  416. else
  417. Getmem(asmmodeinfos[t],sizeof(tasmmodeinfo));
  418. asmmodeinfos[t]^:=r;
  419. end;
  420. procedure RegisterRes(const r:tresinfo);
  421. var
  422. t : tres;
  423. begin
  424. t:=r.id;
  425. if assigned(resinfos[t]) then
  426. writeln('Warning: resourcecompiler is already registered!')
  427. else
  428. Getmem(resinfos[t],sizeof(tresinfo));
  429. resinfos[t]^:=r;
  430. end;
  431. procedure RegisterAr(const r:tarinfo);
  432. var
  433. t : tar;
  434. begin
  435. t:=r.id;
  436. if assigned(arinfos[t]) then
  437. writeln('Warning: ar is already registered!')
  438. else
  439. Getmem(arinfos[t],sizeof(tarinfo));
  440. arinfos[t]^:=r;
  441. end;
  442. procedure DeregisterInfos;
  443. var
  444. assem : tasm;
  445. target : ttarget;
  446. ar : tar;
  447. asmmode : tasmmode;
  448. res : tres;
  449. begin
  450. for target:=low(ttarget) to high(ttarget) do
  451. if assigned(targetinfos[target]) then
  452. begin
  453. freemem(targetinfos[target],sizeof(ttargetinfo));
  454. targetinfos[target]:=nil;
  455. end;
  456. for assem:=low(tasm) to high(tasm) do
  457. if assigned(asminfos[assem]) then
  458. begin
  459. freemem(asminfos[assem],sizeof(tasminfo));
  460. asminfos[assem]:=nil;
  461. end;
  462. for ar:=low(tar) to high(tar) do
  463. if assigned(arinfos[ar]) then
  464. begin
  465. freemem(arinfos[ar],sizeof(tarinfo));
  466. arinfos[ar]:=nil;
  467. end;
  468. for res:=low(tres) to high(tres) do
  469. if assigned(resinfos[res]) then
  470. begin
  471. freemem(resinfos[res],sizeof(tresinfo));
  472. resinfos[res]:=nil;
  473. end;
  474. for asmmode:=low(tasmmode) to high(tasmmode) do
  475. if assigned(asmmodeinfos[asmmode]) then
  476. begin
  477. freemem(asmmodeinfos[asmmode],sizeof(tasmmodeinfo));
  478. asmmodeinfos[asmmode]:=nil;
  479. end;
  480. end;
  481. {****************************************************************************
  482. Initialization of default target
  483. ****************************************************************************}
  484. procedure default_target(t:ttarget);
  485. begin
  486. set_target(t);
  487. if source_info.name='' then
  488. source_info:=target_info;
  489. end;
  490. procedure set_source(t:ttarget);
  491. begin
  492. { can't use message() here (PFV) }
  493. if source_info.name<>'' then
  494. Writeln('Warning: Source OS Redefined!');
  495. if assigned(targetinfos[t]) then
  496. source_info:=targetinfos[t]^
  497. else
  498. Writeln('Warning: Source OS Not Supported!');
  499. end;
  500. procedure InitSystems;
  501. begin
  502. { first get source OS }
  503. source_info.name:='';
  504. { please note then we use cpu86 and cpu68 here on purpose !! }
  505. {$ifdef cpu86}
  506. {$ifdef GO32V1}
  507. set_source(target_i386_GO32V1);
  508. {$else}
  509. {$ifdef GO32V2}
  510. set_source(target_i386_GO32V2);
  511. {$else}
  512. {$ifdef OS2}
  513. set_source(target_i386_OS2);
  514. if (OS_Mode = osDOS) or (OS_Mode = osDPMI) then
  515. source_os.scriptext := '.bat';
  516. { OS/2 via EMX can be run under DOS as well }
  517. {$else}
  518. {$ifdef WIN32}
  519. set_source(target_i386_WIN32);
  520. {$else}
  521. {$ifdef FreeBSD}
  522. set_source(target_i386_FreeBSD);
  523. {$else}
  524. {$ifdef netbsd}
  525. set_source(target_i386_NetBSD);
  526. {$else}
  527. {$ifdef sunos}
  528. set_source(target_i386_sunos);
  529. {$else}
  530. {$ifdef beos}
  531. set_source(target_i386_beos);
  532. {$else}
  533. { Must be the last as some freebsd also
  534. defined linux }
  535. {$ifdef linux}
  536. set_source(target_i386_linux);
  537. {$else}
  538. {$error Error setting source OS}
  539. {$endif linux}
  540. {$endif beos}
  541. {$endif sunos}
  542. {$endif netbsd}
  543. {$endif freebsd}
  544. {$endif win32}
  545. {$endif os2}
  546. {$endif go32v2}
  547. {$endif go32v1}
  548. {$endif cpu86}
  549. {$ifdef cpu68}
  550. {$ifdef AMIGA}
  551. set_source(target_m68k_Amiga);
  552. {$else}
  553. {$ifdef ATARI}
  554. set_source(target_m68k_Atari);
  555. {$else}
  556. {$ifdef MACOS}
  557. set_source(target_m68k_MAC);
  558. {$else}
  559. {$ifdef linux}
  560. set_source(target_m68k_linux);
  561. {$endif linux}
  562. {$endif macos}
  563. {$endif atari}
  564. {$endif amiga}
  565. {$endif cpu68}
  566. { Now default target, this is dependent on the i386 or m68k define,
  567. when the define is the same as the current cpu then we use the source
  568. os, else we pick a default }
  569. {$ifdef i386}
  570. {$ifdef cpu86}
  571. default_target(source_info.target);
  572. {$else cpu86}
  573. default_target(target_i386_linux);
  574. {$endif cpu86}
  575. {$endif i386}
  576. {$ifdef m68k}
  577. {$ifdef cpu68}
  578. default_target(source_info.target);
  579. {$else cpu68}
  580. default_target(target_m68k_linux);
  581. {$endif cpu68}
  582. {$endif m68k}
  583. {$ifdef alpha}
  584. {$ifdef cpualpha}
  585. default_target(source_info.target);
  586. {$else cpualpha}
  587. default_target(target_alpha_linux);
  588. {$endif cpualpha}
  589. {$endif alpha}
  590. {$ifdef powerpc}
  591. {$ifdef cpuppc}
  592. default_target(source_info.target);
  593. {$else cpuppc}
  594. default_target(target_powerpc_linux);
  595. {$endif cpuppc}
  596. {$endif powerpc}
  597. end;
  598. initialization
  599. finalization
  600. DeregisterInfos;
  601. end.
  602. {
  603. $Log$
  604. Revision 1.31 2001-11-15 20:48:43 hajny
  605. * Target_Mode corrected back to OS_Mode
  606. Revision 1.30 2001/09/30 21:27:59 peter
  607. * much cleaner default source and target setting
  608. Revision 1.29 2001/09/24 10:57:22 jonas
  609. * fixed typo in Carl's patch
  610. Revision 1.28 2001/09/22 00:03:53 carl
  611. + added warning for targets - use same target values as fixes branch
  612. Revision 1.27 2001/09/18 11:30:48 michael
  613. * Fixes win32 linking problems with import libraries
  614. * LINKLIB Libraries are now looked for using C file extensions
  615. * get_exepath fix
  616. Revision 1.26 2001/09/17 21:29:13 peter
  617. * merged netbsd, fpu-overflow from fixes branch
  618. Revision 1.25 2001/08/30 20:57:10 peter
  619. * asbsd merged
  620. Revision 1.24 2001/08/19 11:22:24 peter
  621. * palmos support from v10 merged
  622. Revision 1.23 2001/08/12 17:57:07 peter
  623. * under development flag for targets
  624. Revision 1.22 2001/08/07 18:47:13 peter
  625. * merged netbsd start
  626. * profile for win32
  627. Revision 1.21 2001/07/01 20:16:18 peter
  628. * alignmentinfo record added
  629. * -Oa argument supports more alignment settings that can be specified
  630. per type: PROC,LOOP,VARMIN,VARMAX,CONSTMIN,CONSTMAX,RECORDMIN
  631. RECORDMAX,LOCALMIN,LOCALMAX. It is possible to set the mimimum
  632. required alignment and the maximum usefull alignment. The final
  633. alignment will be choosen per variable size dependent on these
  634. settings
  635. Revision 1.20 2001/06/19 14:43:31 marco
  636. * Fixed ifdef linux bug
  637. Revision 1.19 2001/06/03 20:21:08 peter
  638. * Kylix fixes, mostly case names of units
  639. Revision 1.18 2001/06/03 15:15:31 peter
  640. * dllprt0 stub for linux shared libs
  641. * pass -init and -fini for linux shared libs
  642. * libprefix splitted into staticlibprefix and sharedlibprefix
  643. Revision 1.17 2001/06/02 19:21:45 peter
  644. * extradefines field added to target_info, so that targets don't
  645. need to put code in options.pas for it
  646. Revision 1.16 2001/04/18 22:02:00 peter
  647. * registration of targets and assemblers
  648. Revision 1.15 2001/03/06 18:28:02 peter
  649. * patch from Pavel with a new and much faster DLL Scanner for
  650. automatic importing so $linklib works for DLLs. Thanks Pavel!
  651. Revision 1.14 2001/02/26 19:44:55 peter
  652. * merged generic m68k updates from fixes branch
  653. Revision 1.13 2001/02/20 21:36:40 peter
  654. * tasm/masm fixes merged
  655. Revision 1.12 2001/01/06 20:15:43 peter
  656. * merged libp library prefix
  657. Revision 1.11 2000/10/15 09:08:58 peter
  658. * use System for the systemunit instead of target dependent
  659. Revision 1.10 2000/09/24 21:12:41 hajny
  660. * OS/2 stack alignment corrected + default stack increased
  661. Revision 1.9 2000/09/24 15:06:30 peter
  662. * use defines.inc
  663. Revision 1.8 2000/09/20 10:49:39 marco
  664. * Set writer to elf. (Only a prob for smart with -OG3p3r)
  665. Revision 1.7 2000/09/16 12:22:52 peter
  666. * freebsd support merged
  667. Revision 1.6 2000/09/11 17:00:23 florian
  668. + first implementation of Netware Module support, thanks to
  669. Armin Diehl ([email protected]) for providing the patches
  670. Revision 1.5 2000/08/12 19:14:59 peter
  671. * ELF writer works now also with -g
  672. * ELF writer is default again for linux
  673. Revision 1.4 2000/07/14 21:29:38 michael
  674. * Back to external assembler till peter fixes gdb
  675. Revision 1.3 2000/07/13 12:08:28 michael
  676. + patched to 1.1.0 with former 1.09patch from peter
  677. Revision 1.2 2000/07/13 11:32:50 michael
  678. + removed logs
  679. }