mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 15:50:32 +01:00
The Android Vulkan loader needs this symbol, so the addition of the
linker script broke Vulkan for Android.
(For non-Android builds: I checked that having a non-existent symbol in
the linker script works ok and doesn't put the symbol in the library)
Fixes: 41bb6459d3 ("radv: restrict exported symbols with static llvm")
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8437>
16 lines
464 B
Text
16 lines
464 B
Text
{
|
|
global:
|
|
vk_icdGetInstanceProcAddr;
|
|
vk_icdGetPhysicalDeviceProcAddr;
|
|
vk_icdNegotiateLoaderICDInterfaceVersion;
|
|
|
|
# Andoid looks for this global in HAL modules. In the source it occurs
|
|
# as HAL_MODULE_INFO_SYM (which is just a #define for HMI) and it's an
|
|
# instance of struct hwvulkan_module_t.
|
|
HMI;
|
|
|
|
local:
|
|
# When static linking LLVM, all its symbols are public API.
|
|
# That may cause symbol collision, so explicitly demote everything.
|
|
*;
|
|
};
|