This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elf64-ppc fixes for shared libs


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]