about summary refs log tree commit diff
path: root/sysdeps/arm/dl-machine.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-12-12 09:02:09 +0000
committerAndreas Jaeger <aj@suse.de>2001-12-12 09:02:09 +0000
commitfa231011fca191c126e54129cb5aae483fbb9ebd (patch)
tree2bfb12bea29e399050e5ac26df774657d48aa9d4 /sysdeps/arm/dl-machine.h
parent88a96b8102533326b345f45fccbc00e36d031cca (diff)
downloadglibc-fa231011fca191c126e54129cb5aae483fbb9ebd.tar.gz
glibc-fa231011fca191c126e54129cb5aae483fbb9ebd.tar.xz
glibc-fa231011fca191c126e54129cb5aae483fbb9ebd.zip
(elf_machine_rela): Fix typo in last patch.
Diffstat (limited to 'sysdeps/arm/dl-machine.h')
-rw-r--r--sysdeps/arm/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
index cda424757b..73edd776ee 100644
--- a/sysdeps/arm/dl-machine.h
+++ b/sysdeps/arm/dl-machine.h
@@ -566,7 +566,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
 	     if (topbits != 0xfe000000 && topbits != 0x00000000)
 	       {
 		 newvalue = fix_bad_pc24(reloc_addr, value)
-		   - (Elf32_Addr)reloc_addr + (addend << 2);
+		   - (Elf32_Addr)reloc_addr + (reloc->r_addend << 2);
 		 topbits = newvalue & 0xfe000000;
 		 if (topbits != 0xfe000000 && topbits != 0x00000000)
 		   {