llvm-project/lld/wasm
Sam Clegg 457f38a7b0 [lld][WebAssembly] Revert moving of data relocations to start function
Back in https://reviews.llvm.org/D117412 we moved the application of
data reloctions to the wasm start function.

However, because the dynamic linker doesn't know the final addresses
at module instantiation time, this proved to be too early and the
relocations could be applied with the wrong values.

Fixes: https://github.com/emscripten-core/emscripten/issues/17150

Differential Revision: https://reviews.llvm.org/D127333
2022-06-09 17:49:35 -07:00
..
CMakeLists.txt
Config.h
Driver.cpp
InputChunks.cpp
InputChunks.h
InputElement.h
InputFiles.cpp
InputFiles.h
LTO.cpp
LTO.h
MapFile.cpp
MapFile.h
MarkLive.cpp
MarkLive.h
Options.td
OutputSections.cpp
OutputSections.h
OutputSegment.cpp
OutputSegment.h
Relocations.cpp
Relocations.h
Symbols.cpp
Symbols.h
SymbolTable.cpp
SymbolTable.h
SyntheticSections.cpp
SyntheticSections.h
Writer.cpp
Writer.h
WriterUtils.cpp
WriterUtils.h