| To: | "Maciej W. Rozycki" <macro@linux-mips.org> |
|---|---|
| Subject: | Re: bal instruction in gcc 3.x |
| From: | Kishore K <hellokishore@gmail.com> |
| Date: | Wed, 20 Jul 2005 14:49:40 +0530 |
| Cc: | Pete Popov <ppopov@embeddedalley.com>, Ralf Baechle <ralf@linux-mips.org>, "linux-mips@linux-mips.org" <linux-mips@linux-mips.org> |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kJezhNdbiNJTXfvF6AvuJMv/yd2rJfzheZLKMMkiclJ/5oEgBzjTIxrc085L7cLkRCsCMr0XchL4LHkiiY48bKXHZ60W6Wltm/JoiTp/DC+olufnnWP0T5pKwEVrAmpPefV3F4WbjqFom87nB4z7JciOHtDA5WN71PsXHAuDZ4A= |
| In-reply-to: | <Pine.LNX.4.61L.0507200955390.30702@blysk.ds.pg.gda.pl> |
| 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> |
| Reply-to: | Kishore K <hellokishore@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On 7/20/05, Maciej W. Rozycki <macro@linux-mips.org> 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. > In the case of s/bal/jal, I get the warning "No .cprestore pseudo-op used in PIC code". Is it safe to ignore this warning ? On the other hand, if I replace bal jump_to_label by la t9, jump_to_label jalr t9 I don't see any warning. What could be the reason ? Can you suggest, what should be done to make the code safe for building on 64 bit processor. --kishore |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: bal instruction in gcc 3.x, Thiemo Seufer |
|---|---|
| Next by Date: | Re: bal instruction in gcc 3.x, Maciej W. Rozycki |
| Previous by Thread: | Re: bal instruction in gcc 3.x, Maciej W. Rozycki |
| Next by Thread: | Re: bal instruction in gcc 3.x, Maciej W. Rozycki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |