wasm-linker: emit 'data count' & segment flags

When linking with shared-memory enabled, we must ensure to emit
the "data count" section as well as emit the correct segment flags
to tell the runtime/loader that each segment is passive. This is
required as we don't emit the offsets for such segments but instead
initialize each segment (for each thread) during runtime.
00af3a79aeLuuk de Gram committed on 3/18/2023, 7:13:29 PMparentfb9d3cd
1 file changedLine totals unavailable