[PATCH] D143020: [lld][WebAssembly] Apply relocations to TLS data
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 14:53:22 PST 2023
sbc100 created this revision.
Herald added subscribers: pmatos, asb, wingo, ecnelises, sunfish, jgravelle-google, dschuff.
Herald added a project: All.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
This is only needed in the case of dynamic linking and pthreads.
Previously these relocations were simply not be applied.
Also verified that this works using a more real world emscripten test:
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143020
Files:
lld/test/wasm/tls-relocations.s
lld/test/wasm/tls.s
lld/wasm/InputChunks.cpp
lld/wasm/Symbols.cpp
lld/wasm/Symbols.h
lld/wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143020.493742.patch
Type: text/x-patch
Size: 10261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230131/e91ece7d/attachment.bin>
More information about the llvm-commits
mailing list