Driver: switch Windows to static RelocModel
Windows uses PE/COFF which is inherently position independent. The use
of the PIC model is unnecessary. In fact, we would generate invalid
code using the ELF PIC model when PIC was enabled previously. Now that
we no longer accept -fPIC and -fpoc, this switches the internal
representation to the static model to permit us to make PIC modules
invalid when targeting Windows. This should not change the code
generation, only the internal state management.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290569
91177308-0d34-0410-b5e6-
96231b3b80d8