[PATCH] D29031: [mips] Add support for static model on N64
Simon Dardis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 23 07:45:22 PST 2017
sdardis created this revision.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D29031
Files:
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
test/Driver/mips-as.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29031.85388.patch
Type: text/x-patch
Size: 12538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170123/17b96639/attachment.bin>
More information about the cfe-commits
mailing list