[cfe-commits] [patch] Honor -fno-pic, -fno-PIC, -fno-pie, -fno-PIE
Nico Weber
thakis at chromium.org
Wed Apr 4 15:29:19 PDT 2012
Err, sorry. Attached.
On Wed, Apr 4, 2012 at 3:07 PM, Chandler Carruth <chandlerc at google.com> wrote:
> On Thu, Apr 5, 2012 at 12:04 AM, Nico Weber <thakis at chromium.org> wrote:
>>
>> Hi,
>>
>> the attached patch hooks up -fno-pic, -fno-PIC, -fno-pie, and
>> -fno-PIE. With this, clang no longer emits "ignoring unknown option
>> -fno-pic" if that option is passed in, and it also no longer emits pic
>> code on targets where this is on by default.
>>
>> I did the same for -fno-pie and -fno-PIE which were silently ignored
>> before.
>>
>> Ok?
>
>
> Test cases?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-fnopic.patch
Type: application/octet-stream
Size: 2493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120404/76337da5/attachment.obj>
More information about the cfe-commits
mailing list