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 Thu, Feb 16, 2006 at 10:14:31PM -0800, H. J. Lu wrote:
> On Fri, Feb 17, 2006 at 03:24:13PM +1030, Alan Modra wrote:
> > You didn't answer my question.  I asked why you were patching that
> > particular place to fix undefined weak symbols in PIEs.  See the patch
> > I've just committed for powerpc64.
> 
> It is a generic ELF problem. Why does each backend have to handle it
> separately?

Well, if you are clever you might be able to make a generic patch that
handles undef weak in pie.  The right place to do it is after all
symbols have been loaded.

-- 
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]