Module Name:    xsrc
Committed By:   martin
Date:           Fri Aug  4 14:12:49 UTC 2023

Modified Files:
        xsrc/external/mit/MesaLib/dist/src/glx [netbsd-9]: glxcurrent.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1704):

        xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c: revision 1.4 
(patch)

mesa: Remove massive kludge that worked around PR toolchain/50277.

Now that the underlying bug in ld.elf_so is fixed, the workaround is
causing harm.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.2.1 \
    xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c
diff -u xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c:1.2 xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c:1.2.2.1
--- xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c:1.2	Tue Apr  9 14:14:59 2019
+++ xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c	Fri Aug  4 14:12:49 2023
@@ -40,18 +40,6 @@
 #include "glx_error.h"
 
 /*
- * MASSIVE KLUDGE!
- * We need these to not be extern in libGL.so because of
- * PR toolchain/50277
- */
-#if defined(GLX_USE_TLS) && defined(__NetBSD__)
-_X_EXPORT __thread struct _glapi_table * _glapi_tls_Dispatch
-    __attribute__((tls_model("initial-exec"))) = NULL;
-_X_EXPORT __thread void * _glapi_tls_Context
-    __attribute__((tls_model("initial-exec")));
-#endif
-
-/*
 ** We setup some dummy structures here so that the API can be used
 ** even if no context is current.
 */

Reply via email to