[lld][WebAssembly] Fix name of data section in PIC mode
authorSam Clegg <sbc@chromium.org>
Tue, 9 Jul 2019 19:47:32 +0000 (19:47 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 9 Jul 2019 19:47:32 +0000 (19:47 +0000)
commit51c2b99eff172595973e98f01d18c762141d2196
treea709cae8530bf3a8c7a89f10445a76e6321d694c
parent9e77d0c6df1dad1bb6463f9ad6269d979feb8697
[lld][WebAssembly] Fix name of data section in PIC mode

This should always have been ".data".  Without this we treat the
section as a user-defined section in other places (such as the
generation of __start/__stop symbols).

Differential Revision: https://reviews.llvm.org/D64439

llvm-svn: 365547
lld/wasm/Writer.cpp