diff options
author | Aleksandar Beserminji <Aleksandar.Beserminji@mips.com> | 2018-05-07 14:19:54 +0000 |
---|---|---|
committer | Aleksandar Beserminji <Aleksandar.Beserminji@mips.com> | 2018-05-07 14:19:54 +0000 |
commit | f9b3fc5e2bc77f036759d7f0a13d18e741f39bb4 (patch) | |
tree | 90a1929fcd1832ef5e04d05dcbb52559264db740 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | cc4915701cbac39f8ae507d41857242a449dc842 (diff) | |
download | bcm5719-llvm-f9b3fc5e2bc77f036759d7f0a13d18e741f39bb4.tar.gz bcm5719-llvm-f9b3fc5e2bc77f036759d7f0a13d18e741f39bb4.zip |
[mips] Improve handling of -fno-[pic/PIC] option
In order to disable PIC and to match GCC behaviour, -mno-abicalls
option is neccessary. When -fno-[pic/PIC] is used witout -mno-abicalls,
warning is reported. An error is reported when -fno-pic or -fno-PIC is
used in combination with -mabicalls.
Depends on D44381.
Differential Revision: https://reviews.llvm.org/D44684
llvm-svn: 331636
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions