This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: elf64-ppc fixes for shared libs
- From: Tom Rix <trix at redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 16 Jan 2002 02:17:33 -0600
- Subject: Re: elf64-ppc fixes for shared libs
- References: <20020116054744.GL21859@bubble.sa.bigpond.net.au>
Alan Modra wrote:
>
> +/* After that, we need two instructions to load the index, followed by
> + a branch. */
> +#define LIS_R0_0 0x3c000000 /* lis %r0,0 */
> +#define ORI_R0_R0_0 0x60008000 /* ori %r0,%r0,0 */
>
Maybe you just need to change the above comment.
0x60008000 is ori r0,r0,0x8000
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com