https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793

--- Comment #10 from howarth at bromo dot med.uc.edu ---
Jakub, Do you have any insights on where the code generation for darwin would
fork from linux to use %rip rather than @GOTOFF. The darwin linker developer
says for large code (which I assume means both -mcmodel=medium/large), darwin
should be using @GOT rather than %rip. The most obvious places are those using
the conditional HAVE_AS_GOTOFF_IN_DATA which is set to 0 on darwin, but I am
concerned that could be a red herring and we need to look elsewhere in
gcc/config/i386/i386.[c/md].

Reply via email to