r191947 - [Mips] For MIPS '-fPIC -static' means to compile as -fPIC but link with
simon at atanasyan.com
Fri Oct 4 04:15:35 PDT 2013
On Fri, Oct 4, 2013 at 2:54 PM, Richard Sandiford
<rsandifo at linux.vnet.ibm.com> wrote:
> Simon Atanasyan <simon at atanasyan.com> writes:
>> [Mips] For MIPS '-fPIC -static' means to compile as -fPIC but link with
>> -static. So do not turn off the PIC flag if -static passed to the
>> driver in case of MIPS target.
> I might be missing the point here, sorry, but why is this MIPS-specific?
> It looks like the original bug report used x86(_64?) as an example.
> ("call" and "@PLT" aren't MIPS things.)
My mistake. Thanks for pointing out. It's a general bug so I will
revert the commit and send a general fix for review.
More information about the cfe-commits