Fix for issue 3146: dotnet build is slower on Linux than Windows (dotnet/coreclr...
authorFadi Hanna <fadim@microsoft.com>
Tue, 7 Jun 2016 16:32:01 +0000 (09:32 -0700)
committerFadi Hanna <fadim@microsoft.com>
Tue, 7 Jun 2016 16:32:01 +0000 (09:32 -0700)
commit7d997fdea027d9aa32d28396a97228021562b5e6
tree44c0c42ab7245794fba8df0306bb55264384c193
parentf242b00bc19ee7f6d19b52171a95f1b206a495de
Fix for issue 3146: dotnet build is slower on Linux than Windows (dotnet/coreclr#5524)

Fixing the loader logic on Unix to mimic the behavior on Windows,
in order to be able to successfully load and use R2R images on
Unix where the file extension does not have the ".ni." portion.

Commit migrated from https://github.com/dotnet/coreclr/commit/922cace885bfe24c18508747346e23ff7dc40d6c
src/coreclr/src/vm/peimagelayout.cpp