mstorsjo added a comment. In D61670#1495535 <https://reviews.llvm.org/D61670#1495535>, @rnk wrote:
> Well, I'm curious what meaning GCC ascribes to a medium code model for COFF. > Do they generate code to allow PE images larger than 2GB, or is it more like > the ELF small code model, where they assume everything can be reached with > RIP relative addressing? Not entirely sure TBH (and browsing GCC code to find out isn't the easiest thing). The strange thing is that when outputting assembly with -S, gcc produces the exact same thing regardless of the -mcmodel parameter, even if the emitted object file is vastly different. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61670/new/ https://reviews.llvm.org/D61670 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits