]> granicus.if.org Git - clang/commit
[mips] Notify user that `-mabicalls` is ignored on non-PIC N64 ABI
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 10 Aug 2017 15:42:16 +0000 (15:42 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 10 Aug 2017 15:42:16 +0000 (15:42 +0000)
commit99bc550ed3f7970869cd9d7d7826ee65d1dcff42
tree0107d4577c4d902009d1501da19c0c46bf068b07
parentf9f008684ee86cd47a90e9b8af57e0bb90e67f0b
[mips] Notify user that `-mabicalls` is ignored on non-PIC N64 ABI

The -mabicalls option does not make sense in the case of non position
independent code for the N64 ABI. After this change the driver shows a
warning that -mabicalls is ignored in that case.

Differential revision: https://reviews.llvm.org/D36550

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310613 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
lib/Driver/ToolChains/Arch/Mips.cpp
test/Driver/mips-abicalls-warning.c [new file with mode: 0644]
test/Driver/mips-features.c