systems.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  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. 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 (s.constalignmax<constalignmax) then
  377. constalignmax:=s.constalignmax;
  378. if s.varalignmin>varalignmin then
  379. varalignmin:=s.varalignmin;
  380. if (varalignmax=0) or (s.varalignmax<varalignmax) then
  381. varalignmax:=s.varalignmax;
  382. if s.localalignmin>localalignmin then
  383. localalignmin:=s.localalignmin;
  384. if (localalignmax=0) or (s.localalignmax<localalignmax) then
  385. localalignmax:=s.localalignmax;
  386. if s.paraalign>paraalign then
  387. paraalign:=s.paraalign;
  388. if s.recordalignmin>recordalignmin then
  389. recordalignmin:=s.recordalignmin;
  390. if (recordalignmax=0) or (s.recordalignmax<recordalignmax) then
  391. recordalignmax:=s.recordalignmax;
  392. if (maxCrecordalign=0) or (s.maxCrecordalign<maxCrecordalign) then
  393. maxCrecordalign:=s.maxCrecordalign;
  394. end;
  395. end;
  396. {****************************************************************************
  397. Target registration
  398. ****************************************************************************}
  399. procedure RegisterTarget(const r:ttargetinfo);
  400. var
  401. t : ttarget;
  402. begin
  403. t:=r.target;
  404. if assigned(targetinfos[t]) then
  405. writeln('Warning: Target is already registered!')
  406. else
  407. Getmem(targetinfos[t],sizeof(ttargetinfo));
  408. targetinfos[t]^:=r;
  409. end;
  410. procedure RegisterAsmmode(const r:tasmmodeinfo);
  411. var
  412. t : tasmmode;
  413. begin
  414. t:=r.id;
  415. if assigned(asmmodeinfos[t]) then
  416. writeln('Warning: Asmmode is already registered!')
  417. else
  418. Getmem(asmmodeinfos[t],sizeof(tasmmodeinfo));
  419. asmmodeinfos[t]^:=r;
  420. end;
  421. procedure RegisterRes(const r:tresinfo);
  422. var
  423. t : tres;
  424. begin
  425. t:=r.id;
  426. if assigned(resinfos[t]) then
  427. writeln('Warning: resourcecompiler is already registered!')
  428. else
  429. Getmem(resinfos[t],sizeof(tresinfo));
  430. resinfos[t]^:=r;
  431. end;
  432. procedure RegisterAr(const r:tarinfo);
  433. var
  434. t : tar;
  435. begin
  436. t:=r.id;
  437. if assigned(arinfos[t]) then
  438. writeln('Warning: ar is already registered!')
  439. else
  440. Getmem(arinfos[t],sizeof(tarinfo));
  441. arinfos[t]^:=r;
  442. end;
  443. procedure DeregisterInfos;
  444. var
  445. assem : tasm;
  446. target : ttarget;
  447. ar : tar;
  448. asmmode : tasmmode;
  449. res : tres;
  450. begin
  451. for target:=low(ttarget) to high(ttarget) do
  452. if assigned(targetinfos[target]) then
  453. begin
  454. freemem(targetinfos[target],sizeof(ttargetinfo));
  455. targetinfos[target]:=nil;
  456. end;
  457. for assem:=low(tasm) to high(tasm) do
  458. if assigned(asminfos[assem]) then
  459. begin
  460. freemem(asminfos[assem],sizeof(tasminfo));
  461. asminfos[assem]:=nil;
  462. end;
  463. for ar:=low(tar) to high(tar) do
  464. if assigned(arinfos[ar]) then
  465. begin
  466. freemem(arinfos[ar],sizeof(tarinfo));
  467. arinfos[ar]:=nil;
  468. end;
  469. for res:=low(tres) to high(tres) do
  470. if assigned(resinfos[res]) then
  471. begin
  472. freemem(resinfos[res],sizeof(tresinfo));
  473. resinfos[res]:=nil;
  474. end;
  475. for asmmode:=low(tasmmode) to high(tasmmode) do
  476. if assigned(asmmodeinfos[asmmode]) then
  477. begin
  478. freemem(asmmodeinfos[asmmode],sizeof(tasmmodeinfo));
  479. asmmodeinfos[asmmode]:=nil;
  480. end;
  481. end;
  482. {****************************************************************************
  483. Initialization of default target
  484. ****************************************************************************}
  485. procedure default_target(t:ttarget);
  486. begin
  487. set_target(t);
  488. if source_info.name='' then
  489. source_info:=target_info;
  490. end;
  491. procedure set_source(t:ttarget);
  492. begin
  493. { can't use message() here (PFV) }
  494. if source_info.name<>'' then
  495. Writeln('Warning: Source OS Redefined!');
  496. if assigned(targetinfos[t]) then
  497. source_info:=targetinfos[t]^
  498. else
  499. Writeln('Warning: Source OS Not Supported!');
  500. end;
  501. procedure InitSystems;
  502. begin
  503. { first get source OS }
  504. source_info.name:='';
  505. { please note then we use cpu86 and cpu68 here on purpose !! }
  506. {$ifdef cpu86}
  507. {$ifdef GO32V1}
  508. set_source(target_i386_GO32V1);
  509. {$else}
  510. {$ifdef GO32V2}
  511. set_source(target_i386_GO32V2);
  512. {$else}
  513. {$ifdef OS2}
  514. set_source(target_i386_OS2);
  515. if (OS_Mode = osDOS) or (OS_Mode = osDPMI) then
  516. source_os.scriptext := '.bat';
  517. { OS/2 via EMX can be run under DOS as well }
  518. {$else}
  519. {$ifdef WIN32}
  520. set_source(target_i386_WIN32);
  521. {$else}
  522. {$ifdef FreeBSD}
  523. set_source(target_i386_FreeBSD);
  524. {$else}
  525. {$ifdef netbsd}
  526. set_source(target_i386_NetBSD);
  527. {$else}
  528. {$ifdef sunos}
  529. set_source(target_i386_sunos);
  530. {$else}
  531. {$ifdef beos}
  532. set_source(target_i386_beos);
  533. {$else}
  534. { Must be the last as some freebsd also
  535. defined linux }
  536. {$ifdef linux}
  537. set_source(target_i386_linux);
  538. {$else}
  539. {$error Error setting source OS}
  540. {$endif linux}
  541. {$endif beos}
  542. {$endif sunos}
  543. {$endif netbsd}
  544. {$endif freebsd}
  545. {$endif win32}
  546. {$endif os2}
  547. {$endif go32v2}
  548. {$endif go32v1}
  549. {$endif cpu86}
  550. {$ifdef cpu68}
  551. {$ifdef AMIGA}
  552. set_source(target_m68k_Amiga);
  553. {$else}
  554. {$ifdef ATARI}
  555. set_source(target_m68k_Atari);
  556. {$else}
  557. {$ifdef MACOS}
  558. set_source(target_m68k_MAC);
  559. {$else}
  560. {$ifdef linux}
  561. set_source(target_m68k_linux);
  562. {$endif linux}
  563. {$endif macos}
  564. {$endif atari}
  565. {$endif amiga}
  566. {$endif cpu68}
  567. { Now default target, this is dependent on the i386 or m68k define,
  568. when the define is the same as the current cpu then we use the source
  569. os, else we pick a default }
  570. {$ifdef i386}
  571. {$ifdef cpu86}
  572. default_target(source_info.target);
  573. {$else cpu86}
  574. default_target(target_i386_linux);
  575. {$endif cpu86}
  576. {$endif i386}
  577. {$ifdef m68k}
  578. {$ifdef cpu68}
  579. default_target(source_info.target);
  580. {$else cpu68}
  581. default_target(target_m68k_linux);
  582. {$endif cpu68}
  583. {$endif m68k}
  584. {$ifdef alpha}
  585. {$ifdef cpualpha}
  586. default_target(source_info.target);
  587. {$else cpualpha}
  588. default_target(target_alpha_linux);
  589. {$endif cpualpha}
  590. {$endif alpha}
  591. {$ifdef powerpc}
  592. {$ifdef cpuppc}
  593. default_target(source_info.target);
  594. {$else cpuppc}
  595. default_target(target_powerpc_linux);
  596. {$endif cpuppc}
  597. {$endif powerpc}
  598. end;
  599. initialization
  600. finalization
  601. DeregisterInfos;
  602. end.
  603. {
  604. $Log$
  605. Revision 1.32 2001-12-15 05:43:20 carl
  606. + QNX target
  607. Revision 1.31 2001/11/15 20:48:43 hajny
  608. * Target_Mode corrected back to OS_Mode
  609. Revision 1.30 2001/09/30 21:27:59 peter
  610. * much cleaner default source and target setting
  611. Revision 1.29 2001/09/24 10:57:22 jonas
  612. * fixed typo in Carl's patch
  613. Revision 1.28 2001/09/22 00:03:53 carl
  614. + added warning for targets - use same target values as fixes branch
  615. Revision 1.27 2001/09/18 11:30:48 michael
  616. * Fixes win32 linking problems with import libraries
  617. * LINKLIB Libraries are now looked for using C file extensions
  618. * get_exepath fix
  619. Revision 1.26 2001/09/17 21:29:13 peter
  620. * merged netbsd, fpu-overflow from fixes branch
  621. Revision 1.25 2001/08/30 20:57:10 peter
  622. * asbsd merged
  623. Revision 1.24 2001/08/19 11:22:24 peter
  624. * palmos support from v10 merged
  625. Revision 1.23 2001/08/12 17:57:07 peter
  626. * under development flag for targets
  627. Revision 1.22 2001/08/07 18:47:13 peter
  628. * merged netbsd start
  629. * profile for win32
  630. Revision 1.21 2001/07/01 20:16:18 peter
  631. * alignmentinfo record added
  632. * -Oa argument supports more alignment settings that can be specified
  633. per type: PROC,LOOP,VARMIN,VARMAX,CONSTMIN,CONSTMAX,RECORDMIN
  634. RECORDMAX,LOCALMIN,LOCALMAX. It is possible to set the mimimum
  635. required alignment and the maximum usefull alignment. The final
  636. alignment will be choosen per variable size dependent on these
  637. settings
  638. Revision 1.20 2001/06/19 14:43:31 marco
  639. * Fixed ifdef linux bug
  640. Revision 1.19 2001/06/03 20:21:08 peter
  641. * Kylix fixes, mostly case names of units
  642. Revision 1.18 2001/06/03 15:15:31 peter
  643. * dllprt0 stub for linux shared libs
  644. * pass -init and -fini for linux shared libs
  645. * libprefix splitted into staticlibprefix and sharedlibprefix
  646. Revision 1.17 2001/06/02 19:21:45 peter
  647. * extradefines field added to target_info, so that targets don't
  648. need to put code in options.pas for it
  649. Revision 1.16 2001/04/18 22:02:00 peter
  650. * registration of targets and assemblers
  651. Revision 1.15 2001/03/06 18:28:02 peter
  652. * patch from Pavel with a new and much faster DLL Scanner for
  653. automatic importing so $linklib works for DLLs. Thanks Pavel!
  654. Revision 1.14 2001/02/26 19:44:55 peter
  655. * merged generic m68k updates from fixes branch
  656. Revision 1.13 2001/02/20 21:36:40 peter
  657. * tasm/masm fixes merged
  658. Revision 1.12 2001/01/06 20:15:43 peter
  659. * merged libp library prefix
  660. Revision 1.11 2000/10/15 09:08:58 peter
  661. * use System for the systemunit instead of target dependent
  662. Revision 1.10 2000/09/24 21:12:41 hajny
  663. * OS/2 stack alignment corrected + default stack increased
  664. Revision 1.9 2000/09/24 15:06:30 peter
  665. * use defines.inc
  666. Revision 1.8 2000/09/20 10:49:39 marco
  667. * Set writer to elf. (Only a prob for smart with -OG3p3r)
  668. Revision 1.7 2000/09/16 12:22:52 peter
  669. * freebsd support merged
  670. Revision 1.6 2000/09/11 17:00:23 florian
  671. + first implementation of Netware Module support, thanks to
  672. Armin Diehl ([email protected]) for providing the patches
  673. Revision 1.5 2000/08/12 19:14:59 peter
  674. * ELF writer works now also with -g
  675. * ELF writer is default again for linux
  676. Revision 1.4 2000/07/14 21:29:38 michael
  677. * Back to external assembler till peter fixes gdb
  678. Revision 1.3 2000/07/13 12:08:28 michael
  679. + patched to 1.1.0 with former 1.09patch from peter
  680. Revision 1.2 2000/07/13 11:32:50 michael
  681. + removed logs
  682. }