This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch: Zero out the allocated dynamic content space.
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: Patch: Zero out the allocated dynamic content space.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 18 Aug 2000 13:23:35 -0600
- cc: "H . J . Lu" <hjl at valinux dot com>, binutils at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <20000818121340.A19280@cygnus.com>you write:
> On Fri, Aug 18, 2000 at 09:35:00AM -0700, H . J . Lu wrote:
> > I have no arguments with that. But as Alan has pointed out, it is not
> > an easy job to do.
>
> Actually, it isn't that bad. Both the alpha and ia64 ports do this
> correctly: record how many relocations of what class against which
> symbols, and then compute the size only in size_dynamic_sections.
> Which happens after all the symbol visibility changes have happened.
It's also likely the PA64 port does it right too since it was derived from
the ia64 port.
jeff