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
Loading
Please sign in to comment