mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
Revert "mapi: Inline call x86_current_tls."
This reverts commit e137b3a9b7. It
completely broke 32-bit EGL such that wflinfo can't even run without
crashing.
This commit is contained in:
parent
2649609ac5
commit
e2bb7fef94
1 changed files with 3 additions and 7 deletions
|
|
@ -56,13 +56,9 @@ __asm__(".balign 16\n"
|
|||
".balign 16\n" \
|
||||
func ":"
|
||||
|
||||
#define STUB_ASM_CODE(slot) \
|
||||
"call 1f\n" \
|
||||
"1:\n\t" \
|
||||
"popl %eax\n\t" \
|
||||
"addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %eax\n\t" \
|
||||
"movl " ENTRY_CURRENT_TABLE "@GOTNTPOFF(%eax), %eax\n\t" \
|
||||
"movl %gs:(%eax), %eax\n\t" \
|
||||
#define STUB_ASM_CODE(slot) \
|
||||
"call x86_current_tls\n\t" \
|
||||
"movl %gs:(%eax), %eax\n\t" \
|
||||
"jmp *(4 * " slot ")(%eax)"
|
||||
|
||||
#define MAPI_TMP_STUB_ASM_GCC
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue