diff options
author | Ryan Prichard <rprichard@google.com> | 2019-01-22 22:49:22 -0800 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2019-01-25 17:53:01 -0800 |
commit | 3b463cf7f4f7fa54567ff42f6772091b22add2b8 (patch) | |
tree | 2802c885b6134a45c567b0f5bce3c3cd251fe9a8 /linker/linker_tls.cpp | |
parent | ea41ab0548f4340a3d5f5a4253ce4a04fd66e157 (diff) |
Implement TLS_DTPMOD and TLS_DTPREL relocations
Generalize the omitted symbol and missing-TLS-segment behaviors to all TLS
relocations.
R_GENERIC_TLS_DTPMOD is a module ID, which starts at 1 for the executable.
R_GENERIC_TLS_DTPREL is an offset from the start of a module to a specific
TLS symbol.
binutils currently disagrees with Bionic about the values of
R_AARCH64_TLS_DTPMOD64 and R_AARCH64_TLS_DTPREL64, so disable
DTPMOD/DTPREL for now on arm64.
Bug: http://b/78026329
Test: bionic unit tests (Tests for dynamic TLS will be added later)
Change-Id: I05c28d6a1036bdd6127f605036679b7475689445
Diffstat (limited to 'linker/linker_tls.cpp')
0 files changed, 0 insertions, 0 deletions