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: PATCH: ld/2218: Weak undefined symbol doesn't work properly with PIE


On Sun, Feb 19, 2006 at 06:10:01PM -0800, H. J. Lu wrote:
> Do you have a patch for ia64?

Nope.  I was leaving that to you.

> Also how do you address
> 
> http://sourceware.org/bugzilla/show_bug.cgi?id=2251

Since that is a ld.so problem, I don't understand why you are asking.

> My patch changes to if we don't export all symbols into the dynamic
> symbol table, a symbol in PIE, which isn't defined in nor referenced
> by any dynamic object, has the hidden visibility.

Why is this a good idea, and why should this change only apply to pie?
ie. Why not do the same for non-pie executables.  Wasn't this part of
your patch just a hack to fix up the fact that you made too many symbols
dynamic in the first place?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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