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

Mark Janes mark.a.janes at intel.com
Mon Aug 24 21:51:14 PDT 2015


Digging through old, un-reviewed patches...  Mesa builds and runs just
fine without this.

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

Matt Turner <mattst88 at gmail.com> writes:

> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list