mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 00:40:10 +01:00
dri: Remove __driDriverExtensions leftovers
Android-14/clang-17 throws an error with it:
ld.lld: error: version script assignment of 'global' to symbol
'__driDriverExtensions' failed: symbol not defined
Fixes: d43e6a9a49 ("dri: Remove the megadriver compat stub")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25587>
This commit is contained in:
parent
3485744087
commit
7301914755
3 changed files with 0 additions and 11 deletions
|
|
@ -678,14 +678,6 @@ struct __DRIuseInvalidateExtensionRec {
|
||||||
__DRIextension base;
|
__DRIextension base;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* The remaining extensions describe driver extensions, immediately
|
|
||||||
* available interfaces provided by the driver. To start using the
|
|
||||||
* driver, dlsym() for the __DRI_DRIVER_EXTENSIONS symbol and look for
|
|
||||||
* the extension you need in the array.
|
|
||||||
*/
|
|
||||||
#define __DRI_DRIVER_EXTENSIONS "__driDriverExtensions"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This symbol replaces the __DRI_DRIVER_EXTENSIONS symbol, and will be
|
* This symbol replaces the __DRI_DRIVER_EXTENSIONS symbol, and will be
|
||||||
* suffixed by "_drivername", allowing multiple drivers to be built into one
|
* suffixed by "_drivername", allowing multiple drivers to be built into one
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
global:
|
global:
|
||||||
__driDriverExtensions;
|
|
||||||
__driDriverGetExtensions*;
|
__driDriverGetExtensions*;
|
||||||
nouveau_drm_screen_create;
|
nouveau_drm_screen_create;
|
||||||
radeon_drm_winsys_create;
|
radeon_drm_winsys_create;
|
||||||
|
|
|
||||||
|
|
@ -836,8 +836,6 @@ loader_open_driver(const char *driver_name,
|
||||||
free(get_extensions_name);
|
free(get_extensions_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!extensions)
|
|
||||||
extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
|
|
||||||
if (extensions == NULL) {
|
if (extensions == NULL) {
|
||||||
log_(_LOADER_WARNING,
|
log_(_LOADER_WARNING,
|
||||||
"MESA-LOADER: driver exports no extensions (%s)\n", dlerror());
|
"MESA-LOADER: driver exports no extensions (%s)\n", dlerror());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue