Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

arnaud-lb
Copy link
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
Copy link
Member

@dstogov dstogov left a comment

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