[PATCH] D61670: [RFC] [MinGW] Allow opting out from .refptr stubs

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 8 12:14:27 PDT 2019


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





More information about the cfe-commits mailing list