systems.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  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 progsam 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. arget_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 (target_Mode = osDOS) or (target_Mode = osDPMI) then
  515. source_info.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 BSD}
  522. set_source(target_i386_FreeBSD);
  523. {$else}
  524. {$ifdef sunos}
  525. set_source(target_i386_sunos);
  526. {$else}
  527. { Must be the last as some freebsd also
  528. defined linux }
  529. {$ifdef Linux}
  530. set_source(target_i386_LINUX);
  531. {$endif linux}
  532. {$endif sunos}
  533. {$endif bsd}
  534. {$endif win32}
  535. {$endif os2}
  536. {$endif go32v2}
  537. {$endif go32v1}
  538. {$endif cpu86}
  539. {$ifdef cpu68}
  540. {$ifdef AMIGA}
  541. set_source(target_m68k_Amiga);
  542. {$else}
  543. {$ifdef ATARI}
  544. set_source(target_m68k_Atari);
  545. {$else}
  546. {$ifdef MACOS}
  547. set_source(target_m68k_MAC);
  548. {$else}
  549. {$ifdef LINUX}
  550. set_source(target_m68k_linux);
  551. {$endif linux}
  552. {$endif macos}
  553. {$endif atari}
  554. {$endif amiga}
  555. {$endif cpu68}
  556. { Now default target !! }
  557. {$ifdef i386}
  558. {$ifdef GO32V1}
  559. default_target(target_i386_GO32V1);
  560. {$else}
  561. {$ifdef GO32V2}
  562. default_target(target_i386_GO32V2);
  563. {$else}
  564. {$ifdef OS2}
  565. default_target(target_i386_OS2);
  566. {$else}
  567. {$ifdef unix}
  568. {$ifdef BSD}
  569. default_target(target_i386_FreeBSD);
  570. {$else}
  571. default_target(target_i386_LINUX);
  572. {$endif}
  573. {$else}
  574. {$ifdef WIN32}
  575. default_target(target_i386_WIN32);
  576. {$else}
  577. default_target(target_i386_GO32V2);
  578. {$endif win32}
  579. {$endif linux}
  580. {$endif os2}
  581. {$endif go32v2}
  582. {$endif go32v1}
  583. {$endif i386}
  584. {$ifdef m68k}
  585. {$ifdef AMIGA}
  586. default_target(target_m68k_Amiga);
  587. {$else}
  588. {$ifdef ATARI}
  589. default_target(target_m68k_Atari);
  590. {$else}
  591. {$ifdef MACOS}
  592. default_target(target_m68k_Mac);
  593. {$else}
  594. {$ifdef LINUX}
  595. default_target(target_m68k_linux);
  596. {$else}
  597. default_target(target_m68k_Amiga);
  598. {$endif linux}
  599. {$endif macos}
  600. {$endif atari}
  601. {$endif amiga}
  602. {$endif m68k}
  603. {$ifdef alpha}
  604. default_target(target_alpha_linux);
  605. {$endif alpha}
  606. {$ifdef powerpc}
  607. default_target(target_powerpc_linux);
  608. {$endif powerpc}
  609. end;
  610. initialization
  611. finalization
  612. DeregisterInfos;
  613. end.
  614. {
  615. $Log$
  616. Revision 1.28 2001-09-22 00:03:53 carl
  617. + added warning for targets - use same target values as fixes branch
  618. Revision 1.27 2001/09/18 11:30:48 michael
  619. * Fixes win32 linking problems with import libraries
  620. * LINKLIB Libraries are now looked for using C file extensions
  621. * get_exepath fix
  622. Revision 1.26 2001/09/17 21:29:13 peter
  623. * merged netbsd, fpu-overflow from fixes branch
  624. Revision 1.25 2001/08/30 20:57:10 peter
  625. * asbsd merged
  626. Revision 1.24 2001/08/19 11:22:24 peter
  627. * palmos support from v10 merged
  628. Revision 1.23 2001/08/12 17:57:07 peter
  629. * under development flag for targets
  630. Revision 1.22 2001/08/07 18:47:13 peter
  631. * merged netbsd start
  632. * profile for win32
  633. Revision 1.21 2001/07/01 20:16:18 peter
  634. * alignmentinfo record added
  635. * -Oa argument supports more alignment settings that can be specified
  636. per type: PROC,LOOP,VARMIN,VARMAX,CONSTMIN,CONSTMAX,RECORDMIN
  637. RECORDMAX,LOCALMIN,LOCALMAX. It is possible to set the mimimum
  638. required alignment and the maximum usefull alignment. The final
  639. alignment will be choosen per variable size dependent on these
  640. settings
  641. Revision 1.20 2001/06/19 14:43:31 marco
  642. * Fixed ifdef linux bug
  643. Revision 1.19 2001/06/03 20:21:08 peter
  644. * Kylix fixes, mostly case names of units
  645. Revision 1.18 2001/06/03 15:15:31 peter
  646. * dllprt0 stub for linux shared libs
  647. * pass -init and -fini for linux shared libs
  648. * libprefix splitted into staticlibprefix and sharedlibprefix
  649. Revision 1.17 2001/06/02 19:21:45 peter
  650. * extradefines field added to target_info, so that targets don't
  651. need to put code in options.pas for it
  652. Revision 1.16 2001/04/18 22:02:00 peter
  653. * registration of targets and assemblers
  654. Revision 1.15 2001/03/06 18:28:02 peter
  655. * patch from Pavel with a new and much faster DLL Scanner for
  656. automatic importing so $linklib works for DLLs. Thanks Pavel!
  657. Revision 1.14 2001/02/26 19:44:55 peter
  658. * merged generic m68k updates from fixes branch
  659. Revision 1.13 2001/02/20 21:36:40 peter
  660. * tasm/masm fixes merged
  661. Revision 1.12 2001/01/06 20:15:43 peter
  662. * merged libp library prefix
  663. Revision 1.11 2000/10/15 09:08:58 peter
  664. * use System for the systemunit instead of target dependent
  665. Revision 1.10 2000/09/24 21:12:41 hajny
  666. * OS/2 stack alignment corrected + default stack increased
  667. Revision 1.9 2000/09/24 15:06:30 peter
  668. * use defines.inc
  669. Revision 1.8 2000/09/20 10:49:39 marco
  670. * Set writer to elf. (Only a prob for smart with -OG3p3r)
  671. Revision 1.7 2000/09/16 12:22:52 peter
  672. * freebsd support merged
  673. Revision 1.6 2000/09/11 17:00:23 florian
  674. + first implementation of Netware Module support, thanks to
  675. Armin Diehl ([email protected]) for providing the patches
  676. Revision 1.5 2000/08/12 19:14:59 peter
  677. * ELF writer works now also with -g
  678. * ELF writer is default again for linux
  679. Revision 1.4 2000/07/14 21:29:38 michael
  680. * Back to external assembler till peter fixes gdb
  681. Revision 1.3 2000/07/13 12:08:28 michael
  682. + patched to 1.1.0 with former 1.09patch from peter
  683. Revision 1.2 2000/07/13 11:32:50 michael
  684. + removed logs
  685. }