This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: PIE and --(no-)export-dynamic


sÃn 2010-03-21 klockan 22:19 +1030 skrev Alan Modra:
> On Sat, Mar 20, 2010 at 10:34:59PM -0400, Daniel Jacobowitz wrote:
> > I think Peter's got a point.
> 
> Agreed.  The default behaviour for PIEs wrongly adds unnecessary
> dynamic symbols.
> 
> > Why should a PIE version of vers4 export
> > foo?  Or, for that matter, main?  No dynamic object references the
> > symbol; it's just wasting space.
> > 
> > MIPS used to have this same problem for dynamic applications; we
> > (Richard S., I think, but I don't remember) fixed it just a year or
> > two ago.
> 
> Yeah, code somewhere is testing link_info.shared when it should really
> be using !link_info.executable.
> 

Should I file a bug?


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