[lld] [PAC][lld][AArch64][ELF] Support signed TLSDESC (PR #113817)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 20:13:28 PST 2025


================
@@ -1337,7 +1363,9 @@ unsigned RelocationScanner::handleTlsRelocation(RelExpr expr, RelType type,
     // set NEEDS_TLSDESC on the label.
     if (expr != R_TLSDESC_CALL) {
       if (!isRISCV || type == R_RISCV_TLSDESC_HI20)
----------------
MaskRay wrote:

```
if (aarch64) ...;
else if (!isRISCV || type == ...) ...;
```

https://github.com/llvm/llvm-project/pull/113817


More information about the llvm-commits mailing list