i_nwl.pas 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. Copyright (c) 1998-2004 by Peter Vreman
  3. This unit implements support information structures for Netware (libc) modules
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15. ****************************************************************************}
  16. { This unit implements support information structures for Netware libc modules. }
  17. unit i_nwl;
  18. interface
  19. uses
  20. systems;
  21. const
  22. system_i386_netwlibc_info : tsysteminfo =
  23. (
  24. system : system_i386_netwlibc;
  25. name : 'Netware for i386(libc)';
  26. shortname : 'Netwlibc';
  27. flags : [tf_use_function_relative_addresses];
  28. cpu : cpu_i386;
  29. unit_env : 'NETWLIBCUNITS';
  30. extradefines : 'NETWARE;NETWARE_LIBC';
  31. exeext : '.nlm';
  32. defext : '.def';
  33. scriptext : '.sh';
  34. smartext : '.sl';
  35. unitext : '.ppu';
  36. unitlibext : '.ppl';
  37. asmext : '.s';
  38. objext : '.o';
  39. resext : '.res';
  40. resobjext : '.or';
  41. sharedlibext : '.nlm';
  42. staticlibext : '.a';
  43. staticlibprefix : '';
  44. sharedlibprefix : '';
  45. sharedClibext : '.nlm';
  46. staticClibext : '.a';
  47. staticClibprefix : '';
  48. sharedClibprefix : '';
  49. Cprefix : '';
  50. newline : #13#10;
  51. dirsep : '/';
  52. assem : as_i386_elf32;
  53. assemextern : as_gas;
  54. link : nil;
  55. linkextern : nil;
  56. ar : ar_gnu_ar;
  57. res : res_none;
  58. dbg : dbg_stabs;
  59. script : script_unix;
  60. endian : endian_little;
  61. alignment :
  62. (
  63. procalign : 4;
  64. loopalign : 4;
  65. jumpalign : 0;
  66. constalignmin : 0;
  67. constalignmax : 4;
  68. varalignmin : 0;
  69. varalignmax : 4;
  70. localalignmin : 4;
  71. localalignmax : 4;
  72. recordalignmin : 0;
  73. recordalignmax : 4;
  74. maxCrecordalign : 4
  75. );
  76. first_parm_offset : 8;
  77. stacksize : 16384;
  78. );
  79. implementation
  80. initialization
  81. {$ifdef CPU86}
  82. {$ifdef netwlibc}
  83. set_source_info(system_i386_netwlibc_info);
  84. {$endif netwlibc}
  85. {$endif CPU86}
  86. end.