systems.pas 22 KB

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