This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enable sibcalls on hppa-unknown-linux-gnu
- From: Jeff Law <law at porcupine dot cygnus dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: fjh at cs dot mu dot oz dot au (Fergus Henderson), gcc-patches at gcc dot gnu dot org
- Date: Thu, 03 Oct 2002 10:47:15 -0600
- Subject: Re: Enable sibcalls on hppa-unknown-linux-gnu
- Reply-to: law at redhat dot com
In message <200210031617.g93GHHC4003770@hiauly1.hia.nrc.ca>, "John David Anglin
" writes:
>Maybe the solution to this is to use a different register as
>the internal arg pointer and copy GR 29 to it in the function
>prologue. I think this would also facilitate elimination of
>the arg pointer.
Note that when the incoming argument pointer is a call-clobbered hard
register (like %r29 for PA64) generic parts of the compiler will arrange
for %r29 to be copied into a pseudo and that pseudo should be used for
incoming argument pointer references within the function.
jeff