fd7040d2b6
cygwin doesn't support _sopen. drop down to the lowest common denominator and merge main for all platforms. this also opens the door for supporting multiple object formats with a single binary. Change-Id: I7cd45091639d447434e6d5db2e19cfc9988f8630