Mesa (master): glapi: Remove _x86_64_get_get_dispatch symbol from x86-64 assembly.

Matt Turner mattst88 at kemper.freedesktop.org
Fri Aug 28 05:24:40 UTC 2015


Module: Mesa
Branch: master
Commit: 559b8842fa2d315f009a039e7bbc503c524de894
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=559b8842fa2d315f009a039e7bbc503c524de894

Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Sep 25 11:49:48 2014 -0700

glapi: Remove _x86_64_get_get_dispatch symbol from x86-64 assembly.

Never used.

Reviewed-by: Mark Janes <mark.a.janes at intel.com>

---

 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 cf42371..dcd113e 100644
--- a/src/mapi/glapi/gen/gl_x86-64_asm.py
+++ b/src/mapi/glapi/gen/gl_x86-64_asm.py
@@ -144,12 +144,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'




More information about the mesa-commit mailing list