This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: [PATCH] PR driver/70192: Properly set flag_pie and flag_pic


On Thu, Mar 17, 2016 at 8:55 AM, Bernd Schmidt <bschmidt@redhat.com> wrote:
> On 03/17/2016 04:26 PM, H.J. Lu wrote:
>>
>> On Thu, Mar 17, 2016 at 8:23 AM, Bernd Schmidt <bschmidt@redhat.com>
>> wrote:
>>>
>>> On 03/17/2016 04:13 PM, H.J. Lu wrote:
>>>>
>>>> We can add an effective target, something like ignore_pic_pie, and
>>>> use it instead of *-*-darwin*.
>>>
>>>
>>>
>>> That should have been done _before_ committing the patch in a form that
>>> was
>>> not approved.
>>>
>>
>> How should we move forward?
>
>
> Maybe an effective target pic_default, which tests whether __PIC__ is
> defined without any options. Please prepare a patch.
>

That isn't sufficient for Darwin since it ignores -fno-pic and -fno-pie.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]