The is so that we can avoid using libgcc and use compiler-rt with mingw-w64
Related driver patch
http://reviews.llvm.org/D11077
I have tested this with mingw-w64 and everything seems to be in order.
I also sent this patch to the mingw-w64 mailing list for them to look at.
Added Peter as a reviewer as he seems to be the one who commits windows compiler-rt related code :)
Yaron has been commiting all the llvm clang patches for me but has never comitted to compiler-rt before and asked me to find someone else to do this
So I have added Peter as a reviewer :)