From 38b6660f7b98a377f251903ee3d94c57180c90fa Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Thu, 28 May 2015 02:15:00 +0200 Subject: Limit the libcoreclr.so exports to the required minimum This change limits the libcoreclr.so exports on Unix to functions that are PInvoked by the managed mscorlib / corefx and the DllMain, CoreDllMain and ExecuteAssembly. --- generateversionscript.awk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 generateversionscript.awk (limited to 'generateversionscript.awk') diff --git a/generateversionscript.awk b/generateversionscript.awk new file mode 100644 index 0000000000..2aa1f4f0a2 --- /dev/null +++ b/generateversionscript.awk @@ -0,0 +1,14 @@ +BEGIN { + print "V1.0 {"; + print " global:"; +} +{ + # Remove the CR character in case the sources are mapped from + # a Windows share and contain CRLF line endings + gsub(/\r/,"", $0); + print " " $0 ";"; +} +END { + print " local: *;" + print "};"; +} -- cgit v1.2.3