From 7d33be386ed08f9819132e55fc96ed7234645dc2 Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 6 Apr 2015 13:10:22 -0400 Subject: [PATCH] P4 to Git Change 1137603 by bwicakso@opencl-hsa-stg-bwicakso on 2015/04/06 12:58:13 ECR #333755 - hide elftoolchain libelf symbols. Issue: the libelf symbol statically linked to libamdocl is made global by default and leaking to HSA runtime library. This causes an issue if HSA runtime is linked against non-elftoolchain libelf, e.g.: elfutils libelf. Review: http://ocltc/reviews/r/7271/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#13 edit --- opencl/api/opencl/amdocl/amdocl.map.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/opencl/api/opencl/amdocl/amdocl.map.in b/opencl/api/opencl/amdocl/amdocl.map.in index 4b2afbba1a..4b6cf96aa2 100644 --- a/opencl/api/opencl/amdocl/amdocl.map.in +++ b/opencl/api/opencl/amdocl/amdocl.map.in @@ -82,6 +82,12 @@ global: #if defined(OPENCL_MAINLINE) local: *; +#else +local: + elf32_*; + elf64_*; + elf_*; + gelf_*; #endif };