Emscripten expects __data_end to show up in PIC code as long as it's not
linked with --shared.
Currently, Emscripten breaks with latest LLVM because __data_end is controlled
by config->isPic instead of config->shared.`
|  Differential  D65980  
[WebAssembly][lld] control __data_end export with config->shared Authored by quantum on Aug 8 2019, 3:20 PM. 
Details Emscripten expects __data_end to show up in PIC code as long as it's not Currently, Emscripten breaks with latest LLVM because __data_end is controlled 
Diff Detail 
 Event TimelineComment Actions Great thanks. Sorry I overlooked that in my last change. Ideally we shouldn't be making this available in `-pie` either but for restoring the previous behaviour seems reasonable. 
 | ||||||