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
fix Issue 12092 - Wrong TLS access in PIC code (X86_32) #4223
Conversation
- Use RI_TYPE_TLS_GD (general dynamic) to access global TLS symbols in PIC code.
- It has to use SIB addressing for the LEA instruction to make room for linker optimizations.
Seems reasonable. If we can have all compilers at parity with anything that requires specific knowledge of how D works, then any improvements I make on the gdb side will help everyone. |
Sure, how about here https://issues.dlang.org/show_bug.cgi?id=11660. |
fix Issue 12092 - Wrong TLS access in PIC code (X86_32)
Maybe this PR introduces the Linux 32bit link failure in (Strangely, the failure does not appear in pull request testers) |
That could be because the pull testers don't run the full set of compiler switch permutations. I think this would be the first time running the full permutations actually caught a bug that the fast mode missed. |
Yeah, will look at it. |
Thank you. |
Issue 12092 – Wrong TLS access in PIC code (X86_32)