Skip to content

Fix TLS access in JIT on FreeBSD x86-64 - #13928

Closed
arnaud-lb wants to merge 1 commit into
php:PHP-8.2from
arnaud-lb:jit-tls-fbsd
Closed

arnaud-lb wants to merge 1 commit into
php:PHP-8.2from
arnaud-lb:jit-tls-fbsd

Conversation

@arnaud-lb

Copy link
Copy Markdown
Member

Like #13927, FreeBSD uses 8 bytes DTV fields on x86-64.

Also, the module ID is offset by 1

@arnaud-lb
arnaud-lb marked this pull request as ready for review April 10, 2024 11:11

@dstogov dstogov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test this.
Merge, if you know what you are doing.

Shouldn't this also be back-ported to PHP-8.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants