systems.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. This unit contains information about the target systems supported
  5. (these are not processor specific)
  6. This program is free software; you can redistribute it and/or modify
  7. iu under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 3 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge- MA 02139, USA.
  17. ****************************************************************************
  18. }
  19. unit systems;
  20. {$i fpcdefs.inc}
  21. interface
  22. type
  23. tendian = (endian_little,endian_big);
  24. (*
  25. IMPORTANT NOTE:
  26. The value of this enumeration is stored in PPU files.
  27. Therefore adding new CPU targets should not change the
  28. values of the pre-existing targets. (CEC)
  29. FURTHERMORE : Make sure that this branch values, are
  30. consistant with the main branch version always.
  31. *)
  32. tsystemcpu=
  33. (
  34. cpu_no, { 0 }
  35. cpu_i386, { 1 }
  36. cpu_m68k, { 2 }
  37. cpu_alpha, { 3 }
  38. cpu_powerpc, { 4 }
  39. cpu_sparc, { 5 }
  40. cpu_vm, { 6 }
  41. cpu_iA64, { 7 }
  42. cpu_x86_64, { 8 }
  43. cpu_mips, { 9 }
  44. cpu_arm { 10 }
  45. );
  46. tasmmode= (asmmode_none
  47. { standard assembler (cpu dependant) with full parsing }
  48. ,asmmode_standard
  49. ,asmmode_i386_att
  50. ,asmmode_i386_intel
  51. ,asmmode_ppc_gas
  52. ,asmmode_ppc_motorola
  53. ,asmmode_arm_gas
  54. ,asmmode_sparc_gas
  55. ,asmmode_x86_64_gas
  56. ,asmmode_m68k_mot
  57. );
  58. (* IMPORTANT NOTE:
  59. the integer value of this enum is stored in PPU
  60. files to recognize the target, so if you add new targets
  61. allways add them at end PM
  62. FURTHERMORE : Make sure that this branch values are
  63. consistant with the main branch version always. (CEC)
  64. *)
  65. type
  66. tsystem =
  67. (
  68. system_none, { 0 }
  69. obsolete_system_i386_GO32V1,{ 1 }
  70. system_i386_GO32V2, { 2 }
  71. system_i386_linux, { 3 }
  72. system_i386_OS2, { 4 }
  73. system_i386_Win32, { 5 }
  74. system_i386_freebsd, { 6 }
  75. system_m68k_Amiga, { 7 }
  76. system_m68k_Atari, { 8 }
  77. system_m68k_Mac, { 9 }
  78. system_m68k_linux, { 10 }
  79. system_m68k_PalmOS, { 11 }
  80. system_alpha_linux, { 12 }
  81. system_powerpc_linux, { 13 }
  82. system_powerpc_macos, { 14 }
  83. system_i386_sunos, { 15 }
  84. system_i386_beos, { 16 }
  85. system_i386_netbsd, { 17 }
  86. system_m68k_netbsd, { 18 }
  87. system_i386_Netware, { 19 }
  88. system_i386_qnx, { 20 }
  89. system_i386_wdosx, { 21 }
  90. system_sparc_sunos, { 22 }
  91. system_sparc_linux, { 23 }
  92. system_i386_openbsd, { 24 }
  93. system_m68k_openbsd, { 25 }
  94. system_x86_64_linux, { 26 }
  95. system_powerpc_darwin, { 27 }
  96. system_i386_EMX, { 28 }
  97. system_powerpc_netbsd, { 29 }
  98. system_powerpc_openbsd, { 30 }
  99. system_arm_linux, { 31 }
  100. system_i386_watcom, { 32 }
  101. system_powerpc_MorphOS, { 33 }
  102. system_x86_64_freebsd, { 34 }
  103. system_i386_netwlibc { 35 }
  104. );
  105. tasm = (as_none
  106. ,as_gas { standard gnu assembler }
  107. ,as_i386_as_aout
  108. ,as_i386_nasmcoff
  109. ,as_i386_nasmwin32
  110. ,as_i386_nasmwdosx
  111. ,as_i386_nasmelf
  112. ,as_i386_nasmobj
  113. ,as_i386_nasmbeos
  114. ,as_i386_tasm
  115. ,as_i386_masm
  116. ,as_i386_wasm
  117. ,as_i386_coff
  118. ,as_i386_pecoff
  119. ,as_i386_elf32
  120. ,as_i386_pecoffwdosx
  121. ,as_m68k_mit
  122. ,as_powerpc_mpw
  123. ,as_darwin
  124. );
  125. tar = (ar_none
  126. ,ar_gnu_ar,ar_mpw_ar
  127. );
  128. tres = (res_none
  129. ,res_gnu_windres,res_emxbind
  130. ,res_m68k_palmos,res_m68k_mpw
  131. ,res_powerpc_mpw
  132. );
  133. tscripttype = (script_none
  134. ,script_dos,script_unix,script_amiga,
  135. script_mpw
  136. );
  137. tabi = (abi_default
  138. ,abi_powerpc_sysv,abi_powerpc_aix
  139. );
  140. {*****************************************************************************
  141. Structures
  142. *****************************************************************************}
  143. type
  144. { Abstract linker class which is implemented in link module }
  145. TAbstractLinker = class
  146. end;
  147. TAbstractLinkerClass = class of TAbstractLinker;
  148. { Abstract assembler class which is implemented in assemble module }
  149. TAbstractAssembler = class
  150. end;
  151. TAbstractAssemblerClass = class of TAbstractAssembler;
  152. palignmentinfo = ^talignmentinfo;
  153. talignmentinfo = record
  154. procalign,
  155. loopalign,
  156. jumpalign,
  157. constalignmin,
  158. constalignmax,
  159. varalignmin,
  160. varalignmax,
  161. localalignmin,
  162. localalignmax,
  163. recordalignmin,
  164. recordalignmax,
  165. maxCrecordalign : longint;
  166. end;
  167. tasmflags = (af_none,
  168. af_outputbinary,af_allowdirect,
  169. af_needar,af_smartlink_sections,
  170. af_labelprefix_only_inside_procedure,
  171. af_supports_dwarf
  172. );
  173. pasminfo = ^tasminfo;
  174. tasminfo = record
  175. id : tasm;
  176. idtxt : string[9];
  177. asmbin : string[8];
  178. asmcmd : string[50];
  179. supported_target : tsystem;
  180. flags : set of tasmflags;
  181. labelprefix : string[3];
  182. comment : string[3];
  183. end;
  184. parinfo = ^tarinfo;
  185. tarinfo = record
  186. id : tar;
  187. arcmd : string[50];
  188. end;
  189. presinfo = ^tresinfo;
  190. tresinfo = record
  191. id : tres;
  192. resbin : string[8];
  193. rescmd : string[50];
  194. end;
  195. tsystemflags = (tf_none,
  196. tf_under_development,
  197. tf_need_export,tf_needs_isconsole,
  198. tf_code_small,tf_static_reg_based,
  199. tf_needs_symbol_size,
  200. tf_smartlink_sections,
  201. tf_needs_dwarf_cfi,
  202. tf_use_8_3
  203. );
  204. psysteminfo = ^tsysteminfo;
  205. { using packed causes bus errors on processors which require alignment }
  206. tsysteminfo = record
  207. system : tsystem;
  208. name : string[34];
  209. shortname : string[9];
  210. flags : set of tsystemflags;
  211. cpu : tsystemcpu;
  212. unit_env : string[16];
  213. extradefines : string[40];
  214. sourceext,
  215. pasext,
  216. exeext,
  217. defext,
  218. scriptext,
  219. smartext,
  220. unitext,
  221. unitlibext,
  222. asmext,
  223. objext,
  224. resext,
  225. resobjext : string[4];
  226. sharedlibext : string[10];
  227. staticlibext,
  228. staticlibprefix : string[4];
  229. sharedlibprefix : string[4];
  230. sharedClibext : string[10];
  231. staticClibext,
  232. staticClibprefix : string[4];
  233. sharedClibprefix : string[4];
  234. Cprefix : string[2];
  235. newline : string[2];
  236. dirsep : char;
  237. files_case_relevent : boolean;
  238. assem : tasm;
  239. assemextern : tasm; { external assembler, used by -a }
  240. link : tabstractlinkerclass;
  241. linkextern : tabstractlinkerclass; { external linker, used by -s }
  242. ar : tar;
  243. res : tres;
  244. script : tscripttype;
  245. endian : tendian;
  246. alignment : talignmentinfo;
  247. {
  248. Offset from the argument pointer register to the first
  249. argument's address. On some machines it may depend on
  250. the data type of the function.
  251. (see also FIRST_PARM_OFFSET in GCC source)
  252. }
  253. first_parm_offset : longint;
  254. stacksize : longint;
  255. DllScanSupported : boolean;
  256. use_function_relative_addresses : boolean;
  257. abi : tabi;
  258. end;
  259. const
  260. { alias for supported_target field in tasminfo }
  261. system_any = system_none;
  262. cpu2str : array[TSystemCpu] of string =
  263. ('','i386','m68k','alpha','powerpc','sparc','vm','ia64','x86_64',
  264. 'mips','arm');
  265. var
  266. targetinfos : array[tsystem] of psysteminfo;
  267. arinfos : array[tar] of parinfo;
  268. resinfos : array[tres] of presinfo;
  269. asminfos : array[tasm] of pasminfo;
  270. source_info : tsysteminfo;
  271. target_cpu : tsystemcpu;
  272. target_info : tsysteminfo;
  273. target_asm : tasminfo;
  274. target_ar : tarinfo;
  275. target_res : tresinfo;
  276. target_cpu_string,
  277. target_os_string : string[12]; { for rtl/<X>/,fcl/<X>/, etc. }
  278. target_full_string : string[24];
  279. function set_target(t:tsystem):boolean;
  280. function set_target_asm(t:tasm):boolean;
  281. function set_target_ar(t:tar):boolean;
  282. function set_target_res(t:tres):boolean;
  283. function set_target_by_string(const s : string) : boolean;
  284. function set_target_asm_by_string(const s : string) : boolean;
  285. procedure set_source_info(const ti : tsysteminfo);
  286. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  287. procedure RegisterTarget(const r:tsysteminfo);
  288. procedure RegisterRes(const r:tresinfo);
  289. procedure RegisterAr(const r:tarinfo);
  290. { Register the external linker. This routine is called to setup the
  291. class to use for the linker. It returns the tsysteminfo structure
  292. updated with the correct linker class for external linking.
  293. }
  294. procedure RegisterExternalLinker(var system_info: tsysteminfo; c:TAbstractLinkerClass);
  295. { Register the internal linker. This routine is called to setup the
  296. class to use for the linker. It returns the tsysteminfo structure
  297. updated with the correct linker class for internal linking.
  298. If internal linking is not supported, this class can be set
  299. to nil.
  300. }
  301. procedure RegisterInternalLinker(var system_info : tsysteminfo; c:TAbstractLinkerClass);
  302. procedure InitSystems;
  303. {$ifdef FreeBSD}
  304. function GetOSRelDate:Longint;
  305. {$endif}
  306. implementation
  307. uses
  308. cutils{$ifdef FreeBSD},SysCtl,BaseUnix{$endif};
  309. {****************************************************************************
  310. OS runtime version detection utility routine
  311. ****************************************************************************}
  312. {$ifdef FreeBSD}
  313. function GetOSRelDate:Longint;
  314. var
  315. mib : array[0..1] of cint;
  316. rval : cint;
  317. len : size_t;
  318. i : longint;
  319. v : longint;
  320. oerrno : cint;
  321. S : AnsiString;
  322. Begin
  323. s:='ab';
  324. SetLength(S,50);
  325. mib[0] := CTL_KERN;
  326. mib[1] := KERN_OSRELDATE;
  327. len := 4;
  328. oerrno:= fpgeterrno;
  329. if (FPsysctl(@mib, 2, pchar(@v), @len, NIL, 0) = -1) Then
  330. Begin
  331. if (fpgeterrno = ESysENOMEM) Then
  332. fpseterrno(oerrno);
  333. GetOSRelDate:=0;
  334. End
  335. else
  336. GetOSRelDate:=v;
  337. End;
  338. {$endif}
  339. {****************************************************************************
  340. Target setting
  341. ****************************************************************************}
  342. function set_target(t:tsystem):boolean;
  343. begin
  344. set_target:=false;
  345. if assigned(targetinfos[t]) then
  346. begin
  347. target_info:=targetinfos[t]^;
  348. set_target_asm(target_info.assem);
  349. set_target_ar(target_info.ar);
  350. set_target_res(target_info.res);
  351. target_cpu:=target_info.cpu;
  352. target_os_string:=lower(target_info.shortname);
  353. target_cpu_string:=cpu2str[target_cpu];
  354. target_full_string:=target_cpu_string+'-'+target_os_string;
  355. set_target:=true;
  356. exit;
  357. end;
  358. end;
  359. function set_target_asm(t:tasm):boolean;
  360. begin
  361. set_target_asm:=false;
  362. if assigned(asminfos[t]) and
  363. ((asminfos[t]^.supported_target=target_info.system) or
  364. (asminfos[t]^.supported_target=system_any)) then
  365. begin
  366. target_asm:=asminfos[t]^;
  367. set_target_asm:=true;
  368. exit;
  369. end;
  370. end;
  371. function set_target_ar(t:tar):boolean;
  372. begin
  373. set_target_ar:=false;
  374. if assigned(arinfos[t]) then
  375. begin
  376. target_ar:=arinfos[t]^;
  377. set_target_ar:=true;
  378. exit;
  379. end;
  380. end;
  381. function set_target_res(t:tres):boolean;
  382. begin
  383. set_target_res:=false;
  384. if assigned(resinfos[t]) then
  385. begin
  386. target_res:=resinfos[t]^;
  387. set_target_res:=true;
  388. exit;
  389. end;
  390. end;
  391. function set_target_by_string(const s : string) : boolean;
  392. var
  393. hs : string;
  394. t : tsystem;
  395. begin
  396. set_target_by_string:=false;
  397. { this should be case insensitive !! PM }
  398. hs:=upper(s);
  399. for t:=low(tsystem) to high(tsystem) do
  400. if assigned(targetinfos[t]) and
  401. (upper(targetinfos[t]^.shortname)=hs) then
  402. begin
  403. set_target_by_string:=set_target(t);
  404. exit;
  405. end;
  406. end;
  407. function set_target_asm_by_string(const s : string) : boolean;
  408. var
  409. hs : string;
  410. t : tasm;
  411. begin
  412. set_target_asm_by_string:=false;
  413. { this should be case insensitive !! PM }
  414. hs:=upper(s);
  415. for t:=low(tasm) to high(tasm) do
  416. if assigned(asminfos[t]) and
  417. (asminfos[t]^.idtxt=hs) then
  418. begin
  419. set_target_asm_by_string:=set_target_asm(t);
  420. exit;
  421. end;
  422. end;
  423. procedure UpdateAlignment(var d:talignmentinfo;const s:talignmentinfo);
  424. begin
  425. with d do
  426. begin
  427. { general update rules:
  428. minimum: if higher then update
  429. maximum: if lower then update or if undefined then update }
  430. if s.procalign>procalign then
  431. procalign:=s.procalign;
  432. if s.loopalign>loopalign then
  433. loopalign:=s.loopalign;
  434. if s.jumpalign>jumpalign then
  435. jumpalign:=s.jumpalign;
  436. if s.constalignmin>constalignmin then
  437. constalignmin:=s.constalignmin;
  438. if (constalignmax=0) or
  439. ((s.constalignmax>0) and (s.constalignmax<constalignmax)) then
  440. constalignmax:=s.constalignmax;
  441. if s.varalignmin>varalignmin then
  442. varalignmin:=s.varalignmin;
  443. if (varalignmax=0) or
  444. ((s.varalignmax>0) and (s.varalignmax<varalignmax)) then
  445. varalignmax:=s.varalignmax;
  446. if s.localalignmin>localalignmin then
  447. localalignmin:=s.localalignmin;
  448. if (localalignmax=0) or
  449. ((s.localalignmax>0) and (s.localalignmax<localalignmax)) then
  450. localalignmax:=s.localalignmax;
  451. if s.recordalignmin>recordalignmin then
  452. recordalignmin:=s.recordalignmin;
  453. if (recordalignmax=0) or
  454. ((s.recordalignmax>0) and (s.recordalignmax<recordalignmax)) then
  455. recordalignmax:=s.recordalignmax;
  456. if (maxCrecordalign=0) or
  457. ((s.maxCrecordalign>0) and (s.maxCrecordalign<maxCrecordalign)) then
  458. maxCrecordalign:=s.maxCrecordalign;
  459. end;
  460. end;
  461. {****************************************************************************
  462. Target registration
  463. ****************************************************************************}
  464. procedure RegisterTarget(const r:tsysteminfo);
  465. var
  466. t : tsystem;
  467. begin
  468. t:=r.system;
  469. if assigned(targetinfos[t]) then
  470. writeln('Warning: Target is already registered!')
  471. else
  472. Getmem(targetinfos[t],sizeof(tsysteminfo));
  473. targetinfos[t]^:=r;
  474. end;
  475. procedure RegisterRes(const r:tresinfo);
  476. var
  477. t : tres;
  478. begin
  479. t:=r.id;
  480. if assigned(resinfos[t]) then
  481. writeln('Warning: resourcecompiler is already registered!')
  482. else
  483. Getmem(resinfos[t],sizeof(tresinfo));
  484. resinfos[t]^:=r;
  485. end;
  486. procedure RegisterAr(const r:tarinfo);
  487. var
  488. t : tar;
  489. begin
  490. t:=r.id;
  491. if assigned(arinfos[t]) then
  492. writeln('Warning: ar is already registered!')
  493. else
  494. Getmem(arinfos[t],sizeof(tarinfo));
  495. arinfos[t]^:=r;
  496. end;
  497. procedure RegisterExternalLinker(var system_info: tsysteminfo; c:TAbstractLinkerClass);
  498. begin
  499. system_info.linkextern := c;
  500. end;
  501. procedure RegisterInternalLinker(var system_info : tsysteminfo; c:TAbstractLinkerClass);
  502. begin
  503. system_info.link := c;
  504. end;
  505. procedure DeregisterInfos;
  506. var
  507. assem : tasm;
  508. target : tsystem;
  509. ar : tar;
  510. res : tres;
  511. begin
  512. for target:=low(tsystem) to high(tsystem) do
  513. if assigned(targetinfos[target]) then
  514. begin
  515. freemem(targetinfos[target],sizeof(tsysteminfo));
  516. targetinfos[target]:=nil;
  517. end;
  518. for assem:=low(tasm) to high(tasm) do
  519. if assigned(asminfos[assem]) then
  520. begin
  521. freemem(asminfos[assem],sizeof(tasminfo));
  522. asminfos[assem]:=nil;
  523. end;
  524. for ar:=low(tar) to high(tar) do
  525. if assigned(arinfos[ar]) then
  526. begin
  527. freemem(arinfos[ar],sizeof(tarinfo));
  528. arinfos[ar]:=nil;
  529. end;
  530. for res:=low(tres) to high(tres) do
  531. if assigned(resinfos[res]) then
  532. begin
  533. freemem(resinfos[res],sizeof(tresinfo));
  534. resinfos[res]:=nil;
  535. end;
  536. end;
  537. {****************************************************************************
  538. Initialization of default target
  539. ****************************************************************************}
  540. procedure default_target(t:tsystem);
  541. begin
  542. set_target(t);
  543. if source_info.name='' then
  544. source_info:=target_info;
  545. end;
  546. procedure set_source_info(const ti : tsysteminfo);
  547. begin
  548. { can't use message() here (PFV) }
  549. if source_info.name<>'' then
  550. Writeln('Warning: Source OS Redefined!');
  551. source_info:=ti;
  552. end;
  553. procedure InitSystems;
  554. begin
  555. { Now default target, this is dependent on the target cpu define,
  556. when the define is the same as the source cpu then we use the source
  557. os, else we pick a default }
  558. {$ifdef i386}
  559. {$ifdef cpu86}
  560. default_target(source_info.system);
  561. {$else cpu86}
  562. {$ifdef linux}
  563. default_target(system_i386_linux);
  564. {$endif}
  565. {$ifdef freebsd}
  566. default_target(system_i386_freebsd);
  567. {$endif}
  568. {$endif cpu86}
  569. {$endif i386}
  570. {$ifdef x86_64}
  571. {$ifdef cpux86_64}
  572. default_target(source_info.system);
  573. {$define source_system_set}
  574. {$else cpux86_64}
  575. {$ifdef linux}
  576. default_target(system_x86_64_linux);
  577. {$define source_system_set}
  578. {$endif}
  579. {$ifdef freebsd}
  580. default_target(system_x86_64_freebsd);
  581. {$define source_system_set}
  582. {$endif}
  583. { default is linux }
  584. {$ifndef source_system_set}
  585. default_target(system_x86_64_linux);
  586. {$endif source_system_set}
  587. {$endif cpux86_64}
  588. {$endif x86_64}
  589. {$ifdef m68k}
  590. {$ifdef cpu68}
  591. default_target(source_info.target);
  592. {$else cpu68}
  593. default_target(system_m68k_linux);
  594. {$endif cpu68}
  595. {$endif m68k}
  596. {$ifdef alpha}
  597. {$ifdef cpualpha}
  598. default_target(source_info.system);
  599. {$else cpualpha}
  600. default_target(system_alpha_linux);
  601. {$endif cpualpha}
  602. {$endif alpha}
  603. {$ifdef powerpc}
  604. {$ifdef cpupowerpc}
  605. default_target(source_info.system);
  606. {$else cpupowerpc}
  607. default_target(system_powerpc_linux);
  608. {$endif cpupowerpc}
  609. {$endif powerpc}
  610. {$ifdef sparc}
  611. {$ifdef cpusparc}
  612. default_target(source_info.system);
  613. {$else cpusparc}
  614. default_target(system_sparc_linux);
  615. {$endif cpusparc}
  616. {$endif sparc}
  617. {$ifdef arm}
  618. {$ifdef cpuarm}
  619. default_target(source_info.system);
  620. {$else cpuarm}
  621. default_target(system_arm_linux);
  622. {$endif cpuarm}
  623. {$endif arm}
  624. end;
  625. initialization
  626. source_info.name:='';
  627. finalization
  628. DeregisterInfos;
  629. end.
  630. {
  631. $Log$
  632. Revision 1.99 2004-12-28 20:43:00 hajny
  633. * 8.3 fixes (short target name in paths)
  634. Revision 1.98 2004/12/12 00:35:19 florian
  635. * check if the selected assembler supports current target improved
  636. Revision 1.97 2004/12/12 00:31:52 florian
  637. * check if the selected assembler supports current target
  638. Revision 1.96 2004/11/08 22:09:59 peter
  639. * tvarsym splitted
  640. Revision 1.95 2004/11/01 15:42:00 florian
  641. * default target for x86_64 is linux
  642. Revision 1.94 2004/10/31 19:09:54 peter
  643. * default paths fixed
  644. Revision 1.93 2004/10/25 15:38:41 peter
  645. * heap and heapsize removed
  646. * checkpointer fixes
  647. Revision 1.92 2004/09/04 21:18:47 armin
  648. * target netwlibc added (libc is preferred for newer netware versions)
  649. Revision 1.91 2004/06/29 21:00:08 peter
  650. * only enable dwarf for supported platforms
  651. Revision 1.90 2004/06/20 08:55:30 florian
  652. * logs truncated
  653. Revision 1.89 2004/06/16 20:07:10 florian
  654. * dwarf branch merged
  655. Revision 1.88 2004/05/20 21:54:33 florian
  656. + <pointer> - <pointer> result is divided by the pointer element size now
  657. this is delphi compatible as well as resulting in the expected result for p1+(p2-p1)
  658. Revision 1.87.2.6 2004/05/18 20:27:44 marco
  659. * initsystems fix
  660. Revision 1.87.2.5 2004/05/11 16:57:20 marco
  661. * freebsd target
  662. Revision 1.87.2.4 2004/05/10 21:28:34 peter
  663. * section_smartlink enabled for gas under linux
  664. }