[PATCH] bfd sparc64 fixes and tail call optimizations (take 2)

Jakub Jelinek jakub@redhat.com
Tue May 23 12:32:00 GMT 2000


On Tue, May 23, 2000 at 11:17:19AM -0700, Ian Lance Taylor wrote:
>    Date: Tue, 23 May 2000 18:06:33 +0200
>    From: Jakub Jelinek <jakub@redhat.com>
> 
>    I thought about doing it in relax_section for a while, but I think it would
>    be slower, because I'd have to look up a bunch of things, while at the
>    relocate_section time all the information is already handy (because the
>    relocation is being done).
> 
> relax_section is permitted to change the size of the section, unlike
> relocate_section.  Changing section sizes may in turn permit further
> relaxations to occur.
> 
> If your code changes don't change the size of the section, then there
> is no particular reason to use relax_section.

My code does not change sizes, Richard's argument to use relax_section was
so that one can enable/disable that optimization, which the code I've posted
today does.
I'll put a bunch of symbolic constants in instead of the hardcoded numbers
tomorrow per Doug's suggestion and will repost it.

	Jakub


More information about the Binutils mailing list