Browse Source

New upstream version 0.35+dfsg

Andreas Bombe 1 year ago
commit
695fcd2aa2
850 changed files with 348101 additions and 0 deletions
  1. 78
    0
      .gdbinit
  2. 41
    0
      .gitignore
  3. 5
    0
      .readthedocs.yml
  4. 62
    0
      .travis.yml
  5. 340
    0
      COPYING
  6. 791
    0
      COPYING.md
  7. 490
    0
      Makefile.in
  8. 443
    0
      NEWS.md
  9. 70
    0
      README.md
  10. 69
    0
      appveyor.yml
  11. 340
    0
      configure
  12. 17
    0
      dist/ansi_color.sh
  13. 209
    0
      dist/gcc/Make-lang.in
  14. 36
    0
      dist/gcc/config-lang.in
  15. 29
    0
      dist/gcc/lang-options.h
  16. 28
    0
      dist/gcc/lang-specs.h
  17. 193
    0
      dist/linux/buildtest.sh
  18. 5
    0
      dist/linux/docker/build-fedora26+mcode
  19. 7
    0
      dist/linux/docker/build-stretch+mcode
  20. 7
    0
      dist/linux/docker/build-stretch+mcode+gpl
  21. 7
    0
      dist/linux/docker/build-ubuntu14+llvm-3.8
  22. 7
    0
      dist/linux/docker/build-ubuntu14+mcode
  23. 100
    0
      dist/linux/travis-ci.sh
  24. 22
    0
      dist/linux/travis-utils.sh
  25. 60
    0
      dist/macosx/install-ada.sh
  26. 359
    0
      dist/windows/InstallerTemplate.ps1
  27. 110
    0
      dist/windows/appveyor/build.ps1
  28. 68
    0
      dist/windows/appveyor/info.ps1
  29. 39
    0
      dist/windows/appveyor/install.ps1
  30. 49
    0
      dist/windows/appveyor/shared.psm1
  31. 121
    0
      dist/windows/appveyor/test.ps1
  32. 246
    0
      dist/windows/compile-ghdl.ps1
  33. 868
    0
      dist/windows/compile-libraries.ps1
  34. 765
    0
      dist/windows/compile.ps1
  35. 54
    0
      dist/windows/mcode/Makefile.in
  36. 3
    0
      dist/windows/mcode/binary_file-format.ads
  37. 31
    0
      dist/windows/mcode/compile.bat
  38. 119
    0
      dist/windows/mcode/complib.bat
  39. 9
    0
      dist/windows/mcode/default_paths.ads
  40. 458
    0
      dist/windows/mcode/ghdl.nsi
  41. 132
    0
      dist/windows/mcode/ghdlfilter.adb
  42. 30
    0
      dist/windows/mcode/ghdlversion.adb
  43. 3
    0
      dist/windows/mcode/grt-backtraces-impl.ads
  44. 39
    0
      dist/windows/mcode/grt-modules.adb
  45. 2
    0
      dist/windows/mcode/ortho_code-x86-flags.ads
  46. 20
    0
      dist/windows/mcode/winbuild.bat
  47. 68
    0
      dist/windows/mcode/windows_default_path.adb
  48. 30
    0
      dist/windows/mcode/windows_default_path.ads
  49. 368
    0
      dist/windows/shared.psm1
  50. 411
    0
      dist/windows/targets.psm1
  51. 75
    0
      doc/Makefile
  52. 0
    0
      doc/_extensions/.gitempty
  53. 0
    0
      doc/_static/icons/.gitempty
  54. 0
    0
      doc/_static/images/.gitempty
  55. 70
    0
      doc/_static/theme_overrides.css
  56. 55
    0
      doc/about.rst
  57. 110
    0
      doc/appendix/Meta.rst
  58. 16
    0
      doc/appendix/Roadmap.rst
  59. 63
    0
      doc/building/Building.rst
  60. 50
    0
      doc/building/Directories.rst
  61. 440
    0
      doc/building/PrecompileVendorPrimitives.rst
  62. 26
    0
      doc/building/gcc/GNULinux-GNAT.rst
  63. 30
    0
      doc/building/gcc/Windows-MinGW-GNAT.rst
  64. 22
    0
      doc/building/gcc/index.rst
  65. 26
    0
      doc/building/llvm/GNULinux-GNAT.rst
  66. 26
    0
      doc/building/llvm/Windows-MinGW-GNAT.rst
  67. 36
    0
      doc/building/llvm/index.rst
  68. 27
    0
      doc/building/mcode/GNULinux-GNAT.rst
  69. 36
    0
      doc/building/mcode/Windows-GNATGPL.rst
  70. 26
    0
      doc/building/mcode/Windows-MinGW-GNAT.rst
  71. 28
    0
      doc/building/mcode/index.rst
  72. 352
    0
      doc/conf.py
  73. 109
    0
      doc/contribute.rst
  74. 4
    0
      doc/genindex.rst
  75. 156
    0
      doc/getting/Releases.rst
  76. 108
    0
      doc/ghdl.1
  77. 6185
    0
      doc/ghdl.texi
  78. 95
    0
      doc/index.rst
  79. 82
    0
      doc/licenses.rst
  80. 242
    0
      doc/make.ps1
  81. 7
    0
      doc/prolog.inc
  82. 139
    0
      doc/references/CodingStyle.rst
  83. 197
    0
      doc/references/CommandReference.rst
  84. 487
    0
      doc/references/ImplementationOfVHDL.rst
  85. 94
    0
      doc/references/ImplementationOfVITAL.rst
  86. 7
    0
      doc/requirements.txt
  87. 67
    0
      doc/shields.inc
  88. 29
    0
      doc/shieldswho.inc
  89. 691
    0
      doc/using/InvokingGHDL.rst
  90. 218
    0
      doc/using/QuickStartGuide.rst
  91. 353
    0
      doc/using/Simulation.rst
  92. 38
    0
      ghdl.gpr.in
  93. 361
    0
      libraries/Makefile.inc
  94. 27
    0
      libraries/README
  95. 361
    0
      libraries/openieee/build_1164.py
  96. 1160
    0
      libraries/openieee/build_numeric.py
  97. 223
    0
      libraries/openieee/math_real-body.vhdl
  98. 138
    0
      libraries/openieee/math_real.vhdl
  99. 190
    0
      libraries/openieee/numeric_bit-body.proto
  100. 2333
    0
      libraries/openieee/numeric_bit-body.v87
  101. 2505
    0
      libraries/openieee/numeric_bit-body.v93
  102. 27
    0
      libraries/openieee/numeric_bit.proto
  103. 211
    0
      libraries/openieee/numeric_bit.v87
  104. 211
    0
      libraries/openieee/numeric_bit.v93
  105. 202
    0
      libraries/openieee/numeric_common.proto
  106. 275
    0
      libraries/openieee/numeric_std-body.proto
  107. 2899
    0
      libraries/openieee/numeric_std-body.v87
  108. 3071
    0
      libraries/openieee/numeric_std-body.v93
  109. 41
    0
      libraries/openieee/numeric_std.proto
  110. 225
    0
      libraries/openieee/numeric_std.v87
  111. 225
    0
      libraries/openieee/numeric_std.v93
  112. 123
    0
      libraries/openieee/std_logic_1164-body.proto
  113. 713
    0
      libraries/openieee/std_logic_1164-body.v87
  114. 769
    0
      libraries/openieee/std_logic_1164-body.v93
  115. 143
    0
      libraries/openieee/std_logic_1164.v87
  116. 143
    0
      libraries/openieee/std_logic_1164.v93
  117. 143
    0
      libraries/openieee/std_logic_1164.vhdl
  118. 28
    0
      libraries/std/env.vhdl
  119. 65
    0
      libraries/std/env_body.vhdl
  120. 176
    0
      libraries/std/textio.vhdl
  121. 1553
    0
      libraries/std/textio_body.vhdl
  122. 2391
    0
      libraries/synopsys/std_logic_arith.vhdl
  123. 817
    0
      libraries/synopsys/std_logic_misc-body.vhdl
  124. 176
    0
      libraries/synopsys/std_logic_misc.vhdl
  125. 343
    0
      libraries/synopsys/std_logic_signed.vhdl
  126. 634
    0
      libraries/synopsys/std_logic_textio.vhdl
  127. 329
    0
      libraries/synopsys/std_logic_unsigned.vhdl
  128. 311
    0
      libraries/vendors/README.md
  129. 552
    0
      libraries/vendors/compile-altera.ps1
  130. 712
    0
      libraries/vendors/compile-altera.sh
  131. 555
    0
      libraries/vendors/compile-intel.ps1
  132. 712
    0
      libraries/vendors/compile-intel.sh
  133. 382
    0
      libraries/vendors/compile-lattice.ps1
  134. 285
    0
      libraries/vendors/compile-lattice.sh
  135. 163
    0
      libraries/vendors/compile-osvvm.ps1
  136. 230
    0
      libraries/vendors/compile-osvvm.sh
  137. 248
    0
      libraries/vendors/compile-uvvm.ps1
  138. 521
    0
      libraries/vendors/compile-uvvm.sh
  139. 184
    0
      libraries/vendors/compile-vunit.ps1
  140. 250
    0
      libraries/vendors/compile-vunit.sh
  141. 310
    0
      libraries/vendors/compile-xilinx-ise.ps1
  142. 386
    0
      libraries/vendors/compile-xilinx-ise.sh
  143. 252
    0
      libraries/vendors/compile-xilinx-vivado.ps1
  144. 347
    0
      libraries/vendors/compile-xilinx-vivado.sh
  145. 123
    0
      libraries/vendors/config.psm1
  146. 76
    0
      libraries/vendors/config.sh
  147. 15
    0
      libraries/vendors/ghdl.grcrules
  148. 14
    0
      libraries/vendors/ghdl.skipwarning.grcrules
  149. 485
    0
      libraries/vendors/shared.psm1
  150. 191
    0
      libraries/vendors/shared.sh
  151. 55
    0
      src/algos.adb
  152. 28
    0
      src/algos.ads
  153. 106
    0
      src/bug.adb
  154. 26
    0
      src/bug.ads
  155. 153
    0
      src/dyn_tables.adb
  156. 110
    0
      src/dyn_tables.ads
  157. 1221
    0
      src/files_map.adb
  158. 220
    0
      src/files_map.ads
  159. 56
    0
      src/flags.adb
  160. 176
    0
      src/flags.ads
  161. 43
    0
      src/ghdldrv/default_paths.ads.in
  162. 148
    0
      src/ghdldrv/foreigns.adb
  163. 22
    0
      src/ghdldrv/foreigns.ads
  164. 38
    0
      src/ghdldrv/ghdl_gcc.adb
  165. 39
    0
      src/ghdldrv/ghdl_jit.adb
  166. 38
    0
      src/ghdldrv/ghdl_llvm.adb
  167. 38
    0
      src/ghdldrv/ghdl_simul.adb
  168. 880
    0
      src/ghdldrv/ghdlcomp.adb
  169. 79
    0
      src/ghdldrv/ghdlcomp.ads
  170. 1926
    0
      src/ghdldrv/ghdldrv.adb
  171. 24
    0
      src/ghdldrv/ghdldrv.ads
  172. 1619
    0
      src/ghdldrv/ghdllocal.adb
  173. 146
    0
      src/ghdldrv/ghdllocal.ads
  174. 427
    0
      src/ghdldrv/ghdlmain.adb
  175. 88
    0
      src/ghdldrv/ghdlmain.ads
  176. 1783
    0
      src/ghdldrv/ghdlprint.adb
  177. 25
    0
      src/ghdldrv/ghdlprint.ads
  178. 719
    0
      src/ghdldrv/ghdlrun.adb
  179. 20
    0
      src/ghdldrv/ghdlrun.ads
  180. 233
    0
      src/ghdldrv/ghdlsimul.adb
  181. 28
    0
      src/ghdldrv/ghdlsimul.ads
  182. 118
    0
      src/ghdldrv/ghdlsynth.adb
  183. 25
    0
      src/ghdldrv/ghdlsynth.ads
  184. 334
    0
      src/ghdldrv/ghdlvpi.adb
  185. 20
    0
      src/ghdldrv/ghdlvpi.ads
  186. 588
    0
      src/ghdldrv/ghdlxml.adb
  187. 21
    0
      src/ghdldrv/ghdlxml.ads
  188. 56
    0
      src/grt/Makefile
  189. 239
    0
      src/grt/Makefile.inc
  190. 52
    0
      src/grt/config/chkstk.S
  191. 41
    0
      src/grt/config/clock.c
  192. 40
    0
      src/grt/config/grt_itf.h
  193. 247
    0
      src/grt/config/jumps.c
  194. 55
    0
      src/grt/config/math.c
  195. 55
    0
      src/grt/config/times.c
  196. 234
    0
      src/grt/config/win32.c
  197. 130
    0
      src/grt/fst/block_format.txt
  198. 2
    0
      src/grt/fst/config.h
  199. 547
    0
      src/grt/fst/fastlz.c
  200. 107
    0
      src/grt/fst/fastlz.h
  201. 6599
    0
      src/grt/fst/fstapi.c
  202. 428
    0
      src/grt/fst/fstapi.h
  203. 1516
    0
      src/grt/fst/lz4.c
  204. 360
    0
      src/grt/fst/lz4.h
  205. 61
    0
      src/grt/ghdl_main.adb
  206. 33
    0
      src/grt/ghdl_main.ads
  207. 322
    0
      src/grt/ghwdump.c
  208. 2171
    0
      src/grt/ghwlib.c
  209. 438
    0
      src/grt/ghwlib.h
  210. 237
    0
      src/grt/grt-astdio.adb
  211. 61
    0
      src/grt/grt-astdio.ads
  212. 1295
    0
      src/grt/grt-avhpi.adb
  213. 574
    0
      src/grt/grt-avhpi.ads
  214. 65
    0
      src/grt/grt-avhpi_utils.adb
  215. 38
    0
      src/grt/grt-avhpi_utils.ads
  216. 249
    0
      src/grt/grt-avls.adb
  217. 84
    0
      src/grt/grt-avls.ads
  218. 134
    0
      src/grt/grt-backtraces-gcc.adb
  219. 35
    0
      src/grt/grt-backtraces-gcc.ads
  220. 42
    0
      src/grt/grt-backtraces-jit.adb
  221. 44
    0
      src/grt/grt-backtraces-jit.ads
  222. 303
    0
      src/grt/grt-backtraces.adb
  223. 35
    0
      src/grt/grt-backtraces.ads
  224. 55
    0
      src/grt/grt-c.ads
  225. 207
    0
      src/grt/grt-callbacks.adb
  226. 107
    0
      src/grt/grt-callbacks.ads
  227. 117
    0
      src/grt/grt-cbinding.c
  228. 377
    0
      src/grt/grt-change_generics.adb
  229. 33
    0
      src/grt/grt-change_generics.ads
  230. 245
    0
      src/grt/grt-cvpi.c
  231. 227
    0
      src/grt/grt-disp.adb
  232. 46
    0
      src/grt/grt-disp.ads
  233. 1339
    0
      src/grt/grt-disp_rti.adb
  234. 44
    0
      src/grt/grt-disp_rti.ads
  235. 552
    0
      src/grt/grt-disp_signals.adb
  236. 48
    0
      src/grt/grt-disp_signals.ads
  237. 471
    0
      src/grt/grt-disp_tree.adb
  238. 27
    0
      src/grt/grt-disp_tree.ads
  239. 326
    0
      src/grt/grt-errors.adb
  240. 148
    0
      src/grt/grt-errors.ads
  241. 1268
    0
      src/grt/grt-fcvt.adb
  242. 114
    0
      src/grt/grt-fcvt.ads
  243. 456
    0
      src/grt/grt-files.adb
  244. 114
    0
      src/grt/grt-files.ads
  245. 718
    0
      src/grt/grt-fst.adb
  246. 28
    0
      src/grt/grt-fst.ads
  247. 353
    0
      src/grt/grt-fst_api.ads
  248. 82
    0
      src/grt/grt-ghw.ads
  249. 197
    0
      src/grt/grt-hooks.adb
  250. 111
    0
      src/grt/grt-hooks.ads
  251. 436
    0
      src/grt/grt-images.adb
  252. 114
    0
      src/grt/grt-images.ads
  253. 331
    0
      src/grt/grt-lib.adb
  254. 139
    0
      src/grt/grt-lib.ads
  255. 199
    0
      src/grt/grt-main.adb
  256. 41
    0
      src/grt/grt-main.ads
  257. 53
    0
      src/grt/grt-modules.adb
  258. 29
    0
      src/grt/grt-modules.ads
  259. 105
    0
      src/grt/grt-names.adb
  260. 42
    0
      src/grt/grt-names.ads
  261. 532
    0
      src/grt/grt-options.adb
  262. 170
    0
      src/grt/grt-options.ads
  263. 1168
    0
      src/grt/grt-processes.adb
  264. 270
    0
      src/grt/grt-processes.ads
  265. 216
    0
      src/grt/grt-psl.adb
  266. 28
    0
      src/grt/grt-psl.ads
  267. 30
    0
      src/grt/grt-readline.ads
  268. 45
    0
      src/grt/grt-rtis.adb
  269. 456
    0
      src/grt/grt-rtis.ads
  270. 338
    0
      src/grt/grt-rtis_addr.adb
  271. 121
    0
      src/grt/grt-rtis_addr.ads
  272. 67
    0
      src/grt/grt-rtis_binding.ads
  273. 118
    0
      src/grt/grt-rtis_types.adb
  274. 55
    0
      src/grt/grt-rtis_types.ads
  275. 731
    0
      src/grt/grt-rtis_utils.adb
  276. 112
    0
      src/grt/grt-rtis_utils.ads
  277. 1392
    0
      src/grt/grt-sdf.adb
  278. 132
    0
      src/grt/grt-sdf.ads
  279. 32
    0
      src/grt/grt-shadow_ieee.adb
  280. 41
    0
      src/grt/grt-shadow_ieee.ads
  281. 3613
    0
      src/grt/grt-signals.adb
  282. 973
    0
      src/grt/grt-signals.ads
  283. 200
    0
      src/grt/grt-stack2.adb
  284. 66
    0
      src/grt/grt-stack2.ads
  285. 370
    0
      src/grt/grt-stats.adb
  286. 54
    0
      src/grt/grt-stats.ads
  287. 146
    0
      src/grt/grt-std_logic_1164.adb
  288. 124
    0
      src/grt/grt-std_logic_1164.ads
  289. 110
    0
      src/grt/grt-stdio.ads
  290. 111
    0
      src/grt/grt-strings.adb
  291. 58
    0
      src/grt/grt-strings.ads
  292. 120
    0
      src/grt/grt-table.adb
  293. 75
    0
      src/grt/grt-table.ads
  294. 27
    0
      src/grt/grt-threads.ads
  295. 332
    0
      src/grt/grt-types.ads
  296. 89
    0
      src/grt/grt-unithread.adb
  297. 61
    0
      src/grt/grt-unithread.ads
  298. 656
    0
      src/grt/grt-values.adb
  299. 73
    0
      src/grt/grt-values.ads
  300. 906
    0
      src/grt/grt-vcd.adb
  301. 115
    0
      src/grt/grt-vcd.ads
  302. 117
    0
      src/grt/grt-vcdz.adb
  303. 28
    0
      src/grt/grt-vcdz.ads
  304. 659
    0
      src/grt/grt-vital_annotate.adb
  305. 42
    0
      src/grt/grt-vital_annotate.ads
  306. 1772
    0
      src/grt/grt-vpi.adb
  307. 325
    0
      src/grt/grt-vpi.ads
  308. 346
    0
      src/grt/grt-vstrings.adb
  309. 147
    0
      src/grt/grt-vstrings.ads
  310. 225
    0
      src/grt/grt-wave_opt-design.adb
  311. 67
    0
      src/grt/grt-wave_opt-design.ads
  312. 65
    0
      src/grt/grt-wave_opt-file-debug.adb
  313. 35
    0
      src/grt/grt-wave_opt-file-debug.ads
  314. 485
    0
      src/grt/grt-wave_opt-file.adb
  315. 77
    0
      src/grt/grt-wave_opt-file.ads
  316. 75
    0
      src/grt/grt-wave_opt.adb
  317. 84
    0
      src/grt/grt-wave_opt.ads
  318. 1753
    0
      src/grt/grt-waves.adb
  319. 27
    0
      src/grt/grt-waves.ads
  320. 47
    0
      src/grt/grt-zlib.ads
  321. 58
    0
      src/grt/grt.adc
  322. 27
    0
      src/grt/grt.ads
  323. 28
    0
      src/grt/grt.ver
  324. 39
    0
      src/grt/grtlink.ads
  325. 32
    0
      src/grt/main.adb
  326. 34
    0
      src/grt/main.ads
  327. 216
    0
      src/grt/vpi_thunk.c
  328. 61
    0
      src/grt/vpi_thunk.h
  329. 925
    0
      src/grt/vpi_user.h
  330. 1989
    0
      src/libraries.adb
  331. 207
    0
      src/libraries.ads
  332. 213
    0
      src/lists.adb
  333. 143
    0
      src/lists.ads
  334. 41
    0
      src/mhdlsim/grt-modules.adb
  335. 71
    0
      src/mhdlsim/mhdlsim.adb
  336. 23
    0
      src/mhdlsim/mhdlsim.ads
  337. 477
    0
      src/name_table.adb
  338. 114
    0
      src/name_table.ads
  339. 285
    0
      src/options.adb
  340. 30
    0
      src/options.ads
  341. 38
    0
      src/ortho/Makefile.inc
  342. 47
    0
      src/ortho/debug/Makefile
  343. 1154
    0
      src/ortho/debug/ortho_debug-disp.adb
  344. 29
    0
      src/ortho/debug/ortho_debug-disp.ads
  345. 151
    0
      src/ortho/debug/ortho_debug-main.adb
  346. 1962
    0
      src/ortho/debug/ortho_debug.adb
  347. 469
    0
      src/ortho/debug/ortho_debug.private.ads
  348. 20
    0
      src/ortho/debug/ortho_debug_front.ads
  349. 20
    0
      src/ortho/debug/ortho_ident.ads
  350. 72
    0
      src/ortho/debug/ortho_ident_hash.adb
  351. 46
    0
      src/ortho/debug/ortho_ident_hash.ads
  352. 44
    0
      src/ortho/debug/ortho_ident_simple.adb
  353. 31
    0
      src/ortho/debug/ortho_ident_simple.ads
  354. 21
    0
      src/ortho/debug/ortho_nodes.ads
  355. 87
    0
      src/ortho/gcc/Makefile
  356. 6
    0
      src/ortho/gcc/Makefile.conf.linux
  357. 103
    0
      src/ortho/gcc/lang.opt
  358. 2166
    0
      src/ortho/gcc/ortho-lang-49.c
  359. 2153
    0
      src/ortho/gcc/ortho-lang-5.c
  360. 2153
    0
      src/ortho/gcc/ortho-lang-6.c
  361. 2165
    0
      src/ortho/gcc/ortho-lang-7.c
  362. 42
    0
      src/ortho/gcc/ortho_gcc-main.adb
  363. 1
    0
      src/ortho/gcc/ortho_gcc-main.ads
  364. 121
    0
      src/ortho/gcc/ortho_gcc.adb
  365. 708
    0
      src/ortho/gcc/ortho_gcc.ads
  366. 272
    0
      src/ortho/gcc/ortho_gcc.private.ads
  367. 2
    0
      src/ortho/gcc/ortho_gcc_front.ads
  368. 56
    0
      src/ortho/gcc/ortho_ident.adb
  369. 30
    0
      src/ortho/gcc/ortho_ident.ads
  370. 3
    0
      src/ortho/gcc/ortho_nodes.ads
  371. 32
    0
      src/ortho/llvm-nodebug/Makefile
  372. 53
    0
      src/ortho/llvm-nodebug/llvm-analysis.ads
  373. 34
    0
      src/ortho/llvm-nodebug/llvm-bitwriter.ads
  374. 38
    0
      src/ortho/llvm-nodebug/llvm-cbindings.cpp
  375. 1193
    0
      src/ortho/llvm-nodebug/llvm-core.ads
  376. 97
    0
      src/ortho/llvm-nodebug/llvm-target.ads
  377. 126
    0
      src/ortho/llvm-nodebug/llvm-targetmachine.ads
  378. 169
    0
      src/ortho/llvm-nodebug/llvm-transforms-scalar.ads
  379. 21
    0
      src/ortho/llvm-nodebug/llvm-transforms.ads
  380. 21
    0
      src/ortho/llvm-nodebug/llvm.ads
  381. 320
    0
      src/ortho/llvm-nodebug/ortho_code_main.adb
  382. 134
    0
      src/ortho/llvm-nodebug/ortho_ident.adb
  383. 42
    0
      src/ortho/llvm-nodebug/ortho_ident.ads
  384. 2320
    0
      src/ortho/llvm-nodebug/ortho_llvm.adb
  385. 307
    0
      src/ortho/llvm-nodebug/ortho_llvm.private.ads
  386. 20
    0
      src/ortho/llvm-nodebug/ortho_nodes.ads
  387. 32
    0
      src/ortho/llvm/Makefile
  388. 53
    0
      src/ortho/llvm/llvm-analysis.ads
  389. 34
    0
      src/ortho/llvm/llvm-bitwriter.ads
  390. 61
    0
      src/ortho/llvm/llvm-cbindings.cpp
  391. 1283
    0
      src/ortho/llvm/llvm-core.ads
  392. 163
    0
      src/ortho/llvm/llvm-executionengine.ads
  393. 84
    0
      src/ortho/llvm/llvm-target.ads
  394. 122
    0
      src/ortho/llvm/llvm-targetmachine.ads
  395. 169
    0
      src/ortho/llvm/llvm-transforms-scalar.ads
  396. 21
    0
      src/ortho/llvm/llvm-transforms.ads
  397. 21
    0
      src/ortho/llvm/llvm.ads
  398. 395
    0
      src/ortho/llvm/ortho_code_main.adb
  399. 134
    0
      src/ortho/llvm/ortho_ident.adb
  400. 42
    0
      src/ortho/llvm/ortho_ident.ads
  401. 151
    0
      src/ortho/llvm/ortho_jit.adb
  402. 55
    0
      src/ortho/llvm/ortho_llvm-jit.adb
  403. 31
    0
      src/ortho/llvm/ortho_llvm-jit.ads
  404. 3049
    0
      src/ortho/llvm/ortho_llvm.adb
  405. 750
    0
      src/ortho/llvm/ortho_llvm.ads
  406. 314
    0
      src/ortho/llvm/ortho_llvm.private.ads
  407. 20
    0
      src/ortho/llvm/ortho_nodes.ads
  408. 32
    0
      src/ortho/llvm4-nodebug/Makefile
  409. 53
    0
      src/ortho/llvm4-nodebug/llvm-analysis.ads
  410. 34
    0
      src/ortho/llvm4-nodebug/llvm-bitwriter.ads
  411. 38
    0
      src/ortho/llvm4-nodebug/llvm-cbindings.cpp
  412. 1160
    0
      src/ortho/llvm4-nodebug/llvm-core.ads
  413. 97
    0
      src/ortho/llvm4-nodebug/llvm-target.ads
  414. 126
    0
      src/ortho/llvm4-nodebug/llvm-targetmachine.ads
  415. 169
    0
      src/ortho/llvm4-nodebug/llvm-transforms-scalar.ads
  416. 21
    0
      src/ortho/llvm4-nodebug/llvm-transforms.ads
  417. 21
    0
      src/ortho/llvm4-nodebug/llvm.ads
  418. 318
    0
      src/ortho/llvm4-nodebug/ortho_code_main.adb
  419. 134
    0
      src/ortho/llvm4-nodebug/ortho_ident.adb
  420. 42
    0
      src/ortho/llvm4-nodebug/ortho_ident.ads
  421. 2340
    0
      src/ortho/llvm4-nodebug/ortho_llvm.adb
  422. 743
    0
      src/ortho/llvm4-nodebug/ortho_llvm.ads
  423. 307
    0
      src/ortho/llvm4-nodebug/ortho_llvm.private.ads
  424. 20
    0
      src/ortho/llvm4-nodebug/ortho_nodes.ads
  425. 39
    0
      src/ortho/mcode/Makefile
  426. 406
    0
      src/ortho/mcode/binary_file-coff.adb
  427. 23
    0
      src/ortho/mcode/binary_file-coff.ads
  428. 689
    0
      src/ortho/mcode/binary_file-elf.adb
  429. 22
    0
      src/ortho/mcode/binary_file-elf.ads
  430. 20
    0
      src/ortho/mcode/binary_file-format.ads
  431. 354
    0
      src/ortho/mcode/binary_file-macho.adb
  432. 23
    0
      src/ortho/mcode/binary_file-macho.ads
  433. 150
    0
      src/ortho/mcode/binary_file-memory.adb
  434. 41
    0
      src/ortho/mcode/binary_file-memory.ads
  435. 991
    0
      src/ortho/mcode/binary_file.adb
  436. 319
    0
      src/ortho/mcode/binary_file.ads
  437. 208
    0
      src/ortho/mcode/coff.ads
  438. 274
    0
      src/ortho/mcode/coffdump.adb
  439. 274
    0
      src/ortho/mcode/disa_sparc.adb
  440. 15
    0
      src/ortho/mcode/disa_sparc.ads
  441. 997
    0
      src/ortho/mcode/disa_x86.adb
  442. 34
    0
      src/ortho/mcode/disa_x86.ads
  443. 3
    0
      src/ortho/mcode/disassemble.ads
  444. 445
    0
      src/ortho/mcode/dwarf.ads
  445. 33
    0
      src/ortho/mcode/elf32.adb
  446. 117
    0
      src/ortho/mcode/elf32.ads
  447. 34
    0
      src/ortho/mcode/elf64.adb
  448. 110
    0
      src/ortho/mcode/elf64.ads
  449. 48
    0
      src/ortho/mcode/elf_arch32.ads
  450. 47
    0
      src/ortho/mcode/elf_arch64.ads
  451. 48
    0
      src/ortho/mcode/elf_common.adb
  452. 250
    0
      src/ortho/mcode/elf_common.ads
  453. 267
    0
      src/ortho/mcode/elfdump.adb
  454. 2818
    0
      src/ortho/mcode/elfdumper.adb
  455. 164
    0
      src/ortho/mcode/elfdumper.ads
  456. 71
    0
      src/ortho/mcode/hex_images.adb
  457. 26
    0
      src/ortho/mcode/hex_images.ads
  458. 159
    0
      src/ortho/mcode/macho.ads
  459. 36
    0
      src/ortho/mcode/macho_arch32.ads
  460. 36
    0
      src/ortho/mcode/macho_arch64.ads
  461. 3
    0
      src/ortho/mcode/memsegs.ads
  462. 133
    0
      src/ortho/mcode/memsegs_c.c
  463. 64
    0
      src/ortho/mcode/memsegs_mmap.adb
  464. 49
    0
      src/ortho/mcode/memsegs_mmap.ads
  465. 3
    0
      src/ortho/mcode/ortho_code-abi.ads
  466. 37
    0
      src/ortho/mcode/ortho_code-binary.adb
  467. 31
    0
      src/ortho/mcode/ortho_code-binary.ads
  468. 566
    0
      src/ortho/mcode/ortho_code-consts.adb
  469. 161
    0
      src/ortho/mcode/ortho_code-consts.ads
  470. 141
    0
      src/ortho/mcode/ortho_code-debug.adb
  471. 72
    0
      src/ortho/mcode/ortho_code-debug.ads
  472. 831
    0
      src/ortho/mcode/ortho_code-decls.adb
  473. 216
    0
      src/ortho/mcode/ortho_code-decls.ads
  474. 818
    0
      src/ortho/mcode/ortho_code-disps.adb
  475. 25
    0
      src/ortho/mcode/ortho_code-disps.ads
  476. 1365
    0
      src/ortho/mcode/ortho_code-dwarf.adb
  477. 49
    0
      src/ortho/mcode/ortho_code-dwarf.ads
  478. 1677
    0
      src/ortho/mcode/ortho_code-exprs.adb
  479. 609
    0
      src/ortho/mcode/ortho_code-exprs.ads
  480. 36
    0
      src/ortho/mcode/ortho_code-flags.ads
  481. 214
    0
      src/ortho/mcode/ortho_code-opts.adb
  482. 22
    0
      src/ortho/mcode/ortho_code-opts.ads
  483. 820
    0
      src/ortho/mcode/ortho_code-types.adb
  484. 240
    0
      src/ortho/mcode/ortho_code-types.ads
  485. 869
    0
      src/ortho/mcode/ortho_code-x86-abi.adb
  486. 97
    0
      src/ortho/mcode/ortho_code-x86-abi.ads
  487. 3287
    0
      src/ortho/mcode/ortho_code-x86-emits.adb
  488. 38
    0
      src/ortho/mcode/ortho_code-x86-emits.ads
  489. 37
    0
      src/ortho/mcode/ortho_code-x86-flags_linux.ads
  490. 37
    0
      src/ortho/mcode/ortho_code-x86-flags_linux64.ads
  491. 37
    0
      src/ortho/mcode/ortho_code-x86-flags_macosx.ads
  492. 37
    0
      src/ortho/mcode/ortho_code-x86-flags_macosx64.ads
  493. 37
    0
      src/ortho/mcode/ortho_code-x86-flags_windows.ads
  494. 37
    0
      src/ortho/mcode/ortho_code-x86-flags_windows64.ads
  495. 2481
    0
      src/ortho/mcode/ortho_code-x86-insns.adb
  496. 34
    0
      src/ortho/mcode/ortho_code-x86-insns.ads
  497. 71
    0
      src/ortho/mcode/ortho_code-x86.adb
  498. 189
    0
      src/ortho/mcode/ortho_code-x86.ads
  499. 150
    0
      src/ortho/mcode/ortho_code.ads
  500. 239
    0
      src/ortho/mcode/ortho_code_main.adb
  501. 115
    0
      src/ortho/mcode/ortho_ident.adb
  502. 38
    0
      src/ortho/mcode/ortho_ident.ads
  503. 172
    0
      src/ortho/mcode/ortho_jit.adb
  504. 28
    0
      src/ortho/mcode/ortho_mcode-jit.adb
  505. 9
    0
      src/ortho/mcode/ortho_mcode-jit.ads
  506. 745
    0
      src/ortho/mcode/ortho_mcode.adb
  507. 587
    0
      src/ortho/mcode/ortho_mcode.ads
  508. 151
    0
      src/ortho/mcode/ortho_mcode.private.ads
  509. 2
    0
      src/ortho/mcode/ortho_nodes.ads
  510. 686
    0
      src/ortho/mcode/symbolizer.adb
  511. 48
    0
      src/ortho/mcode/symbolizer.ads
  512. 43
    0
      src/ortho/oread/Makefile
  513. 2897
    0
      src/ortho/oread/ortho_front.adb
  514. 5
    0
      src/ortho/oread/tests/acc.on
  515. 15
    0
      src/ortho/oread/tests/acc2.on
  516. 18
    0
      src/ortho/oread/tests/acc3.on
  517. 9
    0
      src/ortho/oread/tests/align1.on
  518. 7
    0
      src/ortho/oread/tests/arg1.on
  519. 5
    0
      src/ortho/oread/tests/arr1.on
  520. 12
    0
      src/ortho/oread/tests/arraggr1.on
  521. 13
    0
      src/ortho/oread/tests/asgn_acc.on
  522. 1
    0
      src/ortho/oread/tests/bool.on
  523. 41
    0
      src/ortho/oread/tests/bug_mcode1.on
  524. 40
    0
      src/ortho/oread/tests/conv.on
  525. 4
    0
      src/ortho/oread/tests/enum1.on
  526. 38
    0
      src/ortho/oread/tests/fabs.on
  527. 17
    0
      src/ortho/oread/tests/fdiv.on
  528. 104
    0
      src/ortho/oread/tests/fops.on
  529. 13
    0
      src/ortho/oread/tests/fp_add.on
  530. 1012
    0
      src/ortho/oread/tests/full.on
  531. 12
    0
      src/ortho/oread/tests/if1.on
  532. 11
    0
      src/ortho/oread/tests/if2.on
  533. 18
    0
      src/ortho/oread/tests/if3.on
  534. 39
    0
      src/ortho/oread/tests/if4.on
  535. 9
    0
      src/ortho/oread/tests/local1.on
  536. 15
    0
      src/ortho/oread/tests/local2.on
  537. 33
    0
      src/ortho/oread/tests/local3.on
  538. 8
    0
      src/ortho/oread/tests/ra1.on
  539. 16
    0
      src/ortho/oread/tests/ra2.on
  540. 9
    0
      src/ortho/oread/tests/ra3.on
  541. 21
    0
      src/ortho/oread/tests/repro1.on
  542. 7
    0
      src/ortho/oread/tests/ret1.on
  543. 7
    0
      src/ortho/oread/tests/ret2.on
  544. 8
    0
      src/ortho/oread/tests/ret3.on
  545. 8
    0
      src/ortho/oread/tests/ret4.on
  546. 13
    0
      src/ortho/oread/tests/run_case1.on
  547. 15
    0
      src/ortho/oread/tests/run_case2.on
  548. 15
    0
      src/ortho/oread/tests/run_case3.on
  549. 15
    0
      src/ortho/oread/tests/run_case4.on
  550. 13
    0
      src/ortho/oread/tests/run_case5.on
  551. 19
    0
      src/ortho/oread/tests/run_case6.on
  552. 14
    0
      src/ortho/oread/tests/run_case7.on
  553. 16
    0
      src/ortho/oread/tests/run_declare.on
  554. 21
    0
      src/ortho/oread/tests/run_declare2.on
  555. 17
    0
      src/ortho/oread/tests/run_declare3.c
  556. 18
    0
      src/ortho/oread/tests/run_declare3.on
  557. 16
    0
      src/ortho/oread/tests/run_func1.on
  558. 10
    0
      src/ortho/oread/tests/run_gvar.on
  559. 7
    0
      src/ortho/oread/tests/run_id.on
  560. 17
    0
      src/ortho/oread/tests/run_idx.on
  561. 12
    0
      src/ortho/oread/tests/run_if.on
  562. 7
    0
      src/ortho/oread/tests/run_neg.on
  563. 7
    0
      src/ortho/oread/tests/run_not.on
  564. 7
    0
      src/ortho/oread/tests/run_plus.on
  565. 7
    0
      src/ortho/oread/tests/run_plus64.on
  566. 9
    0
      src/ortho/oread/tests/size1.on
  567. 32
    0
      src/ortho/oread/tests/smod.on
  568. 16
    0
      src/ortho/oread/tests/struct1.on
  569. 25
    0
      src/ortho/oread/tests/struct2.on
  570. 41
    0
      src/ortho/oread/tests/struct3.on
  571. 10
    0
      src/ortho/oread/tests/struct4.on
  572. 10
    0
      src/ortho/oread/tests/struct5.on
  573. 18
    0
      src/ortho/oread/tests/struct6.on
  574. 14
    0
      src/ortho/oread/tests/struct7.on
  575. 22
    0
      src/ortho/oread/tests/structref1.on
  576. 22
    0
      src/ortho/oread/tests/structref2.on
  577. 22
    0
      src/ortho/oread/tests/test_alloca.on
  578. 20
    0
      src/ortho/oread/tests/test_alloca1.on
  579. 19
    0
      src/ortho/oread/tests/test_assign.on
  580. 22
    0
      src/ortho/oread/tests/test_assign64.on
  581. 19
    0
      src/ortho/oread/tests/test_dup.on
  582. 17
    0
      src/ortho/oread/tests/test_incomp.on
  583. 36
    0
      src/ortho/oread/tests/test_init.on
  584. 18
    0
      src/ortho/oread/tests/test_init2.on
  585. 24
    0
      src/ortho/oread/tests/test_init3.on
  586. 7
    0
      src/ortho/oread/tests/test_varglb.on
  587. 5
    0
      src/ortho/oread/tests/type1.on
  588. 16
    0
      src/ortho/oread/tests/unaggr1.on
  589. 12
    0
      src/ortho/oread/tests/union1.on
  590. 14
    0
      src/ortho/oread/tests/union2.on
  591. 27
    0
      src/ortho/oread/tests/union3.on
  592. 8
    0
      src/ortho/oread/tests/var1.on
  593. 5
    0
      src/ortho/oread/tests/var2.on
  594. 5
    0
      src/ortho/oread/tests/var_signed.on
  595. 9
    0
      src/ortho/oread/tests/vla.on
  596. 41
    0
      src/ortho/ortho_front.ads
  597. 50
    0
      src/ortho/ortho_jit.ads
  598. 457
    0
      src/ortho/ortho_nodes.common.ads
  599. 49
    0
      src/psl/Makefile
  600. 1022
    0
      src/psl/psl-build.adb
  601. 26
    0
      src/psl/psl-build.ads
  602. 219
    0
      src/psl/psl-cse.adb
  603. 28
    0
      src/psl/psl-cse.ads
  604. 129
    0
      src/psl/psl-disp_nfas.adb
  605. 30
    0
      src/psl/psl-disp_nfas.ads
  606. 220
    0
      src/psl/psl-dump_tree.adb
  607. 28
    0
      src/psl/psl-dump_tree.ads
  608. 77
    0
      src/psl/psl-hash.adb
  609. 29
    0
      src/psl/psl-hash.ads
  610. 348
    0
      src/psl/psl-nfas-utils.adb
  611. 38
    0
      src/psl/psl-nfas-utils.ads
  612. 544
    0
      src/psl/psl-nfas.adb
  613. 126
    0
      src/psl/psl-nfas.ads
  614. 982
    0
      src/psl/psl-nodes.adb
  615. 404
    0
      src/psl/psl-nodes.adb.in
  616. 591
    0
      src/psl/psl-nodes.ads
  617. 1318
    0
      src/psl/psl-nodes_meta.adb
  618. 76
    0
      src/psl/psl-nodes_meta.adb.in
  619. 174
    0
      src/psl/psl-nodes_meta.ads
  620. 65
    0
      src/psl/psl-nodes_meta.ads.in
  621. 478
    0
      src/psl/psl-optimize.adb
  622. 42
    0
      src/psl/psl-optimize.ads
  623. 456
    0
      src/psl/psl-prints.adb
  624. 39
    0
      src/psl/psl-prints.ads
  625. 81
    0
      src/psl/psl-priorities.ads
  626. 336
    0
      src/psl/psl-qm.adb
  627. 64
    0
      src/psl/psl-qm.ads
  628. 609
    0
      src/psl/psl-rewrites.adb
  629. 7
    0
      src/psl/psl-rewrites.ads
  630. 195
    0
      src/psl/psl-subsets.adb
  631. 41
    0
      src/psl/psl-subsets.ads
  632. 272
    0
      src/psl/psl-tprint.adb
  633. 24
    0
      src/psl/psl-tprint.ads
  634. 21
    0
      src/psl/psl.ads
  635. 631
    0
      src/std_names.adb
  636. 756
    0
      src/std_names.ads
  637. 96
    0
      src/str_table.adb
  638. 64
    0
      src/str_table.ads
  639. 8
    0
      src/synth/build_header.sh
  640. 129
    0
      src/synth/ghdlsynth.h
  641. 60
    0
      src/synth/ghdlsynth_gates.h
  642. 47
    0
      src/synth/libghdlsynth.adb
  643. 29
    0
      src/synth/libghdlsynth.ads
  644. 656
    0
      src/synth/netlists-builders.adb
  645. 120
    0
      src/synth/netlists-builders.ads
  646. 489
    0
      src/synth/netlists-dump.adb
  647. 31
    0
      src/synth/netlists-dump.ads
  648. 114
    0
      src/synth/netlists-gates.ads
  649. 45
    0
      src/synth/netlists-gates_ports.adb
  650. 25
    0
      src/synth/netlists-gates_ports.ads
  651. 387
    0
      src/synth/netlists-iterators.adb
  652. 261
    0
      src/synth/netlists-iterators.ads
  653. 185
    0
      src/synth/netlists-utils.adb
  654. 50
    0
      src/synth/netlists-utils.ads
  655. 806
    0
      src/synth/netlists.adb
  656. 339
    0
      src/synth/netlists.ads
  657. 228
    0
      src/synth/synth-context.adb
  658. 50
    0
      src/synth/synth-context.ads
  659. 116
    0
      src/synth/synth-decls.adb
  660. 28
    0
      src/synth/synth-decls.ads
  661. 76
    0
      src/synth/synth-environment-debug.adb
  662. 25
    0
      src/synth/synth-environment-debug.ads
  663. 334
    0
      src/synth/synth-environment.adb
  664. 153
    0
      src/synth/synth-environment.ads
  665. 36
    0
      src/synth/synth-errors.adb
  666. 30
    0
      src/synth/synth-errors.ads
  667. 738
    0
      src/synth/synth-expr.adb
  668. 42
    0
      src/synth/synth-expr.ads
  669. 236
    0
      src/synth/synth-inference.adb
  670. 29
    0
      src/synth/synth-inference.ads
  671. 26
    0
      src/synth/synth-source.ads
  672. 825
    0
      src/synth/synth-stmts.adb
  673. 27
    0
      src/synth/synth-stmts.ads
  674. 78
    0
      src/synth/synth-types.adb
  675. 33
    0
      src/synth/synth-types.ads
  676. 144
    0
      src/synth/synth-values.adb
  677. 118
    0
      src/synth/synth-values.ads
  678. 23
    0
      src/synth/synth.ads
  679. 266
    0
      src/synth/synthesis.adb
  680. 28
    0
      src/synth/synthesis.ads
  681. 66
    0
      src/tables.adb
  682. 85
    0
      src/tables.ads
  683. 158
    0
      src/types.ads
  684. 5
    0
      src/version.in
  685. 95
    0
      src/vhdl/Makefile
  686. 34
    0
      src/vhdl/back_end.ads
  687. 3254
    0
      src/vhdl/canon.adb
  688. 96
    0
      src/vhdl/canon.ads
  689. 43
    0
      src/vhdl/canon_psl.adb
  690. 26
    0
      src/vhdl/canon_psl.ads
  691. 962
    0
      src/vhdl/configuration.adb
  692. 63
    0
      src/vhdl/configuration.ads
  693. 590
    0
      src/vhdl/disp_tree.adb
  694. 53
    0
      src/vhdl/disp_tree.ads
  695. 3594
    0
      src/vhdl/disp_vhdl.adb
  696. 40
    0
      src/vhdl/disp_vhdl.ads
  697. 628
    0
      src/vhdl/elocations.adb
  698. 157
    0
      src/vhdl/elocations.adb.in
  699. 669
    0
      src/vhdl/elocations.ads
  700. 340
    0
      src/vhdl/elocations_meta.adb
  701. 43
    0
      src/vhdl/elocations_meta.adb.in
  702. 63
    0
      src/vhdl/elocations_meta.ads
  703. 36
    0
      src/vhdl/elocations_meta.ads.in
  704. 1592
    0
      src/vhdl/errorout.adb
  705. 346
    0
      src/vhdl/errorout.ads
  706. 3855
    0
      src/vhdl/evaluation.adb
  707. 212
    0
      src/vhdl/evaluation.ads
  708. 161
    0
      src/vhdl/flists.adb
  709. 51
    0
      src/vhdl/flists.ads
  710. 259
    0
      src/vhdl/ieee-numeric.adb
  711. 26
    0
      src/vhdl/ieee-numeric.ads
  712. 319
    0
      src/vhdl/ieee-std_logic_1164.adb
  713. 47
    0
      src/vhdl/ieee-std_logic_1164.ads
  714. 1362
    0
      src/vhdl/ieee-vital_timing.adb
  715. 40
    0
      src/vhdl/ieee-vital_timing.ads
  716. 50
    0
      src/vhdl/ieee.adb
  717. 26
    0
      src/vhdl/ieee.ads
  718. 68
    0
      src/vhdl/iir_chain_handling.adb
  719. 47
    0
      src/vhdl/iir_chain_handling.ads
  720. 99
    0
      src/vhdl/iir_chains.adb
  721. 119
    0
      src/vhdl/iir_chains.ads
  722. 5815
    0
      src/vhdl/iirs.adb
  723. 244
    0
      src/vhdl/iirs.adb.in
  724. 7454
    0
      src/vhdl/iirs.ads
  725. 1666
    0
      src/vhdl/iirs_utils.adb
  726. 368
    0
      src/vhdl/iirs_utils.ads
  727. 177
    0
      src/vhdl/iirs_walk.adb
  728. 53
    0
      src/vhdl/iirs_walk.ads
  729. 452
    0
      src/vhdl/nodes.adb
  730. 320
    0
      src/vhdl/nodes.ads
  731. 524
    0
      src/vhdl/nodes_gc.adb
  732. 159
    0
      src/vhdl/nodes_gc.adb.in
  733. 29
    0
      src/vhdl/nodes_gc.ads
  734. 10668
    0
      src/vhdl/nodes_meta.adb
  735. 89
    0
      src/vhdl/nodes_meta.adb.in
  736. 912
    0
      src/vhdl/nodes_meta.ads
  737. 73
    0
      src/vhdl/nodes_meta.ads.in
  738. 9381
    0
      src/vhdl/parse.adb
  739. 55
    0
      src/vhdl/parse.ads
  740. 692
    0
      src/vhdl/parse_psl.adb
  741. 30
    0
      src/vhdl/parse_psl.ads
  742. 82
    0
      src/vhdl/post_sems.adb
  743. 25
    0
      src/vhdl/post_sems.ads
  744. 16
    0
      src/vhdl/psl-errors.ads
  745. 41
    0
      src/vhdl/python/grt-modules.adb
  746. 100
    0
      src/vhdl/python/libghdl.adb
  747. 33
    0
      src/vhdl/python/libghdl.ads
  748. 23
    0
      src/vhdl/python/libghdl/__init__.py
  749. 234
    0
      src/vhdl/python/libghdl/thin.py
  750. 277
    0
      src/vhdl/python/libghdl/thinutils.py
  751. 221
    0
      src/vhdl/python/pnodespy.py
  752. 98
    0
      src/vhdl/scanner-directive_protect.adb
  753. 312
    0
      src/vhdl/scanner-scan_literal.adb
  754. 2208
    0
      src/vhdl/scanner.adb
  755. 128
    0
      src/vhdl/scanner.ads
  756. 3278
    0
      src/vhdl/sem.adb
  757. 92
    0
      src/vhdl/sem.ads
  758. 2539
    0
      src/vhdl/sem_assocs.adb
  759. 68
    0
      src/vhdl/sem_assocs.ads
  760. 3268
    0
      src/vhdl/sem_decls.adb
  761. 105
    0
      src/vhdl/sem_decls.ads
  762. 4824
    0
      src/vhdl/sem_expr.adb
  763. 268
    0
      src/vhdl/sem_expr.ads
  764. 1161
    0
      src/vhdl/sem_inst.adb
  765. 36
    0
      src/vhdl/sem_inst.ads
  766. 4261
    0
      src/vhdl/sem_names.adb
  767. 162
    0
      src/vhdl/sem_names.ads
  768. 805
    0
      src/vhdl/sem_psl.adb
  769. 31
    0
      src/vhdl/sem_psl.ads
  770. 1636
    0
      src/vhdl/sem_scopes.adb
  771. 210
    0
      src/vhdl/sem_scopes.ads
  772. 1869
    0
      src/vhdl/sem_specs.adb
  773. 99
    0
      src/vhdl/sem_specs.ads
  774. 2171
    0
      src/vhdl/sem_stmts.adb
  775. 58
    0
      src/vhdl/sem_stmts.ads
  776. 2325
    0
      src/vhdl/sem_types.adb
  777. 61
    0
      src/vhdl/sem_types.ads
  778. 147
    0
      src/vhdl/simulate/areapools.adb
  779. 87
    0
      src/vhdl/simulate/areapools.ads
  780. 1265
    0
      src/vhdl/simulate/simul-annotations.adb
  781. 44
    0
      src/vhdl/simulate/simul-annotations.ads
  782. 85
    0
      src/vhdl/simulate/simul-debugger-ams.adb
  783. 28
    0
      src/vhdl/simulate/simul-debugger-ams.ads
  784. 2313
    0
      src/vhdl/simulate/simul-debugger.adb
  785. 91
    0
      src/vhdl/simulate/simul-debugger.ads
  786. 199
    0
      src/vhdl/simulate/simul-elaboration-ams.adb
  787. 163
    0
      src/vhdl/simulate/simul-elaboration-ams.ads
  788. 3063
    0
      src/vhdl/simulate/simul-elaboration.adb
  789. 175
    0
      src/vhdl/simulate/simul-elaboration.ads
  790. 1125
    0
      src/vhdl/simulate/simul-environments.adb
  791. 527
    0
      src/vhdl/simulate/simul-environments.ads
  792. 4944
    0
      src/vhdl/simulate/simul-execution.adb
  793. 206
    0
      src/vhdl/simulate/simul-execution.ads
  794. 384
    0
      src/vhdl/simulate/simul-file_operation.adb
  795. 89
    0
      src/vhdl/simulate/simul-file_operation.ads
  796. 44
    0
      src/vhdl/simulate/simul-grt_interface.adb
  797. 27
    0
      src/vhdl/simulate/simul-grt_interface.ads
  798. 1145
    0
      src/vhdl/simulate/simul-simulation-main.adb
  799. 4
    0
      src/vhdl/simulate/simul-simulation-main.ads
  800. 720
    0
      src/vhdl/simulate/simul-simulation.adb
  801. 136
    0
      src/vhdl/simulate/simul-simulation.ads
  802. 21
    0
      src/vhdl/simulate/simul.ads
  803. 1284
    0
      src/vhdl/std_package.adb
  804. 196
    0
      src/vhdl/std_package.ads
  805. 455
    0
      src/vhdl/tokens.adb
  806. 297
    0
      src/vhdl/tokens.ads
  807. 45
    0
      src/vhdl/translate/Makefile
  808. 516
    0
      src/vhdl/translate/ortho_front.adb
  809. 970
    0
      src/vhdl/translate/trans-chap1.adb
  810. 40
    0
      src/vhdl/translate/trans-chap1.ads
  811. 766
    0
      src/vhdl/translate/trans-chap12.adb
  812. 35
    0
      src/vhdl/translate/trans-chap12.ads
  813. 909
    0
      src/vhdl/translate/trans-chap14.adb
  814. 69
    0
      src/vhdl/translate/trans-chap14.ads
  815. 1757
    0
      src/vhdl/translate/trans-chap2.adb
  816. 54
    0
      src/vhdl/translate/trans-chap2.ads
  817. 3504
    0
      src/vhdl/translate/trans-chap3.adb
  818. 284
    0
      src/vhdl/translate/trans-chap3.ads
  819. 3136
    0
      src/vhdl/translate/trans-chap4.adb
  820. 146
    0
      src/vhdl/translate/trans-chap4.ads
  821. 887
    0
      src/vhdl/translate/trans-chap5.adb
  822. 62
    0
      src/vhdl/translate/trans-chap5.ads
  823. 1312
    0
      src/vhdl/translate/trans-chap6.adb
  824. 85
    0
      src/vhdl/translate/trans-chap6.ads
  825. 5995
    0
      src/vhdl/translate/trans-chap7.adb
  826. 153
    0
      src/vhdl/translate/trans-chap7.ads
  827. 4545
    0
      src/vhdl/translate/trans-chap8.adb
  828. 95
    0
      src/vhdl/translate/trans-chap8.ads
  829. 2717
    0
      src/vhdl/translate/trans-chap9.adb
  830. 49
    0
      src/vhdl/translate/trans-chap9.ads
  831. 109
    0
      src/vhdl/translate/trans-foreach_non_composite.adb
  832. 64
    0
      src/vhdl/translate/trans-foreach_non_composite.ads
  833. 297
    0
      src/vhdl/translate/trans-helpers2.adb
  834. 74
    0
      src/vhdl/translate/trans-helpers2.ads
  835. 58
    0
      src/vhdl/translate/trans-preelab.adb
  836. 26
    0
      src/vhdl/translate/trans-preelab.ads
  837. 3038
    0
      src/vhdl/translate/trans-rtis.adb
  838. 144
    0
      src/vhdl/translate/trans-rtis.ads
  839. 2132
    0
      src/vhdl/translate/trans.adb
  840. 1945
    0
      src/vhdl/translate/trans.ads
  841. 255
    0
      src/vhdl/translate/trans_analyzes.adb
  842. 31
    0
      src/vhdl/translate/trans_analyzes.ads
  843. 75
    0
      src/vhdl/translate/trans_be.adb
  844. 21
    0
      src/vhdl/translate/trans_be.ads
  845. 269
    0
      src/vhdl/translate/trans_decls.ads
  846. 2063
    0
      src/vhdl/translate/translation.adb
  847. 120
    0
      src/vhdl/translate/translation.ads
  848. 285
    0
      src/vhdl/xrefs.adb
  849. 115
    0
      src/vhdl/xrefs.ads
  850. 908
    0
      src/xtools/pnodes.py

