[ARM32/Linux] Fix calling convention - stdcall in crossgen (dotnet/coreclr#9364)
authorHyeongseok Oh <hseok82.oh@samsung.com>
Tue, 7 Feb 2017 04:06:36 +0000 (13:06 +0900)
committerJan Kotas <jkotas@microsoft.com>
Tue, 7 Feb 2017 04:06:36 +0000 (20:06 -0800)
commitdeb9efeee35c2dac45e3bb146a8668c793c1a9da
treed886116b128bb14508c9a91c6edd55831d3b61c3
parente34f4b3dc58f3d2d599bd28ec80867db1300f968
[ARM32/Linux] Fix calling convention - stdcall in crossgen (dotnet/coreclr#9364)

* [ARM32/Linux] Fix calling convention - sdcall in crossgen

- Fix calling convention:
not use stdcall for ENCODEMODULE_CALLBACK & DEFINETOKEN_CALLBACK in linux/x86
x86-host/arm32-target crossgen & x86 crossgen
build error in clang 3.9: not allowed calling convention casting

Commit migrated from https://github.com/dotnet/coreclr/commit/3108cc7e12e004e6c6bab2daf7826dd97957101f
src/coreclr/src/inc/corcompile.h
src/coreclr/src/zap/zapimport.cpp
src/coreclr/src/zap/zapimport.h