[Mesa-dev] [PATCH] glapi: Remove _x86_64_get_get_dispatch symbol from x86-64 assembly.

Matt Turner mattst88 at gmail.com
Thu Sep 25 11:49:48 PDT 2014


Never used.
---
 src/mapi/glapi/gen/gl_x86-64_asm.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/mapi/glapi/gen/gl_x86-64_asm.py b/src/mapi/glapi/gen/gl_x86-64_asm.py
index 19e0e15..3a0eec9 100644
--- a/src/mapi/glapi/gen/gl_x86-64_asm.py
+++ b/src/mapi/glapi/gen/gl_x86-64_asm.py
@@ -146,12 +146,6 @@ class PrintGenericStubs(gl_XML.gl_print_base):
         print ''
         print '#ifdef GLX_USE_TLS'
         print ''
-        print '\t.globl _x86_64_get_get_dispatch; HIDDEN(_x86_64_get_get_dispatch)'
-        print '_x86_64_get_get_dispatch:'
-        print '\tlea\t_x86_64_get_dispatch(%rip), %rax'
-        print '\tret'
-        print ''
-        print '\t.p2align\t4,,15'
         print '_x86_64_get_dispatch:'
         print '\tmovq\t_glapi_tls_Dispatch at GOTTPOFF(%rip), %rax'
         print '\tmovq\t%fs:(%rax), %rax'
-- 
1.8.5.5



More information about the mesa-dev mailing list