Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit mesa: Remove massive kludge that worked aroun...
details: https://anonhg.NetBSD.org/xsrc/rev/af0e121630b1
branches: trunk
changeset: 7514:af0e121630b1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Jun 04 11:36:50 2023 +0000
description:
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.
XXX pullup-10
diffstat:
external/mit/MesaLib.old/dist/src/glx/glxcurrent.c | 12 ------------
external/mit/MesaLib/dist/src/glx/glxcurrent.c | 12 ------------
2 files changed, 0 insertions(+), 24 deletions(-)
diffs (44 lines):
diff -r 20b5d479f360 -r af0e121630b1 external/mit/MesaLib.old/dist/src/glx/glxcurrent.c
--- a/external/mit/MesaLib.old/dist/src/glx/glxcurrent.c Fri Mar 31 00:02:06 2023 +0000
+++ b/external/mit/MesaLib.old/dist/src/glx/glxcurrent.c Sun Jun 04 11:36:50 2023 +0000
@@ -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.
*/
diff -r 20b5d479f360 -r af0e121630b1 external/mit/MesaLib/dist/src/glx/glxcurrent.c
--- a/external/mit/MesaLib/dist/src/glx/glxcurrent.c Fri Mar 31 00:02:06 2023 +0000
+++ b/external/mit/MesaLib/dist/src/glx/glxcurrent.c Sun Jun 04 11:36:50 2023 +0000
@@ -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.
*/
Home |
Main Index |
Thread Index |
Old Index