summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-06-15 07:46:53 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-15 07:46:53 -0700
commit021259621898fa6731d6d44c3313b6af43f727f4 (patch)
treeff07fe718533fd3b24994e39236b03a980f25bc5 /sysdeps/i386
parent0efa1cd30ff4680de838657d3a08738344ded719 (diff)
downloadglibc-021259621898fa6731d6d44c3313b6af43f727f4.tar.gz
glibc-021259621898fa6731d6d44c3313b6af43f727f4.tar.xz
glibc-021259621898fa6731d6d44c3313b6af43f727f4.zip
libc part of prelink IFUNC support.
The dl-lookup.c changes are needed for prelink (support in prelink
checked into SVN, tested for both i?86 and x86-64), dl-irel.h just
something I discovered by code inspection.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/dl-irel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/dl-irel.h b/sysdeps/i386/dl-irel.h
index 810a35050b..30385a1ef8 100644
--- a/sysdeps/i386/dl-irel.h
+++ b/sysdeps/i386/dl-irel.h
@@ -35,7 +35,7 @@ elf_irel (const Elf32_Rel *reloc)
 
   if (__builtin_expect (r_type == R_386_IRELATIVE, 1))
     {
-      Elf64_Addr value = ((Elf32_Addr (*) (void)) (*reloc_addr)) ();
+      Elf32_Addr value = ((Elf32_Addr (*) (void)) (*reloc_addr)) ();
       *reloc_addr = value;
     }
   else