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 Fri, Jan 27, 2006 at 08:34:51PM +1030, Alan Modra wrote:
> On Thu, Jan 26, 2006 at 11:03:35PM -0800, H. J. Lu wrote:
> > We should treat global symbols in PIE like shared library.
> 
> Perhaps.  But please explain why the place you are patching is the
> correct place to fix a problem with weak syms.  I don't think your patch
> is correct.

PIE is like DSO when the undefined weak symbols are concerned. They
have to be dynamic symbols so that ld.so can handle them properly. I
will check in my testcase shortly so that you can check it out.


H.J.


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