From 5dfa5e61559b1542f4f33220e4fd2c45738d0be5 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 28 Jul 2015 08:39:13 -0400
Subject: [PATCH] P4 to Git Change 1174667 by nhaustov@nhaustov_hsa on
2015/07/28 08:28:53
ECR #333756 - Compiler library: always use map file to avoid exporting libelf symbols for HSA build.
This fixes incompatibility with open source finalizer build with dynamic libelf.
Reviewed by: Evgeniy Mankov
Testing: pre-checkin
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#86 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#28 edit
---
opencl/api/opencl/amdocl/amdocl.map.in | 8 --------
1 file changed, 8 deletions(-)
diff --git a/opencl/api/opencl/amdocl/amdocl.map.in b/opencl/api/opencl/amdocl/amdocl.map.in
index ac87c41b6c..657446f720 100644
--- a/opencl/api/opencl/amdocl/amdocl.map.in
+++ b/opencl/api/opencl/amdocl/amdocl.map.in
@@ -79,16 +79,8 @@ global:
clUnloadCompiler;
clWaitForEvents;
clIcdGetPlatformIDsKHR;
-#if defined(OPENCL_MAINLINE)
local:
*;
-#else
-local:
- elf32_*;
- elf64_*;
- elf_*;
- gelf_*;
-#endif
};
#if (OPENCL_MAJOR > 1) || (OPENCL_MAJOR == 1 && OPENCL_MINOR >= 1)