This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [PATCH] bfd sparc64 fixes and tail call optimizations
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] bfd sparc64 fixes and tail call optimizations
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 18 May 2000 09:04:17 -0700
- Cc: binutils at sourceware dot cygnus dot com, "David S. Miller" <davem at redhat dot com>
- References: <20000518162611.L474@sunsite.ms.mff.cuni.cz>
On Thu, May 18, 2000 at 04:26:11PM +0200, Jakub Jelinek wrote:
> I have no idea how can I safely optimize the last one (perhaps I'll just
> teach gcc to always emit 2nd one), but for the first two, the call can be
> replaced by branch always instruction.
You should probably be doing this with the linker relaxation
hooks rather than directly in the relocation routines. That
way you have a way to turn the optimization off if you want.
r~