[PATCH] D101381: [ELF][MIPS] Emit dynamic relocations for PIC non-preemptible static TLS
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 27 10:00:59 PDT 2021
jrtc27 created this revision.
jrtc27 added reviewers: MaskRay, atanasyan.
Herald added subscribers: arichardson, sdardis, emaste.
jrtc27 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is the same problem as 127176e59eb9, but for static TLS rather than
dynamic TLS. Although we know the symbol will be the one in our own TLS
segment, and thus the offset of it within that, we don't know where in
the static TLS block our data will be allocated and thus we must emit a
dynamic relocation for this case.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101381
Files:
lld/ELF/SyntheticSections.cpp
lld/test/ELF/mips-tls-64.s
lld/test/ELF/mips-tls.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101381.340891.patch
Type: text/x-patch
Size: 12575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/ed861487/attachment.bin>
More information about the llvm-commits
mailing list