summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/plugadapt
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-24 14:37:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-24 14:39:04 +0100
commit32d6e8fc22c1db14f17bb7b030ba26327752b300 (patch)
tree3ec4d9c97ed9aba8a1eb8c60a98a1c43f9658e1b /vcl/unx/generic/plugadapt
parent4cc1bcbaedd483482240f0ffbf42e56dd6052612 (diff)
Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptr
use RTLD_GLOBAL, similar to 62b124b2704adf11a63681164d05a8eb49dfb105 "Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptr" Change-Id: I8b3e8681b5ec07fa67f035651c1a99652a56b7f9
Diffstat (limited to 'vcl/unx/generic/plugadapt')
-rw-r--r--vcl/unx/generic/plugadapt/salplug.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx
index 038951bd5280..d49dccde817b 100644
--- a/vcl/unx/generic/plugadapt/salplug.cxx
+++ b/vcl/unx/generic/plugadapt/salplug.cxx
@@ -84,7 +84,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
oslModule aMod = osl_loadModuleRelative(
reinterpret_cast< oslGenericFunction >( &tryInstance ), aModule.pData,
- SAL_LOADMODULE_DEFAULT );
+ SAL_LOADMODULE_GLOBAL );
if( aMod )
{
salFactoryProc aProc = reinterpret_cast<salFactoryProc>(osl_getAsciiFunctionSymbol( aMod, "create_SalInstance" ));