]> granicus.if.org Git - clang/commit
[mips] Support implicit gpopt with N64 when using -fno-pic
authorSimon Dardis <simon.dardis@imgtec.com>
Fri, 11 Aug 2017 15:01:34 +0000 (15:01 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Fri, 11 Aug 2017 15:01:34 +0000 (15:01 +0000)
commit69a6da714c0a201ed13dc4379b29bbfa179f7381
treed27b4f7bd703846eafe98ee0289a870ac8d33507
parent39f3cd045120c7497d0cc550aa8f05878fff10d5
[mips] Support implicit gpopt with N64 when using -fno-pic

As clang defaults to -mno-abicalls when using -fno-pic for N64, implicitly use
-mgpopt in that case.

Reviewers: atanasyan

Differential Revision: https://reviews.llvm.org/D36315

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp
test/Driver/mips-features.c