llvm/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 [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
Driver.cpp [lld][WebAssemlby] Check for command line flags with missing arguments 2022-05-26 13:35:27 -07:00
InputChunks.cpp [lld][WebAssembly] Remove unnecessary accessor methods. NFC 2022-06-03 11:43:44 -07:00
InputChunks.h [lld][WebAssembly] Remove unnecessary accessor methods. NFC 2022-06-03 11:43:44 -07:00
InputElement.h
InputFiles.cpp Fix warnings about variables that are set but only used in debug mode 2022-04-06 10:01:46 +03:00
InputFiles.h
LTO.cpp [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
LTO.h
MapFile.cpp
MapFile.h
MarkLive.cpp Revert D126950 "[lld][WebAssembly] Retain data segments referenced via __start/__stop" 2022-06-03 22:18:06 -07:00
MarkLive.h
Options.td [lld][WebAssembly] Require double dash for modern linker flags 2022-05-26 14:42:52 -07:00
OutputSections.cpp [WebAssembly] Consolidate sectionTypeToString in BinaryFormat [NFC] 2022-05-27 09:26:36 -07:00
OutputSections.h
OutputSegment.cpp [lld][WebAssembly] Remove unnecessary accessor methods. NFC 2022-06-03 11:43:44 -07:00
OutputSegment.h
Relocations.cpp
Relocations.h
Symbols.cpp [lld][WebAssembly] Avoid importing/exporting hidden symbols in shared libraries 2022-05-26 13:43:25 -07:00
Symbols.h
SymbolTable.cpp [lld][WebAssembly] Fix crash on undefined+weak function syms in LTO objects 2022-05-27 11:41:34 -07:00
SymbolTable.h
SyntheticSections.cpp [lld][WebAssembly] Remove unnecessary accessor methods. NFC 2022-06-03 11:43:44 -07:00
SyntheticSections.h [lld][WebAssembly] Take advantage of extended const expressions when available 2022-03-15 17:50:05 -07:00
Writer.cpp [lld][WebAssembly] Revert moving of data relocations to start function 2022-06-09 17:49:35 -07:00
Writer.h
WriterUtils.cpp
WriterUtils.h