]> granicus.if.org Git - clang/commit
[Mips] For MIPS '-fPIC -static' means to compile as -fPIC but link with
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 4 Oct 2013 10:36:42 +0000 (10:36 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 4 Oct 2013 10:36:42 +0000 (10:36 +0000)
commitbd55e97f4452b9a6fa18d6503c936d8b1c33029d
tree705a51ffeecd5861b93ec0d61ceafddf1bcae149
parent0aa1a88e19235574481e46e9e6e9ce66a9e6624f
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191947 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/pic.c