This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
relocation in PowerPC
- To: libc-alpha at sources dot redhat dot com
- Subject: relocation in PowerPC
- From: Michael Liao <michael_liaocn at yahoo dot com>
- Date: Thu, 28 Jun 2001 03:54:48 -0700 (PDT)
Hi, I can't understand the following codes from
glibc-2.2.3/sysdeps/powerpc/dl-machine.c around line
445.
if (rinfo != R_PPC_ADDR14)
*reloc_addr = ((*reloc_addr & 0xffdfffff) | ((rinfo
== R_PPC_ADDR14_BRTAKEN) ^ (finaladdr >> 31)) << 21);
why the branch prediction bit is set also by the MSB
of the finaladdr.
Could anyone tell why?
Michael L.
06/28/2001
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/