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: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX


2015-03-18 20:39 GMT+03:00 H.J. Lu <hjl.tools@gmail.com>:
> On Wed, Mar 18, 2015 at 10:34 AM, Ilya Enkovich
>>>
>>> What is "USER"?  The one who build GCC may not be same
>>> person who uses GCC.
>>>
>>
>> The person who build GCC determines its default behavior. User either
>> uses it with default settings or overwrites it with own flags. You may
>> warn the person who build GCC that his config has no '-z bndplt' by
>> default.
>>
>
> Person who use GCC have no idea about it.  That is why we
> should always pass -z bndplt to ld if MPX is enabled.  Otherwise,
> Person who use GCC may falsely believe him/her are covered by
> MPX.

This person should be more careful because there are other ways to use
MPX including model with no bndplt.

Ilya

>
> --
> H.J.


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