[PATCH] Avoid R_IA64_NONE relocations when relaxing

H. J. Lu hjl@lucon.org
Tue Aug 9 01:28:00 GMT 2005

On Mon, Aug 08, 2005 at 05:12:31PM -0700, James E Wilson wrote:
> On Mon, 2005-08-08 at 16:09, H. J. Lu wrote:
> > My comments says "We assume after gp is set, section size will only
> > decrease." GP is set only when we start doing LTOFF22X relaxations.
> You are right.  The code is a bit more subtle than I thought.
> > Not all section size reduction will lead to more LTOFF22X relaxations.
> > I don't think the size of .rela.got section matters here. The most
> > likely ones are .got and .IA64.pltoff. Can we reduce the size of
> > .got or .IA64.pltoff during relaxation?
> We do clear want_gotx, and set changed_got if !want_got.  Thus it
> appears the .got can reduce in size if all of the references to a
> variable are via relaxed LTOFF22X relocs.

But do we run another relaxation pass of the first LTOFF22X
relaxation pass?


More information about the Binutils mailing list