linux-mips
[Top] [All Lists]

Re: bal instruction in gcc 3.x

To: Thiemo Seufer <ths@networkno.de>
Subject: Re: bal instruction in gcc 3.x
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Wed, 20 Jul 2005 10:47:01 +0100 (BST)
Cc: Pete Popov <ppopov@embeddedalley.com>, Kishore K <hellokishore@gmail.com>, Ralf Baechle <ralf@linux-mips.org>, "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <20050720091706.GJ2071@hattusa.textio>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <f07e6e05071909301c212ab4@mail.gmail.com> <20050719164427.GB8758@linux-mips.org> <f07e6e05071910194bab9b16@mail.gmail.com> <1121802786.7285.88.camel@localhost.localdomain> <Pine.LNX.4.61L.0507200955390.30702@blysk.ds.pg.gda.pl> <20050720091706.GJ2071@hattusa.textio>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 20 Jul 2005, Thiemo Seufer wrote:

> >  Apart from other changes why not simply s/bal/jal/?  Your proposed code 
> > is bad if ever to be built to a 64-bit object.
> 
> Non-PIC jal isn't relocateable, the PIC jal wants a regular stack
> frame, and the end of the patch shows the 32bit assumption was
> already made earlier. :-)

 Hmm, the joys of inconsistency -- oh well...

  Maciej

<Prev in Thread] Current Thread [Next in Thread>