Re: [PATCH] powerpc/setjmp: Fix 64-bit support

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Oct 27 09:17, Sebastian Huber wrote:
> The first attempt to support the 64-bit mode had two bugs:
> 
> 1. The saved general-purpose register 31 value was overwritten with the saved
>    link register value.
> 
> 2. The link register was saved and restored using 32-bit instructions.
> 
> Use 64-bit store/load instructions to save/restore the link register.  Make
> sure that the general-purpose register 31 and the link register storage areas
> do not overlap.

LGTM, but I'm not a PowerPC expert.  If you tested it, feel free to push.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.