+ 78
- 0
.gdbinit View File

@@ -0,0 +1,78 @@
1
+# Gdb commands useful to debug ghdl
2
+
3
+define pt
4
+call disp_tree.disp_iir ($arg0, 1, 10)
5
+end
6
+
7
+document pt
8
+Print the structure of the iirs that is $arg0.
9
+end
10
+
11
+define ptf
12
+call disp_tree.disp_iir ($arg0, 1, 0)
13
+end
14
+
15
+document ptf
16
+Print the iirs that is $arg0.
17
+end
18
+
19
+define pt1
20
+call disp_tree.disp_iir ($arg0, 1, 1)
21
+end
22
+
23
+define prt
24
+set lang c
25
+print (iirs__iir *) $
26
+set lang ada
27
+end
28
+
29
+define pl
30
+call disp_iir_list ($arg0, 0, 0)
31
+end
32
+
33
+define psrc
34
+  call debug_source_loc (nodes.get_location ($arg0))
35
+end
36
+
37
+document pl
38
+Print the list of iirs that is $arg0.
39
+end
40
+
41
+define plf
42
+call disp_iir_list ($arg0, 0, 1)
43
+end
44
+
45
+document plf
46
+Print flatly the list of iirs that is $arg0.
47
+end
48
+
49
+define ptc
50
+call disp_tree.disp_chain ($arg0, 0, 0)
51
+end
52
+
53
+document ptc
54
+Print the chain of iirs that is $arg0
55
+end
56
+
57
+define pv
58
+call disp_value ($arg0)
59
+end
60
+
61
+document pv
62
+Print the value that is $.
63
+end
64
+
65
+define ploc
66
+call disp_iir_location ($arg0)
67
+end
68
+
69
+document ploc
70
+Print the location for iir $.
71
+end
72
+
73
+set lang ada
74
+
75
+# Must be the last command: some distributions use a shared libgnat by default,
76
+# and don't have the minimal required set of debug info to support this command.
77
+# As a result, this command fails and stop this script.
78
+catch exception

+ 41
- 0
.gitignore View File

@@ -0,0 +1,41 @@
1
+*~
2
+*.ali
3
+*.o
4
+b~*.ad?
5
+*.v87
6
+*.v93
7
+*.v08
8
+*.cf
9
+.gdb_history
10
+*.pyc
11
+
12
+testsuite/get_entities
13
+
14
+# Generated files on windows.
15
+build/
16
+dist/mcode/build/
17
+dist/mcode/lib/
18
+
19
+# Generated directories on Linux
20
+lib/
21
+
22
+# Generated files on Linux
23
+/Makefile
24
+libghdlvpi.so
25
+version.ads
26
+version.tmp
27
+config.status
28
+default_paths.ads
29
+elf_arch.ads
30
+ghdl.gpr
31
+ghdl1-*
32
+ghdl_llvm
33
+grt-backtraces-impl.ads
34
+grt-files
35
+grt-files.in
36
+grt.lst
37
+libgrt.a
38
+run-bind.adb
39
+run-bind.ads
40
+src/version.ads
41
+doc/_build/

+ 5
- 0
.readthedocs.yml View File

@@ -0,0 +1,5 @@
1
+#formats:
2
+#  - pdf
3
+requirements_file: doc/requirements.txt
4
+python:
5
+  version: 3

