[ARM/Linux] incorrect use of symbolic name _TARGET_ARM_ instead of _ARM_ in pr6700
My previous PR dotnet/coreclr#6700 does not work as intended, due to wrong symbolic name _TARGET_ARM_.
_ARM_should be applied instead of _TARGET_ARM_here.
This time, I ran tests with caution and it works.
It seems that src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp is built more than once for different purpose as described below.
- coreclr/bin/obj/Linux.arm-softfp.Release/src/coreclr/hosts/unixcoreruncommon Only -D_ARM_ is defined.
- coreclr/bin/obj/Linux.arm-softfp.Release/src/ToolBox/SOS/Strike Both -D_ARM_ and -D_TARGET_ARM_=1 are defined.
I couldn't understand how it works yet and just assuming _ARM_ is for host and _TARGET_ARM_ is for target but I found that there is also _HOST_ARM_.
@janvorli @jkotas @parjong @leemgs @hseok-oh Does anyone know this ? Looking for an advice.
assuming
_ARM_is for host and_TARGET_ARM_is for target but I found that there is also_HOST_ARM_
Your assumption is correct. _HOST_ARM_ is same as _ARM_.