loader: Remove usage of USE_ELF_TLS in loader.c
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17213>
This commit is contained in:
parent
62a68481fa
commit
a055f285f5
|
@ -627,11 +627,9 @@ loader_open_driver_lib(const char *driver_name,
|
|||
next = end;
|
||||
|
||||
len = next - p;
|
||||
#if USE_ELF_TLS
|
||||
snprintf(path, sizeof(path), "%.*s/tls/%s%s.so", len,
|
||||
p, driver_name, lib_suffix);
|
||||
driver = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
|
||||
#endif
|
||||
if (driver == NULL) {
|
||||
snprintf(path, sizeof(path), "%.*s/%s%s.so", len,
|
||||
p, driver_name, lib_suffix);
|
||||
|
|
Loading…
Reference in New Issue