+ 62
- 0
.travis.yml View File

@@ -0,0 +1,62 @@
1
+branches:
2
+  except:
3
+  - appveyor
4
+
5
+language: c
6
+
7
+matrix:
8
+  include:
9
+    - os: linux
10
+      dist: trusty
11
+      sudo: required
12
+      services: docker
13
+      env: IMAGE=stretch+mcode
14
+    - os: linux
15
+      dist: trusty
16
+      sudo: required
17
+      services: docker
18
+      env: IMAGE=stretch+mcode+gpl
19
+    - os: linux
20
+      dist: trusty
21
+      sudo: required
22
+      services: docker
23
+      env: IMAGE=ubuntu14+mcode
24
+    - os: linux
25
+      dist: trusty
26
+      sudo: required
27
+      services: docker
28
+      env: IMAGE=ubuntu14+llvm-3.8
29
+    - os: linux
30
+      dist: trusty
31
+      sudo: required
32
+      services: docker
33
+      env: IMAGE=fedora26+mcode
34
+    - os: osx
35
+      osx_image: xcode7.3
36
+      env: IMAGE=macosx+mcode
37
+      cache:
38
+        directories:
39
+          - gnat
40
+
41
+install: true
42
+
43
+script:
44
+- ./dist/linux/travis-ci.sh
45
+
46
+before_deploy:
47
+- "echo ready to deploy"
48
+
49
+deploy:
50
+  - provider: releases
51
+    skip_cleanup: true
52
+    api_key:
53
+      secure: ji6LXOmD5V2N+ELHZr4oJsmxPhedk+8W6jfCqQdEbewQ42N+fKOq3lgqJni7ZdfpZaulB9OHPTApv3bwOjXjtN9rfBGmq//U9CwvzHmUeomdQv6WQOVevaWSXl3DNL9fk3yKynyFrsv4pvr45L8GIjaHLggKcYhNFPJ2rrnJlDoFT9MqQNpmP7Bg/LnwVQiv+ZDPkLlMWQzrXzLamdQILARPQka+kCdXl/sHH6OKvLgRvu9yvyXYSSfbyAHP+THISS5gDciizSBeWGlU75kgj/N+mkV+8NvtTTfEIgG8y49WJz6aBooTmRzk/jZW1dKMbDR6c5bpTmRvMZSzeSBuAR6WLhr6HevgCPi/1fX1y3pkVSrgBUF5KcxPgWCZp0I05QjaJOdvQDl1hH4TlVwpT18lM2+cWrui9fS7spnk/AuNKX882C5QWWRy28lIPasCVnwfeKX8a9KAwY9OqVOenoLC1yx7NJOGfH1bjuSYYxyR4XgLiGTHKALAuknCyD9QL0o378IwqxHMcsN0Gsd+GndMu0/b8GvSqfzDpV1XknqabQFwkZLs+Yydw0snfBUzXw9TfOk78IiPYEgXAxsQKBAkK7qvO36HIxLlSQXglXU1D4IDtQYDUel6vKll4pgu0WMxStQCbj51yDVJKvRhzwiBNC6Pwgzt2JTrpwM/T/U=
54
+    file: "ghdl-*.tgz"
55
+    file_glob: true
56
+    on:
57
+      repo: tgingold/ghdl
58
+      tags: true
59
+      all_branches: true
60
+
61
+after_deploy:
62
+- "echo deployed"

