summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-01-27 15:05:25 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-01-27 15:05:25 +0000
commit9e962add708d450230cfa2d754082f1eaf95a2ec (patch)
tree12a57c2519e17e0c656c3d7df54b59444667dd0b /clang/lib/CodeGen/CGBlocks.cpp
parent5191c6f9456f893ff6160b83b6a5d816c0535fff (diff)
downloadbcm5719-llvm-9e962add708d450230cfa2d754082f1eaf95a2ec.tar.gz
bcm5719-llvm-9e962add708d450230cfa2d754082f1eaf95a2ec.zip
[mips] Add support for static model on N64
The patch teaches the Clang driver how to handle the N64 static relocation model properly. It enforces the correct target feature (+noabicalls) when -fno-pic is used. This is required as non-pic N64 code as the abi extension to call PIC code (CPIC) is unsupported. Make PIC the default for mips64 and mips64el, this affects both N32 & N64 ABIs, to better match GCC. As part of this effort, clean up the assembler invocation command builder, so the correct flags are used. This and r293279 in LLVM resolves PR/23485. Thanks to Brooks Davis for reporting the issue! Reviewers: slthakur, seanbruno Differential Revision: https://reviews.llvm.org/D29031 llvm-svn: 293285
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud