This is the mail archive of the binutils@sources.redhat.com 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: Set forced_local for hidden and internal symbols


On Mon, Jul 11, 2005 at 10:48:11AM -0400, Carlos O'Donell wrote:
> On Fri, Jul 08, 2005 at 11:27:02AM -0700, H. J. Lu wrote:
> > > 
> > > It turns out that we need this patch to handle hidden symbols provided
> > > by linker correctly. We should do it since non-weak hidden and internal
> > > symbols must be resolved locally.
> > > 
> > > 
> > 
> > I think it should be OK to set forced_local for weak hidden symbols
> > since it will be resolved to 0 if there is no local defintion.
> 
> I don't quite understand the issue, or the case that your current patch
> changes. However, it doesn't fix that the linker provides the symbols
> too late for the backend to do anything about the allocated dynamic
> reloc.
> 

Have you fixed your glibc first?


H.J.


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