+ 340
- 0
COPYING View File

@@ -0,0 +1,340 @@
1
+		    GNU GENERAL PUBLIC LICENSE
2
+		       Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+			    Preamble
10
+
11
+  The licenses for most software are designed to take away your
12
+freedom to share and change it.  By contrast, the GNU General Public
13
+License is intended to guarantee your freedom to share and change free
14
+software--to make sure the software is free for all its users.  This
15
+General Public License applies to most of the Free Software
16
+Foundation's software and to any other program whose authors commit to
17
+using it.  (Some other Free Software Foundation software is covered by
18
+the GNU Library General Public License instead.)  You can apply it to
19
+your programs, too.
20
+
21
+  When we speak of free software, we are referring to freedom, not
22
+price.  Our General Public Licenses are designed to make sure that you
23
+have the freedom to distribute copies of free software (and charge for
24
+this service if you wish), that you receive source code or can get it
25
+if you want it, that you can change the software or use pieces of it
26
+in new free programs; and that you know you can do these things.
27
+
28
+  To protect your rights, we need to make restrictions that forbid
29
+anyone to deny you these rights or to ask you to surrender the rights.
30
+These restrictions translate to certain responsibilities for you if you
31
+distribute copies of the software, or if you modify it.
32
+
33
+  For example, if you distribute copies of such a program, whether
34
+gratis or for a fee, you must give the recipients all the rights that
35
+you have.  You must make sure that they, too, receive or can get the
36
+source code.  And you must show them these terms so they know their
37
+rights.
38
+
39
+  We protect your rights with two steps: (1) copyright the software, and
40
+(2) offer you this license which gives you legal permission to copy,
41
+distribute and/or modify the software.
42
+
43
+  Also, for each author's protection and ours, we want to make certain
44
+that everyone understands that there is no warranty for this free
45
+software.  If the software is modified by someone else and passed on, we
46
+want its recipients to know that what they have is not the original, so
47
+that any problems introduced by others will not reflect on the original
48
+authors' reputations.
49
+
50
+  Finally, any free program is threatened constantly by software
51
+patents.  We wish to avoid the danger that redistributors of a free
52
+program will individually obtain patent licenses, in effect making the
53
+program proprietary.  To prevent this, we have made it clear that any
54
+patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+  The precise terms and conditions for copying, distribution and
57
+modification follow.
58
+
59
+		    GNU GENERAL PUBLIC LICENSE
60
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+  0. This License applies to any program or other work which contains
63
+a notice placed by the copyright holder saying it may be distributed
64
+under the terms of this General Public License.  The "Program", below,
65
+refers to any such program or work, and a "work based on the Program"
66
+means either the Program or any derivative work under copyright law:
67
+that is to say, a work containing the Program or a portion of it,
68
+either verbatim or with modifications and/or translated into another
69
+language.  (Hereinafter, translation is included without limitation in
70
+the term "modification".)  Each licensee is addressed as "you".
71
+
72
+Activities other than copying, distribution and modification are not
73
+covered by this License; they are outside its scope.  The act of
74
+running the Program is not restricted, and the output from the Program
75
+is covered only if its contents constitute a work based on the
76
+Program (independent of having been made by running the Program).
77
+Whether that is true depends on what the Program does.
78
+
79
+  1. You may copy and distribute verbatim copies of the Program's
80
+source code as you receive it, in any medium, provided that you
81
+conspicuously and appropriately publish on each copy an appropriate
82
+copyright notice and disclaimer of warranty; keep intact all the
83
+notices that refer to this License and to the absence of any warranty;
84
+and give any other recipients of the Program a copy of this License
85
+along with the Program.
86
+
87
+You may charge a fee for the physical act of transferring a copy, and
88
+you may at your option offer warranty protection in exchange for a fee.
89
+
90
+  2. You may modify your copy or copies of the Program or any portion
91
+of it, thus forming a work based on the Program, and copy and
92
+distribute such modifications or work under the terms of Section 1
93
+above, provided that you also meet all of these conditions:
94
+
95
+    a) You must cause the modified files to carry prominent notices
96
+    stating that you changed the files and the date of any change.
97
+
98
+    b) You must cause any work that you distribute or publish, that in
99
+    whole or in part contains or is derived from the Program or any
100
+    part thereof, to be licensed as a whole at no charge to all third
101
+    parties under the terms of this License.
102
+
103
+    c) If the modified program normally reads commands interactively
104
+    when run, you must cause it, when started running for such
105
+    interactive use in the most ordinary way, to print or display an
106
+    announcement including an appropriate copyright notice and a
107
+    notice that there is no warranty (or else, saying that you provide
108
+    a warranty) and that users may redistribute the program under
109
+    these conditions, and telling the user how to view a copy of this
110
+    License.  (Exception: if the Program itself is interactive but
111
+    does not normally print such an announcement, your work based on
112
+    the Program is not required to print an announcement.)
113
+
114
+These requirements apply to the modified work as a whole.  If
115
+identifiable sections of that work are not derived from the Program,
116
+and can be reasonably considered independent and separate works in
117
+themselves, then this License, and its terms, do not apply to those
118
+sections when you distribute them as separate works.  But when you
119
+distribute the same sections as part of a whole which is a work based
120
+on the Program, the distribution of the whole must be on the terms of
121
+this License, whose permissions for other licensees extend to the
122
+entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+Thus, it is not the intent of this section to claim rights or contest
125
+your rights to work written entirely by you; rather, the intent is to
126
+exercise the right to control the distribution of derivative or
127
+collective works based on the Program.
128
+
129
+In addition, mere aggregation of another work not based on the Program
130
+with the Program (or with a work based on the Program) on a volume of
131
+a storage or distribution medium does not bring the other work under
132
+the scope of this License.
133
+
134
+  3. You may copy and distribute the Program (or a work based on it,
135
+under Section 2) in object code or executable form under the terms of
136
+Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+    a) Accompany it with the complete corresponding machine-readable
139
+    source code, which must be distributed under the terms of Sections
140
+    1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+    b) Accompany it with a written offer, valid for at least three
143
+    years, to give any third party, for a charge no more than your
144
+    cost of physically performing source distribution, a complete
145
+    machine-readable copy of the corresponding source code, to be
146
+    distributed under the terms of Sections 1 and 2 above on a medium
147
+    customarily used for software interchange; or,
148
+
149
+    c) Accompany it with the information you received as to the offer
150
+    to distribute corresponding source code.  (This alternative is
151
+    allowed only for noncommercial distribution and only if you
152
+    received the program in object code or executable form with such
153
+    an offer, in accord with Subsection b above.)
154
+
155
+The source code for a work means the preferred form of the work for
156
+making modifications to it.  For an executable work, complete source
157
+code means all the source code for all modules it contains, plus any
158
+associated interface definition files, plus the scripts used to
159
+control compilation and installation of the executable.  However, as a
160
+special exception, the source code distributed need not include
161
+anything that is normally distributed (in either source or binary
162
+form) with the major components (compiler, kernel, and so on) of the
163
+operating system on which the executable runs, unless that component
164
+itself accompanies the executable.
165
+
166
+If distribution of executable or object code is made by offering
167
+access to copy from a designated place, then offering equivalent
168
+access to copy the source code from the same place counts as
169
+distribution of the source code, even though third parties are not
170
+compelled to copy the source along with the object code.
171
+
172
+  4. You may not copy, modify, sublicense, or distribute the Program
173
+except as expressly provided under this License.  Any attempt
174
+otherwise to copy, modify, sublicense or distribute the Program is
175
+void, and will automatically terminate your rights under this License.
176
+However, parties who have received copies, or rights, from you under
177
+this License will not have their licenses terminated so long as such
178
+parties remain in full compliance.
179
+
180
+  5. You are not required to accept this License, since you have not
181
+signed it.  However, nothing else grants you permission to modify or
182
+distribute the Program or its derivative works.  These actions are
183
+prohibited by law if you do not accept this License.  Therefore, by
184
+modifying or distributing the Program (or any work based on the
185
+Program), you indicate your acceptance of this License to do so, and
186
+all its terms and conditions for copying, distributing or modifying
187
+the Program or works based on it.
188
+
189
+  6. Each time you redistribute the Program (or any work based on the
190
+Program), the recipient automatically receives a license from the
191
+original licensor to copy, distribute or modify the Program subject to
192
+these terms and conditions.  You may not impose any further
193
+restrictions on the recipients' exercise of the rights granted herein.
194
+You are not responsible for enforcing compliance by third parties to
195
+this License.
196
+
197
+  7. If, as a consequence of a court judgment or allegation of patent
198
+infringement or for any other reason (not limited to patent issues),
199
+conditions are imposed on you (whether by court order, agreement or
200
+otherwise) that contradict the conditions of this License, they do not
201
+excuse you from the conditions of this License.  If you cannot
202
+distribute so as to satisfy simultaneously your obligations under this
203
+License and any other pertinent obligations, then as a consequence you
204
+may not distribute the Program at all.  For example, if a patent
205
+license would not permit royalty-free redistribution of the Program by
206
+all those who receive copies directly or indirectly through you, then
207
+the only way you could satisfy both it and this License would be to
208
+refrain entirely from distribution of the Program.
209
+
210
+If any portion of this section is held invalid or unenforceable under
211
+any particular circumstance, the balance of the section is intended to
212
+apply and the section as a whole is intended to apply in other
213
+circumstances.
214
+
215
+It is not the purpose of this section to induce you to infringe any
216
+patents or other property right claims or to contest validity of any
217
+such claims; this section has the sole purpose of protecting the
218
+integrity of the free software distribution system, which is
219
+implemented by public license practices.  Many people have made
220
+generous contributions to the wide range of software distributed
221
+through that system in reliance on consistent application of that
222
+system; it is up to the author/donor to decide if he or she is willing
223
+to distribute software through any other system and a licensee cannot
224
+impose that choice.
225
+
226
+This section is intended to make thoroughly clear what is believed to
227
+be a consequence of the rest of this License.
228
+
229
+  8. If the distribution and/or use of the Program is restricted in
230
+certain countries either by patents or by copyrighted interfaces, the
231
+original copyright holder who places the Program under this License
232
+may add an explicit geographical distribution limitation excluding
233
+those countries, so that distribution is permitted only in or among
234
+countries not thus excluded.  In such case, this License incorporates
235
+the limitation as if written in the body of this License.
236
+
237
+  9. The Free Software Foundation may publish revised and/or new versions
238
+of the General Public License from time to time.  Such new versions will
239
+be similar in spirit to the present version, but may differ in detail to
240
+address new problems or concerns.
241
+
242
+Each version is given a distinguishing version number.  If the Program
243
+specifies a version number of this License which applies to it and "any
244
+later version", you have the option of following the terms and conditions
245
+either of that version or of any later version published by the Free
246
+Software Foundation.  If the Program does not specify a version number of
247
+this License, you may choose any version ever published by the Free Software
248
+Foundation.
249
+
250
+  10. If you wish to incorporate parts of the Program into other free
251
+programs whose distribution conditions are different, write to the author
252
+to ask for permission.  For software which is copyrighted by the Free
253
+Software Foundation, write to the Free Software Foundation; we sometimes
254
+make exceptions for this.  Our decision will be guided by the two goals
255
+of preserving the free status of all derivatives of our free software and
256
+of promoting the sharing and reuse of software generally.
257
+
258
+			    NO WARRANTY
259
+
260
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+REPAIR OR CORRECTION.
269
+
270
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+POSSIBILITY OF SUCH DAMAGES.
279
+
280
+		     END OF TERMS AND CONDITIONS
281
+
282
+	    How to Apply These Terms to Your New Programs
283
+
284
+  If you develop a new program, and you want it to be of the greatest
285
+possible use to the public, the best way to achieve this is to make it
286
+free software which everyone can redistribute and change under these terms.
287
+
288
+  To do so, attach the following notices to the program.  It is safest
289
+to attach them to the start of each source file to most effectively
290
+convey the exclusion of warranty; and each file should have at least
291
+the "copyright" line and a pointer to where the full notice is found.
292
+
293
+    <one line to give the program's name and a brief idea of what it does.>
294
+    Copyright (C) <year>  <name of author>
295
+
296
+    This program is free software; you can redistribute it and/or modify
297
+    it under the terms of the GNU General Public License as published by
298
+    the Free Software Foundation; either version 2 of the License, or
299
+    (at your option) any later version.
300
+
301
+    This program is distributed in the hope that it will be useful,
302
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
+    GNU General Public License for more details.
305
+
306
+    You should have received a copy of the GNU General Public License
307
+    along with this program; if not, write to the Free Software
308
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
309
+
310
+
311
+Also add information on how to contact you by electronic and paper mail.
312
+
313
+If the program is interactive, make it output a short notice like this
314
+when it starts in an interactive mode:
315
+
316
+    Gnomovision version 69, Copyright (C) year  name of author
317
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+    This is free software, and you are welcome to redistribute it
319
+    under certain conditions; type `show c' for details.
320
+
321
+The hypothetical commands `show w' and `show c' should show the appropriate
322
+parts of the General Public License.  Of course, the commands you use may
323
+be called something other than `show w' and `show c'; they could even be
324
+mouse-clicks or menu items--whatever suits your program.
325
+
326
+You should also get your employer (if you work as a programmer) or your
327
+school, if any, to sign a "copyright disclaimer" for the program, if
328
+necessary.  Here is a sample; alter the names:
329
+
330
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+  <signature of Ty Coon>, 1 April 1989
334
+  Ty Coon, President of Vice
335
+
336
+This General Public License does not permit incorporating your program into
337
+proprietary programs.  If your program is a subroutine library, you may
338
+consider it more useful to permit linking proprietary applications with the
339
+library.  If this is what you want to do, use the GNU Library General
340
+Public License instead of this License.

