From 18db8509c85b708fb703cb6e2ee903feeb9f342e 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
[ROCm/clr commit: 515186dcd68804f5f5432a3d27abb28e871f4084]
---
projects/clr/rocclr/compiler/lib/amdoclcl.map.in | 2 --
1 file changed, 2 deletions(-)
diff --git a/projects/clr/rocclr/compiler/lib/amdoclcl.map.in b/projects/clr/rocclr/compiler/lib/amdoclcl.map.in
index a56ae07c08..fe63d57d10 100644
--- a/projects/clr/rocclr/compiler/lib/amdoclcl.map.in
+++ b/projects/clr/rocclr/compiler/lib/amdoclcl.map.in
@@ -53,8 +53,6 @@ global:
#endif
aclJITObjectImageIterateSymbols;
aclJITObjectImageGetGlobalsSize;
-#if defined(OPENCL_MAINLINE)
local:
*;
-#endif
};