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, MPX runtime 1/2] Integrate MPX runtime library


On Wed, Nov 12, 2014 at 09:30:59AM +0100, Richard Biener wrote:
> On Tue, Nov 11, 2014 at 4:34 PM, Ilya Enkovich <enkovich.gnu@gmail.com> wrote:
> > Hi,
> >
> > This patch integrates MPX runtime library into GCC source tree.  MPX runtime is responsible for initialization of MPX feature in HW, signal handling, reporting etc.  Library is linked to codes compiled with -mmpx.
> 
> What happens if you omit -mmpx from the linker command-line?
> What happens if you mix -mmpx and non -mmpx objects?
> 
> I wonder why this is not part of glibc and whether initialization is needed
> is communicated by some ELF flag in the executable/library which
> is determined by the linker.

Because glibc is not a kitchen sink.  And, I think most of programs in
typical uses aren't going to be built with -mmpx, so it isn't appropriate
to pay the price in all programs for something used only sometimes.

	Jakub


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