Revert "glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S"

This reverts commit 731ec60da3.

This change causes crashes in the x86-64 dispatch code.
This commit is contained in:
Brian Paul
2011-01-25 12:12:34 -07:00
parent 40ac24e631
commit ba0953da5b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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@GOTPCREL(%rip), %rdi'
print '\tmovq\t_gl_DispatchTSD(%rip), %rdi'
print '\tjmp\tpthread_getspecific@PLT'
print ''
print '#elif defined(THREADS)'
+1 -1
View File
@@ -73,7 +73,7 @@ _x86_64_get_dispatch:
.p2align 4,,15
_x86_64_get_dispatch:
movq _gl_DispatchTSD@GOTPCREL(%rip), %rdi
movq _gl_DispatchTSD(%rip), %rdi
jmp pthread_getspecific@PLT
#elif defined(THREADS)