[php-src] PR #13928: Fix TLS access in JIT on FreeBSD x86-64
| From: | arnaud-lb | Date: | Tue, 09 Apr 2024 19:03:29 +0000 |
| Subject: | [php-src] PR #13928: Fix TLS access in JIT on FreeBSD x86-64 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25691@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13928
Author: arnaud-lb
Like https://github.com/php/php-src/pull/13927,
FreeBSD uses 8 bytes DTV fields on x86-64.
Also, the module ID is [offset by
1](https://github.com/freebsd/freebsd-src/blob/22ca6db50f4e6bd75a141f57cf953d8de6531a06/lib/libc/gen/tls.c#L88)