+ 791
- 0
COPYING.md View File

@@ -0,0 +1,791 @@
1
+## GNU GENERAL PUBLIC LICENSE
2
+
3
+Version 2, June 1991
4
+
5
+    Copyright (C) 1989, 1991 Free Software Foundation, Inc.  
6
+    51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
7
+
8
+    Everyone is permitted to copy and distribute verbatim copies
9
+    of this license document, but changing it is not allowed.
10
+
11
+### Preamble
12
+
13
+The licenses for most software are designed to take away your freedom
14
+to share and change it. By contrast, the GNU General Public License is
15
+intended to guarantee your freedom to share and change free
16
+software--to make sure the software is free for all its users. This
17
+General Public License applies to most of the Free Software
18
+Foundation's software and to any other program whose authors commit to
19
+using it. (Some other Free Software Foundation software is covered by
20
+the GNU Lesser General Public License instead.) You can apply it to
21
+your programs, too.
22
+
23
+When we speak of free software, we are referring to freedom, not
24
+price. Our General Public Licenses are designed to make sure that you
25
+have the freedom to distribute copies of free software (and charge for
26
+this service if you wish), that you receive source code or can get it
27
+if you want it, that you can change the software or use pieces of it
28
+in new free programs; and that you know you can do these things.
29
+
30
+To protect your rights, we need to make restrictions that forbid
31
+anyone to deny you these rights or to ask you to surrender the rights.
32
+These restrictions translate to certain responsibilities for you if
33
+you distribute copies of the software, or if you modify it.
34
+
35
+For example, if you distribute copies of such a program, whether
36
+gratis or for a fee, you must give the recipients all the rights that
37
+you have. You must make sure that they, too, receive or can get the
38
+source code. And you must show them these terms so they know their
39
+rights.
40
+
41
+We protect your rights with two steps: (1) copyright the software, and
42
+(2) offer you this license which gives you legal permission to copy,
43
+distribute and/or modify the software.
44
+
45
+Also, for each author's protection and ours, we want to make certain
46
+that everyone understands that there is no warranty for this free
47
+software. If the software is modified by someone else and passed on,
48
+we want its recipients to know that what they have is not the
49
+original, so that any problems introduced by others will not reflect
50
+on the original authors' reputations.
51
+
52
+Finally, any free program is threatened constantly by software
53
+patents. We wish to avoid the danger that redistributors of a free
54
+program will individually obtain patent licenses, in effect making the
55
+program proprietary. To prevent this, we have made it clear that any
56
+patent must be licensed for everyone's free use or not licensed at
57
+all.
58
+
59
+The precise terms and conditions for copying, distribution and
60
+modification follow.
61
+
62
+### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
63
+
64
+**0.** This License applies to any program or other work which
65
+contains a notice placed by the copyright holder saying it may be
66
+distributed under the terms of this General Public License. The
67
+"Program", below, refers to any such program or work, and a "work
68
+based on the Program" means either the Program or any derivative work
69
+under copyright law: that is to say, a work containing the Program or
70
+a portion of it, either verbatim or with modifications and/or
71
+translated into another language. (Hereinafter, translation is
72
+included without limitation in the term "modification".) Each licensee
73
+is addressed as "you".
74
+
75
+Activities other than copying, distribution and modification are not
76
+covered by this License; they are outside its scope. The act of
77
+running the Program is not restricted, and the output from the Program
78
+is covered only if its contents constitute a work based on the Program
79
+(independent of having been made by running the Program). Whether that
80
+is true depends on what the Program does.
81
+
82
+**1.** You may copy and distribute verbatim copies of the Program's
83
+source code as you receive it, in any medium, provided that you
84
+conspicuously and appropriately publish on each copy an appropriate
85
+copyright notice and disclaimer of warranty; keep intact all the
86
+notices that refer to this License and to the absence of any warranty;
87
+and give any other recipients of the Program a copy of this License
88
+along with the Program.
89
+
90
+You may charge a fee for the physical act of transferring a copy, and
91
+you may at your option offer warranty protection in exchange for a
92
+fee.
93
+
94
+**2.** You may modify your copy or copies of the Program or any
95
+portion of it, thus forming a work based on the Program, and copy and
96
+distribute such modifications or work under the terms of Section 1
97
+above, provided that you also meet all of these conditions:
98
+
99
+  
100
+**a)** You must cause the modified files to carry prominent notices
101
+stating that you changed the files and the date of any change.
102
+
103
+  
104
+**b)** You must cause any work that you distribute or publish, that in
105
+whole or in part contains or is derived from the Program or any part
106
+thereof, to be licensed as a whole at no charge to all third parties
107
+under the terms of this License.
108
+
109
+  
110
+**c)** If the modified program normally reads commands interactively
111
+when run, you must cause it, when started running for such interactive
112
+use in the most ordinary way, to print or display an announcement
113
+including an appropriate copyright notice and a notice that there is
114
+no warranty (or else, saying that you provide a warranty) and that
115
+users may redistribute the program under these conditions, and telling
116
+the user how to view a copy of this License. (Exception: if the
117
+Program itself is interactive but does not normally print such an
118
+announcement, your work based on the Program is not required to print
119
+an announcement.)
120
+
121
+These requirements apply to the modified work as a whole. If
122
+identifiable sections of that work are not derived from the Program,
123
+and can be reasonably considered independent and separate works in
124
+themselves, then this License, and its terms, do not apply to those
125
+sections when you distribute them as separate works. But when you
126
+distribute the same sections as part of a whole which is a work based
127
+on the Program, the distribution of the whole must be on the terms of
128
+this License, whose permissions for other licensees extend to the
129
+entire whole, and thus to each and every part regardless of who wrote
130
+it.
131
+
132
+Thus, it is not the intent of this section to claim rights or contest
133
+your rights to work written entirely by you; rather, the intent is to
134
+exercise the right to control the distribution of derivative or
135
+collective works based on the Program.
136
+
137
+In addition, mere aggregation of another work not based on the Program
138
+with the Program (or with a work based on the Program) on a volume of
139
+a storage or distribution medium does not bring the other work under
140
+the scope of this License.
141
+
142
+**3.** You may copy and distribute the Program (or a work based on it,
143
+under Section 2) in object code or executable form under the terms of
144
+Sections 1 and 2 above provided that you also do one of the following:
145
+
146
+  
147
+**a)** Accompany it with the complete corresponding machine-readable
148
+source code, which must be distributed under the terms of Sections 1
149
+and 2 above on a medium customarily used for software interchange; or,
150
+
151
+  
152
+**b)** Accompany it with a written offer, valid for at least three
153
+years, to give any third party, for a charge no more than your cost of
154
+physically performing source distribution, a complete machine-readable
155
+copy of the corresponding source code, to be distributed under the
156
+terms of Sections 1 and 2 above on a medium customarily used for
157
+software interchange; or,
158
+
159
+  
160
+**c)** Accompany it with the information you received as to the offer
161
+to distribute corresponding source code. (This alternative is allowed
162
+only for noncommercial distribution and only if you received the
163
+program in object code or executable form with such an offer, in
164
+accord with Subsection b above.)
165
+
166
+The source code for a work means the preferred form of the work for
167
+making modifications to it. For an executable work, complete source
168
+code means all the source code for all modules it contains, plus any
169
+associated interface definition files, plus the scripts used to
170
+control compilation and installation of the executable. However, as a
171
+special exception, the source code distributed need not include
172
+anything that is normally distributed (in either source or binary
173
+form) with the major components (compiler, kernel, and so on) of the
174
+operating system on which the executable runs, unless that component
175
+itself accompanies the executable.
176
+
177
+If distribution of executable or object code is made by offering
178
+access to copy from a designated place, then offering equivalent
179
+access to copy the source code from the same place counts as
180
+distribution of the source code, even though third parties are not
181
+compelled to copy the source along with the object code.
182
+
183
+**4.** You may not copy, modify, sublicense, or distribute the Program
184
+except as expressly provided under this License. Any attempt otherwise
185
+to copy, modify, sublicense or distribute the Program is void, and
186
+will automatically terminate your rights under this License. However,
187
+parties who have received copies, or rights, from you under this
188
+License will not have their licenses terminated so long as such
189
+parties remain in full compliance.
190
+
191
+**5.** You are not required to accept this License, since you have not
192
+signed it. However, nothing else grants you permission to modify or
193
+distribute the Program or its derivative works. These actions are
194
+prohibited by law if you do not accept this License. Therefore, by
195
+modifying or distributing the Program (or any work based on the
196
+Program), you indicate your acceptance of this License to do so, and
197
+all its terms and conditions for copying, distributing or modifying
198
+the Program or works based on it.
199
+
200
+**6.** Each time you redistribute the Program (or any work based on
201
+the Program), the recipient automatically receives a license from the
202
+original licensor to copy, distribute or modify the Program subject to
203
+these terms and conditions. You may not impose any further
204
+restrictions on the recipients' exercise of the rights granted herein.
205
+You are not responsible for enforcing compliance by third parties to
206
+this License.
207
+
208
+**7.** If, as a consequence of a court judgment or allegation of
209
+patent infringement or for any other reason (not limited to patent
210
+issues), conditions are imposed on you (whether by court order,
211
+agreement or otherwise) that contradict the conditions of this
212
+License, they do not excuse you from the conditions of this License.
213
+If you cannot distribute so as to satisfy simultaneously your
214
+obligations under this License and any other pertinent obligations,
215
+then as a consequence you may not distribute the Program at all. For
216
+example, if a patent license would not permit royalty-free
217
+redistribution of the Program by all those who receive copies directly
218
+or indirectly through you, then the only way you could satisfy both it
219
+and this License would be to refrain entirely from distribution of the
220
+Program.
221
+
222
+If any portion of this section is held invalid or unenforceable under
223
+any particular circumstance, the balance of the section is intended to
224
+apply and the section as a whole is intended to apply in other
225
+circumstances.
226
+
227
+It is not the purpose of this section to induce you to infringe any
228
+patents or other property right claims or to contest validity of any
229
+such claims; this section has the sole purpose of protecting the
230
+integrity of the free software distribution system, which is
231
+implemented by public license practices. Many people have made
232
+generous contributions to the wide range of software distributed
233
+through that system in reliance on consistent application of that
234
+system; it is up to the author/donor to decide if he or she is willing
235
+to distribute software through any other system and a licensee cannot
236
+impose that choice.
237
+
238
+This section is intended to make thoroughly clear what is believed to
239
+be a consequence of the rest of this License.
240
+
241
+**8.** If the distribution and/or use of the Program is restricted in
242
+certain countries either by patents or by copyrighted interfaces, the
243
+original copyright holder who places the Program under this License
244
+may add an explicit geographical distribution limitation excluding
245
+those countries, so that distribution is permitted only in or among
246
+countries not thus excluded. In such case, this License incorporates
247
+the limitation as if written in the body of this License.
248
+
249
+**9.** The Free Software Foundation may publish revised and/or new
250
+versions of the General Public License from time to time. Such new
251
+versions will be similar in spirit to the present version, but may
252
+differ in detail to address new problems or concerns.
253
+
254
+Each version is given a distinguishing version number. If the Program
255
+specifies a version number of this License which applies to it and
256
+"any later version", you have the option of following the terms and
257
+conditions either of that version or of any later version published by
258
+the Free Software Foundation. If the Program does not specify a
259
+version number of this License, you may choose any version ever
260
+published by the Free Software Foundation.
261
+
262
+**10.** If you wish to incorporate parts of the Program into other
263
+free programs whose distribution conditions are different, write to
264
+the author to ask for permission. For software which is copyrighted by
265
+the Free Software Foundation, write to the Free Software Foundation;
266
+we sometimes make exceptions for this. Our decision will be guided by
267
+the two goals of preserving the free status of all derivatives of our
268
+free software and of promoting the sharing and reuse of software
269
+generally.
270
+
271
+**NO WARRANTY**
272
+
273
+**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
274
+WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
275
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
276
+OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
277
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
278
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
279
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
280
+PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
281
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
282
+
283
+**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
284
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
285
+AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
286
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
287
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
288
+PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
289
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
290
+FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
291
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
292
+DAMAGES.
293
+
294
+### END OF TERMS AND CONDITIONS
295
+
296
+### How to Apply These Terms to Your New Programs
297
+
298
+If you develop a new program, and you want it to be of the greatest
299
+possible use to the public, the best way to achieve this is to make it
300
+free software which everyone can redistribute and change under these
301
+terms.
302
+
303
+To do so, attach the following notices to the program. It is safest to
304
+attach them to the start of each source file to most effectively
305
+convey the exclusion of warranty; and each file should have at least
306
+the "copyright" line and a pointer to where the full notice is found.
307
+
308
+    one line to give the program's name and an idea of what it does.
309
+    Copyright (C) yyyy  name of author
310
+
311
+    This program is free software; you can redistribute it and/or
312
+    modify it under the terms of the GNU General Public License
313
+    as published by the Free Software Foundation; either version 2
314
+    of the License, or (at your option) any later version.
315
+
316
+    This program is distributed in the hope that it will be useful,
317
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
318
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
319
+    GNU General Public License for more details.
320
+
321
+    You should have received a copy of the GNU General Public License
322
+    along with this program; if not, write to the Free Software
323
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
324
+
325
+Also add information on how to contact you by electronic and paper
326
+mail.
327
+
328
+If the program is interactive, make it output a short notice like this
329
+when it starts in an interactive mode:
330
+
331
+    Gnomovision version 69, Copyright (C) year name of author
332
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
333
+    type `show w'.  This is free software, and you are welcome
334
+    to redistribute it under certain conditions; type `show c' 
335
+    for details.
336
+
337
+The hypothetical commands \`show w' and \`show c' should show the
338
+appropriate parts of the General Public License. Of course, the
339
+commands you use may be called something other than \`show w' and
340
+\`show c'; they could even be mouse-clicks or menu items--whatever
341
+suits your program.
342
+
343
+You should also get your employer (if you work as a programmer) or
344
+your school, if any, to sign a "copyright disclaimer" for the program,
345
+if necessary. Here is a sample; alter the names:
346
+
347
+    Yoyodyne, Inc., hereby disclaims all copyright
348
+    interest in the program `Gnomovision'
349
+    (which makes passes at compilers) written 
350
+    by James Hacker.
351
+
352
+    signature of Ty Coon, 1 April 1989
353
+    Ty Coon, President of Vice
354
+
355
+This General Public License does not permit incorporating your program
356
+into proprietary programs. If your program is a subroutine library,
357
+you may consider it more useful to permit linking proprietary
358
+applications with the library. If this is what you want to do, use the
359
+[GNU Lesser General Public
360
+License](http://www.gnu.org/licenses/lgpl.html) instead of this
361
+
362
+---
363
+
364
+License.Attribution-ShareAlike 4.0 International
365
+
366
+=======================================================================
367
+
368
+Creative Commons Corporation ("Creative Commons") is not a law firm and
369
+does not provide legal services or legal advice. Distribution of
370
+Creative Commons public licenses does not create a lawyer-client or
371
+other relationship. Creative Commons makes its licenses and related
372
+information available on an "as-is" basis. Creative Commons gives no
373
+warranties regarding its licenses, any material licensed under their
374
+terms and conditions, or any related information. Creative Commons
375
+disclaims all liability for damages resulting from their use to the
376
+fullest extent possible.
377
+
378
+Using Creative Commons Public Licenses
379
+
380
+Creative Commons public licenses provide a standard set of terms and
381
+conditions that creators and other rights holders may use to share
382
+original works of authorship and other material subject to copyright
383
+and certain other rights specified in the public license below. The
384
+following considerations are for informational purposes only, are not
385
+exhaustive, and do not form part of our licenses.
386
+
387
+     Considerations for licensors: Our public licenses are
388
+     intended for use by those authorized to give the public
389
+     permission to use material in ways otherwise restricted by
390
+     copyright and certain other rights. Our licenses are
391
+     irrevocable. Licensors should read and understand the terms
392
+     and conditions of the license they choose before applying it.
393
+     Licensors should also secure all rights necessary before
394
+     applying our licenses so that the public can reuse the
395
+     material as expected. Licensors should clearly mark any
396
+     material not subject to the license. This includes other CC-
397
+     licensed material, or material used under an exception or
398
+     limitation to copyright. More considerations for licensors:
399
+	wiki.creativecommons.org/Considerations_for_licensors
400
+
401
+     Considerations for the public: By using one of our public
402
+     licenses, a licensor grants the public permission to use the
403
+     licensed material under specified terms and conditions. If
404
+     the licensor's permission is not necessary for any reason--for
405
+     example, because of any applicable exception or limitation to
406
+     copyright--then that use is not regulated by the license. Our
407
+     licenses grant only permissions under copyright and certain
408
+     other rights that a licensor has authority to grant. Use of
409
+     the licensed material may still be restricted for other
410
+     reasons, including because others have copyright or other
411
+     rights in the material. A licensor may make special requests,
412
+     such as asking that all changes be marked or described.
413
+     Although not required by our licenses, you are encouraged to
414
+     respect those requests where reasonable. More_considerations
415
+     for the public: 
416
+	wiki.creativecommons.org/Considerations_for_licensees
417
+
418
+=======================================================================
419
+
420
+Creative Commons Attribution-ShareAlike 4.0 International Public
421
+License
422
+
423
+By exercising the Licensed Rights (defined below), You accept and agree
424
+to be bound by the terms and conditions of this Creative Commons
425
+Attribution-ShareAlike 4.0 International Public License ("Public
426
+License"). To the extent this Public License may be interpreted as a
427
+contract, You are granted the Licensed Rights in consideration of Your
428
+acceptance of these terms and conditions, and the Licensor grants You
429
+such rights in consideration of benefits the Licensor receives from
430
+making the Licensed Material available under these terms and
431
+conditions.
432
+
433
+
434
+Section 1 -- Definitions.
435
+
436
+  a. Adapted Material means material subject to Copyright and Similar
437
+     Rights that is derived from or based upon the Licensed Material
438
+     and in which the Licensed Material is translated, altered,
439
+     arranged, transformed, or otherwise modified in a manner requiring
440
+     permission under the Copyright and Similar Rights held by the
441
+     Licensor. For purposes of this Public License, where the Licensed
442
+     Material is a musical work, performance, or sound recording,
443
+     Adapted Material is always produced where the Licensed Material is
444
+     synched in timed relation with a moving image.
445
+
446
+  b. Adapter's License means the license You apply to Your Copyright
447
+     and Similar Rights in Your contributions to Adapted Material in
448
+     accordance with the terms and conditions of this Public License.
449
+
450
+  c. BY-SA Compatible License means a license listed at
451
+     creativecommons.org/compatiblelicenses, approved by Creative
452
+     Commons as essentially the equivalent of this Public License.
453
+
454
+  d. Copyright and Similar Rights means copyright and/or similar rights
455
+     closely related to copyright including, without limitation,
456
+     performance, broadcast, sound recording, and Sui Generis Database
457
+     Rights, without regard to how the rights are labeled or
458
+     categorized. For purposes of this Public License, the rights
459
+     specified in Section 2(b)(1)-(2) are not Copyright and Similar
460
+     Rights.
461
+
462
+  e. Effective Technological Measures means those measures that, in the
463
+     absence of proper authority, may not be circumvented under laws
464
+     fulfilling obligations under Article 11 of the WIPO Copyright
465
+     Treaty adopted on December 20, 1996, and/or similar international
466
+     agreements.
467
+
468
+  f. Exceptions and Limitations means fair use, fair dealing, and/or
469
+     any other exception or limitation to Copyright and Similar Rights
470
+     that applies to Your use of the Licensed Material.
471
+
472
+  g. License Elements means the license attributes listed in the name
473
+     of a Creative Commons Public License. The License Elements of this
474
+     Public License are Attribution and ShareAlike.
475
+
476
+  h. Licensed Material means the artistic or literary work, database,
477
+     or other material to which the Licensor applied this Public
478
+     License.
479
+
480
+  i. Licensed Rights means the rights granted to You subject to the
481
+     terms and conditions of this Public License, which are limited to
482
+     all Copyright and Similar Rights that apply to Your use of the
483
+     Licensed Material and that the Licensor has authority to license.
484
+
485
+  j. Licensor means the individual(s) or entity(ies) granting rights
486
+     under this Public License.
487
+
488
+  k. Share means to provide material to the public by any means or
489
+     process that requires permission under the Licensed Rights, such
490
+     as reproduction, public display, public performance, distribution,
491
+     dissemination, communication, or importation, and to make material
492
+     available to the public including in ways that members of the
493
+     public may access the material from a place and at a time
494
+     individually chosen by them.
495
+
496
+  l. Sui Generis Database Rights means rights other than copyright
497
+     resulting from Directive 96/9/EC of the European Parliament and of
498
+     the Council of 11 March 1996 on the legal protection of databases,
499
+     as amended and/or succeeded, as well as other essentially
500
+     equivalent rights anywhere in the world.
501
+
502
+  m. You means the individual or entity exercising the Licensed Rights
503
+     under this Public License. Your has a corresponding meaning.
504
+
505
+
506
+Section 2 -- Scope.
507
+
508
+  a. License grant.
509
+
510
+       1. Subject to the terms and conditions of this Public License,
511
+          the Licensor hereby grants You a worldwide, royalty-free,
512
+          non-sublicensable, non-exclusive, irrevocable license to
513
+          exercise the Licensed Rights in the Licensed Material to:
514
+
515
+            a. reproduce and Share the Licensed Material, in whole or
516
+               in part; and
517
+
518
+            b. produce, reproduce, and Share Adapted Material.
519
+
520
+       2. Exceptions and Limitations. For the avoidance of doubt, where
521
+          Exceptions and Limitations apply to Your use, this Public
522
+          License does not apply, and You do not need to comply with
523
+          its terms and conditions.
524
+
525
+       3. Term. The term of this Public License is specified in Section
526
+          6(a).
527
+
528
+       4. Media and formats; technical modifications allowed. The
529
+          Licensor authorizes You to exercise the Licensed Rights in
530
+          all media and formats whether now known or hereafter created,
531
+          and to make technical modifications necessary to do so. The
532
+          Licensor waives and/or agrees not to assert any right or
533
+          authority to forbid You from making technical modifications
534
+          necessary to exercise the Licensed Rights, including
535
+          technical modifications necessary to circumvent Effective
536
+          Technological Measures. For purposes of this Public License,
537
+          simply making modifications authorized by this Section 2(a)
538
+          (4) never produces Adapted Material.
539
+
540
+       5. Downstream recipients.
541
+
542
+            a. Offer from the Licensor -- Licensed Material. Every
543
+               recipient of the Licensed Material automatically
544
+               receives an offer from the Licensor to exercise the
545
+               Licensed Rights under the terms and conditions of this
546
+               Public License.
547
+
548
+            b. Additional offer from the Licensor -- Adapted Material.
549
+               Every recipient of Adapted Material from You
550
+               automatically receives an offer from the Licensor to
551
+               exercise the Licensed Rights in the Adapted Material
552
+               under the conditions of the Adapter's License You apply.
553
+
554
+            c. No downstream restrictions. You may not offer or impose
555
+               any additional or different terms or conditions on, or
556
+               apply any Effective Technological Measures to, the
557
+               Licensed Material if doing so restricts exercise of the
558
+               Licensed Rights by any recipient of the Licensed
559
+               Material.
560
+
561
+       6. No endorsement. Nothing in this Public License constitutes or
562
+          may be construed as permission to assert or imply that You
563
+          are, or that Your use of the Licensed Material is, connected
564
+          with, or sponsored, endorsed, or granted official status by,
565
+          the Licensor or others designated to receive attribution as
566
+          provided in Section 3(a)(1)(A)(i).
567
+
568
+  b. Other rights.
569
+
570
+       1. Moral rights, such as the right of integrity, are not
571
+          licensed under this Public License, nor are publicity,
572
+          privacy, and/or other similar personality rights; however, to
573
+          the extent possible, the Licensor waives and/or agrees not to
574
+          assert any such rights held by the Licensor to the limited
575
+          extent necessary to allow You to exercise the Licensed
576
+          Rights, but not otherwise.
577
+
578
+       2. Patent and trademark rights are not licensed under this
579
+          Public License.
580
+
581
+       3. To the extent possible, the Licensor waives any right to
582
+          collect royalties from You for the exercise of the Licensed
583
+          Rights, whether directly or through a collecting society
584
+          under any voluntary or waivable statutory or compulsory
585
+          licensing scheme. In all other cases the Licensor expressly
586
+          reserves any right to collect such royalties.
587
+
588
+
589
+Section 3 -- License Conditions.
590
+
591
+Your exercise of the Licensed Rights is expressly made subject to the
592
+following conditions.
593
+
594
+  a. Attribution.
595
+
596
+       1. If You Share the Licensed Material (including in modified
597
+          form), You must:
598
+
599
+            a. retain the following if it is supplied by the Licensor
600
+               with the Licensed Material:
601
+
602
+                 i. identification of the creator(s) of the Licensed
603
+                    Material and any others designated to receive
604
+                    attribution, in any reasonable manner requested by
605
+                    the Licensor (including by pseudonym if
606
+                    designated);
607
+
608
+                ii. a copyright notice;
609
+
610
+               iii. a notice that refers to this Public License;
611
+
612
+                iv. a notice that refers to the disclaimer of
613
+                    warranties;
614
+
615
+                 v. a URI or hyperlink to the Licensed Material to the
616
+                    extent reasonably practicable;
617
+
618
+            b. indicate if You modified the Licensed Material and
619
+               retain an indication of any previous modifications; and
620
+
621
+            c. indicate the Licensed Material is licensed under this
622
+               Public License, and include the text of, or the URI or
623
+               hyperlink to, this Public License.
624
+
625
+       2. You may satisfy the conditions in Section 3(a)(1) in any
626
+          reasonable manner based on the medium, means, and context in
627
+          which You Share the Licensed Material. For example, it may be
628
+          reasonable to satisfy the conditions by providing a URI or
629
+          hyperlink to a resource that includes the required
630
+          information.
631
+
632
+       3. If requested by the Licensor, You must remove any of the
633
+          information required by Section 3(a)(1)(A) to the extent
634
+          reasonably practicable.
635
+
636
+  b. ShareAlike.
637
+
638
+     In addition to the conditions in Section 3(a), if You Share
639
+     Adapted Material You produce, the following conditions also apply.
640
+
641
+       1. The Adapter's License You apply must be a Creative Commons
642
+          license with the same License Elements, this version or
643
+          later, or a BY-SA Compatible License.
644
+
645
+       2. You must include the text of, or the URI or hyperlink to, the
646
+          Adapter's License You apply. You may satisfy this condition
647
+          in any reasonable manner based on the medium, means, and
648
+          context in which You Share Adapted Material.
649
+
650
+       3. You may not offer or impose any additional or different terms
651
+          or conditions on, or apply any Effective Technological
652
+          Measures to, Adapted Material that restrict exercise of the
653
+          rights granted under the Adapter's License You apply.
654
+
655
+
656
+Section 4 -- Sui Generis Database Rights.
657
+
658
+Where the Licensed Rights include Sui Generis Database Rights that
659
+apply to Your use of the Licensed Material:
660
+
661
+  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
662
+     to extract, reuse, reproduce, and Share all or a substantial
663
+     portion of the contents of the database;
664
+
665
+  b. if You include all or a substantial portion of the database
666
+     contents in a database in which You have Sui Generis Database
667
+     Rights, then the database in which You have Sui Generis Database
668
+     Rights (but not its individual contents) is Adapted Material,
669
+
670
+     including for purposes of Section 3(b); and
671
+  c. You must comply with the conditions in Section 3(a) if You Share
672
+     all or a substantial portion of the contents of the database.
673
+
674
+For the avoidance of doubt, this Section 4 supplements and does not
675
+replace Your obligations under this Public License where the Licensed
676
+Rights include other Copyright and Similar Rights.
677
+
678
+
679
+Section 5 -- Disclaimer of Warranties and Limitation of Liability.
680
+
681
+  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
682
+     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
683
+     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
684
+     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
685
+     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
686
+     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
687
+     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
688
+     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
689
+     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
690
+     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
691
+
692
+  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
693
+     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
694
+     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
695
+     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
696
+     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
697
+     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
698
+     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
699
+     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
700
+     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
701
+
702
+  c. The disclaimer of warranties and limitation of liability provided
703
+     above shall be interpreted in a manner that, to the extent
704
+     possible, most closely approximates an absolute disclaimer and
705
+     waiver of all liability.
706
+
707
+
708
+Section 6 -- Term and Termination.
709
+
710
+  a. This Public License applies for the term of the Copyright and
711
+     Similar Rights licensed here. However, if You fail to comply with
712
+     this Public License, then Your rights under this Public License
713
+     terminate automatically.
714
+
715
+  b. Where Your right to use the Licensed Material has terminated under
716
+     Section 6(a), it reinstates:
717
+
718
+       1. automatically as of the date the violation is cured, provided
719
+          it is cured within 30 days of Your discovery of the
720
+          violation; or
721
+
722
+       2. upon express reinstatement by the Licensor.
723
+
724
+     For the avoidance of doubt, this Section 6(b) does not affect any
725
+     right the Licensor may have to seek remedies for Your violations
726
+     of this Public License.
727
+
728
+  c. For the avoidance of doubt, the Licensor may also offer the
729
+     Licensed Material under separate terms or conditions or stop
730
+     distributing the Licensed Material at any time; however, doing so
731
+     will not terminate this Public License.
732
+
733
+  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
734
+     License.
735
+
736
+
737
+Section 7 -- Other Terms and Conditions.
738
+
739
+  a. The Licensor shall not be bound by any additional or different
740
+     terms or conditions communicated by You unless expressly agreed.
741
+
742
+  b. Any arrangements, understandings, or agreements regarding the
743
+     Licensed Material not stated herein are separate from and
744
+     independent of the terms and conditions of this Public License.
745
+
746
+
747
+Section 8 -- Interpretation.
748
+
749
+  a. For the avoidance of doubt, this Public License does not, and
750
+     shall not be interpreted to, reduce, limit, restrict, or impose
751
+     conditions on any use of the Licensed Material that could lawfully
752
+     be made without permission under this Public License.
753
+
754
+  b. To the extent possible, if any provision of this Public License is
755
+     deemed unenforceable, it shall be automatically reformed to the
756
+     minimum extent necessary to make it enforceable. If the provision
757
+     cannot be reformed, it shall be severed from this Public License
758
+     without affecting the enforceability of the remaining terms and
759
+     conditions.
760
+
761
+  c. No term or condition of this Public License will be waived and no
762
+     failure to comply consented to unless expressly agreed to by the
763
+     Licensor.
764
+
765
+  d. Nothing in this Public License constitutes or may be interpreted
766
+     as a limitation upon, or waiver of, any privileges and immunities
767
+     that apply to the Licensor or You, including from the legal
768
+     processes of any jurisdiction or authority.
769
+
770
+
771
+=======================================================================
772
+
773
+Creative Commons is not a party to its public
774
+licenses. Notwithstanding, Creative Commons may elect to apply one of
775
+its public licenses to material it publishes and in those instances
776
+will be considered the “Licensor.” The text of the Creative Commons
777
+public licenses is dedicated to the public domain under the CC0 Public
778
+Domain Dedication. Except for the limited purpose of indicating that
779
+material is shared under a Creative Commons public license or as
780
+otherwise permitted by the Creative Commons policies published at
781
+creativecommons.org/policies, Creative Commons does not authorize the
782
+use of the trademark "Creative Commons" or any other trademark or logo
783
+of Creative Commons without its prior written consent including,
784
+without limitation, in connection with any unauthorized modifications
785
+to any of its public licenses or any other arrangements,
786
+understandings, or agreements concerning use of licensed material. For
787
+the avoidance of doubt, this paragraph does not form part of the
788
+public licenses.
789
+
790
+Creative Commons may be contacted at creativecommons.org.
791
+

+ 490
- 0
Makefile.in View File

@@ -0,0 +1,490 @@
1
+#  Top level -*- Makefile -*- for GHDL.
2
+#  Copyright (C) 2002 - 2014 Tristan Gingold
3
+#
4
+#  GHDL is free software; you can redistribute it and/or modify it under
5
+#  the terms of the GNU General Public License as published by the Free
6
+#  Software Foundation; either version 2, or (at your option) any later
7
+#  version.
8
+#
9
+#  GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
10
+#  WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
+#  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
+#  for more details.
13
+#
14
+#  You should have received a copy of the GNU General Public License
15
+#  along with GCC; see the file COPYING.  If not, write to the Free
16
+#  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
17
+#  02111-1307, USA.
18
+CC=@CC@
19
+CXX=@CXX@
20
+build=@build@
21
+srcdir=@srcdir@
22
+abs_srcdir=@abs_srcdir@
23
+GNATMAKE=@GNATMAKE@
24
+prefix=@prefix@
25
+backend=@backend@
26
+libdirsuffix=@libdirsuffix@
27
+libdirreverse=@libdirreverse@
28
+EXEEXT=@EXEEXT@
29
+SOEXT=@SOEXT@
30
+PIC_FLAGS=@PIC_FLAGS@
31
+gcc_src_dir=@gcc_src_dir@
32
+LLVM_CONFIG=@llvm_config@
33
+LDFLAGS=@LDFLAGS@
34
+LIBBACKTRACE=@backtrace_lib@
35
+llvm_be=@llvm_be@
36
+build_mode=@build_mode@
37
+enable_werror=@enable_werror@
38
+enable_checks=@enable_checks@
39
+enable_openieee=@enable_openieee@
40
+
41
+INSTALL_PROGRAM=install -m 755
42
+INSTALL_DATA=install -m 644
43
+PWD?=$(shell pwd)
44
+DESTDIR=
45
+bindir=$(prefix)/bin
46
+libdir=$(prefix)/lib
47
+incdir=$(prefix)/include
48
+MKDIR=mkdir
49
+LN=ln -s
50
+CP=cp
51
+MV=mv
52
+SED=sed
53
+GRT_RANLIB=ranlib
54
+
55
+VHDL_LIB_DIR=$(prefix)/$(libdirsuffix)
56
+
57
+ifeq "$(enable_checks)" "true"
58
+ # Debug + checks
59
+ OPT_FLAGS=-g
60
+ ADA_FLAGS=-gnata
61
+ LIB_CFLAGS=
62
+else
63
+ # Optimize + no checks
64
+ ADA_FLAGS+=-gnatpn
65
+ OPT_FLAGS+=-O
66
+ LIB_CFLAGS=-O
67
+endif
68
+
69
+# Profiling.
70
+#ADA_FLAGS+=-gnatn
71
+#OPT_FLAGS+=-pg -O
72
+
73
+# Coverage
74
+ifeq "$(build_mode)" "coverage"
75
+OPT_FLAGS+=-fprofile-arcs -ftest-coverage
76
+endif
77
+
78
+GNATFLAGS=-gnaty3befhkmr -gnatwa -gnatf -gnat05 $(OPT_FLAGS) $(ADA_FLAGS)
79
+GRT_FLAGS=$(OPT_FLAGS)
80
+
81
+WARN_CFLAGS=-Wall
82
+
83
+GNAT_BARGS=-bargs -E
84
+
85
+# Warnings as errors.  Comment this line if a warning looks not valid.
86
+ifeq "$(enable_werror)" "true"
87
+GNATFLAGS+=-gnatwe
88
+endif
89
+
90
+target=$(build)
91
+#target=i686-pc-linux-gnu
92
+#target=x86_64-pc-linux-gnu
93
+#target=i686-apple-darwin
94
+#target=x86_64-apple-darwin
95
+#target=i386-pc-mingw32
96
+
97
+ifeq ($(SOEXT),.so)
98
+SHLIB_FLAGS=-Wl,-soname,$@
99
+else ifeq ($(SOEXT),.dll)
100
+SHLIB_FLAGS=
101
+else ifeq ($(SOEXT),.dylib)
102
+# Allow the use of -rpath in executable
103
+SHLIB_FLAGS=-Wl,-install_name,@rpath/$@
104
+endif
105
+
106
+# Flags for libraries
107
+LIBSRC_DIR:=$(srcdir)/libraries
108
+LIBDST_DIR:=$(libdirsuffix)
109
+
110
+LIBVHDL_FLAGS_TO_PASS=\
111
+ LIBSRC_DIR="$(LIBSRC_DIR)" \
112
+ LIBDST_DIR="$(LIBDST_DIR)" \
113
+ enable_openieee="$(enable_openieee)" \
114
+ LN="$(LN)" CP="$(CP)" MKDIR="$(MKDIR)"
115
+
116
+all: Makefile all.$(backend)
117
+
118
+install: install.$(backend)
119
+
120
+check: check.$(backend)
121
+
122
+copy-sources: copy-sources.$(backend)
123
+
124
+libs: libs.vhdl.$(backend)
125
+
126
+./config.status: $(srcdir)/configure
127
+	@if [ -e $@ ]; then \
128
+	  echo "./config.status --reconfigure"; \
129
+	  ./config.status --reconfigure; \
130
+	else \
131
+	  echo "config.status is lost, please configure manually" ; \
132
+	  exit 1; \
133
+	fi
134
+
135
+Makefile: $(srcdir)/Makefile.in ./config.status
136
+	./config.status
137
+
138
+GHDL_COMMON_INCFLAGS=-aI$(srcdir)/src -aI$(srcdir)/src/vhdl -aI$(srcdir)/src/grt -aI$(srcdir)/src/psl -aI$(srcdir)/src/vhdl/translate
139
+
140
+GRTSRCDIR=$(abs_srcdir)/src/grt
141
+include $(srcdir)/src/grt/Makefile.inc
142
+
143
+version.tmp: $(srcdir)/src/version.in force
144
+#	Create version.tmp from version.in, using git date/hash
145
+	if test -d $(srcdir)/.git \
146
+	   && desc=`cd $(srcdir); git describe --dirty`; then \
147
+	  $(SED) -e "s/[(].*[)]/($$desc)/" < $< > $@; \
148
+	else \
149
+	  $(CP) $< $@; \
150
+	fi
151
+
152
+version.ads: version.tmp
153
+#	Change version.ads only if version.tmp has been modified to avoid
154
+#	useless rebuild.
155
+	if [ ! -r $@ ] || ! cmp $< $@ > /dev/null; then $(CP) $< $@; fi
156
+
157
+#################### For mcode backend ##############################
158
+
159
+all.mcode: ghdl_mcode$(EXEEXT) libs.vhdl.mcode all.vpi
160
+
161
+GHDL_MCODE_INCFLAGS=$(GHDL_COMMON_INCFLAGS) -aI$(srcdir)/src/ghdldrv -aI$(srcdir)/src/ortho -aI$(srcdir)/src/ortho/mcode
162
+
163
+ghdl_mcode$(EXEEXT): GRT_FLAGS+=-DWITH_GNAT_RUN_TIME
164
+ghdl_mcode$(EXEEXT): $(GRT_ADD_OBJS) $(GRT_SRC_DEPS) $(ORTHO_DEPS) \
165
+            memsegs_c.o chkstk.o version.ads force
166
+	$(GNATMAKE) -o $@ $(GHDL_MCODE_INCFLAGS) $(GNATFLAGS) -gnatw.A ghdl_jit.adb $(GNAT_BARGS) -largs memsegs_c.o chkstk.o $(GRT_ADD_OBJS) $(LDFLAGS) $(GNAT_LARGS) $(subst @,$(GRTSRCDIR),$(GRT_EXTRA_LIB))
167
+
168
+memsegs_c.o: $(srcdir)/src/ortho/mcode/memsegs_c.c