Re: Add flag to optionally ignore ELF interposition

2014-06-25 Thread Jan Hubicka
> On Tue, May 20, 2014 at 1:04 PM, Jan Hubicka wrote: > > Hi, > > as disucssed some time ago, our assumption that every symbol of shared > > library can > > be interposed at runtime is expensive and prevents a lot of useful > > optimizations, > > including inlining or IPA propagation. > > > > Wh

Re: Add flag to optionally ignore ELF interposition

2014-06-25 Thread Andrew Pinski
On Tue, May 20, 2014 at 1:04 PM, Jan Hubicka wrote: > Hi, > as disucssed some time ago, our assumption that every symbol of shared > library can > be interposed at runtime is expensive and prevents a lot of useful > optimizations, > including inlining or IPA propagation. > > While this is useful

Re: Add flag to optionally ignore ELF interposition

2014-05-21 Thread Thiago Macieira
Em ter 20 maio 2014 22:04:32 vocĂȘ escreveu: > Hi, > as disucssed some time ago, our assumption that every symbol of shared > library can be interposed at runtime is expensive and prevents a lot of > useful optimizations, including inlining or IPA propagation. > > While this is useful feature, it i

Re: Add flag to optionally ignore ELF interposition

2014-05-21 Thread Jan Hubicka
> On Wed, 21 May 2014, Jan Hubicka wrote: > > > I tought glibc uses handcoded local aliases for all its exported symbols > > except > > for those where interposition is allowed. > > It does that for exported symbols. But there are lots of non-exported __* > functions used internally - and whil

Re: Add flag to optionally ignore ELF interposition

2014-05-21 Thread Joseph S. Myers
On Wed, 21 May 2014, Jan Hubicka wrote: > I tought glibc uses handcoded local aliases for all its exported symbols > except > for those where interposition is allowed. It does that for exported symbols. But there are lots of non-exported __* functions used internally - and while some are decla

Re: Add flag to optionally ignore ELF interposition

2014-05-20 Thread Jan Hubicka
> On Tue, 20 May 2014, Jan Hubicka wrote: > > > Hi, > > as disucssed some time ago, our assumption that every symbol of shared > > library can > > be interposed at runtime is expensive and prevents a lot of useful > > optimizations, > > including inlining or IPA propagation. > > > > While this

Re: Add flag to optionally ignore ELF interposition

2014-05-20 Thread Joseph S. Myers
On Tue, 20 May 2014, Jan Hubicka wrote: > Hi, > as disucssed some time ago, our assumption that every symbol of shared > library can > be interposed at runtime is expensive and prevents a lot of useful > optimizations, > including inlining or IPA propagation. > > While this is useful feature, i