Skip to content

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Nov 24, 2024

Accompanying IR PR: dstogov/ir#95

NOTE: X64 CI job failure is unrelated
Confirmed working by Alpine Linux team member #16902 (comment)

"add %0, %0, :tlsdesc_lo12:_tsrm_ls_cache\n"
: "=r" (where));
/* See https://github.com/ARM-software/abi-aa/blob/2a70c42d62e9c3eb5887fa50b71257f20daca6f9/aaelf64/aaelf64.rst */
size_t *tlsdesc = where[1];
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the same as for FreeBSD a couple of lines up, defined by the ABI.

Comment on lines +3247 to +3248
tsrm_tls_offset = tlsdesc[1];
tsrm_tls_index = tlsdesc[0] * 8;
Copy link
Member Author

Choose a reason for hiding this comment

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

These computations for offset and index are the same as on x86-64 MUSL.

@nielsdos nielsdos closed this in f4ca6d2 Nov 25, 2024
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.

Set of opcache tests fail zts+aarch64 8.4.1
2 participants