r191947 - [Mips] For MIPS '-fPIC -static' means to compile as -fPIC but link with

Richard Sandiford rsandifo at linux.vnet.ibm.com
Fri Oct 4 03:54:29 PDT 2013


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.
>
> http://llvm.org/bugs/show_bug.cgi?id=14693

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.)

Thanks,
Richard




More information about the cfe-commits mailing list