about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-18 22:37:42 +0000
committerRoland McGrath <roland@gnu.org>2002-10-18 22:37:42 +0000
commit82f3f07d7a7d971790a5e03aa39627d96122dab3 (patch)
tree59865040b21c90273ff7a49e6eac1beaf1fbc09a /sysdeps/powerpc/powerpc32
parentc118d63419c3b53136ca37aed588baf4aef9f61c (diff)
downloadglibc-82f3f07d7a7d971790a5e03aa39627d96122dab3.tar.gz
glibc-82f3f07d7a7d971790a5e03aa39627d96122dab3.tar.xz
glibc-82f3f07d7a7d971790a5e03aa39627d96122dab3.zip
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
	typos: VALUE -> FINALADDR.
Diffstat (limited to 'sysdeps/powerpc/powerpc32')
-rw-r--r--sysdeps/powerpc/powerpc32/dl-machine.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.c b/sysdeps/powerpc/powerpc32/dl-machine.c
index d444aa5da9..6443608886 100644
--- a/sysdeps/powerpc/powerpc32/dl-machine.c
+++ b/sysdeps/powerpc/powerpc32/dl-machine.c
@@ -415,10 +415,10 @@ __process_machine_rela (struct link_map *map,
       return;
 
     case R_PPC_UADDR32:
-      ((char *) reloc_addr)[0] = value >> 24;
-      ((char *) reloc_addr)[1] = value >> 16;
-      ((char *) reloc_addr)[2] = value >> 8;
-      ((char *) reloc_addr)[3] = value;
+      ((char *) reloc_addr)[0] = finaladdr >> 24;
+      ((char *) reloc_addr)[1] = finaladdr >> 16;
+      ((char *) reloc_addr)[2] = finaladdr >> 8;
+      ((char *) reloc_addr)[3] = finaladdr;
       break;
 
     case R_PPC_ADDR24:
@@ -436,8 +436,8 @@ __process_machine_rela (struct link_map *map,
     case R_PPC_UADDR16:
       if (__builtin_expect (finaladdr > 0x7fff && finaladdr < 0xffff8000, 0))
 	dl_reloc_overflow (map,  "R_PPC_UADDR16", reloc_addr, sym, refsym);
-      ((char *) reloc_addr)[0] = value >> 8;
-      ((char *) reloc_addr)[1] = value;
+      ((char *) reloc_addr)[0] = finaladdr >> 8;
+      ((char *) reloc_addr)[1] = finaladdr;
       break;
 
     case R_PPC_ADDR16_LO: