mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33440 NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
7acb98c67c
commit
731ec60da3
2 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
|
|||
print ''
|
||||
print '\t.p2align\t4,,15'
|
||||
print '_x86_64_get_dispatch:'
|
||||
print '\tmovq\t_gl_DispatchTSD(%rip), %rdi'
|
||||
print '\tmovq\t_gl_DispatchTSD@GOTPCREL(%rip), %rdi'
|
||||
print '\tjmp\tpthread_getspecific@PLT'
|
||||
print ''
|
||||
print '#elif defined(THREADS)'
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ _x86_64_get_dispatch:
|
|||
|
||||
.p2align 4,,15
|
||||
_x86_64_get_dispatch:
|
||||
movq _gl_DispatchTSD(%rip), %rdi
|
||||
movq _gl_DispatchTSD@GOTPCREL(%rip), %rdi
|
||||
jmp pthread_getspecific@PLT
|
||||
|
||||
#elif defined(THREADS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue