[Top] [All Lists]

Re: bal instruction in gcc 3.x

To: "Maciej W. Rozycki" <>
Subject: Re: bal instruction in gcc 3.x
From: Thiemo Seufer <>
Date: Wed, 20 Jul 2005 11:17:06 +0200
Cc: Pete Popov <>, Kishore K <>, Ralf Baechle <>, "''" <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <1121802786.7285.88.camel@localhost.localdomain> <>
User-agent: Mutt/1.5.9i
Maciej W. Rozycki wrote:
> On Tue, 19 Jul 2005, Pete Popov wrote:
> > Try the attached patch instead.
>  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. :-)


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