summaryrefslogtreecommitdiff
path: root/src/dlls/mscorrc/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2020-04-16Fix PIE options (#26323)submit/tizen/20200415.223728accepted/tizen/unified/20200416.080052Jan Vorlicek1-4/+0
* Fix PIE options We were missing passing the -pie linker option. That means that while we were compiling our code as position independent, the executables (not shared libraries) were not marked as position independent and ASLR was not applied to them. They were always loaded to fixed addresses. This change adds the missing -pie option and also replaces all the individual settings of -fPIE / -fPIC on the targets we build by a centralized setting of CMAKE_POSITION_INDEPENDENT_CODE variable that causes cmake to add the appropriate compiler options everywhere. * Fix native parts of coreclr tests build The native parts of the tests are not built using the root CMakeLists.txt so I am moving enabling the position independent code to configurecompiler.cmake Change-Id: Ieafff8984ec23e5fdb00fb0c2fb017e53afbce88
2016-02-03Initial support for CFG. This makes VS 2015 as the minimum required build ↵Gaurav Khanna (CLR)1-0/+3
toolset, on Windows, for the repo.
2016-01-12Add fPIC option when compiling mscorrc.Aditya Mandaleeka1-0/+4
2015-12-03Refactoring resource stringKyungwoo Lee1-33/+2
This pulls out resource string handling out of mscorrc into top level. The scripts (awk) are now parameterized to generate a unique string table for the given name. Added resourcestring.cpp to create an API "LoadResourceString". Added a few macros into resourcestring.h, which are used for definition/uses of the string table.
2015-07-16Extend the Unix hosting APIJan Vorlicek1-1/+1
This change modifies the Unix hosting API so that the hosting app can create as many managed delegates as it needs and execute them as many times it wants. The new API contains separate functions to initialize and shutdown CoreCLR and a function to create a delegate. The current ExecuteAssembly function behavior stays unmodified for now to ensure that dnx that uses that API and that pulls the binary libcoreclr is not broken. After the dnx is updated to use the new coreclr_create_delegate API, I'll remove the ExecuteAssembly. Also done: 1) Added support for comments and skipping empty lines in the mscorwks_unixexports.src. 2) Restructured the mscorwks_unixexports.src 3) Added coreclr_execute_assembly to the unixinterface.cpp / exports 4) Modified coreruncommon.cpp to use the new hosting API
2015-06-07build,win: Enables Whole Program Optimization.Hadi Brais1-0/+3
* Enables whole program optimization for release configuration on Windows. * Fixes all messages "/LTCG specified but no code generation required; remove /LTCG from link command line to improve linker performance" which slow down the build process. * Fixes all messages "MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance" which slow down the build process. * The previous two fixes work in Release and Debug builds on Windows. Issue-URL: #1086
2015-05-29Limit the libcoreclr.so exports to the required minimumJan Vorlicek1-5/+0
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.
2015-05-18Ensure fallback to English resources on non-Windows platformsAditya Mandaleeka1-24/+21
Take the resources in RC files and build a static library that contains the ID->English string mappings. Use those strings as the key to gettext so that when gettext is not able to find a suitable string in the desired language, it falls back on returning the English string.
2015-04-10Refactor the windows text resources processingJan Vorlicek1-1/+2
This change refactors the windows text resource processing into a parsing script and a script with platform specific function responsible for writing to the output file.
2015-03-24Add native resources compilation on LinuxJan Vorlicek1-1/+47
This change adds compilation of native resources into a gettext binary format and loading of string resources in coreclr on Linux. On OSX, the resource string still contains just a formatted resource id.
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+4
[tfs-changeset: 1407945]