Add bss memory allocation and data and bss memory initialization.
@@ -399,13 +399,15 @@ ex100: func v
* Before execution of MIR code (through interpreter or machine code generated by JIT),
you need to load and link it
* You can load MIR module through API function `MIR_load_module
- (MIR_module_t m)`. The function allocates the module data and
- makes visible the exported module items to other module during
- subsequent linking. There is no guarantee that the different
- data items created one after another will be in adjacent memory.
- If there is already an exported item with the same name, it will
- be not visible for linking anymore. Such visibilty mechanism
- permits usage of different versions of the same function
+ (MIR_module_t m)`. The function allocates the module data/bss
+ and makes visible the exported module items to other module
+ during subsequent linking. There is no guarantee that the
+ different data/bss items created one after another will be in
+ adjacent memory. BSS memory is initialized by zero and data
+ memory is initialized by the corresponding data. If there is
+ already an exported item with the same name, it will be not
+ visible for linking anymore. Such visibility mechanism permits
+ usage of different versions of the same function
* MIR permits to use imported items not implemented in MIR, for
example to use C standard function `strcmp`. You need to inform
MIR about it. API function `MIR_load_external (const char
