[PATCH] D44381: [mips] Change the way how Clang chooses relocation mode
Aleksandar Beserminji via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 12 06:46:25 PDT 2018
abeserminji created this revision.
abeserminji added reviewers: sdardis, petarj.
Herald added a subscriber: arichardson.
This patch makes Clang behave more like gcc.
- On N64 ABI, -mno-abicalls is needed to disable PIC. Warning is reported when only -fno-pic/-fno-PIC is used.
- An error is reported when -fno-pic or -fno-PIC is used in combination with -mabicalls.
- PIC level is never 2 (for now).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10604 bytes
Desc: not available
More information about the cfe-commits